Jump to content

Abel(Tiger)

Active+ Member
  • Posts

    196
  • Joined

  • Last visited

  • Days Won

    14
  • Feedback

    0%

Everything posted by Abel(Tiger)

  1. With module you can use in another scope . For example put app.FlashApplication() in game.py (in def Open(self)) and if you dead and restart in city with client minimized this help you :)) or can put in switchbot when this finish(more servers use switchboot). Who want just for whishper can use xP3NG3Rx version .It is better.
  2. M2 Download Center Download Here ( Internal ) What is this ? : "When a player sends you a message icon taskbar starts flashing." [Hidden Content] [File: Client/root/InterfaceModule.py] //1.) Search: 2x btn.Flash() #in function def RecvWhisper(self, name): //2.) Add bellow: app.FlashApplication() [File: Source/src/Client/UserInterface/PythonApplication.cpp] //1.) Search: void CPythonApplication::Clear() { m_pySystem.Clear(); } //2.) Add bellow: #include <Windows.h> void CPythonApplication::FlashApplication() { HWND hWnd = GetWindowHandle(); FLASHWINFO fi; fi.cbSize = sizeof(FLASHWINFO); fi.hwnd = hWnd; fi.dwFlags = FLASHW_ALL | FLASHW_TIMERNOFG; fi.uCount = 0; fi.dwTimeout = 0; FlashWindowEx(&fi); } [File: Source/src/Client/UserInterface/PythonApplication.h] //1.) Search: void SetForceSightRange(int iRange); //2.) Add bellow: void FlashApplication(); [File: Source/src/Client/UserInterface/PythonApplicationModule.cpp] //1.) Search: PyObject* appLogoClose(PyObject* poSelf, PyObject* poArgs) { //CPythonApplication::Instance().OnLogoClose(); return Py_BuildNone(); } //2.) Add bellow: PyObject* appFlashApplication(PyObject* poSelf, PyObject* poArgs) { CPythonApplication::Instance().FlashApplication(); return Py_BuildNone(); } //3.) Search: { "OnLogoClose", appLogoClose, METH_VARARGS }, //4.) Add bellow: { "FlashApplication", appFlashApplication, METH_VARARGS },
  3. Replace if (m_eRace == CRaceData::RACE_WOLFMAN_M) with if (m_eRace == 8) or make a enum with all races .
  4. Very good , thanks . Edit : In my source don't work with if (m_eRace == CRaceData::RACE_WOLFMAN_M) and replace with if (m_eRace == 8) because WOLFMAN is race 8 .
  5. In char.cpp at line 3952 you don't have space after %s . Just put space between "%s" and "obiect" .
  6. In locale_game.txt search: TOOLTIP_FISH_LEN Lungime: %,2f cm and replace with TOOLTIP_FISH_LEN Lungime: %.2f cm
  7. I have this problem with compile binary Linking... fatal error C1900: Il mismatch between 'P1' version '20100826' and 'P2' version '20080116' LINK : fatal error LNK1257: code generation failed Build log was saved at "file://d:\source bun\UserInterface\Release\BuildLog.htm" UserInterface - 1 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 15 up-to-date, 0 skipped ========== I using vs 2008
×
×
  • 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.