Открываем HookedRakClient.ccp
Ищем bool HookedRakClientInterface::RPC( int* uniqueID, BitStream *parameters, PacketPriority priority, PacketReliability reliability, char orderingChannel, bool shiftTimestamp
После traceLastFunc( "HookedRakClientInterface::RPC(BitStream)" ); вставляем
Код
if ( *uniqueID == RPC_ClientJoin )
{
parameters->SetWriteOffset(parameters->GetWriteOffset()-5*8);
char szClientVer[] = "0.3x-R1-2";
const BYTE iClientVerLen = (sizeof(szClientVer)-1);
parameters->Write(iClientVerLen);
parameters->Write(szClientVer, iClientVerLen);
}
Автор: mgmoldova