Jump to content
  • 0

!Help implementing custom npc


mayoral012

Question


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  03/09/14
  • Last Seen:  

/no1Rathena such friends I would like to receive help with my problem loading a new npc that I've created, I have the following:

 

*sprites: styla.ACT y styla.spr saved in this root: data/sprite/npc
*scripts for the custom npc saved in: npc/custom/stylist.txt ...................................... this is the name of the script
 

*lua files: pcidentity & pcjobname configured as follows:

pcidentity:

        JT_OBORO = 4212,
        JT_STYLA = 650 ------------------------------ being this line that gives the ID of the new npc
}

pcjobname:

        [pcJobTbl.JT_OBORO] = "OBORO",
        [pcjobTbl.JT_STYLA] = "STYLA", ------------------------------------- This line gives the name to the new npc
}

Scripts_custom configurado de la siguiente forma:

-- custom stylist
  npc: npc/custom/stylist.txt   -------------------------------- this line being that enables custom scripting stylist npc

 

 

charged once I enter the server GM commotion and click the following command to enable the custom NPC @ loadnpc npc / custom / stylist.txt, followed by enter and I'm me Boot handler error window with the following:

 

 

 

 

post-24587-0-28477700-1394898243_thumb.jpgpost-24587-0-90102700-1394898257_thumb.jpg

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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