(sorry for my bad english, my original topic: [Only registered and activated users can see links. Click Here To Register...])
If you don't know, the latest metin2 official update has introduced the save of the shortcut Ctrl+Q when you relog.
This release contains this update + a my edit to show/hide the whisper buttons with the shortcut Ctrl+K.
Video:
##game.py
game.py file (latest file from metin2.it) with my edit: [Only registered and activated users can see links. Click Here To Register...]
##interfacemodule.py
interfacemodule.py file (latest file from metin2.it) with my edit: [Only registered and activated users can see links. Click Here To Register...]
If you cannot understand how to implement this release, you can merge these files with yours using [Only registered and activated users can see links. Click Here To Register...].
If you don't know, the latest metin2 official update has introduced the save of the shortcut Ctrl+Q when you relog.
This release contains this update + a my edit to show/hide the whisper buttons with the shortcut Ctrl+K.
Video:
|
|
##game.py
Code:
#into def __BuildKeyDict: onPressKeyDict[app.DIK_Q] = self.__PressQKey onPressKeyDict[app.DIK_K] = self.__PressKKey #bottom of the class: def __PressQKey(self): if app.IsPressed(app.DIK_LCONTROL) or app.IsPressed(app.DIK_RCONTROL): if 0==interfaceModule.IsQBHide: interfaceModule.IsQBHide = 1 self.interface.HideAllQuestButton() else: interfaceModule.IsQBHide = 0 self.interface.ShowAllQuestButton() else: app.RotateCamera(app.CAMERA_TO_NEGATIVE) def __PressKKey(self): if app.IsPressed(app.DIK_LCONTROL) or app.IsPressed(app.DIK_RCONTROL): if 0==interfaceModule.IsKBHide: interfaceModule.IsKBHide = 1 self.interface.HideAllWhisperButton() else: interfaceModule.IsKBHide = 0 self.interface.ShowAllWhisperButton()
##interfacemodule.py
Code:
#before the Interface class: IsQBHide = 0 IsKBHide = 0 #into def __ShowWindows: global IsQBHide if not IsQBHide: self.ShowAllQuestButton() else: self.HideAllQuestButton() global IsKBHide if not IsKBHide: self.ShowAllWhisperButton() else: self.HideAllWhisperButton() #bottom of the def __ArrangeQuestButton: global IsQBHide if IsQBHide: btn.Hide() else: btn.Show() #bottom of the def __ArrangeWhisperButton: global IsKBHide if IsKBHide: button.Hide() else: button.Show()
If you cannot understand how to implement this release, you can merge these files with yours using [Only registered and activated users can see links. Click Here To Register...].