Jump to content
  • 0

Reached the maximum allowed number of entries


gekigengar

Question


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   2
  • Joined:  08/30/13
  • Last Seen:  

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 by gekigengar
Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

In src/common/mmo.h:

//Mercenary System
#define MC_SKILLBASE 8201
#define MAX_MERCSKILL 40
#define MAX_MERCENARY_CLASS 61
The one causing your error is "MAX_MERCENARY_CLASS".

(And this is the correct section for your topic!)

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  208
  • Reputation:   11
  • Joined:  05/31/12
  • Last Seen:  

src and have you already consulted google for this?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   2
  • Joined:  08/30/13
  • Last Seen:  

src and have you already consulted google for this?

Yes, and no solutions.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   2
  • Joined:  08/30/13
  • Last Seen:  

In src/common/mmo.h:

//Mercenary System
#define MC_SKILLBASE 8201
#define MAX_MERCSKILL 40
#define MAX_MERCENARY_CLASS 61
The 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 by gekigengar
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  105
  • Topics Per Day:  0.02
  • Content Count:  332
  • Reputation:   15
  • Joined:  12/11/11
  • Last Seen:  

Did you get this to work? and is there a reason why the max is set to 61?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

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).
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...