Jump to content
For maintenance and updates, the community will be offline on 31 December 2022 ×
  • 0

Button.


GameStudio+

Question

Hey, I added a server system, but he wants to otweirał using the button. 
no and the game open system using f5.
 
onPressKeyDict[app.DIK_F5]    = lambda : self.OpenTeleportWindow()
 
well then I added: (game.py)
#TP_BUTTON
def __OpenTeleportWindow(self)
OpenTeleportWindow.TeleportDialog().Show()
#END_OF_TP_BUTTON
 
uiinventory.py
def ClickTpButton(self):
print "click_tp_button"
self.TpButton.SetEvent(__OpenTeleportWindow)


 

syser

0918 16:25:40983 :: Traceback (most recent call last):
 
0918 16:25:40986 ::   File "networkModule.py", line 237, in SetGamePhase
 
0918 16:25:40987 ::   File "system.py", line 130, in __pack_import
 
0918 16:25:40987 ::   File "
0918 16:25:40987 :: <string>
0918 16:25:40987 :: ", line 
0918 16:25:40988 :: 2033
0918 16:25:40988 :: 
 
0918 16:25:40988 ::     
0918 16:25:40988 :: def __OpenTeleportWindow(self)
 
0918 16:25:40988 ::     
0918 16:25:40988 ::  
0918 16:25:40988 ::  
0918 16:25:40988 ::  
0918 16:25:40989 ::  
0918 16:25:40989 ::  
0918 16:25:40989 ::  
0918 16:25:40989 ::  
0918 16:25:40989 ::  
0918 16:25:40989 ::  
0918 16:25:40989 ::  
0918 16:25:40989 ::  
0918 16:25:40989 ::  
0918 16:25:40989 ::  
0918 16:25:40989 ::  
0918 16:25:40989 ::  
0918 16:25:40989 ::  
0918 16:25:40989 ::  
0918 16:25:40989 ::  
0918 16:25:40989 ::  
0918 16:25:40989 ::  
0918 16:25:40989 ::  
0918 16:25:40990 ::  
0918 16:25:40990 ::  
0918 16:25:40990 ::  
0918 16:25:40990 ::  
0918 16:25:40990 ::  
0918 16:25:40990 ::  
0918 16:25:40990 ::  
0918 16:25:40990 ::  
0918 16:25:40990 :: ^
 
0918 16:25:40990 :: SyntaxError
0918 16:25:40990 :: : 
0918 16:25:40990 :: invalid syntax
0918 16:25:40990 :: 

 
[TAB] are 100%
Link to comment
Share on other sites

  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

3 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Activity

    1. 1

      Costume shining/costume effect system

    2. 992

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

    3. 3

      Biologist Manager (C++ & LUA)

    4. 3

      Visual studio 2022 compiling issue

    5. 63

      Metin2 | Mount System Renewal

    6. 58

      Metin2 2004 Beta Client

    7. 0

      🔥Paradise2 PVP SERVER GLOBAL!! EN-ES-PT 🕐📢Apertura 11 de diciembre 21 horas de España!

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.