Venture Posted February 14, 2014 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
Brave Posted February 14, 2014 Posted February 14, 2014 src and have you already consulted google for this? Quote
Venture Posted February 14, 2014 Author Posted February 14, 2014 src and have you already consulted google for this? Yes, and no solutions. Quote
Euphy Posted February 14, 2014 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
Venture Posted February 14, 2014 Author 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
Dori Posted December 21, 2014 Posted December 21, 2014 Did you get this to work? and is there a reason why the max is set to 61? Quote
Euphy Posted December 21, 2014 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
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 gekigengar6 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.