Jump to content
  • 0

[Solve] Adding Treasure chest gravity error.


manabeast

Question


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

I know adding new custom mob, but if adding existing little problem, correct me if i were wrong.

i want to add 4 custom treasure chest help!

when go in game @spawn gravity error.

Clientside

npcidentity

["JT_E_TREASURE1"] = 3638,

["JT_E_TREASURE1"] = 3639,

["JT_E_TREASURE1"] = 3640,

["JT_E_TREASURE1"] = 3641,

jobname

[jobtbl.JT_E_TREASURE1] = "TREASUREBOX_2.gr2",

mob_db.txt (edit for simple view)

3638,E_TREASURE1,Treasure Chest,Treasure Chest,99,10,0,0,0,0,0,0,10,10,0,0,0,0,0,0,0,0,0,0,80,0x120,0,0,0,0,0,0,0,0,0,0,0,0,5277,5,5351,10,5332,10,5176,10,5755,10,5203,10,5277,10,5381,10,0,0,0,0);

3639,E_TREASURE1,Treasure Chest,Treasure Chest,1,10,0,0,0,0,0,0,10,10,0,0,0,0,0,0,0,0,0,0,80,0x120,0,0,0,0,0,0,0,0,0,0,0,0,7559,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);

3640,E_TREASURE1,Treasure Chest,Treasure Chest,1,10,0,0,0,0,0,0,10,10,0,0,0,0,0,0,0,0,0,0,80,0x120,0,0,0,0,0,0,0,0,0,0,0,0,20059,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);

3641,E_TREASURE1,Treasure Chest,Treasure Ches',1,10,0,0,0,0,0,0,10,10,0,0,0,0,0,0,0,0,0,0,80,0x120,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);

Edited by manabeast
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  9
  • Reputation:   4
  • Joined:  12/15/11
  • Last Seen:  

Try using

[jobtbl.JT_E_TREASURE1] = "E_TREASURE1",

in jobname.

You defined the spritename "TREASUREBOX_2.gr2" but you used "E_TREASURE1" in the mob_db

Edited by HollyEnix
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

oh.. it's work. thx ^^

Link to comment
Share on other sites

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.

×
×
  • Create New...