-
Posts
6 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Suky
-
-
2 minutes ago, xP3NG3Rx said:
It could be a wrong coded python file also.
I Can send you my root . You have a time for me ^^ ?
-
6 minutes ago, Tasho said:
Then go and make a dbg on class where is opened for can be sure is called or is problem with your uiscript (some keys failed) and can't show and not all time show something on syserr.
root/uiSystem.py (replace the function OpenDialog) with this:
def OpenDialog(self): import chat chat.AppendChat(chat.CHAT_TYPE_INFO, "uiSystem.SystemDialog().OpenDialog()") self.Show()
If he show you message and not appear the window that means you have problem in ../SystemDialog.py (uiscript or locale)
You can try also with:
#self.Show() ui.ScriptWindow.Show(self)
Binary cant call OnPressEscapeKey ^^ I Press button system open system menu.
And not append chat ^^
-
3 minutes ago, Tasho said:
Be sure you have same on root/game.py
def OnPressEscapeKey(self): if app.TARGET == app.GetCursor(): app.SetCursor(app.NORMAL) elif TRUE == mouseModule.mouseController.isAttached(): mouseModule.mouseController.DeattachObject() else: self.interface.OpenSystemDialog() return TRUE
def OnPressEscapeKey(self): if app.TARGET == app.GetCursor(): app.SetCursor(app.NORMAL) elif True == mouseModule.mouseController.isAttached(): mouseModule.mouseController.DeattachObject() else: self.interface.OpenSystemDialog() return True
-
Hi guys , i have a little but difficult problem. I Press escape key on game window but not open SystemDialog .
I Have not syserr but my tracef on debug :
https://metin2.download/picture/ti55EoYtbCP75MCR01mTtC9QyGU8QS5A/.png
https://metin2.download/picture/1SkHLuuYoYHlQF2WN7b8CD0r7E4T36VA/.png
https://metin2.download/picture/R2Wwl5Kz79qnlXBW70vUOig70me1cVo0/.png
My Event :
BOOL CWindow::RunPressEscapeKeyEvent() { TWindowContainer::reverse_iterator itor; for (itor = m_pChildList.rbegin(); itor != m_pChildList.rend(); ++itor) { CWindow * pWindow = *itor; if (pWindow->IsShow()) { Tracenf("CloseWindow: %s", pWindow->GetName()); if (pWindow->RunPressEscapeKeyEvent()) return TRUE; } } Tracenf("CloseWindow2: %s", this->GetName()); if (OnPressEscapeKey()) return TRUE; Tracenf("CloseWindow3: %s", this->GetName()); return FALSE; }
Thanks .
-
Send me offlineshop_manager.cpp
- 1
OnPressEscapeKeyEvent Problem...
in Community Support - Questions & Answers
Posted
solved close please