Jump to content

Question

6 answers to this question

Recommended Posts

Posted

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,

Posted

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.

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