Jump to content
  • 0

[Resolved] Help with adding a Monster


ngek202

Question


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  530
  • Reputation:   33
  • Joined:  01/17/12
  • Last Seen:  

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 by Aerie
Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  383
  • Reputation:   109
  • Joined:  11/11/11
  • Last Seen:  

Posted · 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

  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  90
  • Reputation:   2
  • Joined:  11/14/11
  • Last Seen:  

sorry..

but how did u solve this problem?

i having the same problem

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  221
  • Reputation:   12
  • Joined:  12/18/11
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  530
  • Reputation:   33
  • Joined:  01/17/12
  • Last Seen:  

you have a message, and don't put spaces or // coz it will make the lua unreadable

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