Jump to content
  • 0

increasing item cap


quakeman00

Question


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  66
  • Reputation:   2
  • Joined:  03/08/13
  • Last Seen:  

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"

Link to comment
Share on other sites

8 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

you can change the value in mmo.h

#define MAX_STORAGE 600 ///Max number of storage slots a player can have

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  333
  • Reputation:   67
  • Joined:  09/05/12
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  155
  • Topics Per Day:  0.03
  • Content Count:  535
  • Reputation:   23
  • Joined:  11/19/11
  • Last Seen:  

What is the maximum item inventory? possible to set in 1k?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   1
  • Joined:  12/11/12
  • Last Seen:  

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?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  333
  • Reputation:   67
  • Joined:  09/05/12
  • Last Seen:  

2 minutes ago, mrdominic said:

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

Yeah. 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   1
  • Joined:  12/11/12
  • Last Seen:  

13 hours ago, GodKnows Jhomz said:

Yeah. 

alright then... thx for the info.. :D

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  01/24/18
  • Last Seen:  

how to recompile server i'm using anacondaq rathena server? i didnt know about recompile i'm using windows 10

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  927
  • Reputation:   169
  • Joined:  04/05/13
  • Last Seen:  

33 minutes ago, berato said:

how to recompile server i'm using anacondaq rathena server? i didnt know about recompile i'm using windows 10

Follow rAthena guide: https://github.com/rathena/rathena/wiki/Install-on-Windows

Link to comment
Share on other sites

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.

×
×
  • Create New...