Jump to content
  • 0

Question

Posted

i would like to know if its possible ot hold more than the few amount of diferent items in players inventory , everyone seem to hit the max quickly and its not really that much "not weight, diferent item cap"

8 answers to this question

Recommended Posts

  • 0
Posted (edited)

Open "src/common/mmo.h" and find :

#define MAX_INVENTORY 100 ///Maximum items in player inventory

Edit the value to what you want. I don't know what is the maximum value that we can use there so don't make it too high.
Here's a sample after applying maximum 200 MAX_INVENTORY.

image.png.92961042a641b4a805cce4aaaa7b2d47.png
(Don't forget to recompile your server.)

Edited by GodKnows Jhomz
Added where to find the codeboxed line
  • Upvote 1
  • 0
Posted
On 10/4/2017 at 11:18 PM, GodKnows Jhomz said:

Open "src/common/mmo.h" and find :


#define MAX_INVENTORY 100 ///Maximum items in player inventory

Edit the value to what you want. I don't know what is the maximum value that we can use there so don't make it too high.
Here's a sample after applying maximum 200 MAX_INVENTORY.

image.png.92961042a641b4a805cce4aaaa7b2d47.png
(Don't forget to recompile your server.)

when you make it 200 MAX_INVENTORY, it's safe right?

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...