Jump to content
  • 1

Add new npc sprite custom!


Question

Posted

Id did everything and stil get this error "No view data for class 10475."

I changed my npc.h to:
#define MAX_NPC_CLASS2_END 18000

i changed const.txt

 

any up to day tutorial?

4 answers to this question

Recommended Posts

  • -1
Posted (edited)
22 hours ago, danielps said:

Id did everything and stil get this error "No view data for class 10475."

I changed my npc.h to:
#define MAX_NPC_CLASS2_END 18000

i changed const.txt

 

any up to day tutorial?

Add your custom npc before this line in npc.h file:

NPC_RANGE3_END, // Official: JT_NEW_NPC_3RD_END=19999

Like this :
 

JT_NEWNPC = 10475,
JT_NEWNPC2, //10476 <-- It is increasing automatically per line after the declaration of id above this line.
JT_NEWNPC3, //10477
NPC_RANGE3_END, // Official: JT_NEW_NPC_3RD_END=19999

 

Edited by GodKnows Jhomz
  • Love 1
  • Like 1
  • 1
Posted
20 hours ago, GodKnows Jhomz said:

Add your custom npc before this line:


NPC_RANGE3_END, // Official: JT_NEW_NPC_3RD_END=19999

Like this :
 


JT_NEWNPC = 10475,
JT_NEWNPC2, //10476 <-- It is increasing automatically per line after the declaration of id above this line.
JT_NEWNPC3, //10477
NPC_RANGE3_END, // Official: JT_NEW_NPC_3RD_END=19999

 

Hey bro, only problem is, the last rathena from git dont have this NPC_RANGE3_END,

What rathena version are you using?

Look attached here the const i'm using, that is the lastes version of rathena. 

Please help its not working =/

const.txt

  • 0
Posted
21 hours ago, GodKnows Jhomz said:

Add your custom npc before this line:


NPC_RANGE3_END, // Official: JT_NEW_NPC_3RD_END=19999

Like this :
 


JT_NEWNPC = 10475,
JT_NEWNPC2, //10476 <-- It is increasing automatically per line after the declaration of id above this line.
JT_NEWNPC3, //10477
NPC_RANGE3_END, // Official: JT_NEW_NPC_3RD_END=19999

 

I now undestand, ur talking about npc.h, i tried and it worked!!
Thans a lot man! There are not so much people that know this, cause i saw lot of people asking help and nobody got the correct answer!
Thanks and like !!!

  • 0
Posted
42 minutes ago, danielps said:

I now undestand, ur talking about npc.h, i tried and it worked!!
Thans a lot man! There are not so much people that know this, cause i saw lot of people asking help and nobody got the correct answer!
Thanks and like !!!

Sorry bout the missing file to be edited. Already edited the post for the others to know. Glad that I helped you out. 

  • Upvote 1

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