Jump to content
  • 0

Sprite Error [ Help ]


Question

Posted

Hello rA /no1

I just added new npc's to my server and i got sprite error after warping in the place ;)

here's the error :

SpriteError.txt

my lua files/datainfo/jobname.lua


   [jobtbl.JT_Bcheval] = "Bcheval",
   [jobtbl.JT_Bfou] = "Bfou",
   [jobtbl.JT_Bpion] = "Bpion",
   [jobtbl.JT_Breine] = "Breine",
   [jobtbl.JT_Broi] = "Broi",
   [jobtbl.JT_Btour] = "Btour",
   [jobtbl.JT_Ncheval] = "Ncheval",
   [jobtbl.JT_Nfou] = "Nfou",
   [jobtbl.JT_Npion] = "Npion",
   [jobtbl.JT_Nreine] = "Nreine",
   [jobtbl.JT_Nroi] = "Nroi",
   [jobtbl.JT_Ntour] = "Ntour",

my lua files/datainfo/npcidentity.lua

   ["JT_Bcheval"] = 2900,
   ["JT_Bfou"] = 2901,
   ["JT_Bpion"] = 2902,
   ["JT_Breine"] = 2903,
   ["JT_Broi"] = 2904,
   ["JT_Btour"] = 2905,
   ["JT_Ncheval"] = 2906,
   ["JT_Nfou"] = 2907,
   ["JT_Npion"] = 2908,
   ["JT_Nreine"] = 2909,
   ["JT_Nroi"] = 2910,
   ["JT_Ntour"] = 2911,

my mob_db2.txt :

2900,Bcheval,Bla,Bla,1,20,0,0,0,1,1,2,100,99,0,0,0,0,0,90,7,12,0,3,26,0x40,2000,1,1,1,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
2901,Bfou,Bla,Bla,1,20,0,0,0,1,1,2,100,99,0,0,0,0,0,90,7,12,0,3,26,0x40,2000,1,1,1,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
2902,Bpion,Bla,Bla,1,20,0,0,0,1,1,2,100,99,0,0,0,0,0,90,7,12,0,3,26,0x40,2000,1,1,1,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
2903,Breine,Bla,Bla,1,20,0,0,0,1,1,2,100,99,0,0,0,0,0,90,7,12,0,3,26,0x40,2000,1,1,1,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
2904,Broi,Bla,Bla,1,20,0,0,0,1,1,2,100,99,0,0,0,0,0,90,7,12,0,3,26,0x40,2000,1,1,1,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
2905,Btour,Bla,Bla,1,20,0,0,0,1,1,2,100,99,0,0,0,0,0,90,7,12,0,3,26,0x40,2000,1,1,1,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
2906,Ncheval,Bla,Bla,1,20,0,0,0,1,1,2,100,99,0,0,0,0,0,90,7,12,0,3,26,0x40,2000,1,1,1,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
2907,Nfou,Bla,Bla,1,20,0,0,0,1,1,2,100,99,0,0,0,0,0,90,7,12,0,3,26,0x40,2000,1,1,1,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
2908,Npion,Bla,Bla,1,20,0,0,0,1,1,2,100,99,0,0,0,0,0,90,7,12,0,3,26,0x40,2000,1,1,1,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
2909,Nreine,Bla,Bla,1,20,0,0,0,1,1,2,100,99,0,0,0,0,0,90,7,12,0,3,26,0x40,2000,1,1,1,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
2910,Nroi,Bla,Bla,1,20,0,0,0,1,1,2,100,99,0,0,0,0,0,90,7,12,0,3,26,0x40,2000,1,1,1,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
2911,Ntour,Bla,Bla,1,20,0,0,0,1,1,2,100,99,0,0,0,0,0,90,7,12,0,3,26,0x40,2000,1,1,1,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

the sprites is already in the correct folder

see ss :

2vioz05.jpg

Thanks :)

SlashGeeGee

Recommended Posts

Posted (edited)

have you extracted the NPC.grf? if not try to extract it on your Data folder or put it on your own grf.

if it still won't work

take a look at your lua files.

it should be like this:

jobname.lua

[jobtbl.JT_TREASURE_BOX_TE_9] = "TREASUREBOX_2.gr2",
[jobtbl.JT_TREASURE_BOX_TE_10] = "TREASUREBOX_2.gr2",
[jobtbl.JT_Bcheval] = "Bcheval",
[jobtbl.JT_Bfou] = "Bfou",
[jobtbl.JT_Bpion] = "Bpion",
[jobtbl.JT_Breine] = "Breine",
[jobtbl.JT_Broi] = "Broi",
[jobtbl.JT_Btour] = "Btour",
[jobtbl.JT_Ncheval] = "Ncheval",
[jobtbl.JT_Nfou] = "Nfou",
[jobtbl.JT_Npion] = "Npion",
[jobtbl.JT_Nreine] = "Nreine",
[jobtbl.JT_Nroi] = "Nroi",
[jobtbl.JT_Ntour] = "Ntour"
}

npcidentity.lua

["JT_4_F_TAEKWON"] = 644,
["JT_4_F_SWORDMAN"] = 645,
["JT_Bcheval"] = 2900,
["JT_Bfou"] = 2901,
["JT_Bpion"] = 2902,
["JT_Breine"] = 2903,
["JT_Broi"] = 2904,
["JT_Btour"] = 2905,
["JT_Ncheval"] = 2906,
["JT_Nfou"] = 2907,
["JT_Npion"] = 2908,
["JT_Nreine"] = 2909,
["JT_Nroi"] = 2910,
["JT_Ntour"] = 2911
}

Take a look at [jobtbl.JT_TREASURE_BOX_TE_10] = "TREASUREBOX_2.gr2", it has a comma this means it continues the entry of data.

and on the bottom of jobname.lua [jobtbl.JT_Ntour] = "Ntour" no more comma means the end of data entry.

whenever you add an entry to the lua you need to add a comma , so it will read the lines below and then remove the comma at the end.

Edited by ngek202

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