Jump to content

Expanded Money Taskbar


Recommended Posts

  • Bot
2 hours ago, OnlyRipper said:

Thank you! It's perfect!

 :D :D.Wish me luck.I hope that will be as successful as this one.I'm somehow proud that i've managed to make it through without error.

Tomorrow the next one:

 

I didn't put a warning in that post, but if you use "long long gold", then you must adapt the system or deactivate it so that the "check system" is compatible.

  • Love 1

english_banner.gif

Link to comment
Share on other sites

Acum 13 ore, WLsj24 a spus:

I didn't put a warning in that post, but if you use "long long gold", then you must adapt the system or deactivate it so that the "check system" is compatible.

 

Acum 3 ore, Kori a spus:

Many changes and it's work with long long 

 

Thank you both for your replies!

These additional replies apply only if i want to remove the yang limit right?

Link to comment
Share on other sites

  • Bot

I mean if you have "long long gold", then there will be some crash in your core due to overflow_cheque.  To avoid that you must eliminate the "long long gold".  If you want to keep the "long long gold" you must make some changes to make both systems compatible at the same time.

  • Love 1

english_banner.gif

Link to comment
Share on other sites

Acum 4 ore, WLsj24 a spus:

I mean if you have "long long gold", then there will be some crash in your core due to overflow_cheque.  To avoid that you must eliminate the "long long gold".  If you want to keep the "long long gold" you must make some changes to make both systems compatible at the same time.

Ooh ok i haven't modified the standard 40k gold type.Thank you!

1 oră în urmă, BKernighan a spus:

System work good & perfectly!! Thank you man i search it so much times

 

wnsl.gif.20be6fe8590e3e3fc5d4dd5fb3c652f0.gif

Wow.Nice you also have the Gaya working.Nice!

  • Love 1
Link to comment
Share on other sites

  • 1 month later...
  • 2 months later...
0125 20:23:47103 :: 
uiInventory.py(line:743) __LoadWindow
ui.py(line:4249) GetChild

InventoryWindow.LoadWindow.BindObject - <type 'exceptions.KeyError'>:'Money_Icon'

0125 20:23:47103 :: ============================================================================================================
0125 20:23:47103 :: Abort!!!!

Have this error

Link to comment
Share on other sites

  • Bot
On 10/26/2019 at 10:42 PM, morfhere said:

uiinventory line 303
 

3 hours ago, Chief said:

0125 20:23:47103 :: 
uiInventory.py(line:743) __LoadWindow
ui.py(line:4249) GetChild

InventoryWindow.LoadWindow.BindObject - <type 'exceptions.KeyError'>:'Money_Icon'

0125 20:23:47103 :: ============================================================================================================
0125 20:23:47103 :: Abort!!!!

Have this error

You dont have "Money_Icon" in inventorywindow.py

  • Love 1

english_banner.gif

Link to comment
Share on other sites

  • 6 months later...
10 hours ago, DanielFVS said:

Hi, does anyone know how to solve this? Thanks :D


spacer.png

 

look in your files for the function that updates the amount of yang and what other trade gold do you have.

you probably have the function of yang twice

https://metin2.download/picture/cqH75q464kv7YQ2L0HT5y3kvKjn6OHye/.png

 

edit as you like, you can take the example from the picture

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

5 hours ago, Catalin2o14 said:

look in your files for the function that updates the amount of yang and what other trade gold do you have.

you probably have the function of yang twice

https://metin2.download/picture/FRH6EgjDyGSn742hxjcJ1XGvdyp9K16D/.png

 

edit as you like, you can take the example from the picture

 

Thanks, I fixed it!

spacer.png

 

It seems that i had a function to show the money "text":

 

    def RefreshStatus(self):
        money = player.GetElk()
        self.wndMoney.SetText(localeInfo.NumberToMoneyString(money))
        if app.ENABLE_CHEQUE_SYSTEM:
            cheque = player.GetCheque()
            self.wndCheque.SetText(localeInfo.NumberToGoldNotText(cheque))
        if app.ENABLE_GEM_SYSTEM:
            if self.wndGem:
                gem = player.GetGaya()
                self.wndGem.SetText(localeInfo.NumberToMoneyString(gem))

 

 

So i just replaced them with this:

 

    def RefreshStatus(self):
        money = player.GetElk()
        self.wndMoney.SetText(localeInfo.NumberToGoldNotText(money))
        if app.ENABLE_CHEQUE_SYSTEM:
            cheque = player.GetCheque()
            self.wndCheque.SetText(localeInfo.NumberToGoldNotText(cheque))
        if app.ENABLE_GEM_SYSTEM:
            if self.wndGem:
                gem = player.GetGaya()
                self.wndGem.SetText(localeInfo.NumberToGoldNotText(gem))

 

 

 

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

  • 4 months later...
Help please?
ui inventory 759 : 				self.wndMoneySlot = self.wndExpandedMoneyBar.GetMoneySlot()

0104 15:39:15523 :: Traceback (most recent call last):

0104 15:39:15523 ::   File "networkModule.py", line 239, in SetGamePhase

0104 15:39:15523 ::   File "game.py", line 118, in __init__

0104 15:39:15523 ::   File "interfaceModule.py", line 477, in MakeInterface

0104 15:39:15523 ::   File "interfaceModule.py", line 278, in __MakeTaskBar

0104 15:39:15523 ::   File "uiInventory.py", line 759, in SetExpandedMoneyBar

0104 15:39:15523 :: AttributeError
0104 15:39:15523 :: : 
0104 15:39:15523 :: 'ExpandedMoneyTaskBar' object has no attribute 'GetMoneySlot'
0104 15:39:15523 :: 

@WLsj24

Edited by alexghinet
tag
Link to comment
Share on other sites

  • 2 months later...
  • Bot
Quote
On 1/5/2021 at 5:47 PM, LordRenoX said:

how i can add tooltip like this :

add in uicommon this imports


 

and in uitaskbar 



import uiToolTip

 

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 1
  • Lmao 1

english_banner.gif

Link to comment
Share on other sites

  • 4 weeks later...
0430 19:51:21645 :: 
uiInventory.py(line:534) __LoadWindow

InventoryWindow.LoadWindow.BindObject - <type 'exceptions.AttributeError'>:'InventoryWindow' object has no attribute 'EventProgress'

0430 19:51:21646 :: ============================================================================================================
0430 19:51:21646 :: Abort!!!!

any ideea?

Link to comment
Share on other sites

  • 1 year later...

I don't have a won system

Sysser:

0713 19:20:17937 :: 
uiInventory.py(line:357) __LoadWindow
ui.py(line:2738) GetChild

InventoryWindow.LoadWindow.BindObject - <type 'exceptions.KeyError'>:'Cheque'

0713 19:20:17937 :: ============================================================================================================
0713 19:20:17937 :: Abort!!!!

Link to comment
Share on other sites

  • 3 weeks later...

Sorry to revive this, the first, thanks, work very great 🙂

the only i have 1 problem, but i can't find solution, the problem is only i can see 1 black box in yang, i can't see in won or gem if i add, the problem for me come from (i think that because if change for money i can see more large black box)

Quote

            "default_image" : "d:/ymir work/ui/public/cheque_slot.sub",
            "over_image" : "d:/ymir work/ui/public/cheque_slot.sub",
            "down_image" : "d:/ymir work/ui/public/cheque_slot.sub",

i add all well, and only i'm using won and yang, all work great only problem is box, i hope you can give me any idea, thanks!! 🙂

d2482ec1158f5448060a31b64c03db11.png

 

Edited by Metin2 Dev
Core X - External 2 Internal

KH.jpg

Nicks: Nazox Krone Nagato Yahiko Yakiro
Proyecto: Trabajando en el.
Compañeros & firma: DreamHQ  - 2009-2015 [Nostalgia]

Link to comment
Share on other sites

  • Management
On 7/30/2022 at 5:01 PM, nazox said:

Sorry to revive this, the first, thanks, work very great 🙂

the only i have 1 problem, but i can't find solution, the problem is only i can see 1 black box in yang, i can't see in won or gem if i add, the problem for me come from (i think that because if change for money i can see more large black box)

i add all well, and only i'm using won and yang, all work great only problem is box, i hope you can give me any idea, thanks!! 🙂

d2482ec1158f5448060a31b64c03db11.png

 

Please, we avoid bumping (I deleted your post) on a tutorial / release.
You can create a topic in the questions and answers forum.

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

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.