Initiate Mage
I have bundled the total release into 3 pieces:
Download:
Credits:
Multiple tools released on ragezone are also used by official servers.
I hope you guys can catch up with officials and improve this ugly codebase as a team.
Client & server source code for all publishers share the same codebase. Define appropriate preprocessor definitions. Although the source will need a lot of fixing to get it up and running. You will have to adjust the database scripts found in this place, as they are outdated.
- Source.7z - Compilable source code (requires VS 2002 (Pre-2003 version), which is not included. PM if you are desperate.)
- Field.7z - Extracted from Source.7z to make it smaller.
- char.7z - Extracted from Source.7z to make it smaller.
Download:
Code:
https://mega.co.nz/#F!9UxBFIzL!y4heu6QETmcbPUoc4bDoxw
Credits:
- Everyone still developing in this section.
- SubaGames for allowing access using monami
Multiple tools released on ragezone are also used by official servers.
I hope you guys can catch up with officials and improve this ugly codebase as a team.
Client & server source code for all publishers share the same codebase. Define appropriate preprocessor definitions. Although the source will need a lot of fixing to get it up and running. You will have to adjust the database scripts found in this place, as they are outdated.
Code:
#ifdef _W_SERVER
#include "mini_dump.h"
Mini_Dump CMiniDump;
#endif
INT WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPreInst, LPSTR lpCmdLine,INT nCmdShow)
{
//------------------------------------< _ignore_xtrap_
#ifdef _LANGUAGE_VEITNAM
#ifdef _XTRAP_GUARD_4_CLIENT
{
#pragma comment(lib,".\\XTrapSrcD5\\Launcher\\XTrap4Launcher_mt.lib")
#pragma comment( lib, "Urlmon.lib")
#pragma comment( lib, "Wininet.lib")
XTrap_L_Patch(XTRAP_CONFIG_ARG, NULL, 60);
}
#endif
#endif
//------------------------------------ _ignore_xtrap_ >
MAKELOG(" ------------ WINMAIN ---------------- ");
MSG msg;
WNDCLASS wndclass;
hinst = hInst;
int sx,sy;
.....
lstrcpy( szCmdLine , lpCmdLine );
// HoCommandLineDecoder(); //ÇØ¿Ü ºí·°(Handes °ü·Ã)
initSinCos(); //»ï°¢ÇÔŒö ÃʱâÈ
//±âº» Œ³Á€ ºÒ·¯¿È
//if ( smConfigDecode( "default.ini" )==FALSE ) return FALSE;
smConfigDecode( "hotuk.ini" );
ReadShotcutMessage( "ShortCut.ini" ); //ŽÜÃà žÞŒŒÁö ÀÐŸî ¿À±â
DecodeCmdLine( lpCmdLine );
//SetCurrentDirectory( "E:\\UpdateTest" );
//Å©ž®ÆŒÄ® ŒœŒÇ ÃʱâÈ
InitializeCriticalSection( &cSection );
InitializeCriticalSection( &cDrawSection );
InitializeCriticalSection( &cSection_Main );
srand( GetCurrentTime() ); //·£Žý ÃʱâÈ
#ifdef _W_SERVER
if ( smConfig.WinMode<0 ) {
return ServerWinMain( hInst, hPreInst, lpCmdLine, nCmdShow);
}
#endif
....
Last edited: