Jump to content

Question

Posted

Hi guys, could you help me change the maximum number of items in the inventory?
I made the change in the src and it didn't work, I wanted to validate if it's correct.

Also, is there any change in the client, because I tried to edit in nemo and it's not accepting it.

2018-09-19aRagexe

image.png.2f034a79a89645521ec9f89d08772fdb.png

2 answers to this question

Recommended Posts

  • 0
Posted

mmo.h

#ifndef INVENTORY_BASE_SIZE
	#define INVENTORY_BASE_SIZE 100 // Amount of inventory slots each player has
#endif

#ifndef INVENTORY_EXPANSION_SIZE
	#if PACKETVER_MAIN_NUM >= 20181031 || PACKETVER_RE_NUM >= 20181031 || PACKETVER_ZERO_NUM >= 20181114
		#define INVENTORY_EXPANSION_SIZE 100 // Amount of additional inventory slots a player can have
	#else
		#define INVENTORY_EXPANSION_SIZE 0
	#endif
#endif

#ifndef MAX_INVENTORY
	#define MAX_INVENTORY ( INVENTORY_BASE_SIZE + INVENTORY_EXPANSION_SIZE ) // Maximum items in player inventory (in total)
#else
	#if MAX_INVENTORY < ( INVENTORY_BASE_SIZE + INVENTORY_EXPANSION_SIZE )
		#error Your custom MAX_INVENTORY define is too low
	#endif
#endif

Be aware that this number shouldn't exceed 480.

No idea on what's needed client-sided.

  • 0
Posted
On 4/7/2025 at 8:38 PM, Kater said:

Hi guys, could you help me change the maximum number of items in the inventory?
I made the change in the src and it didn't work, I wanted to validate if it's correct Flicking Soccer.

Also, is there any change in the client, because I tried to edit in nemo and it's not accepting it.

2018-09-19aRagexe

image.png.2f034a79a89645521ec9f89d08772fdb.png

To increase the maximum number of items in inventory, you need to change both the server and the client, or it won’t work correctly. For client-side, you must use a custom patch to extend inventory size beyond 100. This patch is not included by default in NEMO. 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...