Jump to content
  • 0

Addin Custom Mobs problem


Question

11 answers to this question

Recommended Posts

Posted

Try this (attachment) - remember to convert/rename to .lub.

 

I've left out the comma, as according to some users commas are not a requirement for the final entry of (custom) monsters.

I strongly advice you that, if the problem persists, to add a comma any way at the last entry on both files.

 

Please report back if that worked.

npcidentity.txt

Posted
JobNameTable = {
 
[jobtbl.JT_TREASURE_BOX_TE_9] = "TREASUREBOX_2.gr2",
[jobtbl.JT_TREASURE_BOX_TE_10] = "TREASUREBOX_2.gr2",
[jobtbl.JT_BLUE_HELL_CENTAUR] = "Blue_Hell_Centaur",
}
 
i just added 1 mobs, for trial.. here, the last three on jobnametable

npc identity
 
["JT_4_F_TAEKWON"] = 644,
["JT_4_F_SWORDMAN"] = 645,
["JT_4_F_BLUE_HELL_CENTAUR"] = 646,
}
 
Posted

Here an example of how it should be like.

Your mistake is probably using a too low ID. I suggest using 3200+

 

npcidentity:

["JT_BLUE_HELL_CENTAUR] = 3218,
["JT_MONSTER_LAST"] = 3301, <-- Don't forget to increase this number either. 
 
jobname:
[jobtbl.JT_BLUE_HELL_CENTAUR] = "Blue_Hell_Centaur",  <-- Keep in mind, the part between the quotes must be its exact sprite name. It's case sensitive, so if the .spr and .act do not have any capitalized characters, do not include them.
Posted
[jobtbl.JT_BLUE_HELL_CENTAUR] = "Blue_Hell_Centaur",        <------- REMOVE COMMA
["JT_4_F_BLUE_HELL_CENTAUR"] = 646,       <------------ REMOVE COMMA

the very last entry of these lua file dont need a comma.

Posted

 

Here an example of how it should be like.

Your mistake is probably using a too low ID. I suggest using 3200+

 

npcidentity:

["JT_BLUE_HELL_CENTAUR] = 3218,
["JT_MONSTER_LAST"] = 3301, <-- Don't forget to increase this number either. 
 
jobname:
[jobtbl.JT_BLUE_HELL_CENTAUR] = "Blue_Hell_Centaur",  <-- Keep in mind, the part between the quotes must be its exact sprite name. It's case sensitive, so if the .spr and .act do not have any capitalized characters, do not include them.

 

 

 

[jobtbl.JT_BLUE_HELL_CENTAUR] = "Blue_Hell_Centaur",        <------- REMOVE COMMA
["JT_4_F_BLUE_HELL_CENTAUR"] = 646,       <------------ REMOVE COMMA

the very last entry of these lua file dont need a comma.

 

i tried both of your reply, still got the same error, cuz what i have is  the lub files 2012-04-10

then i also downloaded lua files, and i just copy the file needed for custom mobs like npcidentity and jobname, from lua paste it to lub file just change their name to .lub ..

 

Posted

I see. Is the path correct? The lua path for 2012-04-10 is: YourRO/data/luafiles514/lua files/datainfo/

There has been a lot of mistaking on this part because the older clients read the luas from .../data/luafiles514/

Posted (edited)

im using Rytech client 2012-04-10

yup im using this YourRO/data/luafiles514/lua files/datainfo/
 

my sprites are save here sprite/¸ó½ºÅÍ

and is this correct? jobname.lua,npcidentity.lua and jobname_f rename to jobname.lub,jobname_f.lub and npcidentity.lub
like what i did to custom items.. 

 

is it connected with the diff?

 


hello?

Edited by kitty14
Posted

Yes, it all seems properly done. o.o

Are you sure you've raised the JT_MONSTER_LAST to a higher number and places the custom monster the row above that, like in the example I gave?

 

If you want to, you could upload your npcidentity.lub and jobname.lub here so we can take a look at it.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...