[Only registered and activated users can see links. Click Here To Register...]
[English]
Hello there
I am developing a bot myself with phython language
Everything is going very well when I'm doing bota attachments, I see the lack of a topic on the server screen with the shift key on the left I can open and close the panel I want to do was already in trouble after entering the game
I have not been able to turn off the function with the key f5 f6 f7 I tried with almost all the keys There is no problem related to the button but it does not work that function in the game.
[Türkçe]
Merhaba
Kendim bir bot geliştiriyorum phython dili ile
Herşey çok iyi gidiyor bota eklemeleri yaparken bir konudaki eksikliğimi gördüm server ekranında soldaki shift tuşuyla paneli açıp kapatabiliyorum yapmak istediğimde buydu zaten sorun oyuna girdikten sonra
tuş ile kapatıp açma özelliğini çalıştıramamış olmam f5 f6 f7 neredeyse tüm tuşlarla denedim tuşla alakalı bir sorun yok ama oyun içinde o fonksiyonu çalıştırmıyor yardımcı olabilirseniz çok sevinirim teşekkürler şimdiden.
:eek:
[English]
Hello there
I am developing a bot myself with phython language
Everything is going very well when I'm doing bota attachments, I see the lack of a topic on the server screen with the shift key on the left I can open and close the panel I want to do was already in trouble after entering the game
I have not been able to turn off the function with the key f5 f6 f7 I tried with almost all the keys There is no problem related to the button but it does not work that function in the game.
[Türkçe]
Merhaba
Kendim bir bot geliştiriyorum phython dili ile
Herşey çok iyi gidiyor bota eklemeleri yaparken bir konudaki eksikliğimi gördüm server ekranında soldaki shift tuşuyla paneli açıp kapatabiliyorum yapmak istediğimde buydu zaten sorun oyuna girdikten sonra
tuş ile kapatıp açma özelliğini çalıştıramamış olmam f5 f6 f7 neredeyse tüm tuşlarla denedim tuşla alakalı bir sorun yok ama oyun içinde o fonksiyonu çalıştırmıyor yardımcı olabilirseniz çok sevinirim teşekkürler şimdiden.
Code:
def __BuildKeyDict(self):
onPressKeyDict = {}
onPressKeyDict[app.DIK_LSHIFT] = lambda : self.OpenWindow()
self.onPressKeyDict = onPressKeyDict
def OnKeyDown(self, key):
try:
self.onPressKeyDict[key]()
except KeyError:
pass
except:
raise
return TRUE
def OpenWindow(self):
if self.AnaPanel.IsShow():
self.AnaPanel.Hide()
else:
self.AnaPanel.Show()