Jump to content

Recommended Posts

Hi, i installed this feature, but i have this problem:

spacer.png

For some reason expanded works fine, but it still shows the won and yang at inventory window.

  • Metin2 Dev 1

โ€œ๐“๐“ต๐“ต ๐”€๐“ฎ ๐“ฑ๐“ช๐“ฟ๐“ฎ ๐“ฝ๐“ธ ๐“ญ๐“ฎ๐“ฌ๐“ฒ๐“ญ๐“ฎ ๐“ฒ๐“ผ ๐”€๐“ฑ๐“ช๐“ฝ ๐“ฝ๐“ธ ๐“ญ๐“ธ ๐”€๐“ฒ๐“ฝ๐“ฑ ๐“ฝ๐“ฑ๐“ฎ ๐“ฝ๐“ฒ๐“ถ๐“ฎ ๐“ฝ๐“ฑ๐“ช๐“ฝ ๐“ฒ๐“ผ ๐“ฐ๐“ฒ๐“ฟ๐“ฎ๐“ท ๐“พ๐“ผ.โ€ ~ ๐“–๐“ช๐“ท๐“ญ๐“ช๐“ต๐“ฏ ๐“ฝ๐“ฑ๐“ฎ ๐“–๐“ป๐“ฎ๐”‚

I'm having this problem, could anyone help me?

Spoiler
0131 17:28:23861 :: Traceback (most recent call last):

0131 17:28:23862 ::   File "networkModule.py", line 236, in SetGamePhase

0131 17:28:23862 ::   File "game.py", line 96, in __init__

0131 17:28:23862 ::   File "interfaceModule.py", line 412, in MakeInterface

0131 17:28:23862 ::   File "interfaceModule.py", line 225, in __MakeWindows

0131 17:28:23862 ::   File "uiInventory.py", line 275, in __init__

0131 17:28:23862 ::   File "ui.py", line 3704, in __init__

0131 17:28:23862 ::   File "ui.py", line 108, in __init__

0131 17:28:23862 ::   File "uiInventory.py", line 690, in Hide

0131 17:28:23862 :: AttributeError
0131 17:28:23862 :: : 
0131 17:28:23862 :: 'InventoryWindow' object has no attribute 'wndExpandedMoneyBar'
0131 17:28:23862 :: 

ย 

ย 

  • 3 months later...
  • 6 months later...
  • 4 months later...
  • Active Member

Hey there, i tried adding it in new clean files, and i get this error.ย 
0424 05:37:10108 :: 'InventoryWindow' object has no attribute 'wndExpandedMoneyBar'

has anyone encountered this problem, to leave the fix, plz?

On 1/31/2024 at 10:43 PM, Marcos17 said:

I'm having this problem, could anyone help me?

ย  Hide contents
0131 17:28:23861 :: Traceback (most recent call last):

0131 17:28:23862 ::   File "networkModule.py", line 236, in SetGamePhase

0131 17:28:23862 ::   File "game.py", line 96, in __init__

0131 17:28:23862 ::   File "interfaceModule.py", line 412, in MakeInterface

0131 17:28:23862 ::   File "interfaceModule.py", line 225, in __MakeWindows

0131 17:28:23862 ::   File "uiInventory.py", line 275, in __init__

0131 17:28:23862 ::   File "ui.py", line 3704, in __init__

0131 17:28:23862 ::   File "ui.py", line 108, in __init__

0131 17:28:23862 ::   File "uiInventory.py", line 690, in Hide

0131 17:28:23862 :: AttributeError
0131 17:28:23862 :: : 
0131 17:28:23862 :: 'InventoryWindow' object has no attribute 'wndExpandedMoneyBar'
0131 17:28:23862 :: 

ย 

ย 

I'm having the same problem ๐Ÿ˜ž

  • 1 month later...
  • Premium
On 12/3/2024 at 6:41 PM, Wandererr said:

Sorry for the late respond, working flawlessly, but how can I erase the yang bar from inventory?

For the people who needs this, this is without GEM/Gaya system:

Spoiler
## uiinventory.py in def __LoadWindow(self) Search:

			self.costumeButton = self.GetChild2("CostumeButton")
  
#Add :
			if app.ENABLE_CHEQUE_SYSTEM:
				self.wndCheque = self.GetChild("Cheque")
				self.wndChequeSlot = self.GetChild("Cheque_Slot")

				if constInfo.ENABLE_EXPANDED_MONEY_TASKBAR: 
					self.wndMoneyIcon = self.GetChild("Money_Icon")
					self.wndChequeIcon = self.GetChild("Cheque_Icon")
					self.wndMoneyIcon.Hide()
					self.wndMoneySlot.Hide()
					self.wndChequeIcon.Hide()
					self.wndChequeSlot.Hide()


					height = self.GetHeight()
					width = self.GetWidth()
					self.SetSize(width, height - 22)
					self.GetChild("board").SetSize(width, height - 22)

				else:
					self.wndMoneyIcon = self.GetChild("Money_Icon")
					self.wndChequeIcon = self.GetChild("Cheque_Icon")

					self.wndMoneyIcon.SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_in", 0)
					self.wndChequeIcon.SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_in", 1)

					self.wndMoneyIcon.SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_out", 0)
					self.wndChequeIcon.SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_out", 1)

					self.toolTip = uiToolTip.ToolTip()
					self.toolTip.ClearToolTip()
			else:
				if constInfo.ENABLE_EXPANDED_MONEY_TASKBAR:
					self.wndMoneyIcon = self.GetChild("Money_Icon")
					self.wndMoneyIcon.Hide()
					self.wndMoneySlot.Hide()

					height = self.GetHeight()
					width = self.GetWidth()
					self.SetSize(width, height - 22)
					self.GetChild("board").SetSize(width, height - 22)

				else:
					self.wndMoneyIcon = self.GetChild("Money_Icon")
					self.wndMoneyIcon.SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_in", 0)
					self.wndMoneyIcon.SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_out", 0)
					self.toolTip = uiToolTip.ToolTip()
					self.toolTip.ClearToolTip()

ย 

ย 

ย 

ย 

On 4/24/2025 at 4:38 AM, Anielle Noir said:

Hey there, i tried adding it in new clean files, and i get this error.ย 
0424 05:37:10108 :: 'InventoryWindow' object has no attribute 'wndExpandedMoneyBar'

has anyone encountered this problem, to leave the fix, plz?

I'm having the same problem ๐Ÿ˜ž

Do you have this inย class InventoryWindow def __init__ ??

self.wndExpandedMoneyBar = None

ย 

Best regards ARiver.

Edited by ARiver
  • Active Member
1 hour ago, ARiver said:

For the people who needs this, this is without GEM/Gaya system:

ย  Reveal hidden contents
## uiinventory.py in def __LoadWindow(self) Search:

			self.costumeButton = self.GetChild2("CostumeButton")
  
#Add :
			if app.ENABLE_CHEQUE_SYSTEM:
				self.wndCheque = self.GetChild("Cheque")
				self.wndChequeSlot = self.GetChild("Cheque_Slot")

				if constInfo.ENABLE_EXPANDED_MONEY_TASKBAR: 
					self.wndMoneyIcon = self.GetChild("Money_Icon")
					self.wndChequeIcon = self.GetChild("Cheque_Icon")
					self.wndMoneyIcon.Hide()
					self.wndMoneySlot.Hide()
					self.wndChequeIcon.Hide()
					self.wndChequeSlot.Hide()


					height = self.GetHeight()
					width = self.GetWidth()
					self.SetSize(width, height - 22)
					self.GetChild("board").SetSize(width, height - 22)

				else:
					self.wndMoneyIcon = self.GetChild("Money_Icon")
					self.wndChequeIcon = self.GetChild("Cheque_Icon")

					self.wndMoneyIcon.SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_in", 0)
					self.wndChequeIcon.SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_in", 1)

					self.wndMoneyIcon.SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_out", 0)
					self.wndChequeIcon.SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_out", 1)

					self.toolTip = uiToolTip.ToolTip()
					self.toolTip.ClearToolTip()
			else:
				if constInfo.ENABLE_EXPANDED_MONEY_TASKBAR:
					self.wndMoneyIcon = self.GetChild("Money_Icon")
					self.wndMoneyIcon.Hide()
					self.wndMoneySlot.Hide()

					height = self.GetHeight()
					width = self.GetWidth()
					self.SetSize(width, height - 22)
					self.GetChild("board").SetSize(width, height - 22)

				else:
					self.wndMoneyIcon = self.GetChild("Money_Icon")
					self.wndMoneyIcon.SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_in", 0)
					self.wndMoneyIcon.SetEvent(ui.__mem_func__(self.EventProgress), "mouse_over_out", 0)
					self.toolTip = uiToolTip.ToolTip()
					self.toolTip.ClearToolTip()

ย 

ย 

ย 

ย 

Do you have this inย class InventoryWindow def __init__ ??

self.wndExpandedMoneyBar = None

ย 

Best regards ARiver.

i already finished it from the official files, and extended for Dragon Coins for ingame itemshop (buying from shops with dragon coins)
.png

  • Premium
57 minutes ago, Anielle Noir said:

i already finished it from the official files, and extended for Dragon Coins for ingame itemshop (buying from shops with dragon coins)
.png

Oh nice, what was the fix for the syserr btw ?ย  I couldn't remember how i solve it when i see your comment !ย 

  • 2 weeks later...
  • Premium
On 6/18/2025 at 11:43 PM, Kinglex98 said:

problema.png

Hello !
When i use the client in lower resolution, like 800ย  x 600 button overlaps another button

ย 

Hello, look in locale/xx/ui/taskbar.py:

Spoiler
		{
			"name" : "RightMouseButton",
			"type" : "button",

			"x" : SCREEN_WIDTH/2 + 128 + 66 + 11 - 7,
			"y" : 3 + Y_ADD_POSITION,

			"default_image" : ROOT + "TaskBar/Mouse_Button_Move_01.sub",
			"over_image" : ROOT + "TaskBar/Mouse_Button_Move_02.sub",
			"down_image" : ROOT + "TaskBar/Mouse_Button_Move_03.sub",
		},

		## Button
		## ENABLE_EXPANDED_MONEY_TASKBAR
		{
			"name" : "ExpandMoneyButton",
			"type" : "button",

			"x" : SCREEN_WIDTH - 178+10,
			"y" : 3 + Y_ADD_POSITION,
			"tooltip_text" : uiScriptLocale.TASKBAR_MONEY_EXPAND,

			"default_image" : ROOT + "TaskBar/Ex_gemshop_button_01.tga",
			"over_image" : ROOT + "TaskBar/Ex_gemshop_button_02.tga",
			"down_image" : ROOT + "TaskBar/Ex_gemshop_button_03.tga",
		},
		## ENABLE_EXPANDED_MONEY_TASKBAR
		{
			"name" : "CharacterButton",
			"type" : "button",

			"x" : SCREEN_WIDTH - 144+10,
			"y" : 3 + Y_ADD_POSITION,

			"tooltip_text" : uiScriptLocale.TASKBAR_CHARACTER,

			"default_image" : ROOT + "TaskBar/Character_Button_01.sub",
			"over_image" : ROOT + "TaskBar/Character_Button_02.sub",
			"down_image" : ROOT + "TaskBar/Character_Button_03.sub",
		},
		{
			"name" : "InventoryButton",
			"type" : "button",

			"x" : SCREEN_WIDTH - 110+10,
			"y" : 3 + Y_ADD_POSITION,

			"tooltip_text" : uiScriptLocale.TASKBAR_INVENTORY,

			"default_image" : ROOT + "TaskBar/Inventory_Button_01.sub",
			"over_image" : ROOT + "TaskBar/Inventory_Button_02.sub",
			"down_image" : ROOT + "TaskBar/Inventory_Button_03.sub",
			
		},
		{
			"name" : "MessengerButton",
			"type" : "button",

			"x" : SCREEN_WIDTH - 76 + 10,
			"y" : 3 + Y_ADD_POSITION,

			"tooltip_text" : uiScriptLocale.TASKBAR_MESSENGER,

			"default_image" : ROOT + "TaskBar/Community_Button_01.sub",
			"over_image" : ROOT + "TaskBar/Community_Button_02.sub",
			"down_image" : ROOT + "TaskBar/Community_Button_03.sub",
		},
		{
			"name" : "SystemButton",
			"type" : "button",

			"x" : SCREEN_WIDTH - 42 + 10,
			"y" : 3 + Y_ADD_POSITION,

			"tooltip_text" : uiScriptLocale.TASKBAR_SYSTEM,

			"default_image" : ROOT + "TaskBar/System_Button_01.sub",
			"over_image" : ROOT + "TaskBar/System_Button_02.sub",
			"down_image" : ROOT + "TaskBar/System_Button_03.sub",
		},

ย 

You have to add -7 at "RightMouseButton"" x" axisย  ย andย +10 at some others "x" to match official behavior.

You can copy past the part from GF latest newtaskbar.py in their locale directories.

ย 

Best regards.

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

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.