- Joined
- Dec 24, 2006
- Messages
- 1,655
- Reaction score
- 480
Clean Source
Download:
Changes made in this source:
Patches:
Pet crash when they get too far away from owner:
Guides:
Changing Neuz salt:
Debugging your executables to troubleshoot crashes:
Reason to re-post:
Someone screwed up my previous post, leaving ownership to WrongWay, therefore, I'm making a new one and I request the old one gets deleted.
Download:
Code:
http://www.mediafire.com/?7dz984y595wfcgt
Code:
Increased buff limit.
Removed 2nd-password.
Fixed character saving. (C1 Procedure fixed)
Fixed compiling. (Should compile right away)
Admin and GM name colours. (Admin: Red, GM: Blue)
Pet crash when they get too far away from owner:
Code:
Download [URL="http://www.mediafire.com/?1p2yz32f3e0te2v"]AIPet.rar[/URL] and replace the AIPet.cpp in __AIInterface with the one supplied in the archive.
Changing Neuz salt:
Open Neuz.cpp and find this function:
The function should look like this:
Under the LANG_ENG case in the switch statement, change the szKey after the else statement to your desired salt.
If that doesn't work, change all szKey sets to your desired salt.
Code:
CNeuzApp::HashMD5
Code:
void CNeuzApp::HashMD5( char* szResult, LPCTSTR szPWD )
{
char szBuffer[256];
char* szKey = "";
#ifdef __INTERNALSERVER
switch( LANG_KOR )
#else // __INTERNALSERVER
switch( ::GetLanguage() )
#endif // __INTERNALSERVER
{
case LANG_JAP:
szKey = "chanho_park";
break;
case LANG_TWN:
szKey = "omg";
break;
case LANG_HK:
szKey = "tpgk";
break;
case LANG_ENG:
{
if( ::GetSubLanguage() == LANG_SUB_IND )
{
szKey = "dldhsdlseh";
}
else
{
szKey = "patom";
}
}
break;
case LANG_KOR:
szKey = "@FLYFF";
break;
case LANG_GER:
szKey = "gjgusdbfjq";
break;
case LANG_SPA:
szKey = "rlawnsgud";
break;
case LANG_POR:
//szKey = "rlawnsgud";
szKey = "kikugalanet"; //chipi_090520 05/22ºÎÅÍ ¾ÏÈ£ÈŰ º¯°æ
break;
case LANG_FRE:
szKey = "gjgusdbfjq";
break;
case LANG_VTN:
szKey = "dlrjsdn";
break;
case LANG_RUS:
szKey = "rlaansrms";
break;
}
sprintf( szBuffer, "%s%s", szKey, szPWD );
md5( szResult, szBuffer );
}
If that doesn't work, change all szKey sets to your desired salt.
Debugging your executables to troubleshoot crashes:
Make sure you copy the exe as well as the pdb file from the compile output and put them in the client/server folder (depends on if it's the server or client you're debugging), then just follow the guide and the debugger should show what line of code is causing the issue.
To view the content, you need to sign in or register
Reason to re-post:
Someone screwed up my previous post, leaving ownership to WrongWay, therefore, I'm making a new one and I request the old one gets deleted.
Last edited:

