johnmark Posted December 21, 2011 Posted December 21, 2011 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! Quote
Aerie Posted December 21, 2011 Posted December 21, 2011 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. 1 Quote
Vianna Posted December 21, 2011 Posted December 21, 2011 (edited) 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 December 21, 2011 by Vianna Quote
Emistry Posted December 21, 2011 Posted December 21, 2011 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 ~ 1 Quote
johnmark Posted December 26, 2011 Author Posted December 26, 2011 woaw.. i better not change it.. hehe Quote
rootKid Posted January 29, 2012 Posted January 29, 2012 Is a workaround this possible? To make it not buggy and still be able to carry over 30k of a stackeable item? Quote
Lighta Posted January 29, 2012 Posted January 29, 2012 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 ? Quote
mrlongshen Posted December 20, 2012 Posted December 20, 2012 i have try it. cannot. it will give a negative value. Quote
Question
johnmark
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!
8 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.