johnmark Posted December 21, 2011 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 34 Reputation: 1 Joined: 12/21/11 Last Seen: February 13, 2012 Share 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 Link to comment Share on other sites More sharing options...
Aerie Posted December 21, 2011 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 383 Reputation: 110 Joined: 11/11/11 Last Seen: August 2, 2017 Share 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 Link to comment Share on other sites More sharing options...
johnmark Posted December 21, 2011 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 34 Reputation: 1 Joined: 12/21/11 Last Seen: February 13, 2012 Author Share Posted December 21, 2011 tnx Aerie.. hehe Quote Link to comment Share on other sites More sharing options...
Vianna Posted December 21, 2011 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 47 Reputation: 8 Joined: 12/06/11 Last Seen: January 13, 2013 Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted December 21, 2011 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: 21 hours ago Share 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 Link to comment Share on other sites More sharing options...
johnmark Posted December 26, 2011 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 34 Reputation: 1 Joined: 12/21/11 Last Seen: February 13, 2012 Author Share Posted December 26, 2011 woaw.. i better not change it.. hehe Quote Link to comment Share on other sites More sharing options...
rootKid Posted January 29, 2012 Group: Members Topic Count: 24 Topics Per Day: 0.00 Content Count: 83 Reputation: 11 Joined: 11/28/11 Last Seen: March 31, 2024 Share 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 Link to comment Share on other sites More sharing options...
Lighta Posted January 29, 2012 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 737 Reputation: 216 Joined: 11/29/11 Last Seen: December 20, 2020 Share 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 Link to comment Share on other sites More sharing options...
mrlongshen Posted December 20, 2012 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share Posted December 20, 2012 i have try it. cannot. it will give a negative value. Quote Link to comment Share on other sites More sharing options...
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!
Link to comment
Share on other sites
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.