Saisho Posted February 5, 2013 Group: Members Topic Count: 52 Topics Per Day: 0.01 Content Count: 185 Reputation: 20 Joined: 01/06/13 Last Seen: November 11, 2018 Share Posted February 5, 2013 i was reading this topic but i dont got this part and uint16 type of nameid in struct item_data should be redeclared a wide range of type can someone plz explain? the rest if i understand is just change this line in the itemdb.h and recompile... #define MAX_ITEMDB 0x8000 Quote Link to comment Share on other sites More sharing options...
michaelsoftman Posted February 6, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 410 Reputation: 29 Joined: 04/04/12 Last Seen: November 28, 2024 Share Posted February 6, 2013 In itemdb.h, there's a line that says this, inside of struct item_data uint16 nameid; You need to change nameid from uint16 to a variable type that can hold a larger number total. And then change this #define MAX_ITEMDB 0x8000 to this #define MAX_ITEMDB 0x10000 Quote Link to comment Share on other sites More sharing options...
Saisho Posted February 7, 2013 Group: Members Topic Count: 52 Topics Per Day: 0.01 Content Count: 185 Reputation: 20 Joined: 01/06/13 Last Seen: November 11, 2018 Author Share Posted February 7, 2013 thx for the reply You need to change nameid from uint16 to a variable type that can hold a larger number total. but what kind of variable? i changed to uint32 and tested, the item shows in the @ii but cant get it w/ @item. what else can i do to extend the db to over 40k? Quote Link to comment Share on other sites More sharing options...
alkhaleej Posted June 30, 2013 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 58 Reputation: 5 Joined: 09/21/12 Last Seen: January 16, 2014 Share Posted June 30, 2013 been searching for an answer to this question as well. Quote Link to comment Share on other sites More sharing options...
Question
Saisho
i was reading this topic but i dont got this part
can someone plz explain?
the rest if i understand is just change this line in the itemdb.h and recompile...
Link to comment
Share on other sites
3 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.