kitty14 Posted January 8, 2014 Group: Members Topic Count: 103 Topics Per Day: 0.02 Content Count: 323 Reputation: 4 Joined: 12/09/13 Last Seen: May 9, 2023 Share 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 Link to comment Share on other sites More sharing options...
Najara Posted January 10, 2014 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 404 Reputation: 247 Joined: 12/17/11 Last Seen: April 22 Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted January 8, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2371 Joined: 10/28/11 Last Seen: 5 hours ago Share Posted January 8, 2014 show what you have edited ...probably a missing comma ?? Quote Link to comment Share on other sites More sharing options...
kitty14 Posted January 8, 2014 Group: Members Topic Count: 103 Topics Per Day: 0.02 Content Count: 323 Reputation: 4 Joined: 12/09/13 Last Seen: May 9, 2023 Author Share 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 Link to comment Share on other sites More sharing options...
Najara Posted January 8, 2014 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 404 Reputation: 247 Joined: 12/17/11 Last Seen: April 22 Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted January 8, 2014 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2371 Joined: 10/28/11 Last Seen: 5 hours ago Share 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 Link to comment Share on other sites More sharing options...
kitty14 Posted January 8, 2014 Group: Members Topic Count: 103 Topics Per Day: 0.02 Content Count: 323 Reputation: 4 Joined: 12/09/13 Last Seen: May 9, 2023 Author Share 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 Link to comment Share on other sites More sharing options...
Najara Posted January 8, 2014 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 404 Reputation: 247 Joined: 12/17/11 Last Seen: April 22 Share 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 Link to comment Share on other sites More sharing options...
kitty14 Posted January 8, 2014 Group: Members Topic Count: 103 Topics Per Day: 0.02 Content Count: 323 Reputation: 4 Joined: 12/09/13 Last Seen: May 9, 2023 Author Share 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 Link to comment Share on other sites More sharing options...
Najara Posted January 9, 2014 Group: Members Topic Count: 36 Topics Per Day: 0.01 Content Count: 404 Reputation: 247 Joined: 12/17/11 Last Seen: April 22 Share 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 Link to comment Share on other sites More sharing options...
kitty14 Posted January 10, 2014 Group: Members Topic Count: 103 Topics Per Day: 0.02 Content Count: 323 Reputation: 4 Joined: 12/09/13 Last Seen: May 9, 2023 Author Share Posted January 10, 2014 sure here, sorry late response jobname.txt npcidentity.txt Quote Link to comment Share on other sites More sharing options...
kitty14 Posted January 11, 2014 Group: Members Topic Count: 103 Topics Per Day: 0.02 Content Count: 323 Reputation: 4 Joined: 12/09/13 Last Seen: May 9, 2023 Author Share Posted January 11, 2014 thanks Najara Quote Link to comment Share on other sites More sharing options...
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?
Link to comment
Share on other sites
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.