ngek202 Posted January 25, 2012 Posted January 25, 2012 (edited) I'm having a little problem with adding a Monster with Lua's i think. so my procedure was: 1st place the mob under db/mob_db2.txt 2545,Keeper,Gold Keeper,Keeper,and so on mob scripts... 2nd added some skills for the mob under db/mob_skill_db2.txt 2545,Gold Keeper@,and so on skill scripts... 3rd is added them under Lua on jobname.lua place it at the bottom [jobtbl.JT_Keeper] = "Keeper", 4th was npcidentity.lua same as ["JT_Keeper"] = 2545, and the last added the sprite in the folder Ragnarok\data\sprite\¸ó½ºÅÍ\Keeper.act & spr yet still I get a sprite and act error return (Gravity Error) and the weird part is, it doesn't tell the file name of the sprite just .spr and .act --------------------------- Error --------------------------- Spr :: Cannot find File : sprite\¸ó½ºÅÍ\.spr --------------------------- OK --------------------------- I've already successfully added Lhz Floor 5 Map and with Mobs this one http://rathena.org/T...04-lhz-floor-5/ so I'm using the same method. Thanks in advance. SOLVED just some typo on my Side Edited January 26, 2012 by Aerie Quote
Aerie Posted January 26, 2012 Posted January 26, 2012 · Hidden by Aerie, January 26, 2012 - already answered Hidden by Aerie, January 26, 2012 - already answered Did you respect grf priority reading (data.ini) ?
FrustFenix Posted February 1, 2012 Posted February 1, 2012 sorry.. but how did u solve this problem? i having the same problem Quote
Keim Posted February 1, 2012 Posted February 1, 2012 sorry.. but how did u solve this problem? i having the same problem Check that the LUA files have nothing misspelled. For example, you could have written [JT_Zombie"] and missed out on a ". Also, check your mob_db/2 and see if the monster script is OK. Get an example of the monster code from the rAthena Wiki, and see if that works. Quote
ngek202 Posted February 1, 2012 Author Posted February 1, 2012 you have a message, and don't put spaces or // coz it will make the lua unreadable Quote
Question
ngek202
I'm having a little problem with adding a Monster with Lua's i think.
so my procedure was:
1st place the mob under db/mob_db2.txt
2545,Keeper,Gold Keeper,Keeper,and so on mob scripts...
2nd added some skills for the mob under db/mob_skill_db2.txt
2545,Gold Keeper@,and so on skill scripts...
3rd is added them under Lua on jobname.lua place it at the bottom
[jobtbl.JT_Keeper] = "Keeper",
4th was npcidentity.lua same as
["JT_Keeper"] = 2545,
and the last added the sprite in the folder
Ragnarok\data\sprite\¸ó½ºÅÍ\Keeper.act & spr
yet still I get a sprite and act error return (Gravity Error)
and the weird part is, it doesn't tell the file name of the sprite just .spr and .act
I've already successfully added Lhz Floor 5 Map and with Mobs this one http://rathena.org/T...04-lhz-floor-5/
so I'm using the same method.
Thanks in advance.
SOLVED just some typo on my Side
Edited by Aerie4 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.