ngek202 Posted January 25, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 530 Reputation: 33 Joined: 01/17/12 Last Seen: August 16, 2017 Share 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 Link to comment Share on other sites More sharing options...
Aerie Posted January 26, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 383 Reputation: 110 Joined: 11/11/11 Last Seen: August 2, 2017 Share 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) ? Link to comment
FrustFenix Posted February 1, 2012 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 90 Reputation: 2 Joined: 11/14/11 Last Seen: January 28, 2021 Share Posted February 1, 2012 sorry.. but how did u solve this problem? i having the same problem Quote Link to comment Share on other sites More sharing options...
Keim Posted February 1, 2012 Group: Members Topic Count: 27 Topics Per Day: 0.01 Content Count: 221 Reputation: 12 Joined: 12/18/11 Last Seen: July 13, 2015 Share 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 Link to comment Share on other sites More sharing options...
ngek202 Posted February 1, 2012 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 530 Reputation: 33 Joined: 01/17/12 Last Seen: August 16, 2017 Author Share Posted February 1, 2012 you have a message, and don't put spaces or // coz it will make the lua unreadable Quote Link to comment Share on other sites More sharing options...
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 AerieLink to comment
Share on other sites
4 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.