Pabox Cavieres
Dovux Online owner
I'm not able to post any patches and anything, so I'll post few fixes for most important things. You need to compile it.
1. Premium days removing (-1 day after relog) fix
iologindata.cpp
Change:
To:Code:uint32_t days = (uint32_t)std::ceil((double)(timeNow - account.lastDay) / 86400);
Code:uint32_t days = (uint32_t)std::ceil((timeNow - account.lastDay) / 86400);
2. Error when compiling with __EXCEPTION_TRACER__
exception.cpp
After:
Add:Code:#include "otpch.h"
Code:#include "otsystem.h"
3. doCreateItem fix
luascript.cpp
Change whole function
To:Code:int32_t LuaScriptInterface::luaDoCreateItem(lua_State* L)
Wklej.to - po prostu wklej to - paste: coje
4. Monster crash, temporary fix (pushCreatures)
monster.cpp
Change whole function:
To:Code:void Monster::pushCreatures(Tile* tile)
Wklej.to - po prostu wklej to - paste: D9rF
Really thaks slawkens, but all people don't know copile...
You can post TheForgottenServer.Exe already fixed? is better tnx!