Jump to content
  • 0

Reached the maximum allowed number of entries


Question

Posted (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 by gekigengar

6 answers to this question

Recommended Posts

Posted (edited)

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
Posted

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).

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...