diff --git a/bot/net/netrpc.cpp b/bot/net/netrpc.cpp index 91292af..40210a4 100644 --- a/bot/net/netrpc.cpp +++ b/bot/net/netrpc.cpp @@ -14,7 +14,7 @@ void ExitVehicle(RPCParameters *rpcParams) {} void SetCheckpoint(RPCParameters *rpcParams) {} void DisableCheckpoint(RPCParameters *rpcParams) {} void SetRaceCheckpoint(RPCParameters *rpcParams) {} -void Unk27(RPCParameters *rpcParams) {} +void DisableRaceCheckpoint(RPCParameters *rpcParams) {} void UpdateScoresPingsIPs(RPCParameters *rpcParams) {} RakNetStatisticsStruct RakServerStats; @@ -280,10 +280,10 @@ void RegisterRPCs(RakClientInterface * pRakClient) { REGISTER_STATIC_RPC(pRakClient,EnterVehicle); REGISTER_STATIC_RPC(pRakClient,ExitVehicle); - REGISTER_STATIC_RPC(pRakClient,Unk27); REGISTER_STATIC_RPC(pRakClient,SetCheckpoint); REGISTER_STATIC_RPC(pRakClient,DisableCheckpoint); REGISTER_STATIC_RPC(pRakClient,SetRaceCheckpoint); + REGISTER_STATIC_RPC(pRakClient,DisableRaceCheckpoint); REGISTER_STATIC_RPC(pRakClient,UpdateScoresPingsIPs); REGISTER_STATIC_RPC(pRakClient,SvrStats); REGISTER_STATIC_RPC(pRakClient,GameModeRestart); @@ -316,10 +316,10 @@ void UnRegisterRPCs(RakClientInterface * pRakClient) { UNREGISTER_STATIC_RPC(pRakClient,EnterVehicle); UNREGISTER_STATIC_RPC(pRakClient,ExitVehicle); - UNREGISTER_STATIC_RPC(pRakClient,Unk27); UNREGISTER_STATIC_RPC(pRakClient,SetCheckpoint); UNREGISTER_STATIC_RPC(pRakClient,DisableCheckpoint); UNREGISTER_STATIC_RPC(pRakClient,SetRaceCheckpoint); + UNREGISTER_STATIC_RPC(pRakClient,DisableRaceCheckpoint); UNREGISTER_STATIC_RPC(pRakClient,UpdateScoresPingsIPs); UNREGISTER_STATIC_RPC(pRakClient,SvrStats); UNREGISTER_STATIC_RPC(pRakClient,GameModeRestart); diff --git a/raknet/SAMPRPC.h b/raknet/SAMPRPC.h index fa185c2..04a1a24 100644 --- a/raknet/SAMPRPC.h +++ b/raknet/SAMPRPC.h @@ -18,10 +18,10 @@ #define RPC_Unk3A "\x3A" #define RPC_Unk3B "\x3B" #define RPC_Unk3D "\x3D" -#define RPC_Unk27 "\x27" #define RPC_SetCheckpoint "\x6B" #define RPC_DisableCheckpoint "\x25" #define RPC_SetRaceCheckpoint "\x26" +#define RPC_DisableRaceCheckpoint "\x27" #define RPC_UpdateScoresPingsIPs "\x9B" #define RPC_SvrStats "\x66" #define RPC_GameModeRestart "\x28" diff --git a/saco/net/netrpc.cpp b/saco/net/netrpc.cpp index 9dffbe1..f054a43 100644 --- a/saco/net/netrpc.cpp +++ b/saco/net/netrpc.cpp @@ -7,10 +7,10 @@ void Unk24(RPCParameters *rpcParams) {} void Unk3A(RPCParameters *rpcParams) {} void Unk3B(RPCParameters *rpcParams) {} void Unk3D(RPCParameters *rpcParams) {} -void Unk27(RPCParameters *rpcParams) {} void SetCheckpoint(RPCParameters *rpcParams) {} void DisableCheckpoint(RPCParameters *rpcParams) {} void SetRaceCheckpoint(RPCParameters *rpcParams) {} +void DisableRaceCheckpoint(RPCParameters *rpcParams) {} void UpdateScoresPingsIPs(RPCParameters *rpcParams) {} void SvrStats(RPCParameters *rpcParams) {} void GameModeRestart(RPCParameters *rpcParams) {} @@ -58,10 +58,10 @@ void RegisterRPCs(RakClientInterface * pRakClient) REGISTER_STATIC_RPC(pRakClient,Unk3A); REGISTER_STATIC_RPC(pRakClient,Unk3B); REGISTER_STATIC_RPC(pRakClient,Unk3D); - REGISTER_STATIC_RPC(pRakClient,Unk27); REGISTER_STATIC_RPC(pRakClient,SetCheckpoint); REGISTER_STATIC_RPC(pRakClient,DisableCheckpoint); REGISTER_STATIC_RPC(pRakClient,SetRaceCheckpoint); + REGISTER_STATIC_RPC(pRakClient,DisableRaceCheckpoint); REGISTER_STATIC_RPC(pRakClient,UpdateScoresPingsIPs); REGISTER_STATIC_RPC(pRakClient,SvrStats); REGISTER_STATIC_RPC(pRakClient,GameModeRestart); @@ -126,10 +126,10 @@ void UnRegisterRPCs(RakClientInterface * pRakClient) UNREGISTER_STATIC_RPC(pRakClient,ServerQuit); UNREGISTER_STATIC_RPC(pRakClient,InitGame); UNREGISTER_STATIC_RPC(pRakClient,Chat); - UNREGISTER_STATIC_RPC(pRakClient,Unk27); UNREGISTER_STATIC_RPC(pRakClient,SetCheckpoint); UNREGISTER_STATIC_RPC(pRakClient,DisableCheckpoint); UNREGISTER_STATIC_RPC(pRakClient,SetRaceCheckpoint); + UNREGISTER_STATIC_RPC(pRakClient,DisableRaceCheckpoint); UNREGISTER_STATIC_RPC(pRakClient,UpdateScoresPingsIPs); UNREGISTER_STATIC_RPC(pRakClient,SvrStats); UNREGISTER_STATIC_RPC(pRakClient,GameModeRestart);