extend config optons DialogBox

teon pvp server hacks
This commit is contained in:
alexey.min
2012-02-05 15:09:42 +00:00
parent df6a9cc098
commit a424966835
15 changed files with 330 additions and 117 deletions

View File

@@ -83,7 +83,7 @@ bool GameClient::PC_sniff( SOCKET scl, unsigned char *sip, unsigned short int sp
log_error( LOG_WARNING, "GameClient::ProcessClient_onlySniff(): Cannot open log file [%s] for writing!\n",
filename );
// open raw log data for not decrypted packets, if problems with decryption
// this->logfileRaw = fopen( filename_raw, "wt" );
this->logfileRaw = fopen( filename_raw, "wt" );
}
// set initial game client state
@@ -235,6 +235,11 @@ closeSocks: // all cleanup
fclose( this->logfile );
this->logfile = NULL;
}
if( this->logfileRaw )
{
fclose( this->logfileRaw );
this->logfileRaw = NULL;
}
// stop AI thread
ai.notifyEvent( UAI_EVENT_STOP );
this->resetConnectedState();