-
Posts
196 -
Joined
-
Last visited
-
Days Won
14 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Abel(Tiger)
-
-
What is this ? :
"When a player sends you a message icon taskbar starts flashing."
https://www.youtube.com/watch?v=s2LkFrfrrhk
[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 },
- 27
- 1
- 1
- 6
- 3
- 32
-
Very good ! Thank you.
-
10 minutes ago, icewolf said:
Thanx
Compile succeeded
and work's Perfect
but how i can make a enum with all races . !!!
in RaceData.h
- 1
-
3 minutes ago, icewolf said:
Thanx
But not working for me
when i compile the source
and Open the game
still the same problem
but when i tryied to add
to locale_inc and compile still the same nothing change
i go back to the source and delete this line
and
when i compile it's give me Error about Wolfman Race
Replace if (m_eRace == CRaceData::RACE_WOLFMAN_M) with if (m_eRace == 8) or make a enum with all races .
- 1
-
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 .
-
In char.cpp at line 3952 you don't have space after %s . Just put space between "%s" and "obiect" .
- 1
-
In locale_game.txt search:
TOOLTIP_FISH_LEN Lungime: %,2f cm
and replace with
TOOLTIP_FISH_LEN Lungime: %.2f cm
- 1
-
Open with 55401-55404 and set a name for your pet .
-
Does anyone have metin2_patch_flame_dragonlair ?
-
-
-
-
I already have SP1
-
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
Blink / Alert in Taskbar
in Features & Metin2 Systems
Posted
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.