here's what i do to solve the weapon sprite problem that change to default, i simply change the value 10 in item_db.txt and itemInfo.lua to 96 and 97.and it works like a charm.
what i want to ask here is that okay with that? because if this is the right way to solve this problem then we got to change the item_db.txt and itemInfo.lua and that's will be though.
okay here is the issue i've found on this thread http://rathena.org/board/topic/84495-all-weapon-sprite-showing-default/ and this http://rathena.org/board/topic/73980-all-weapon-sprites-default/
they all talking about the weapon sprites that change to default that occure when using:
1. kRO client 2013
2. rathena rev 14007 up to now.
3. data translation folder from this link https://subversion.assembla.com/svn/client-side-translation/
after i do some research about this problems, the problem occure in this 3 files:
1. item_db.txt (Location: Server\Trunk\db\re\)
2. weapontable.lub (Location: kRO client\data\luafiles514\lua files\datainfo\)
3. iteminfo.lua (Location: kRO client\system\)
the item_db.txt shows this:
// 2-Handed Staffs 1472,Staff_Of_Soul,Soul Staff,4,20,,1400,25:200,,1,0,0x00810204,7,2,34,3,73,1,10,{ bonus bInt,5; bonus bAgi,2; },{},{} 1473,Wizardy_Staff,Wizardry Staff,4,20,,2400,120:200,,1,0,0x00810204,7,2,34,4,90,1,10,{ bonus bInt,6; bonus bDex,2; },{},{}i take example of this 2-Handed Staffs, i marked the red one because it value is to show the sprite in game.
the problem is in the weapontable.lub those value isn't 10 anymore. the value 10 is for rod.
the value for item id 1472 and 1473 are 96 and 97.
and the itemInfo.lua show that the ClassNum for item id 1472 and 1473 are 10
[1472] = { unidentifiedDisplayName = "Rod", unidentifiedResourceName = "·Ôµå", unidentifiedDescriptionName = { "Unknown item", "requiring Appraisal.", "Can be identified by", "using a Magnifier.", }, identifiedDisplayName = "Soul Staff", identifiedResourceName = "½ºÅÂÇÁ¿Àºê¼Ò¿ï", identifiedDescriptionName = { "A high quality,", "two-handed staff", "that amplifies", "psychic power.", "Int +5", "Agi +2", "MATK + 200", "Class: ^777777Two-Handed Staff^000000", "Attack: ^77777725^000000", "Weight: ^777777140^000000", "Weapon Level: ^7777773^000000", "Required Level: ^77777773^000000", "Jobs: ^777777Mage Class and Soul Linker^000000" }, slotCount = 0, ClassNum = 10 }, [1473] = { unidentifiedDisplayName = "Rod", unidentifiedResourceName = "·Ôµå", unidentifiedDescriptionName = { "Unknown item", "requiring Appraisal.", "Can be identified by", "using a Magnifier.", }, identifiedDisplayName = "Wizardry Staff", identifiedResourceName = "À§Àڵ帮½ºÅÂÇÁ", identifiedDescriptionName = { "Rumored to have", "been crafted by an", "ancient wizard, this", "staff contains awesome", "energies.", "Int +6", "Dex +2", "MATK + 200", "Class: ^777777Two-Handed Staff^000000", "Attack: ^777777120^000000", "Weight: ^777777240^000000", "Weapon Level: ^7777774^000000", "Required Level: ^77777790^000000", "Jobs: ^777777Mage Class and Soul Linker^000000" }, slotCount = 0, ClassNum = 10here's what i do to solve the weapon sprite problem that change to default, i simply change the value 10 in item_db.txt and itemInfo.lua to 96 and 97.and it works like a charm.
what i want to ask here is that okay with that? because if this is the right way to solve this problem then we got to change the item_db.txt and itemInfo.lua and that's will be though.
waiting for the answer... thx
Link to comment
Share on other sites