Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 19:40

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

Advertisement



New button function help

Discussion on New button function help within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2013
Posts: 31
Received Thanks: 0
New button function help

Hi.
I put in a new key but I can not write to function.
The teleport System is opened I would like to close with him.


I do not know how to give you the opening to the closing command in interfacemodule.py
Help my.
Thanks
isolator0524 is offline  
Old 10/01/2014, 16:57   #2

 
.yorliK's Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 1,448
Received Thanks: 1,258
I hope, i understand you correctly..

Open Game.py and search for:
Code:
onPressKeyDict[app.DIK_F4]	= lambda : self.__PressQuickSlot(7)
under this, make a new function like this, i used F6:
Code:
onPressKeyDict[app.DIK_F6]	= lambda : self.__TeleportGui()
now scroll till the end of game.py and add a new function:
Code:
	def __TeleportGui(self):
		self.teleport.Open()
.yorliK is offline  
Old 10/02/2014, 05:40   #3
 
elite*gold: 0
Join Date: Jan 2013
Posts: 31
Received Thanks: 0
Thank you.
The problem is that I do not dislike it made ​​to the key button. I'll show you:

In the picture you can see that there is a new button should be doing the opening and closing of the command in interfacemodule.py
isolator0524 is offline  
Reply


Similar Threads Similar Threads
Connection button has no function
06/09/2014 - Metin2 Private Server - 0 Replies
Hi, elitepvpers I have one problem with my client. The login button has no function. If I don't write anything in the login-box, and I press connect, the messaje "You need an ID/ password" is appear, but if I write an account, and press the connection button, nothing happens. In the sysser : 0608 17:11:06553 :: Traceback (most recent call last): 0608 17:11:06554 :: File "ui.py", line 682, in OnIMEReturn 0608 17:11:06554 :: File "ui.py", line 87, in __call__ 0608 17:11:06554 :: File...
AcceptButton Function- using the Enter Key for click the button
08/14/2013 - .NET Languages - 1 Replies
I have a total of four send Button on my Form I am able to set the AceeptButton on the form Property, but I was only able to set one button. I have four send button for the user click. Code below is where the send button are. I just want to use the keyboard Enter key whenever hit the enter key to sent character.
guild function button
10/23/2009 - Dekaron - 3 Replies
im still crashing when i mouse over he function button in my guild, our yall still having the same problem? because i have uber amount of AP im wanting to donate. And if ur having same problem, know when the will get around to fixing it?
GUI Button function w/ autoit
01/02/2009 - Conquer Online 2 - 12 Replies
kk im a newbie at makin bots but heres the code i have now... okay im a TOTAL newb at making stuff with autoit, so far i can only make simple things with clicking and what not...but i ran into a problem today. my bot creates a gui that instructs you on how to use the bot, what i need help with is how to create a hotkey that "Starts" the bot(the opposite of the exiting hotkey) HotKeySet("^!x", "QuitProg") Func QuitProg() Exit EndFunc thats the exit hotkey that i got, but i was wondering...



All times are GMT +2. The time now is 19:40.


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.