Jump to content
  • 1

Add new npc sprite custom!


danielps

Question


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   18
  • Joined:  10/09/14
  • Last Seen:  

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?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   18
  • Joined:  10/09/14
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   18
  • Joined:  10/09/14
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  333
  • Reputation:   67
  • Joined:  09/05/12
  • Last Seen:  

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
Link to comment
Share on other sites

  • -1

  • Group:  Members
  • Topic Count:  38
  • Topics Per Day:  0.01
  • Content Count:  333
  • Reputation:   67
  • Joined:  09/05/12
  • Last Seen:  

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