Randomize 16 Posted August 25, 2014 Share Posted August 25, 2014 Hello! I want do two things in Game source and DB source. The first one: I want make maximum item stacks higher than 255. I know I have to change the data types but I don't know where. The second: I want make the /shutdown command to instantly save the players' items after the server kick them out. Regards, Randomize 1 Link to comment Share on other sites More sharing options...
Traceur3RUN 75 Posted August 25, 2014 Share Posted August 25, 2014 common/ lenght.h Link to comment Share on other sites More sharing options...
Randomize 16 Posted August 25, 2014 Author Share Posted August 25, 2014 Thanks, I knew that already, but it is not enough. It allows only 255 item. Link to comment Share on other sites More sharing options...
Traceur3RUN 75 Posted August 25, 2014 Share Posted August 25, 2014 Thanks, I knew that already, but it is not enough. It allows only 255 item. connstants.cpp Link to comment Share on other sites More sharing options...
Randomize 16 Posted August 25, 2014 Author Share Posted August 25, 2014 What I need here? I don't find anything about item maximum stack. Link to comment Share on other sites More sharing options...
Night 366 Posted August 25, 2014 Share Posted August 25, 2014 well you will have to edit lenght.h when you complie (if you dont edit the rest) you will get some error sence char support for 0 to 255 but there was a tuto posted yesterday find it Link to comment Share on other sites More sharing options...
Randomize 16 Posted August 25, 2014 Author Share Posted August 25, 2014 That post is deleted by starter because it had a lot of error. Here it is. Link to comment Share on other sites More sharing options...
Randomize 16 Posted August 27, 2014 Author Share Posted August 27, 2014 Nobody can help me? :/ Link to comment Share on other sites More sharing options...
safademirel 288 Posted August 28, 2014 Share Posted August 28, 2014 char_item.cpp count = MIN(200 - item2->GetCount(), count); line 5666 > change 200 to 250. BYTE bCount2 = MIN(200 - item2->GetCount(), bCount); line 5887 > change 200 to 250. line 6623 > change 200 to 250. cmd_gm.cpp iCount = MINMAX(1, iCount, 200); line 517 > change 200 to 250 safebox.cpp count = MIN(200 - item2->GetCount(), count); line 208 > change 200 to 250 Link to comment Share on other sites More sharing options...
Randomize 16 Posted August 28, 2014 Author Share Posted August 28, 2014 Thank you, but I need MORE THAN 255. And I know how to make it to 250, already done, but I cant make it for example 300. Link to comment Share on other sites More sharing options...
Traceur3RUN 75 Posted August 28, 2014 Share Posted August 28, 2014 Thank you, but I need MORE THAN 255. And I know how to make it to 250, already done, but I cant make it for example 300. you must edit and change BYTE to INT Link to comment Share on other sites More sharing options...
Randomize 16 Posted August 28, 2014 Author Share Posted August 28, 2014 I know, but where? I tried, and either I can't compile or it was buggy ingame. Link to comment Share on other sites More sharing options...
Randomize 16 Posted September 4, 2014 Author Share Posted September 4, 2014 Still nobody can help? Link to comment Share on other sites More sharing options...
Randomize 16 Posted September 9, 2014 Author Share Posted September 9, 2014 Please.... Link to comment Share on other sites More sharing options...
Randomize 16 Posted September 10, 2014 Author Share Posted September 10, 2014 Please help me at least the first thing: The first one: I want make maximum item stacks higher than 255. I know I have to change the data types but I don't know where. Link to comment Share on other sites More sharing options...
Think 117 Posted September 11, 2014 Share Posted September 11, 2014 Are you editing the client & server length? I mean, if you increase it over 255 and change the data type, the packet is going to need a type change as well. The second: I want make the /shutdown command to instantly save the players' items after the server kick them out. Why's that relevant? It will flush most of the player's items and those who don't get flushed will get flushed when you shut it down. Link to comment Share on other sites More sharing options...
Randomize 16 Posted September 11, 2014 Author Share Posted September 11, 2014 I tried change in the client binary too, but it not works. I will try again later. The second: I want make the /shutdown command to instantly save the players' items after the server kick them out. Why's that relevant? It will flush most of the player's items and those who don't get flushed will get flushed when you shut it down. I don't like to wait 5-10 minutes after the /shutdown command to be sure all items and player informations (money, experience, level etc.). are saved. Link to comment Share on other sites More sharing options...
Randomize 16 Posted September 26, 2014 Author Share Posted September 26, 2014 Still need help. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now