Inventory Buttons

04/07/2021 13:13 Scorpion945#1
Hi I have a problem with the inventory when I hover the mouse on the button as you can see the writing goes behind the inventory. But as I show on the screen if I move the mouse on the friend key or esc the problem is not there.

Anyone get them to help me? What file should you touch?

[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
04/07/2021 17:26 Endless.#2
check you uiinventory.py in your /root oder /uiscript from your pack Folder.
search your Text where not works perfect, and then show me your Code here, maybe i can help you.
04/08/2021 11:22 Scorpion945#3
Quote:
Originally Posted by Endless. View Post
check you uiinventory.py in your /root oder /uiscript from your pack Folder.
search your Text where not works perfect, and then show me your Code here, maybe i can help you.

ui inventory:

self.TicketButton = self.GetChild2("TicketButton")

if self.TicketButton:
self.TicketButton.SetEvent(ui.__mem_func__(self.To ggleTicketWindow))

self.TicketButton = None

def ToggleTicketWindow(self):
constInfo.Tickets['QCMD'] = 'OPEN#'
event.QuestButtonClick(constInfo.Tickets['QID'])


These are all the codes inside uiinventory.py related to the "Ticket" button
I have opened all the root + uiscript files but I can't find the "Friends" "Inventory" and "Options" keys

UISCRIPT BUTTOMS Friend etc:

04/09/2021 16:42 Endless.#4
Okey, i cant see Any Errors sry :/ All what i can recommend, that is

Code:
"x" : 58+14+3 +8,
"y" : 84 + 3- 46,
To edit the Coordinate from your Buttons to look, what happen, if you change the Coordinate like:

Code:
x: 1234
y: 1234
i hope that can help you :) Good Luck!


€: Here is a Example how my Button works:

Code:
							"name" : "BonusButton",
							"type" : "button",
                
							"x" : 86,
							"y" : 152,
                
							"tooltip_text" : "Bonus-Helfer",
						
							"default_image" : "uiscript/boni5.tga",
							"over_image" : "uiscript/boni6.tga",
							"down_image" : "uiscript/boni5.tga",
						},
Im not good in python, but i think this Parameters where you use here, that are for extended Floating Settings. Sry for my bad English :S
:)
04/10/2021 22:56 Scorpion945#5
Thanks for the help I try to see if I can fix it.
04/11/2021 01:33 Carlos1937#6
check dm discord