#include "LoginServ.h" //Handles the file client update request int CustomNetworkProcessing(uchar* pData, ulong dataSize, GwClient* pClient) { GetClientData(); //Only if this is an update connection should we check for the file client packet if(pMyClient->updateConnection) { ushort opcode=0; memcpy(&opcode, pData, 2); //UPDATE_CHECK if(opcode == 0x0001) { pClient->PushOut(gLoginServer.mpNoUpdatePacket, 28); return 21; } else { pMyClient->updateConnection=false; } } return 0; }