02-11-2015, 06:23 PM
1 - I assume you are using VS2013 - so open the GameServer.dsp and let it convert.
2 - Then Open your Settings and go to C++->General and choose the Includes, it should look like this:2 (it might cant find zlib.h if its the case then just look at the path, it could be that the folder name is wrong.
3 - Then do the same in Linker and look for "Additional librarys path" (dont know how its called on english) it should look like this: 2
4 - now you go to Properties > Linker > Advanced and scroll down there is something with safesh, set this to NO.
5 - Go to the GameServer foldre and delete GameServer.pdb
6 - after that u should start compilng the GS and there appear like 4 errors thats because its old crap code.
-- Battle_Procdead_npc.cpp at Line 455 replace it with this: time_t lastCubePoint;
-- Battle_Procdead_pc.cpp at Line 812 also replace it with this: time_t lastCubePoint;
-- Battle_Procdead_pc.cpp at Line 846 also replace it with this: time_t lastCubePoint;
- now in doFuncAdmin.cpp at line 1023 replace it with this:
time_t mytime = static_cast<time_t>(gserver.m_extremeCube.m_nextGuildCubeTime);
ti = localtime((const time_t*)mytime);
: NOTE THIS IS NOT SAFE CODE!
For me it worked, i did all these steps and compiled it now..

