Register for your free account! | Forgot your password?

You last visited: Today at 15:54

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



switchbot button

Discussion on switchbot button within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2013
Posts: 10
Received Thanks: 0
switchbot button

i have a little problem, i added the button for switch, but when i press click on it dont works, how i can add that switchbot on button?



inventorywindow
Code:
                        {
                            "name" : "SwitchButton",
                            "type" : "button",

                            "x" : 100,
                            "y" : 3,

                            "tooltip_text" : uiScriptLocale.SWITCH_TITLE,

                            "default_image" : "d:/ymir work/ui/terkea/bonus_button_01.tga",
                            "over_image" : "d:/ymir work/ui/terkea/bonus_button_02.tga",
                            "down_image" : "d:/ymir work/ui/terkea/bonus_button_03.tga",
                        },
uiinventory
Code:
self.SwitchButton=self.GetChild2("SwitchButton")
Code:
# SwitchButtonifself.SwitchButton:
self.SwitchButton.SetEvent(ui.__mem_func__(self.ClickSwitchButton))
Code:
self.SwitchButton=None
Code:
# SwitchButtondefClickSwitchButton(self):
if
self.switchbot.bot_shown ==1:
self.switchbot.Hide()
else:
self.switchbot.Show()
nobody?
Terkea is offline  
Reply

Tags
button


Similar Threads Similar Threads
[Hilfe]Switchbot by Mijago V2.2 als Button im Inv.
12/24/2014 - Metin2 Private Server - 12 Replies
hallo :D, habe den button im inventar schon eingefügt, wenn ich es benutze kommt das fenster nicht aber mit f6 kommt es :/ was habe ich wohl falsch gemacht??? wo habe ich es eingefügt? Nur in der uiinventory.py self.SwitchButton = self.GetChild2("SwitchButton")
Switchbot Refresh Button fehlt O.o
04/01/2014 - Metin2 Private Server - 5 Replies
Bei dem Switchbot von DaRealFreak v 3.1.2 fehlt mir der Refresh Button für die Item Liste links :o wie mache ich den rein? import chat import item import net import player import snd import locale import shop import ui
Python Switchbot - Button macht Probleme
03/23/2014 - Metin2 Private Server - 0 Replies
Ich hab mir en neuen Button auf die Taskbar gelegt, mit dem ich den Python Bonuschanger von DaRealFreak aufrufe. Soweit so gut Nun das Problem.. Wenn der Switchbot schon auf ist, kannst ich ihn nochmal und nochmal und nochmal öffnen, er sollte eigentlich beim zweiten klick wenn der Switchbot schon offen ist nichts tun oder den bot schließen, aber nicht jedes mal wieder öffnen Derzeit habe ich den Eintrag so: def __openswitch(self): import uiSwitchbonus2...
Switchbot über Button, nicht über F6 [HELP]
12/15/2012 - Metin2 Private Server - 2 Replies
Guten Tag, ich habe einen switchbot von realfreak eingebaut, der nun über f6 startbar und schliessbar ist. Ich habe bereits einen Button im Inventar eingebaut, jedoch weiss ich nicht wie ich diese F6 funktion über den Button laufen lassen kann. könnte mir jemand das machen und mir sagen wo ich was einfügen muss? Button (inventorywindow.py) ## Switchbot Button { "name" : "SwitchButton", "type" : "button",



All times are GMT +2. The time now is 15:54.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.