Jump to content
  • 0

Sprite Error [ Help ]


SlashGeeGee

Question


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

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

Link to comment
Share on other sites

Recommended Posts


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  530
  • Reputation:   33
  • Joined:  01/17/12
  • Last Seen:  

haven't tried adding npc's but I'm not sure if you really need to add them on mob_db2.txt

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  530
  • Reputation:   33
  • Joined:  01/17/12
  • Last Seen:  

i see is there a lua error? Or can u post your jobname.lua and npcidentity.lua whole

Edited by ngek202
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

there's no lua error , when i warp at map sprite error already :)

Here :lua files.rar

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  530
  • Reputation:   33
  • Joined:  01/17/12
  • Last Seen:  

can you try this lua files, I edited yours.

trythislua.zip

Edited by ngek202
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

i used the lua files you gave me but it's still error :)

here is there something new ?

Error.txt

have you tried it ?

Edited by SlashGeeGee
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  530
  • Reputation:   33
  • Joined:  01/17/12
  • Last Seen:  

tried It just now and they're working fine on me

post-1596-0-70575500-1335761539_thumb.jpg

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  277
  • Reputation:   76
  • Joined:  11/23/11
  • Last Seen:  

Remove or add JT_ before the sprite names?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

@ngek202 how do you make it work ?

is there something wrong ? or with my client ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  530
  • Reputation:   33
  • Joined:  01/17/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

it's still error :)

look at my lua's :

9fy62c.jpg

do i need to diff " Load Lua Before Lub " ?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  530
  • Reputation:   33
  • Joined:  01/17/12
  • Last Seen:  

the one I'm using has it.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

ok i'll try diffing with it :)

Diffed New Client with " Load Lua Before Lub " NPC's are now working :)

but i got a problem i cannot use any hotkeys , alt keys and everything :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  530
  • Reputation:   33
  • Joined:  01/17/12
  • Last Seen:  

are you using .lua on your msgstring_kr if yes convert/replace it with msgstring_kr.lub

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

i tried deleting my msgstring_kr.lua but it doesnt work

another try i compiled by msgstring_kr.lua to msgstring_kr.lub and just used the lub one

still the hotkeys doesnt work :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.01
  • Content Count:  530
  • Reputation:   33
  • Joined:  01/17/12
  • Last Seen:  

hmm I wonder what was the previous msgstring_kr you were using is it Lua or Lub?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  277
  • Reputation:   76
  • Joined:  11/23/11
  • Last Seen:  

it's still error :(

look at my lua's :

9fy62c.jpg

do i need to diff " Load Lua Before Lub " ?

You need to add a little comma at the end ,

Edited by Matrixfox
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

it's still error :(

look at my lua's :

9fy62c.jpg

do i need to diff " Load Lua Before Lub " ?

You need to add a little comma at the end ,

i added already on both but still the hotkeys doesnt work /ok

My Client : 2010-05-11

Lua Files : http://svn6.assembla.com/svn/ClientSide/Lua_Project/lua%20files/

Lub Files : 2010-05-12 Lub Files [Translated].rar

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

what client date are you using, I don't see on the posts which one it is

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

what client date are you using, I don't see on the posts which one it is

My Client : 2010-05-11

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  277
  • Reputation:   76
  • Joined:  11/23/11
  • Last Seen:  

When hot keys don't work, it's due to incorrect matching lua files with clients.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

When hot keys don't work, it's due to incorrect matching lua files with clients.

http://rathena.org/board/topic/62480-sprite-error-help/page__view__findpost__p__97155

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  277
  • Reputation:   76
  • Joined:  11/23/11
  • Last Seen:  

What is your clients diffs?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

Here's all my diffs :

All Recommended Diffs +

Load Lua Before Lub
Enable DNS Support
127 Hairstyles

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