Jump to content

Recommended Posts

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

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.