Jump to content
  • 0

Can not carry More Than 30,000 of one kind item


johnmark

Question


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  34
  • Reputation:   1
  • Joined:  12/21/11
  • Last Seen:  

Hello Guyz,, can Someone Help me about This..

I want to change the Limit to carry more than 30,000 of one kind item

where should i Edit..?

thankz in advance!

Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  383
  • Reputation:   109
  • Joined:  11/11/11
  • Last Seen:  

It's a source edit : src/common/mmo.h look for :

#define MAX_AMOUNT 30000

If you modificate it, you have to recompile your sources.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  34
  • Reputation:   1
  • Joined:  12/21/11
  • Last Seen:  

tnx Aerie.. hehe :D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  47
  • Reputation:   8
  • Joined:  12/06/11
  • Last Seen:  

You can't really expand this limit.

The clients receive 2 bytes data for the item amounts, which is restricted to 65536 values.

I need to check whether it uses signed or unsigned values, but based on the current limit, I presume the range for item amounts are from -32768 to 32767.

You can raise it up to 65535. If it start showing negative amounts, change it to 32767.

Edited by Vianna
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

if i was right.....if you exceed the limit...there will have problem...

last time...i have tried with increase the max value...

but then....ingame....it did success to carry more than 30k items...even up to 100K items for ea....O.O

but...the problem came..

i cant sell items / drops / trade...and etc..

alot problems caused...cant remember much ~

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  34
  • Reputation:   1
  • Joined:  12/21/11
  • Last Seen:  

woaw.. i better not change it.. hehe

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  83
  • Reputation:   11
  • Joined:  11/28/11
  • Last Seen:  

Is a workaround this possible? To make it not buggy and still be able to carry over 30k of a stackeable item?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

You may create some box, that the easiest workarround I'm seing. (like quiver)

Or you could probably trigger similar item creation once you reach 30k but that quite more complicated. (Like once you have 30K of condensed white pot (cwp) in inventory, instead trying to add new amount, you create cwp2 with same effect...

What are the item concerne with this overflow johnmark ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  98
  • Topics Per Day:  0.02
  • Content Count:  1302
  • Reputation:   77
  • Joined:  12/04/12
  • Last Seen:  

i have try it. cannot.

it will give a negative value.

/hum

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