Jump to content
  • 0

max mob id increase


Sunset

Question


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  89
  • Reputation:   3
  • Joined:  05/05/13
  • Last Seen:  

Hello!

How can i increase my max mob ID range? i wanna to add 1500 costume mobs. (yes) 

And i wanna give them ID's in a row, and afaik theres no 1500 free id, at least after each other

/Or is there an easier way, to duplicate every monster in the mobdb? like poring 1000, dupeporing 15001)

Thanks, dear community!

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

i believe 3999 is the highest ID you can use at the moment, 4000+ are all reserved for monster/clone/npc/etc....

these are limited by the client itself. 

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  89
  • Reputation:   3
  • Joined:  05/05/13
  • Last Seen:  

Oh i see. Isnt it possible then to duplicate every mob?

Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

On 6/23/2017 at 7:19 PM, Sunset said:

Oh i see. Isnt it possible then to duplicate every mob?

not possible, the free mob id range are limited. I dont think its enough to cover if you wanted to duplicate all monster. Unless gravity finally decided to increase the range.

Edited by Emistry
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  120
  • Reputation:   48
  • Joined:  07/23/13
  • Last Seen:  

On ‎6‎/‎22‎/‎2017 at 11:39 PM, Sunset said:

Hello!

How can i increase my max mob ID range? i wanna to add 1500 costume mobs. (yes) 

And i wanna give them ID's in a row, and afaik theres no 1500 free id, at least after each other

/Or is there an easier way, to duplicate every monster in the mobdb? like poring 1000, dupeporing 15001)

Thanks, dear community!

On src/map/mob.h
// 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 6000 //<- Increase this to value you want

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  399
  • Reputation:   198
  • Joined:  11/09/11
  • Last Seen:  

This isn't something that I necessarily wanted to do (duplicate every monster), however, I did want to use monsters beyond the default hard-coded limit in the client itself. If someone ever created a diff for the clients to increase the available range of sprites (something like 20000-32000, so it's nice and far away from any ID range used by Gravity), it would be incredibly helpful for those of us who create a lot of custom content / monsters so that we don't have to override/replace official monsters with custom ones.

Didn't the XRay client do this at some point?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  120
  • Reputation:   48
  • Joined:  07/23/13
  • Last Seen:  

12 minutes ago, jTynne said:

This isn't something that I necessarily wanted to do (duplicate every monster), however, I did want to use monsters beyond the default hard-coded limit in the client itself. If someone ever created a diff for the clients to increase the available range of sprites (something like 20000-32000, so it's nice and far away from any ID range used by Gravity), it would be incredibly helpful for those of us who create a lot of custom content / monsters so that we don't have to override/replace official monsters with custom ones.

Didn't the XRay client do this at some point?

For your case, I suggest you open a new post in Client-Side Support section to get better support on it.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  33
  • Topics Per Day:  0.01
  • Content Count:  399
  • Reputation:   198
  • Joined:  11/09/11
  • Last Seen:  

7 minutes ago, yuchinin said:

For your case, I suggest you open a new post in Client-Side Support section to get better support on it.

Thanks -- I was mentioning this here as it is what would be required for the OP to make a "costume" version of each monster. /no1 

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