Jump to content
  • 0

All Weapon Sprites Default


Vach

Question


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   19
  • Joined:  09/27/12
  • Last Seen:  

Another strange issue from Vach, one that I am truly stumped on, all of my Weapon sprites (all weapons everywhere, even the un-edited classic weapons) use the default weapon sprite. All of them. All swords look the same, bows look the same, etc.

I know at least some of the basic weapons had different sprites, even in my old server from 6 years ago I could see them, so something is screwy at this point.

Also, shields, headgear, and even custom headgear/items show up properly. Something very strange is going on.

I am using Client 2012-04-24 with LUA before LUB diffed, as well as the data folder read first. My itemInfo.lub is properly configured and placed in the System folder and I am using Renewal mode. I have tested this with the default item_db as well as modified my clientinfo.xml to see if that was causing the problem, no effect.

I'm at a loss... is there a "default" sprite setting somewhere? :(

Link to comment
Share on other sites

Recommended Posts


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

That is almost the problem I am having with the 2012-04-10 client. I am having weird spirte issues that I can't seem to explain. My cart sprites don't work, the non-trans falcon is a weird pic, etc...

Peopleperson49

Topic

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   19
  • Joined:  09/27/12
  • Last Seen:  

I ended up solving this problem by moving to the 06-18 client and updating it to work with the lua files in this post:

http://rathena.org/b...ua/#entry136929

Combined with a version I decompiled myself (since I use the LUA before LUB setup). Now everything works fine... even other things I was having issues with.

I would request that a Cliendside moderator put this as a known issue somewhere, so that people in the future know how to fix it. There appears to be some sort of change between 04-10 and the clients in 05 that differentiate how the clientside of things determines what item sprites are... I even had some headgear errors fixed when I changed to 06-18a and installed the correct ShadowTables.

If anyone wants the shadow tables I am using, I will upload them here for reference. Again, this is a combination of the work at the link above (which I can't take credit for) and my own decompiled function lua.

ShadowTable.rar

Edited by Vach
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   19
  • Joined:  09/27/12
  • Last Seen:  

Interestingly enough... I'm still getting similar issues. Does anyone else experience this? How about with client 04-10? Anyone? Any input at all in narrowing down this problem would make me grateful.

Using my current client (that uses the System itemInfo.lub file), I can't make any new custom weapons with custom sprites no matter where I put them... I can't even move around existing IDs. Weapon IDs are determining the sprite... I think it is hard coded.

But it is acting really strange; for example, ALL Katars look exactly the same, every single Katar... but there are numerous visible Mace custom Sprites.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

I actually went back to the 2011-11-22 client and it is working great. No issues. I never could get any of the 2012 clients to display weapons and carts correctly. As soon as i went back to 2011 the issues were gone. And I tried everything to fix it; all new clients, lua/lub files, and much more.

Peopleperson49

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   19
  • Joined:  09/27/12
  • Last Seen:  

Yea... I was thinking that might be the issue. Unfortunately, I can't go back after all the work I have done.

There has to be some kind of configuration with the newer LUAs we (the community) don't understand how to manipulate yet to get the custom values to work. I mean, rAthena isn't necessarily designed to work with the newer clients (yet), either, so that is probably part of it.

It might have something to do with packets, too; but I'd rather keep a discussion about it available here on the forums so that everyone can metaphysically put their heads together and figure it out.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

I thought my cart issues was what they fixed with 16928, but after I updated I had the same problem. I had done a lot of work also, but getting my server working was my priority! If you figure it out please let me know. I speant a lot of time trying to figure it out and I can atleast tell you that it didn't help to use ANY of the 2012 clients or the default lua/lub files from the LUA Project.

Peopleperson49

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  280
  • Topics Per Day:  0.06
  • Content Count:  841
  • Reputation:   17
  • Joined:  04/16/12
  • Last Seen:  

Have you tried 2012-06-18? I've tried it recently on my server with custom items but didn't have any problem with it. Including new carts and etc, weapon sprites too :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  218
  • Topics Per Day:  0.05
  • Content Count:  1180
  • Reputation:   141
  • Joined:  01/27/12
  • Last Seen:  

Yes I tried that one and even updated the iteminfo in the System folder. I tried like 6 different 2012 clients each time using new LUA/LUB files and System files. Same result.

Peopleperson49

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   19
  • Joined:  09/27/12
  • Last Seen:  

Have you tried 2012-06-18? I've tried it recently on my server with custom items but didn't have any problem with it. Including new carts and etc, weapon sprites too :)

I'm using 06-18, I don't have any problems with the carts or custom item sprites, just SOME of the weapon sprites. Like in my above example, all Katars and Two Handed Swords look the same, but there are tons of visible custom maces.

Emong, do you have alternative weapon sprites visible for Instruments, Katars or Javelins? If so, that means it is local to me, and based off some setting I am enabling - perhaps with diffing.

Edited by Vach
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   2
  • Joined:  09/25/12
  • Last Seen:  

6-18 have problems with weapontable.lua & weapontable_f.lua, use 7-16 or change classNum value for weapons in itemInfo to 0

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   19
  • Joined:  09/27/12
  • Last Seen:  

7-16? How stable is that? Where did you get LUAs for it? The ones on the lua repository I'm aware of didn't work when I tried. If that works and you can point me to the appriate files (lua, packet db, etc)... I'll do it immediately.

For the second option... Won't changing it to 0 prevent the weapons from displaying at all? Show it as fists?

(I'm assuming we're talking about 2012-07-16.)

Edited by Vach
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   2
  • Joined:  09/25/12
  • Last Seen:  

just set ClassNum for weapons to values as in item_db.txt

e.g.

1254,Jamadhar,Jamadhar,4,37200,,1500,165,,1,0,0x00001000,7,2,34,3,33,1,16,{},{},{}

[1254] = {
unidentifiedDisplayName = "Katar",
unidentifiedResourceName = "Д«ЕёёЈ",
unidentifiedDescriptionName = {
"Unknown Item. Can be identified by using a Magnifier.",
"Weight :^777777 150^000000",
},
identifiedDisplayName = "Jamadhar",
identifiedResourceName = "АЪё¶ґЩёЈ",
identifiedDescriptionName = {
"...skip....",
},
slotCount = 0,
ClassNum = 16, -- <<<<<<<<<<<<<<<<<<<<

},

PS: 7-16 have some problems with timers (new packet) & logoff problem

PS2: from version 2012-07-16aRagexeRE.exe client supports weaponid > 30 up to 97

so if you decompile latest itemInfo.lub it contains for example

[1207] = {
unidentifiedDisplayName = "Dagger",
unidentifiedResourceName = "іЄАМЗБ",
unidentifiedDescriptionName = {
"Unknown Item. Can be identified by using a Magnifier.",
"Weight :^777777 60^000000",
},
identifiedDisplayName = "Main Gauche",
identifiedResourceName = "ёБ°нЅґ",
identifiedDescriptionName = {
"...skip...",
},
slotCount = 3,
ClassNum = 31, -- <<<<<<<<<<<<<<<<
},

you should change it to 1 as in item_db.txt, elseware it will cause to crash in 2012-06-18aRagexeRE.exe

in 2012-07-16aRagexeRE.exe it looks like

post-8173-0-83956300-1353327976_thumb.jpg

Edited by ivanyan
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   19
  • Joined:  09/27/12
  • Last Seen:  

just set ClassNum for weapons to values as in item_db.txt

e.g.

1254,Jamadhar,Jamadhar,4,37200,,1500,165,,1,0,0x00001000,7,2,34,3,33,1,16,{},{},{}

[1254] = {
unidentifiedDisplayName = "Katar",
unidentifiedResourceName = "Д«ЕёёЈ",
unidentifiedDescriptionName = {
"Unknown Item. Can be identified by using a Magnifier.",
"Weight :^777777 150^000000",
},
identifiedDisplayName = "Jamadhar",
identifiedResourceName = "АЪё¶ґЩёЈ",
identifiedDescriptionName = {
"...skip....",
},
slotCount = 0,
ClassNum = 16, -- <<<<<<<<<<<<<<<<<<<<

},

PS: 7-16 have some problems with timers (new packet) & logoff problem

PS2: from version 2012-07-16aRagexeRE.exe client supports weaponid > 30 up to 97

so if you decompile latest itemInfo.lub it contains for example

[1207] = {
unidentifiedDisplayName = "Dagger",
unidentifiedResourceName = "іЄАМЗБ",
unidentifiedDescriptionName = {
"Unknown Item. Can be identified by using a Magnifier.",
"Weight :^777777 60^000000",
},
identifiedDisplayName = "Main Gauche",
identifiedResourceName = "ёБ°нЅґ",
identifiedDescriptionName = {
"...skip...",
},
slotCount = 3,
ClassNum = 31, -- <<<<<<<<<<<<<<<<
},

you should change it to 1 as in item_db.txt, elseware it will cause to crash in 2012-06-18aRagexeRE.exe

in 2012-07-16aRagexeRE.exe it looks like

post-8173-0-83956300-1353327976_thumb.jpg

I have already set the ClassNum's appropriately, they match the item_db. Such as the Katars.

Can I have your lua files and packet_db for 07-16? I would like to try this exe as a solution but I need those two things first. =/

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   2
  • Joined:  09/25/12
  • Last Seen:  

packet_db is the same as for 6-18

ok, additional lua for 7-16 (related to items)

lua.zip

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   19
  • Joined:  09/27/12
  • Last Seen:  

Thanks! I will test it now.

This is really interesting. From what I can see, it is displaying the same weapon sprites that I could see before... which I guess is the extent of those "alternative" sprites. Strange though, I definitely remember there being more Katars... but at least now I know why I couldn't see them before - the weapon tables are not up to date or at least accurate.

I bet this file should be much longer. I'm thinking that the community should start supporting this, because it would make adding custom weapons similar to how they could be added on Xray. You could add your own View ID and assign it a sprite value that is attached to the Item ID.

Anyone else seeing that in these files?

I'm assuming it would be a massive chore to get this properly update though, so that absolutely every view ID matches the source files. Is this a direct decompile? Or have you changed it?

Edited by Vach
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   2
  • Joined:  09/25/12
  • Last Seen:  

I've changed only functions, because they were decompilled incorrectly

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   19
  • Joined:  09/27/12
  • Last Seen:  

Ah, but otherwise this is exactly what was in the data.grf? That's really interesting, as it provides a unique way to control which sprites are displayed.

Incidentally I have no idea what sprites those numbers are pointing to...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  14
  • Reputation:   2
  • Joined:  09/25/12
  • Last Seen:  

e.g.

WEAPONTYPE_Main_Gauche = 31,

[Weapon_IDs.WEAPONTYPE_Main_Gauche] = "_1207", <-- this is sprite name

data.grf contains weapon sprites for each class and sex

e.g. for main gauche its

data\sprite\인간족\페코페코_기사\페코페코_기사_남_1207.spr

data\sprite\인간족\상인\상인_여_1207.spr

data\sprite\인간족\궁수\궁수_남_1207.spr

data\sprite\인간족\세이지\세이지_여_1207.spr

data\sprite\인간족\기사\기사_남_1207.spr

....

....

....

Edited by ivanyan
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   19
  • Joined:  09/27/12
  • Last Seen:  

Sweet, this is basically a replacement for any other custom weapon modifications (such as replacing existing weapons).

And you modified the functions or just fixed them? I wonder if these LUAs would work with 06-18.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  84
  • Topics Per Day:  0.02
  • Content Count:  550
  • Reputation:   9
  • Joined:  11/06/12
  • Last Seen:  

in conclusion sir??

what is the BEST solution for this problem in client 2012-04-10aRagexeRE??

thnks

in conclusion sir........

what is the BEST solution for this kind of problem in 2012-04-10aRagexeRE??

thanks

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   19
  • Joined:  09/27/12
  • Last Seen:  

Everything should be working fine in 04-10a. You just need to appropriately update the text files clientside.

This is more an issue for the System folder clients.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  84
  • Topics Per Day:  0.02
  • Content Count:  550
  • Reputation:   9
  • Joined:  11/06/12
  • Last Seen:  

Everything should be working fine in 04-10a. You just need to appropriately update the text files clientside.

This is more an issue for the System folder clients.

im sure all my system folder is new sir

can you teach me how to fix it sir??

still using 2012-04-10a??

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   19
  • Joined:  09/27/12
  • Last Seen:  

I don't use 04-10a, I'm actually using 07-16. I can help you with that one but not the older one. Sorry. :(

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  84
  • Topics Per Day:  0.02
  • Content Count:  550
  • Reputation:   9
  • Joined:  11/06/12
  • Last Seen:  

I don't use 04-10a, I'm actually using 07-16. I can help you with that one but not the older one. Sorry. :(

2012-07-16? does custom weapon sprite works well?

does alexandrias data folder works with this client?? thanks!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  12/30/12
  • Last Seen:  

just set ClassNum for weapons to values as in item_db.txt

e.g.

1254,Jamadhar,Jamadhar,4,37200,,1500,165,,1,0,0x00001000,7,2,34,3,33,1,16,{},{},{}

[1254] = {
unidentifiedDisplayName = "Katar",
unidentifiedResourceName = "Д«ЕёёЈ",
unidentifiedDescriptionName = {
"Unknown Item. Can be identified by using a Magnifier.",
"Weight :^777777 150^000000",
},
identifiedDisplayName = "Jamadhar",
identifiedResourceName = "АЪё¶ґЩёЈ",
identifiedDescriptionName = {
"...skip....",
},
slotCount = 0,
ClassNum = 16, -- <<<<<<<<<<<<<<<<<<<<

},

PS: 7-16 have some problems with timers (new packet) & logoff problem

PS2: from version 2012-07-16aRagexeRE.exe client supports weaponid > 30 up to 97

so if you decompile latest itemInfo.lub it contains for example

[1207] = {
unidentifiedDisplayName = "Dagger",
unidentifiedResourceName = "іЄАМЗБ",
unidentifiedDescriptionName = {
"Unknown Item. Can be identified by using a Magnifier.",
"Weight :^777777 60^000000",
},
identifiedDisplayName = "Main Gauche",
identifiedResourceName = "ёБ°нЅґ",
identifiedDescriptionName = {
"...skip...",
},
slotCount = 3,
ClassNum = 31, -- <<<<<<<<<<<<<<<<
},

you should change it to 1 as in item_db.txt, elseware it will cause to crash in 2012-06-18aRagexeRE.exe

in 2012-07-16aRagexeRE.exe it looks like

post-8173-0-83956300-1353327976_thumb.jpg

I have already set the ClassNum's appropriately, they match the item_db. Such as the Katars.

Can I have your lua files and packet_db for 07-16? I would like to try this exe as a solution but I need those two things first. =/

can you make a client file for me with custom weapons?

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