Venture Posted February 14, 2014 Group: Members Topic Count: 52 Topics Per Day: 0.01 Content Count: 179 Reputation: 2 Joined: 08/30/13 Last Seen: November 7, 2024 Share Posted February 14, 2014 (edited) I am trying to add a new mercenaries to the database, and it gave me this error. [Error]: sv_readdb: Reached the maximum allowed number of entries (61) when parsing file "db/mercenary_db.txt". How do I increase the maximum entry size? Is this okay to be posted on DB support? I am not really sure. Thank you! Edited February 14, 2014 by gekigengar Quote Link to comment Share on other sites More sharing options...
Euphy Posted February 14, 2014 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted February 14, 2014 In src/common/mmo.h: //Mercenary System #define MC_SKILLBASE 8201 #define MAX_MERCSKILL 40 #define MAX_MERCENARY_CLASS 61The one causing your error is "MAX_MERCENARY_CLASS".(And this is the correct section for your topic!) 1 Quote Link to comment Share on other sites More sharing options...
Brave Posted February 14, 2014 Group: Members Topic Count: 30 Topics Per Day: 0.01 Content Count: 208 Reputation: 11 Joined: 05/31/12 Last Seen: May 15, 2016 Share Posted February 14, 2014 src and have you already consulted google for this? Quote Link to comment Share on other sites More sharing options...
Venture Posted February 14, 2014 Group: Members Topic Count: 52 Topics Per Day: 0.01 Content Count: 179 Reputation: 2 Joined: 08/30/13 Last Seen: November 7, 2024 Author Share Posted February 14, 2014 src and have you already consulted google for this? Yes, and no solutions. Quote Link to comment Share on other sites More sharing options...
Venture Posted February 14, 2014 Group: Members Topic Count: 52 Topics Per Day: 0.01 Content Count: 179 Reputation: 2 Joined: 08/30/13 Last Seen: November 7, 2024 Author Share Posted February 14, 2014 (edited) In src/common/mmo.h: //Mercenary System #define MC_SKILLBASE 8201 #define MAX_MERCSKILL 40 #define MAX_MERCENARY_CLASS 61The one causing your error is "MAX_MERCENARY_CLASS".(And this is the correct section for your topic!) Will I get any kind of trouble for changing MAX_Mercenary class? (There must be a reason why the dev limit this right?) Thank you Euphy! You always saved my life ;D EDIT : After I tried the custom mercenary, the client crashed. :/ This is really sad.. Do I need to edit something in the LUA file for the custom mercenary to work..? Edited February 14, 2014 by gekigengar Quote Link to comment Share on other sites More sharing options...
Dori Posted December 21, 2014 Group: Members Topic Count: 105 Topics Per Day: 0.02 Content Count: 332 Reputation: 15 Joined: 12/11/11 Last Seen: August 8, 2017 Share Posted December 21, 2014 Did you get this to work? and is there a reason why the max is set to 61? Quote Link to comment Share on other sites More sharing options...
Euphy Posted December 21, 2014 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted December 21, 2014 Did you get this to work? and is there a reason why the max is set to 61?The limit is set so that the server doesn't waste memory (as with most of the MAX_* defines). Quote Link to comment Share on other sites More sharing options...
Question
Venture
I am trying to add a new mercenaries to the database,
and it gave me this error.
How do I increase the maximum entry size?
Is this okay to be posted on DB support? I am not really sure.
Thank you!
Edited by gekigengarLink to comment
Share on other sites
6 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.