Jump to content

0 price at private shop - just for trade


Recommended Posts

Hello guys, i've installed a system that i found that works like this:

You open the shop, you select what item you want, and then you have a button which says "for trade". 

like this: muKkdab.png

So now, if i put 0 price, and click at this button, the shop has the item. 

Like this:

wExIeab.png

 

I have 2 problems:

1) When its 0 price, and you click OK, no shop comes up.

2) When i put a price > 0, then the shop has the item, but above the item name it says "This item is for sale", which is wrong . It should have this text only if the price was 0. 

Also, no shop comes up.

 

Can anyone help me? is there at source any part that doesnt allow at the shop an item to have 0 price?

I share with you my uitooltip and uiprivateshopbuilder and uishop.py.

 

uitooltip (line 1354):https://pastebin.com/BvT1sbwy

uishop :https://pastebin.com/nhF2REWt

uiprivateshopbuilder: https://pastebin.com/RKGvuaUn

 

Thanks in advance.

 

 

 

 

 

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 1
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
×
×
  • 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.