Jump to content

Stats not visible on new added armor


Go to solution Solved by ReFresh,

Recommended Posts

Hello!

 

I jut added some sweet armor from this forum. The textures  load and the effects are ok. The item proto was made based on lvl66 armor and i validated on navicat all the lines and they look ok! (i added the lines via txt and not via query on navicat)

But the problem remains, when i hover my mouse over the armor it just shows the name. When i equip it the stats that i configured in item proto enter in effect, but i cant see any stats on the armor when i hover the mouse. Cant ugrade the item and cant put stones on it (i get bugged also after i do that, cant equip or unequip anything)

Do you guys have any tips on what can i check? i am not seeing what is wrong. ( i am gonna dump item proto again but i dont think that is the issue)

 

(i followed this guide 

)

Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

2 hours ago, ReFresh said:

Show us the screenshot of the mentioned problem, but I think you did a mistake in client sided item_proto. And client sysser is clean?

Ow i didnt notice there was an error log! Dont understand the references to icon/hair/

image with the problem: 

vnum of the warrior: from 46030 to 46039

shape index is 4514

//////////////////////////////////

error log:

0925 18:05:33717 :: Traceback (most recent call last):

0925 18:05:33717 ::   File "ui.py", line 1474, in OnOverInItem

0925 18:05:33718 ::   File "ui.py", line 87, in __call__

0925 18:05:33719 ::   File "ui.py", line 78, in __call__

0925 18:05:33719 ::   File "uiInventory.py", line 931, in OverInItem

0925 18:05:33720 ::   File "uiInventory.py", line 1107, in ShowToolTip

0925 18:05:33721 ::   File "uiToolTip.py", line 545, in SetInventoryItem

0925 18:05:33722 ::   File "uiToolTip.py", line 876, in AddItemData

0925 18:05:33723 ::   File "uiToolTip.py", line 1268, in __AppendHairIcon

0925 18:05:33723 ::   File "uiToolTip.py", line 239, in ResizeToolTip

0925 18:05:33724 ::   File "ui.py", line 1893, in SetSize

0925 18:05:33725 :: RuntimeError
0925 18:05:33725 :: : 
0925 18:05:33725 :: Failed to load image (filename: icon/hair/46039.sub)
0925 18:05:33725 :: 

////////////////////////////////////////////////////////

item proto line: 

 

 

 

Spoiler

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

  • Active Member
  • Solution

To fix the hair problem, just add 46039.sub file into icon/hair/ and in the .sub file edit the image name. And for the armor problem, I think you fked up client sided item_proto, probably wrongly packed or you fked up some lines in item_proto, one missing space or tab can cause the problem like you have with the armor. And another problem could be a item_vnum range, but I don't think it's your case, but there're are some number ranges for items.

Edited by ReFresh

I'll be always helpful! 👊 

Link to comment
Share on other sites

2 minutes ago, ReFresh said:

To fix the hair problem, just add 46039.sub file into icon/hair/ and in the .sub file edit the image name. And for the armor problem, I think you fked up client sided item_proto, probably wrongly packed or you fked up some lines in item_proto, one missing space or tab can cause the problem like you have with the armor.

Thank you!

Strange, i was getting pretty confident on the item proto editing, i edited and fully tested a lot of stuff on it. Gonna try to find the issue.

Link to comment
Share on other sites

  • Active Member

That's why I'm using direct database editing for item_proto. I really hate the .txt reading from server, because you can fu*k it up really easy and then you will be searching for a problem for long time and you will always end searching with item_proto problem.

I'll be always helpful! 👊 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.