loki1991 Posted January 8, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 22 Reputation: 13 Joined: 01/07/12 Last Seen: August 9, 2014 Share Posted January 8, 2012 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... Quote Link to comment Share on other sites More sharing options...
Judas Posted January 8, 2012 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 2244 Reputation: 182 Joined: 11/19/11 Last Seen: September 15, 2024 Share Posted January 8, 2012 hmm have u tried id with 3500 Quote Link to comment Share on other sites More sharing options...
loki1991 Posted January 8, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 22 Reputation: 13 Joined: 01/07/12 Last Seen: August 9, 2014 Author Share Posted January 8, 2012 Well that works. Thank you. Quote Link to comment Share on other sites More sharing options...
Judas Posted January 8, 2012 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 2244 Reputation: 182 Joined: 11/19/11 Last Seen: September 15, 2024 Share Posted January 8, 2012 Sure no problem Quote Link to comment Share on other sites More sharing options...
Question
loki1991
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
lua files\datainfo\npcidentity.lua
lua files\datainfo\jobname.lua
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
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.