// *************************************************************** // Function: GameServerConnected.cpp // *************************************************************** #include "Main.h" //************************************ // Name: ProcessICConnect // // Called when a client connects to the ICS. Requests the password from the client. // // Parameters: // pData - Network data // // Return: // //************************************ void ProcessICConnect(NetMessage* pData) { //Ask the client for their password unsigned char please_tell_me_the_password_bitch[2]={LS_REQUEST_AUTH_ATTEMPT, 0x00}; NetMessage s; s.networkId=pData->networkId; s.Set(2, please_tell_me_the_password_bitch); gpInternalComm->SendData(&s); }