Jump to content
  • 0

Custom mobs with ragray


loki1991

Question


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   13
  • Joined:  01/07/12
  • Last Seen:  

Hey guys [and girls],

I've problems to add some customer monster without xray (Lua files).

I successfull added some headgears so I know how it works.

I found many guides about how to add custommonster without xray but every

guide just show the option to CLONE any mob (monster 3000 is a 1002 (poring)).

But I want to add a new monster.

DB Entry

INSERT INTO `mob_db2` (`ID`, `Sprite`, `kName`, `iName`, `LV`, `HP`, `SP`, `EXP`, `JEXP`, `Range1`, `ATK1`, `ATK2`, `DEF`, `MDEF`, `STR`, `AGI`, `VIT`, `INT`, `DEX`, `LUK`, `Range2`, `Range3`, `Scale`, `Race`, `Element`, `Mode`, `Speed`, `aDelay`, `aMotion`, `dMotion`, `MEXP`, `ExpPer`, `MVP1id`, `MVP1per`, `MVP2id`, `MVP2per`, `MVP3id`, `MVP3per`, `Drop1id`, `Drop1per`, `Drop2id`, `Drop2per`, `Drop3id`, `Drop3per`, `Drop4id`, `Drop4per`, `Drop5id`, `Drop5per`, `Drop6id`, `Drop6per`, `Drop7id`, `Drop7per`, `Drop8id`, `Drop8per`, `Drop9id`, `Drop9per`, `DropCardid`, `DropCardper`) VALUES
(4500, 'AYAME_MAN', 'ayame_man', 'ayame_man', 1, 1, 1, 1, 1, 1, 7, 12, 0, 5, 1, 1, 1, 1, 1, 1, 10, 12, 1, 3, 21, 4489, 400, 1292, 792, 216, 0, 0, 0, 0, 0, 0, 0, 0, 512, 1000, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);

lua files\datainfo\npcidentity.lua

["JT_AYAME_MAN"] = 4500,

lua files\datainfo\jobname.lua

[jobtbl.JT_AYAME_MAN] = "ayame_man",

And compiled both lua files to lub.

That should be all... but when I spawn this mob only a poring will be displayed :/

Then I tried this one:

db\mob_avail.txt

4500,4500,0

But this also don't work. I tried also to set the database sprite from "AYAME_MAN" to "ayame_man" but it doesn't work too.

It looks like something is missing on the client side...

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


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

hmm have u tried id with 3500

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   13
  • Joined:  01/07/12
  • Last Seen:  

Well that works. Thank you.

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:  

Sure no problem

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