Jump to content
  • 0

Custom mob crashes client


ScriptingPhailure

Question


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  87
  • Reputation:   21
  • Joined:  01/13/12
  • Last Seen:  

Tried making a custom mob today using an already existing sprite: Kades. The debug didn't pick up on anything and @mi gives me the data just fine but when i tried spawning my mob it crashed the client. I'm not sure what the issue is.

rA svn: 16022

2800,KADES,D_Rank_Proctor,D Rank Procotor,43,24698,0,0,0,1,200,300,50,60,40,40,40,40,40,40,10,12,2,0,67,0x37B5,150,768,768,576,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

I didn't change or do anything client side. I assumed that because I am making a custom mob based off an existing sprite that nothing needs to be done client side.

Edited by Syouji
Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  70
  • Topics Per Day:  0.01
  • Content Count:  1245
  • Reputation:   395
  • Joined:  11/19/11
  • Last Seen:  

KADES as defined in the npcidentity.lua follows an ID of 2253 and therefore has to have a Mob ID set to 2253. You can use the mob_avail.txt to use the KADES sprite for your own custom mob so it looks like KADES. So since your ID is 2800 but your monster is NOT Kades simply add this line to your mob_avail.txt

Syntax: mob_id,sprite_id,equip #

Try this:

2800,2253,0

2800 - Your custom mob (new one) is set under a mob ID of 2800

2253 - Pull the mob sprite from the ID of 2253

Your mob should now look like KADES but has different database parameters (STR, DEX, DROPS etc).

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