Jump to content
  • 0

Increase max_mob_id?


TI99Kitty

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  06/19/12
  • Last Seen:  

The other error map-server throws back at me is this:

post-5518-0-25293100-1340311990_thumb.jpg

The only place I found a place to change max_mob_db was in ...\rAthena\src\map\mob.h, and I upped the limit to 5000. I then recompiled the map-server, but I still get the error, saying to increase max_mob_db, and that it's still set at 4000. It's only 4 mobs I'd lose if I don't fix this, but I'd like to keep them, as well as add other customs in the future. Any help/advise would be appreciated.

(edited to correct "max_mob_id" to "max_mob_db")

Edited by TI99Kitty
Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   5
  • Joined:  02/07/12
  • Last Seen:  

I changed mine at source from default to #define MAX_MOB_DB 10000 and it works perfectly fine here. And yes; I've over 5000 MOBs on my DB. It works normally.

Edited by Decimal
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  06/19/12
  • Last Seen:  

Is it only in mob.h? Because I set it to 5000, and map_server still says it's set to 4000.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   5
  • Joined:  02/07/12
  • Last Seen:  

I think so.

I only changed the mob.h at rAthena\src\map\ like you did.

// Change this to increase the table size in your mob_db to accomodate a larger mob database.
// Be sure to note that IDs 4001 to 4048 are reserved for advanced/baby/expanded classes.
// Notice that the last 1000 entries are used for player clones, so always set this to desired value +1000
#define MAX_MOB_DB 10000

Make sure to recompile correctly.

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