Jump to content

Duplicating Mobs


naj

Recommended Posts


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   0
  • Joined:  11/22/11
  • Last Seen:  

nag add po ako ng Extra Mobs, modified monster. example "Unholy Poring".. pano mo xa pagaganahin? do i need to recompile something? can anyone help me about this matter.. thankz...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  439
  • Reputation:   29
  • Joined:  12/08/11
  • Last Seen:  

Please take time to read this article. It's from our wiki.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   0
  • Joined:  11/22/11
  • Last Seen:  

i mean duplicating the monster, i want to change the name and the Drops..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  439
  • Reputation:   29
  • Joined:  12/08/11
  • Last Seen:  

It has the same process of adding new monsters.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  225
  • Reputation:   39
  • Joined:  01/20/12
  • Last Seen:  

i mean duplicating the monster, i want to change the name and the Drops..

I hope e2 na ung sagot :D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   0
  • Joined:  11/22/11
  • Last Seen:  

im done w/ the server side, but my problem is, if i try to summon the monster, it doesn't exist..

@Jupeto Very Nice Guide.. +100 for you... ^_^

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  225
  • Reputation:   39
  • Joined:  01/20/12
  • Last Seen:  

+100? la naman aq rep sa post q tahaha

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   0
  • Joined:  11/22/11
  • Last Seen:  

^_^ i like your video... anyways.. im using Linux for my server, im done already w/ my server side, but when i summon the monster, it doesn't exist the monster.. do i need to recompile anything? and how to do it? thnx a lot..
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  225
  • Reputation:   39
  • Joined:  01/20/12
  • Last Seen:  

Does the map server says anything like

npc_parse_mob: Unknown mob ID 3000 (file 'npc/re/mobs/fields/payon.txt', line '40').

NOTE: 3000 is my custom monster's ID and the

(file 'npc/re/mobs/fields/payon.txt'=, line '40')
is where I put my custom mob spawn Edited by Jupeto
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   0
  • Joined:  11/22/11
  • Last Seen:  

this is mine..

mob_db2.txt

4999,DEVILING,Shax,Shax,99,1000000,0,668000,4120,1,8052,8210,95,90,555,250,185,555,550,200,20,22,1,6,68,0x37B5,200,1072,1056,384,0,0,0,0,0,0,0,3130,2,3349,4,22556,1,3189,2,3180,2,607,5,678,5,24000,4,0,0,0,0

mob_avail.txt

4999,1582,0 //Shax - Deviling

but when i try to summon the monster it said @monster Failed

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  225
  • Reputation:   39
  • Joined:  01/20/12
  • Last Seen:  

Default max monster entries was set to 4000. 3000 entries for monster clones and 1000 reserved ids for player clones.

So all you have to do is to increase your max mob db

here's how, watch

( Just wait for it to be uploaded ) or read below

open 'src/map/mob.h'

find:

// 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 4000

change the value 4000 to 6000 so that it makes upto 5000 monster ids and 1000 ids for player clones

I tried changing it to 6000 and it worked for me having my custom cloned monster with id 4999

Edited by Jupeto
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  132
  • Reputation:   8
  • Joined:  07/19/12
  • Last Seen:  

Default max monster entries was set to 4000. 3000 entries for monster clones and 1000 reserved ids for player clones.

So all you have to do is to increase your max mob db

here's how, watch

( Just wait for it to be uploaded ) or read below

open 'src/map/mob.h'

find:

// 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 4000

change the value 4000 to 6000 so that it makes upto 5000 monster ids and 1000 ids for player clones

I tried changing it to 6000 and it worked for me having my custom cloned monster with id 4999

Don't forget to build/compile afterwards. :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  225
  • Reputation:   39
  • Joined:  01/20/12
  • Last Seen:  

Oopps I forgot to mention in my reply :P thanks

But that's already included in my video tut =))

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   0
  • Joined:  11/22/11
  • Last Seen:  

i forgot to mention i did the MAX_MOB_DB already.. the only thing i want to know is how to build or compile the file using Linux.. ^_^

BTW thanks for the vidoe Guide JUPETO, that's really really really nice guide, you're the best...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   0
  • Joined:  11/22/11
  • Last Seen:  

Problem Solve.. thnx to JUPETO... ^_^ BTW.. Duplicating the monster and Duplicating the Items are the same procedure?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  225
  • Reputation:   39
  • Joined:  01/20/12
  • Last Seen:  

rep please :P

well I guess so... but when duplicating items, you need to edit the text files inside your data folder also, like how you add new custom item ( y'know ... descriptiontable, nametable, resname etc... ) server side is just the same I guess

Edited by Jupeto
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   0
  • Joined:  11/22/11
  • Last Seen:  

yup.. thnx so much JUPETO.. +1000 for you.. thnx for the help..

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   0
  • Joined:  11/22/11
  • Last Seen:  

Another Question, currently my MVP cards and rare item is 20%, but i want to make it 5%.. i adjusted it already to this

// The rate at which equipment is dropped.

item_rate_equip: 200000

item_rate_equip_boss: 50000

item_drop_equip_min: 2000

item_drop_equip_max: 50000

// The rate at which cards are dropped

item_rate_card: 20000

item_rate_card_boss: 50000

item_drop_card_min: 2000

item_drop_card_max: 50000

but still 20% drop rate.. do i need to recompile? thnx

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   0
  • Joined:  11/22/11
  • Last Seen:  

Fixed.. ^_^

another Question... adding weapon's.. how come if i add a custom weapon everything was fine, except the sprite on game dosn't comeout.. i followed all the guides on wiki, but still..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  439
  • Reputation:   29
  • Joined:  12/08/11
  • Last Seen:  

Topic title edited, marked as solved and locked.

I recommend this, different thread for different issue.

Edited by Magnetix
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...