Jump to content
  • 0

[Question] mob_db or mob_db2 for adding custom mobs?


keoco

Question


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  130
  • Reputation:   0
  • Joined:  01/24/12
  • Last Seen:  

as the title states.. which one? and which id number would you recommend i start with?

Link to comment
Share on other sites

9 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  392
  • Reputation:   285
  • Joined:  12/19/11
  • Last Seen:  

Usually, mob_db2 is used to add new custom monsters or modify existing ones (as entries in mob_db2 override these from mob_db).

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  130
  • Reputation:   0
  • Joined:  01/24/12
  • Last Seen:  

thanks for the reply, would it be safe if i start with id 2000 for my custom mob?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  392
  • Reputation:   285
  • Joined:  12/19/11
  • Last Seen:  

Take a look at mob_db and check what is the last used monster ID. Remember that monsters are being added as new episodes are released. Start with number high enough to avoid being forced to change it (in some foreseeable future) because of conflicts with new official monsters.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  130
  • Reputation:   0
  • Joined:  01/24/12
  • Last Seen:  

btw, is there a guide on the wiki for adding custom mobs into the client(the sprites etc)? ive only seen adding mobs into db so far

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  206
  • Reputation:   13
  • Joined:  01/07/12
  • Last Seen:  

is possible to add custom mob with .lub files?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  658
  • Reputation:   57
  • Joined:  11/20/11
  • Last Seen:  

.lub files are compiled lua files. So you add the Custom Mobs to .lua files and compile them with the luac tool to .lub files. But lua and lub files are part of the data folder ,so the mobs have to be added to the lua files ,because else the sprites won't show up if you spawn them.

And you have to edit the mob_db2 for custom Mobs.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  206
  • Reputation:   13
  • Joined:  01/07/12
  • Last Seen:  

.lub files are compiled lua files. So you add the Custom Mobs to .lua files and compile them with the luac tool to .lub files. But lua and lub files are part of the data folder ,so the mobs have to be added to the lua files ,because else the sprites won't show up if you spawn them.

And you have to edit the mob_db2 for custom Mobs.

thx for the info, but, I downloaded the luac tool from http://code.google.com/p/luaforwindows/downloads/list and it doesn't works, it just open less than a second and it closes, do you know what's happening? I've used windows 7 and xp service pack 3 and the same thing.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  658
  • Reputation:   57
  • Joined:  11/20/11
  • Last Seen:  

You have to right click the .lua files and open them with the luac tool. I think there's a guide about that on google,so just search for a lua to lub files guide.

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