kitty14 Posted January 8, 2014 Posted January 8, 2014 i followed rathena custom mob wiki guide also judas guide / but i keep having this error saying[string"buff"]2138:table index is nil, and [sting "buff"]:3:attempt to index global 'JobNameTable'(a nil value im using 2012-04-10 client, and this http://svn6.assembla.com/svn/ClientSide/Lua_Project/lua%20files/datainfo/ . i just change the name from .lua to .lubtell me what went wrong? Quote
Najara Posted January 10, 2014 Posted January 10, 2014 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 Quote
Emistry Posted January 8, 2014 Posted January 8, 2014 show what you have edited ...probably a missing comma ?? Quote
kitty14 Posted January 8, 2014 Author Posted January 8, 2014 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 jobnametablenpc identity ["JT_4_F_TAEKWON"] = 644, ["JT_4_F_SWORDMAN"] = 645, ["JT_4_F_BLUE_HELL_CENTAUR"] = 646, } Quote
Najara Posted January 8, 2014 Posted January 8, 2014 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. Quote
Emistry Posted January 8, 2014 Posted January 8, 2014 [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. Quote
kitty14 Posted January 8, 2014 Author Posted January 8, 2014 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 .. Quote
Najara Posted January 8, 2014 Posted January 8, 2014 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/ Quote
kitty14 Posted January 8, 2014 Author Posted January 8, 2014 (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.lublike what i did to custom items.. is it connected with the diff? hello? Edited January 8, 2014 by kitty14 Quote
Najara Posted January 9, 2014 Posted January 9, 2014 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. Quote
kitty14 Posted January 10, 2014 Author Posted January 10, 2014 sure here, sorry late response jobname.txt npcidentity.txt Quote
Question
kitty14
i followed rathena custom mob wiki guide also judas guide / but i keep having this error saying
[string"buff"]2138:table index is nil, and [sting "buff"]:3:attempt to index global 'JobNameTable'(a nil value
im using 2012-04-10 client, and this http://svn6.assembla.com/svn/ClientSide/Lua_Project/lua%20files/datainfo/ . i just change the name from .lua to .lub
tell me what went wrong?
11 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.