SlashGeeGee Posted April 29, 2012 Posted April 29, 2012 Hello rA 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 : Thanks SlashGeeGee Quote
ngek202 Posted April 29, 2012 Posted April 29, 2012 haven't tried adding npc's but I'm not sure if you really need to add them on mob_db2.txt Quote
SlashGeeGee Posted April 29, 2012 Author Posted April 29, 2012 i added it because of this : http://www.eathena.ws/board/index.php?showtopic=255188 Quote
ngek202 Posted April 29, 2012 Posted April 29, 2012 (edited) i see is there a lua error? Or can u post your jobname.lua and npcidentity.lua whole Edited April 29, 2012 by ngek202 Quote
SlashGeeGee Posted April 29, 2012 Author Posted April 29, 2012 there's no lua error , when i warp at map sprite error already Here :lua files.rar Quote
ngek202 Posted April 30, 2012 Posted April 30, 2012 (edited) can you try this lua files, I edited yours. trythislua.zip Edited April 30, 2012 by ngek202 Quote
SlashGeeGee Posted April 30, 2012 Author Posted April 30, 2012 (edited) 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 April 30, 2012 by SlashGeeGee Quote
ngek202 Posted April 30, 2012 Posted April 30, 2012 tried It just now and they're working fine on me Quote
Matrixfox Posted April 30, 2012 Posted April 30, 2012 Remove or add JT_ before the sprite names? Quote
SlashGeeGee Posted April 30, 2012 Author Posted April 30, 2012 @ngek202 how do you make it work ? is there something wrong ? or with my client ? Quote
ngek202 Posted April 30, 2012 Posted April 30, 2012 (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 April 30, 2012 by ngek202 Quote
SlashGeeGee Posted April 30, 2012 Author Posted April 30, 2012 it's still error look at my lua's : do i need to diff " Load Lua Before Lub " ? Quote
SlashGeeGee Posted April 30, 2012 Author Posted April 30, 2012 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 Quote
ngek202 Posted May 1, 2012 Posted May 1, 2012 are you using .lua on your msgstring_kr if yes convert/replace it with msgstring_kr.lub Quote
SlashGeeGee Posted May 1, 2012 Author Posted May 1, 2012 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 Quote
ngek202 Posted May 1, 2012 Posted May 1, 2012 hmm I wonder what was the previous msgstring_kr you were using is it Lua or Lub? Quote
Matrixfox Posted May 1, 2012 Posted May 1, 2012 (edited) it's still error look at my lua's : do i need to diff " Load Lua Before Lub " ? You need to add a little comma at the end , Edited May 1, 2012 by Matrixfox Quote
SlashGeeGee Posted May 1, 2012 Author Posted May 1, 2012 it's still error look at my lua's : 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 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 Quote
Judas Posted May 1, 2012 Posted May 1, 2012 what client date are you using, I don't see on the posts which one it is Quote
SlashGeeGee Posted May 2, 2012 Author Posted May 2, 2012 what client date are you using, I don't see on the posts which one it is My Client : 2010-05-11 Quote
Matrixfox Posted May 2, 2012 Posted May 2, 2012 When hot keys don't work, it's due to incorrect matching lua files with clients. Quote
Judas Posted May 2, 2012 Posted May 2, 2012 http://supportmii.com/ro1/Clients/Judas_Setups/Clientside/ Tested and working, hotkey works Quote
SlashGeeGee Posted May 2, 2012 Author Posted May 2, 2012 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 Quote
SlashGeeGee Posted May 2, 2012 Author Posted May 2, 2012 Here's all my diffs : All Recommended Diffs + Load Lua Before Lub Enable DNS Support 127 Hairstyles Quote
Question
SlashGeeGee
Hello rA
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
my lua files/datainfo/npcidentity.lua
my mob_db2.txt :
the sprites is already in the correct folder
see ss :
Thanks
SlashGeeGee
33 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.