GM Incarnation Posted June 26, 2012 Posted June 26, 2012 Hi All I need help to fix this problem. When i add the mob in npcidentity.lua & jobname.lua this error appear. here my npcidentity.lua & jobname.lua http://pastebin.com/u4Dy8VDR ===> ID from 3500 to 3550 (npcidentity.lua) http://pastebin.com/XFzpeGZd (jobname.lua) Quote
-1 GM Incarnation Posted August 1, 2012 Author Posted August 1, 2012 Hi Jhedzkie This problem already fix thanks for your kindly assist. Quote
Jhedzkie Posted June 26, 2012 Posted June 26, 2012 i have added several mobs to my own client, and i didn't experienced such stuff. i'm using 2011-11-22a client. so, basically, when I added my own mob, I made it defined as mob # 2501. so what i did is I tried to find ["JT_MONSTER_LAST"] from npcidendity.lua, adjust its number to one more than the max mob id. I had 2501, so 2501+1 = 2502, so mine goes like ["JT_CUSTOM_MOB1"] = 2501, ["JT_MONSTER_LAST"] = 2502, here, make sure that all your custom mob is located before you put ["JT_MONSTER_LAST"] because your client won't read it if you didn't. that probably is what your error is. example. ["JT_CHOUJI"] = 2500, ["JT_Crow"] = 2501, ["JT_CRYSTAL_2"] = 2502, ["JT_CRYSTAL_3"] = 2503, ["JT_CRYSTAL_4"] = 2504, ["JT_Cyberbot"] = 2505, ["JT_DEIDARA"] = 2506, ["JT_DEVIL_NARUTO"] = 2507, ["JT_DOKI"] = 2508, ["JT_edensentinel"] = 2509, ["JT_EMMA"] = 2510, ["JT_Halli"] = 2511, ["JT_HIDAN"] = 2512, ["JT_HIDAN2"] = 2513, ["JT_HOSHIGAKI_KISAME"] = 2514, ["JT_igniz"] = 2515, ["JT_jin"] = 2516, ["JT_JIRAYA"] = 2517, ["JT_JIROBOU"] = 2518, ["JT_juggernaut"] = 2519, ["JT_jungleboy"] = 2520, ["JT_kades"] = 2521, ["JT_KAKUZU"] = 2522, ["JT_KANKURO"] = 2523, ["JT_kyo"] = 2524, ["JT_kyubi"] = 2525, ["JT_Lugia"] = 2526, ["JT_MADARA"] = 2527, ["JT_MINI_GAARA"] = 2528, ["JT_NAMIZAKEMINATO"] = 2529, ["JT_NARUTO_POSSUIDO"] = 2530, ["JT_NARUTOSANNIN"] = 2531, ["JT_OBJ_A"] = 2532, ["JT_OBJ_B"] = 2533, ["JT_OROCHIMARU"] = 2534, ["JT_OROCHIMARU2CORPO"] = 2535, ["JT_PEIN"] = 2536, ["JT_POTON_CANON_3"] = 2537, ["JT_PR"] = 2538, ["JT_Predator"] = 2539, ["JT_red-black"] = 2540, ["JT_SAKURA"] = 2541, ["JT_SANDAIME"] = 2542, ["JT_SASORIBONECO"] = 2543, ["JT_spectre"] = 2544, ["JT_Spicy_Dragon"] = 2545, ["JT_SUIGETSU"] = 2546, ["JT_TOBI"] = 2547, ["JT_Tutankhamen"] = 2548, ["JT_UCHIHA"] = 2549, ["JT_ZETSU"] = 2550, ["JT_MONSTER_LAST"] = 2551, Quote
GM Incarnation Posted June 26, 2012 Author Posted June 26, 2012 Hi Sir my jobname.lua nothing problem ? i will try now. Still the same error appear. Pls advise Quote
Jhedzkie Posted June 26, 2012 Posted June 26, 2012 just put your custom stuff before JT_MONSTER_LAST in both npcidentity and jobname lua. that's all that you have to do. Quote
GM Incarnation Posted June 26, 2012 Author Posted June 26, 2012 what do u mean sir ? can u help me and remote my laptop? Quote
Jhedzkie Posted June 26, 2012 Posted June 26, 2012 CTRL+F Find the word "JT_MONSTER_LAST" on both npcidentity.lua and jobname.lua. Found it? Good. Now, add your custom mobs BEFORE "JT_MONSTER_LAST" just like how I did in my example in the spoiler. Then of course, you have to compile your lua to lub. Then repack your grf. Quote
Question
GM Incarnation
Hi All
I need help to fix this problem. When i add the mob in npcidentity.lua & jobname.lua this error appear.
here my npcidentity.lua & jobname.lua
http://pastebin.com/u4Dy8VDR ===> ID from 3500 to 3550 (npcidentity.lua)
http://pastebin.com/XFzpeGZd (jobname.lua)
6 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.