From 362480c54eaa3399009c2ee7e1ed72ad04a93dcb Mon Sep 17 00:00:00 2001 From: RD42 <42702181+dashr9230@users.noreply.github.com> Date: Sun, 28 Apr 2024 21:00:12 +0800 Subject: [PATCH] [bot/saco/server] Rename static RPC functions --- bot/net/netrpc.cpp | 76 ++++++++--------- bot/net/scriptrpc.cpp | 48 +++++------ raknet/SAMPRPC.h | 86 +++++++++---------- saco/net/netrpc.cpp | 96 ++++++++++----------- saco/net/scriptrpc.cpp | 48 +++++------ server/netrpc.cpp | 190 ++++++++++++++++++++--------------------- 6 files changed, 272 insertions(+), 272 deletions(-) diff --git a/bot/net/netrpc.cpp b/bot/net/netrpc.cpp index 8859760..b9bf0dd 100644 --- a/bot/net/netrpc.cpp +++ b/bot/net/netrpc.cpp @@ -1,17 +1,17 @@ #include "../main.h" -void Unk1A(RPCParameters *rpcParams) {} -void Unk9A(RPCParameters *rpcParams) {} +void EnterVehicle(RPCParameters *rpcParams) {} +void ExitVehicle(RPCParameters *rpcParams) {} void Unk6B(RPCParameters *rpcParams) {} void Unk25(RPCParameters *rpcParams) {} void Unk26(RPCParameters *rpcParams) {} void Unk27(RPCParameters *rpcParams) {} -void Unk9B(RPCParameters *rpcParams) {} +void UpdateScoresPingsIPs(RPCParameters *rpcParams) {} -void Unk66(RPCParameters *rpcParams) +void SvrStats(RPCParameters *rpcParams) { - // TODO: Unk66 + // TODO: SvrStats } void Unk28(RPCParameters *rpcParams) @@ -24,17 +24,17 @@ void Unk82(RPCParameters *rpcParams) // TODO: Unk82 } -void Unk5D(RPCParameters *rpcParams) +void ClientMessage(RPCParameters *rpcParams) { - // TODO: Unk5D + // TODO: ClientMessage } -void Unk5E(RPCParameters *rpcParams) {} +void WorldTime(RPCParameters *rpcParams) {} void Unk5F(RPCParameters *rpcParams) {} void Unk3F(RPCParameters *rpcParams) {} void Unk97(RPCParameters *rpcParams) {} -void Unk60(RPCParameters *rpcParams) {} -void Unk98(RPCParameters *rpcParams) {} +void ScmEvent(RPCParameters *rpcParams) {} +void Weather(RPCParameters *rpcParams) {} void Unk1D(RPCParameters *rpcParams) {} void Unk1E(RPCParameters *rpcParams) {} @@ -53,19 +53,19 @@ void Unk8B(RPCParameters *rpcParams) // TODO: Unk8B } -void Unk65(RPCParameters *rpcParams) +void Chat(RPCParameters *rpcParams) { - // TODO: Unk65 + // TODO: Chat } -void Unk80(RPCParameters *rpcParams) +void RequestClass(RPCParameters *rpcParams) { - // TODO: Unk80 + // TODO: RequestClass } -void Unk81(RPCParameters *rpcParams) +void RequestSpawn(RPCParameters *rpcParams) { - // TODO: Unk81 + // TODO: RequestSpawn } void Unk20(RPCParameters *rpcParams) @@ -97,31 +97,31 @@ void UnkA5(RPCParameters *rpcParams) void RegisterRPCs(RakClientInterface * pRakClient) { - REGISTER_STATIC_RPC(pRakClient,Unk1A); - REGISTER_STATIC_RPC(pRakClient,Unk9A); + REGISTER_STATIC_RPC(pRakClient,EnterVehicle); + REGISTER_STATIC_RPC(pRakClient,ExitVehicle); REGISTER_STATIC_RPC(pRakClient,Unk6B); REGISTER_STATIC_RPC(pRakClient,Unk25); REGISTER_STATIC_RPC(pRakClient,Unk26); REGISTER_STATIC_RPC(pRakClient,Unk27); - REGISTER_STATIC_RPC(pRakClient,Unk9B); - REGISTER_STATIC_RPC(pRakClient,Unk66); + REGISTER_STATIC_RPC(pRakClient,UpdateScoresPingsIPs); + REGISTER_STATIC_RPC(pRakClient,SvrStats); REGISTER_STATIC_RPC(pRakClient,Unk28); REGISTER_STATIC_RPC(pRakClient,Unk82); - REGISTER_STATIC_RPC(pRakClient,Unk5D); - REGISTER_STATIC_RPC(pRakClient,Unk5E); + REGISTER_STATIC_RPC(pRakClient,ClientMessage); + REGISTER_STATIC_RPC(pRakClient,WorldTime); REGISTER_STATIC_RPC(pRakClient,Unk5F); REGISTER_STATIC_RPC(pRakClient,Unk3F); REGISTER_STATIC_RPC(pRakClient,Unk97); - REGISTER_STATIC_RPC(pRakClient,Unk60); - REGISTER_STATIC_RPC(pRakClient,Unk98); + REGISTER_STATIC_RPC(pRakClient,ScmEvent); + REGISTER_STATIC_RPC(pRakClient,Weather); REGISTER_STATIC_RPC(pRakClient,Unk1D); REGISTER_STATIC_RPC(pRakClient,Unk1E); REGISTER_STATIC_RPC(pRakClient,Unk89); REGISTER_STATIC_RPC(pRakClient,Unk8A); REGISTER_STATIC_RPC(pRakClient,Unk8B); - REGISTER_STATIC_RPC(pRakClient,Unk65); - REGISTER_STATIC_RPC(pRakClient,Unk80); - REGISTER_STATIC_RPC(pRakClient,Unk81); + REGISTER_STATIC_RPC(pRakClient,Chat); + REGISTER_STATIC_RPC(pRakClient,RequestClass); + REGISTER_STATIC_RPC(pRakClient,RequestSpawn); REGISTER_STATIC_RPC(pRakClient,Unk20); REGISTER_STATIC_RPC(pRakClient,UnkA6); REGISTER_STATIC_RPC(pRakClient,UnkA3); @@ -133,23 +133,23 @@ void RegisterRPCs(RakClientInterface * pRakClient) void UnRegisterRPCs(RakClientInterface * pRakClient) { - UNREGISTER_STATIC_RPC(pRakClient,Unk1A); - UNREGISTER_STATIC_RPC(pRakClient,Unk9A); + UNREGISTER_STATIC_RPC(pRakClient,EnterVehicle); + UNREGISTER_STATIC_RPC(pRakClient,ExitVehicle); UNREGISTER_STATIC_RPC(pRakClient,Unk6B); UNREGISTER_STATIC_RPC(pRakClient,Unk25); UNREGISTER_STATIC_RPC(pRakClient,Unk26); UNREGISTER_STATIC_RPC(pRakClient,Unk27); - UNREGISTER_STATIC_RPC(pRakClient,Unk9B); - UNREGISTER_STATIC_RPC(pRakClient,Unk66); + UNREGISTER_STATIC_RPC(pRakClient,UpdateScoresPingsIPs); + UNREGISTER_STATIC_RPC(pRakClient,SvrStats); UNREGISTER_STATIC_RPC(pRakClient,Unk28); UNREGISTER_STATIC_RPC(pRakClient,Unk82); - UNREGISTER_STATIC_RPC(pRakClient,Unk5D); - UNREGISTER_STATIC_RPC(pRakClient,Unk5E); + UNREGISTER_STATIC_RPC(pRakClient,ClientMessage); + UNREGISTER_STATIC_RPC(pRakClient,WorldTime); UNREGISTER_STATIC_RPC(pRakClient,Unk5F); UNREGISTER_STATIC_RPC(pRakClient,Unk3F); UNREGISTER_STATIC_RPC(pRakClient,Unk97); - UNREGISTER_STATIC_RPC(pRakClient,Unk60); - UNREGISTER_STATIC_RPC(pRakClient,Unk98); + UNREGISTER_STATIC_RPC(pRakClient,ScmEvent); + UNREGISTER_STATIC_RPC(pRakClient,Weather); UNREGISTER_STATIC_RPC(pRakClient,Unk1D); UNREGISTER_STATIC_RPC(pRakClient,Unk1E); UNREGISTER_STATIC_RPC(pRakClient,Unk20); @@ -160,9 +160,9 @@ void UnRegisterRPCs(RakClientInterface * pRakClient) UNREGISTER_STATIC_RPC(pRakClient,Unk89); UNREGISTER_STATIC_RPC(pRakClient,Unk8A); UNREGISTER_STATIC_RPC(pRakClient,Unk8B); - UNREGISTER_STATIC_RPC(pRakClient,Unk65); - UNREGISTER_STATIC_RPC(pRakClient,Unk80); - UNREGISTER_STATIC_RPC(pRakClient,Unk81); + UNREGISTER_STATIC_RPC(pRakClient,Chat); + UNREGISTER_STATIC_RPC(pRakClient,RequestClass); + UNREGISTER_STATIC_RPC(pRakClient,RequestSpawn); } //---------------------------------------------------- diff --git a/bot/net/scriptrpc.cpp b/bot/net/scriptrpc.cpp index 8846a54..5351932 100644 --- a/bot/net/scriptrpc.cpp +++ b/bot/net/scriptrpc.cpp @@ -62,7 +62,7 @@ void ScrUnk37(RPCParameters *rpcParams) {} void ScrUnk38(RPCParameters *rpcParams) {} void ScrUnk90(RPCParameters *rpcParams) {} void ScrUnk91(RPCParameters *rpcParams) {} -void ScrUnk92(RPCParameters *rpcParams) {} +void ScrSetGravity(RPCParameters *rpcParams) {} void ScrUnk93(RPCParameters *rpcParams) {} void ScrUnk94(RPCParameters *rpcParams) {} void ScrUnk95(RPCParameters *rpcParams) {} @@ -84,16 +84,16 @@ void ScrUnk7F(RPCParameters *rpcParams) {} void ScrUnk39(RPCParameters *rpcParams) {} void ScrUnk4A(RPCParameters *rpcParams) {} void ScrUnk4B(RPCParameters *rpcParams) {} -void ScrUnk4C(RPCParameters *rpcParams) {} -void ScrUnk4D(RPCParameters *rpcParams) {} -void ScrUnk4E(RPCParameters *rpcParams) {} +void ScrInitMenu(RPCParameters *rpcParams) {} +void ScrShowMenu(RPCParameters *rpcParams) {} +void ScrHideMenu(RPCParameters *rpcParams) {} void ScrUnk85(RPCParameters *rpcParams) {} void ScrUnk86(RPCParameters *rpcParams) {} void ScrUnk87(RPCParameters *rpcParams) {} -void ScrUnk6C(RPCParameters *rpcParams) {} -void ScrUnk78(RPCParameters *rpcParams) {} -void ScrUnk79(RPCParameters *rpcParams) {} -void ScrUnk55(RPCParameters *rpcParams) {} +void ScrAddGangZone(RPCParameters *rpcParams) {} +void ScrRemoveGangZone(RPCParameters *rpcParams) {} +void ScrFlashGangZone(RPCParameters *rpcParams) {} +void ScrStopFlashGangZone(RPCParameters *rpcParams) {} void ScrUnk56(RPCParameters *rpcParams) {} void ScrUnk57(RPCParameters *rpcParams) {} void ScrUnk58(RPCParameters *rpcParams) {} @@ -135,7 +135,7 @@ void RegisterScriptRPCs(RakClientInterface* pRakClient) REGISTER_STATIC_RPC(pRakClient, ScrUnk38); REGISTER_STATIC_RPC(pRakClient, ScrUnk90); REGISTER_STATIC_RPC(pRakClient, ScrUnk91); - REGISTER_STATIC_RPC(pRakClient, ScrUnk92); + REGISTER_STATIC_RPC(pRakClient, ScrSetGravity); REGISTER_STATIC_RPC(pRakClient, ScrUnk93); REGISTER_STATIC_RPC(pRakClient, ScrUnk94); REGISTER_STATIC_RPC(pRakClient, ScrUnk95); @@ -157,16 +157,16 @@ void RegisterScriptRPCs(RakClientInterface* pRakClient) REGISTER_STATIC_RPC(pRakClient, ScrUnk39); REGISTER_STATIC_RPC(pRakClient, ScrUnk4A); REGISTER_STATIC_RPC(pRakClient, ScrUnk4B); - REGISTER_STATIC_RPC(pRakClient, ScrUnk4C); - REGISTER_STATIC_RPC(pRakClient, ScrUnk4D); - REGISTER_STATIC_RPC(pRakClient, ScrUnk4E); + REGISTER_STATIC_RPC(pRakClient, ScrInitMenu); + REGISTER_STATIC_RPC(pRakClient, ScrShowMenu); + REGISTER_STATIC_RPC(pRakClient, ScrHideMenu); REGISTER_STATIC_RPC(pRakClient, ScrUnk85); REGISTER_STATIC_RPC(pRakClient, ScrUnk86); REGISTER_STATIC_RPC(pRakClient, ScrUnk87); - REGISTER_STATIC_RPC(pRakClient, ScrUnk6C); - REGISTER_STATIC_RPC(pRakClient, ScrUnk78); - REGISTER_STATIC_RPC(pRakClient, ScrUnk79); - REGISTER_STATIC_RPC(pRakClient, ScrUnk55); + REGISTER_STATIC_RPC(pRakClient, ScrAddGangZone); + REGISTER_STATIC_RPC(pRakClient, ScrRemoveGangZone); + REGISTER_STATIC_RPC(pRakClient, ScrFlashGangZone); + REGISTER_STATIC_RPC(pRakClient, ScrStopFlashGangZone); REGISTER_STATIC_RPC(pRakClient, ScrUnk56); REGISTER_STATIC_RPC(pRakClient, ScrUnk57); REGISTER_STATIC_RPC(pRakClient, ScrUnk58); @@ -208,7 +208,7 @@ void UnRegisterScriptRPCs(RakClientInterface* pRakClient) UNREGISTER_STATIC_RPC(pRakClient, ScrUnk38); UNREGISTER_STATIC_RPC(pRakClient, ScrUnk90); UNREGISTER_STATIC_RPC(pRakClient, ScrUnk91); - UNREGISTER_STATIC_RPC(pRakClient, ScrUnk92); + UNREGISTER_STATIC_RPC(pRakClient, ScrSetGravity); UNREGISTER_STATIC_RPC(pRakClient, ScrUnk93); UNREGISTER_STATIC_RPC(pRakClient, ScrUnk94); UNREGISTER_STATIC_RPC(pRakClient, ScrUnk95); @@ -230,16 +230,16 @@ void UnRegisterScriptRPCs(RakClientInterface* pRakClient) UNREGISTER_STATIC_RPC(pRakClient, ScrUnk39); UNREGISTER_STATIC_RPC(pRakClient, ScrUnk4A); UNREGISTER_STATIC_RPC(pRakClient, ScrUnk4B); - UNREGISTER_STATIC_RPC(pRakClient, ScrUnk4C); - UNREGISTER_STATIC_RPC(pRakClient, ScrUnk4D); - UNREGISTER_STATIC_RPC(pRakClient, ScrUnk4E); + UNREGISTER_STATIC_RPC(pRakClient, ScrInitMenu); + UNREGISTER_STATIC_RPC(pRakClient, ScrShowMenu); + UNREGISTER_STATIC_RPC(pRakClient, ScrHideMenu); UNREGISTER_STATIC_RPC(pRakClient, ScrUnk85); UNREGISTER_STATIC_RPC(pRakClient, ScrUnk86); UNREGISTER_STATIC_RPC(pRakClient, ScrUnk87); - UNREGISTER_STATIC_RPC(pRakClient, ScrUnk6C); - UNREGISTER_STATIC_RPC(pRakClient, ScrUnk78); - UNREGISTER_STATIC_RPC(pRakClient, ScrUnk79); - UNREGISTER_STATIC_RPC(pRakClient, ScrUnk55); + UNREGISTER_STATIC_RPC(pRakClient, ScrAddGangZone); + UNREGISTER_STATIC_RPC(pRakClient, ScrRemoveGangZone); + UNREGISTER_STATIC_RPC(pRakClient, ScrFlashGangZone); + UNREGISTER_STATIC_RPC(pRakClient, ScrStopFlashGangZone); UNREGISTER_STATIC_RPC(pRakClient, ScrUnk56); UNREGISTER_STATIC_RPC(pRakClient, ScrUnk57); UNREGISTER_STATIC_RPC(pRakClient, ScrUnk58); diff --git a/raknet/SAMPRPC.h b/raknet/SAMPRPC.h index 6f9b696..b820778 100644 --- a/raknet/SAMPRPC.h +++ b/raknet/SAMPRPC.h @@ -22,17 +22,17 @@ #define RPC_Unk25 "\x25" #define RPC_Unk26 "\x26" #define RPC_Unk27 "\x27" -#define RPC_Unk9B "\x9B" -#define RPC_Unk66 "\x66" +#define RPC_UpdateScoresPingsIPs "\x9B" //#define RPC_Unk9B "\x9B" +#define RPC_SvrStats "\x66" //#define RPC_Unk66 "\x66" #define RPC_Unk28 "\x28" #define RPC_Unk82 "\x82" -#define RPC_Unk5D "\x5D" -#define RPC_Unk5E "\x5E" +#define RPC_ClientMessage "\x5D" //#define RPC_Unk5D "\x5D" +#define RPC_WorldTime "\x5E" //#define RPC_Unk5E "\x5E" #define RPC_Unk5F "\x5F" #define RPC_Unk3F "\x3F" #define RPC_Unk97 "\x97" -#define RPC_Unk60 "\x60" -#define RPC_Unk98 "\x98" +#define RPC_ScmEvent "\x60" //#define RPC_Unk60 "\x60" +#define RPC_Weather "\x98" //#define RPC_Unk98 "\x98" #define RPC_Unk1D "\x1D" #define RPC_Unk1E "\x1E" #define RPC_Unk3C "\x3C" @@ -41,49 +41,49 @@ #define RPC_UnkA3 "\xA3" #define RPC_UnkA4 "\xA4" #define RPC_UnkA5 "\xA5" -#define RPC_Unk6A "\x6A" +#define RPC_DamageVehicle "\x6A" //#define RPC_Unk6A "\x6A" #define RPC_Unk18 "\x18" -#define RPC_Unk1A "\x1A" -#define RPC_Unk9A "\x9A" +#define RPC_EnterVehicle "\x1A" //#define RPC_Unk1A "\x1A" +#define RPC_ExitVehicle "\x9A" //#define RPC_Unk9A "\x9A" #define RPC_Unk89 "\x89" #define RPC_Unk8A "\x8A" #define RPC_Unk8B "\x8B" -#define RPC_Unk65 "\x65" -#define RPC_Unk80 "\x80" -#define RPC_Unk81 "\x81" -#define RPC_Unk74 "\x74" -#define RPC_Unk75 "\x75" -#define RPC_Unk1B "\x1B" +#define RPC_Chat "\x65" //#define RPC_Unk65 "\x65" +#define RPC_RequestClass "\x80" //#define RPC_Unk80 "\x80" +#define RPC_RequestSpawn "\x81" //#define RPC_Unk81 "\x81" +#define RPC_EditAttachedObject "\x74" //#define RPC_Unk74 "\x74" +#define RPC_EditObject "\x75" //#define RPC_Unk75 "\x75" +#define RPC_SelectObject "\x1B" //#define RPC_Unk1B "\x1B" #define RPC_Unk1C "\x1C" #define RPC_UnkAA "\xAA" -#define RPC_Unk67 "\x67" +#define RPC_ClientCheck "\x67" //#define RPC_Unk67 "\x67" #define RPC_UnkAB "\xAB" #define RPC_UnkAC "\xAC" -#define RPC_Unk73 "\x73" -#define RPC_Unk76 "\x76" -#define RPC_Unk1F "\x1F" -#define RPC_Unk77 "\x77" -#define RPC_Unk88 "\x88" -#define RPC_Unk61 "\x61" -#define RPC_Unk83 "\x83" -#define RPC_Unk84 "\x84" -#define RPC_Unk8C "\x8C" -#define RPC_Unk3E "\x3E" -#define RPC_Unk17 "\x17" -#define RPC_Unk19 "\x19" -#define RPC_Unk36 "\x36" -#define RPC_Unk34 "\x34" -#define RPC_Unk35 "\x35" -#define RPC_Unk32 "\x32" -#define RPC_Unk53 "\x53" -#define RPC_UnkA8 "\xA8" -#define RPC_UnkB1 "\xB1" +#define RPC_PlayerDamage "\x73" //#define RPC_Unk73 "\x73" +#define RPC_SetInteriorId "\x76" //#define RPC_Unk76 "\x76" +#define RPC_ScriptCash "\x1F" //#define RPC_Unk1F "\x1F" +#define RPC_ClickMap "\x77" //#define RPC_Unk77 "\x77" +#define RPC_VehicleDestroyed "\x88" //#define RPC_Unk88 "\x88" +#define RPC_PickedUpWeapon "\x61" //#define RPC_Unk61 "\x61" +#define RPC_PickedUpPickup "\x83" //#define RPC_Unk83 "\x83" +#define RPC_MenuSelect "\x84" //#define RPC_Unk84 "\x84" +#define RPC_MenuQuit "\x8C" //#define RPC_Unk8C "\x8C" +#define RPC_DialogResponse "\x3E" //#define RPC_Unk3E "\x3E" +#define RPC_ClickPlayer "\x17" //#define RPC_Unk17 "\x17" +#define RPC_ClientJoin "\x19" //#define RPC_Unk19 "\x19" +#define RPC_NPCJoin "\x36" //#define RPC_Unk36 "\x36" +#define RPC_Spawn "\x34" //#define RPC_Unk34 "\x34" +#define RPC_Death "\x35" +#define RPC_ServerCommand "\x32" //#define RPC_Unk32 "\x32" +#define RPC_ClickTextDraw "\x53" //#define RPC_Unk53 "\x53" +#define RPC_CameraTarget "\xA8" //#define RPC_UnkA8 "\xA8" +#define RPC_ActorDamage "\xB1" //#define RPC_UnkB1 "\xB1" #define RPC_ScrUnkA7 "\xA7" #define RPC_ScrUnk38 "\x38" #define RPC_ScrUnk90 "\x90" #define RPC_ScrUnk91 "\x91" -#define RPC_ScrUnk92 "\x92" +#define RPC_ScrSetGravity "\x92" //#define RPC_ScrUnk92 "\x92" #define RPC_ScrUnk93 "\x93" #define RPC_ScrUnk94 "\x94" #define RPC_ScrUnk95 "\x95" @@ -107,10 +107,10 @@ #define RPC_ScrUnk86 "\x86" #define RPC_ScrUnk87 "\x87" #define RPC_ScrUnk69 "\x69" -#define RPC_ScrUnk6C "\x6C" -#define RPC_ScrUnk78 "\x78" -#define RPC_ScrUnk79 "\x79" -#define RPC_ScrUnk55 "\x55" +#define RPC_ScrAddGangZone "\x6C" // RPC_ScrUnk6C "\x6C" +#define RPC_ScrRemoveGangZone "\x78" // RPC_ScrUnk78 "\x78" +#define RPC_ScrFlashGangZone "\x79" // RPC_ScrUnk79 "\x79" +#define RPC_ScrStopFlashGangZone "\x55" // RPC_ScrUnk55 "\x55" #define RPC_ScrUnk56 "\x56" #define RPC_ScrUnk57 "\x57" #define RPC_ScrUnk58 "\x58" @@ -171,7 +171,7 @@ #define RPC_ScrUnkB0 "\xB0" #define RPC_ScrUnkB2 "\xB2" #define RPC_ScrUnk30 "\x30" -#define RPC_ScrUnk4C "\x4C" -#define RPC_ScrUnk4D "\x4D" -#define RPC_ScrUnk4E "\x4E" +#define RPC_ScrInitMenu "\x4C" // RPC_ScrUnk4C "\x4C" +#define RPC_ScrShowMenu "\x4D" // RPC_ScrUnk4D "\x4D" +#define RPC_ScrHideMenu "\x4E" // RPC_ScrUnk4E "\x4E" #define RPC_ScrUnk31 "\x31" diff --git a/saco/net/netrpc.cpp b/saco/net/netrpc.cpp index 36965b6..f3dec92 100644 --- a/saco/net/netrpc.cpp +++ b/saco/net/netrpc.cpp @@ -11,17 +11,17 @@ void Unk6B(RPCParameters *rpcParams) {} void Unk25(RPCParameters *rpcParams) {} void Unk26(RPCParameters *rpcParams) {} void Unk27(RPCParameters *rpcParams) {} -void Unk9B(RPCParameters *rpcParams) {} -void Unk66(RPCParameters *rpcParams) {} +void UpdateScoresPingsIPs(RPCParameters *rpcParams) {} +void SvrStats(RPCParameters *rpcParams) {} void Unk28(RPCParameters *rpcParams) {} void Unk82(RPCParameters *rpcParams) {} -void Unk5D(RPCParameters *rpcParams) {} -void Unk5E(RPCParameters *rpcParams) {} +void ClientMessage(RPCParameters *rpcParams) {} +void WorldTime(RPCParameters *rpcParams) {} void Unk5F(RPCParameters *rpcParams) {} void Unk3F(RPCParameters *rpcParams) {} void Unk97(RPCParameters *rpcParams) {} -void Unk60(RPCParameters *rpcParams) {} -void Unk98(RPCParameters *rpcParams) {} +void ScmEvent(RPCParameters *rpcParams) {} +void Weather(RPCParameters *rpcParams) {} void Unk1D(RPCParameters *rpcParams) {} void Unk1E(RPCParameters *rpcParams) {} void Unk3C(RPCParameters *rpcParams) {} @@ -30,22 +30,22 @@ void UnkA6(RPCParameters *rpcParams) {} void UnkA3(RPCParameters *rpcParams) {} void UnkA4(RPCParameters *rpcParams) {} void UnkA5(RPCParameters *rpcParams) {} -void Unk6A(RPCParameters *rpcParams) {} +void DamageVehicle(RPCParameters *rpcParams) {} void Unk18(RPCParameters *rpcParams) {} -void Unk1A(RPCParameters *rpcParams) {} -void Unk9A(RPCParameters *rpcParams) {} +void EnterVehicle(RPCParameters *rpcParams) {} +void ExitVehicle(RPCParameters *rpcParams) {} void Unk89(RPCParameters *rpcParams) {} void Unk8A(RPCParameters *rpcParams) {} void Unk8B(RPCParameters *rpcParams) {} -void Unk65(RPCParameters *rpcParams) {} -void Unk80(RPCParameters *rpcParams) {} -void Unk81(RPCParameters *rpcParams) {} -void Unk74(RPCParameters *rpcParams) {} -void Unk75(RPCParameters *rpcParams) {} -void Unk1B(RPCParameters *rpcParams) {} +void Chat(RPCParameters *rpcParams) {} +void RequestClass(RPCParameters *rpcParams) {} +void RequestSpawn(RPCParameters *rpcParams) {} +void EditAttachedObject(RPCParameters *rpcParams) {} +void EditObject(RPCParameters *rpcParams) {} +void SelectObject(RPCParameters *rpcParams) {} void Unk1C(RPCParameters *rpcParams) {} void UnkAA(RPCParameters *rpcParams) {} -void Unk67(RPCParameters *rpcParams) {} +void ClientCheck(RPCParameters *rpcParams) {} void UnkAB(RPCParameters *rpcParams) {} void UnkAC(RPCParameters *rpcParams) {} @@ -62,17 +62,17 @@ void RegisterRPCs(RakClientInterface * pRakClient) REGISTER_STATIC_RPC(pRakClient,Unk25); REGISTER_STATIC_RPC(pRakClient,Unk26); REGISTER_STATIC_RPC(pRakClient,Unk27); - REGISTER_STATIC_RPC(pRakClient,Unk9B); - REGISTER_STATIC_RPC(pRakClient,Unk66); + REGISTER_STATIC_RPC(pRakClient,UpdateScoresPingsIPs); + REGISTER_STATIC_RPC(pRakClient,SvrStats); REGISTER_STATIC_RPC(pRakClient,Unk28); REGISTER_STATIC_RPC(pRakClient,Unk82); - REGISTER_STATIC_RPC(pRakClient,Unk5D); - REGISTER_STATIC_RPC(pRakClient,Unk5E); + REGISTER_STATIC_RPC(pRakClient,ClientMessage); + REGISTER_STATIC_RPC(pRakClient,WorldTime); REGISTER_STATIC_RPC(pRakClient,Unk5F); REGISTER_STATIC_RPC(pRakClient,Unk3F); REGISTER_STATIC_RPC(pRakClient,Unk97); - REGISTER_STATIC_RPC(pRakClient,Unk60); - REGISTER_STATIC_RPC(pRakClient,Unk98); + REGISTER_STATIC_RPC(pRakClient,ScmEvent); + REGISTER_STATIC_RPC(pRakClient,Weather); REGISTER_STATIC_RPC(pRakClient,Unk1D); REGISTER_STATIC_RPC(pRakClient,Unk1E); REGISTER_STATIC_RPC(pRakClient,Unk3C); @@ -81,22 +81,22 @@ void RegisterRPCs(RakClientInterface * pRakClient) REGISTER_STATIC_RPC(pRakClient,UnkA3); REGISTER_STATIC_RPC(pRakClient,UnkA4); REGISTER_STATIC_RPC(pRakClient,UnkA5); - REGISTER_STATIC_RPC(pRakClient,Unk6A); + REGISTER_STATIC_RPC(pRakClient,DamageVehicle); REGISTER_STATIC_RPC(pRakClient,Unk18); - REGISTER_STATIC_RPC(pRakClient,Unk1A); - REGISTER_STATIC_RPC(pRakClient,Unk9A); + REGISTER_STATIC_RPC(pRakClient,EnterVehicle); + REGISTER_STATIC_RPC(pRakClient,ExitVehicle); REGISTER_STATIC_RPC(pRakClient,Unk89); REGISTER_STATIC_RPC(pRakClient,Unk8A); REGISTER_STATIC_RPC(pRakClient,Unk8B); - REGISTER_STATIC_RPC(pRakClient,Unk65); - REGISTER_STATIC_RPC(pRakClient,Unk80); - REGISTER_STATIC_RPC(pRakClient,Unk81); - REGISTER_STATIC_RPC(pRakClient,Unk74); - REGISTER_STATIC_RPC(pRakClient,Unk75); - REGISTER_STATIC_RPC(pRakClient,Unk1B); + REGISTER_STATIC_RPC(pRakClient,Chat); + REGISTER_STATIC_RPC(pRakClient,RequestClass); + REGISTER_STATIC_RPC(pRakClient,RequestSpawn); + REGISTER_STATIC_RPC(pRakClient,EditAttachedObject); + REGISTER_STATIC_RPC(pRakClient,EditObject); + REGISTER_STATIC_RPC(pRakClient,SelectObject); REGISTER_STATIC_RPC(pRakClient,Unk1C); REGISTER_STATIC_RPC(pRakClient,UnkAA); - REGISTER_STATIC_RPC(pRakClient,Unk67); + REGISTER_STATIC_RPC(pRakClient,ClientCheck); REGISTER_STATIC_RPC(pRakClient,UnkAB); REGISTER_STATIC_RPC(pRakClient,UnkAC); } @@ -112,11 +112,11 @@ void UnRegisterRPCs(RakClientInterface * pRakClient) UNREGISTER_STATIC_RPC(pRakClient,UnkA4); UNREGISTER_STATIC_RPC(pRakClient,UnkA5); UNREGISTER_STATIC_RPC(pRakClient,Unk18); - UNREGISTER_STATIC_RPC(pRakClient,Unk80); - UNREGISTER_STATIC_RPC(pRakClient,Unk81); - UNREGISTER_STATIC_RPC(pRakClient,Unk6A); - UNREGISTER_STATIC_RPC(pRakClient,Unk1A); - UNREGISTER_STATIC_RPC(pRakClient,Unk9A); + UNREGISTER_STATIC_RPC(pRakClient,RequestClass); + UNREGISTER_STATIC_RPC(pRakClient,RequestSpawn); + UNREGISTER_STATIC_RPC(pRakClient,DamageVehicle); + UNREGISTER_STATIC_RPC(pRakClient,EnterVehicle); + UNREGISTER_STATIC_RPC(pRakClient,ExitVehicle); UNREGISTER_STATIC_RPC(pRakClient,Unk22); UNREGISTER_STATIC_RPC(pRakClient,Unk24); UNREGISTER_STATIC_RPC(pRakClient,Unk3A); @@ -125,30 +125,30 @@ void UnRegisterRPCs(RakClientInterface * pRakClient) UNREGISTER_STATIC_RPC(pRakClient,Unk89); UNREGISTER_STATIC_RPC(pRakClient,Unk8A); UNREGISTER_STATIC_RPC(pRakClient,Unk8B); - UNREGISTER_STATIC_RPC(pRakClient,Unk65); + UNREGISTER_STATIC_RPC(pRakClient,Chat); UNREGISTER_STATIC_RPC(pRakClient,Unk6B); UNREGISTER_STATIC_RPC(pRakClient,Unk25); UNREGISTER_STATIC_RPC(pRakClient,Unk26); UNREGISTER_STATIC_RPC(pRakClient,Unk27); - UNREGISTER_STATIC_RPC(pRakClient,Unk9B); - UNREGISTER_STATIC_RPC(pRakClient,Unk66); + UNREGISTER_STATIC_RPC(pRakClient,UpdateScoresPingsIPs); + UNREGISTER_STATIC_RPC(pRakClient,SvrStats); UNREGISTER_STATIC_RPC(pRakClient,Unk28); UNREGISTER_STATIC_RPC(pRakClient,Unk82); - UNREGISTER_STATIC_RPC(pRakClient,Unk5D); - UNREGISTER_STATIC_RPC(pRakClient,Unk5E); + UNREGISTER_STATIC_RPC(pRakClient,ClientMessage); + UNREGISTER_STATIC_RPC(pRakClient,WorldTime); UNREGISTER_STATIC_RPC(pRakClient,Unk5F); UNREGISTER_STATIC_RPC(pRakClient,Unk3F); UNREGISTER_STATIC_RPC(pRakClient,Unk97); - UNREGISTER_STATIC_RPC(pRakClient,Unk60); - UNREGISTER_STATIC_RPC(pRakClient,Unk98); + UNREGISTER_STATIC_RPC(pRakClient,ScmEvent); + UNREGISTER_STATIC_RPC(pRakClient,Weather); UNREGISTER_STATIC_RPC(pRakClient,Unk1D); UNREGISTER_STATIC_RPC(pRakClient,Unk1E); - UNREGISTER_STATIC_RPC(pRakClient,Unk74); - UNREGISTER_STATIC_RPC(pRakClient,Unk75); - UNREGISTER_STATIC_RPC(pRakClient,Unk1B); + UNREGISTER_STATIC_RPC(pRakClient,EditAttachedObject); + UNREGISTER_STATIC_RPC(pRakClient,EditObject); + UNREGISTER_STATIC_RPC(pRakClient,SelectObject); UNREGISTER_STATIC_RPC(pRakClient,Unk1C); UNREGISTER_STATIC_RPC(pRakClient,UnkAA); - UNREGISTER_STATIC_RPC(pRakClient,Unk67); + UNREGISTER_STATIC_RPC(pRakClient,ClientCheck); UNREGISTER_STATIC_RPC(pRakClient,UnkAB); UNREGISTER_STATIC_RPC(pRakClient,UnkAC); } diff --git a/saco/net/scriptrpc.cpp b/saco/net/scriptrpc.cpp index 240d895..c4ec66d 100644 --- a/saco/net/scriptrpc.cpp +++ b/saco/net/scriptrpc.cpp @@ -5,7 +5,7 @@ void ScrUnkA7(RPCParameters *rpcParams) {} void ScrUnk38(RPCParameters *rpcParams) {} void ScrUnk90(RPCParameters *rpcParams) {} void ScrUnk91(RPCParameters *rpcParams) {} -void ScrUnk92(RPCParameters *rpcParams) {} +void ScrSetGravity(RPCParameters *rpcParams) {} void ScrUnk93(RPCParameters *rpcParams) {} void ScrUnk94(RPCParameters *rpcParams) {} void ScrUnk95(RPCParameters *rpcParams) {} @@ -34,10 +34,10 @@ void ScrUnk85(RPCParameters *rpcParams) {} void ScrUnk86(RPCParameters *rpcParams) {} void ScrUnk87(RPCParameters *rpcParams) {} void ScrUnk69(RPCParameters *rpcParams) {} -void ScrUnk6C(RPCParameters *rpcParams) {} -void ScrUnk78(RPCParameters *rpcParams) {} -void ScrUnk79(RPCParameters *rpcParams) {} -void ScrUnk55(RPCParameters *rpcParams) {} +void ScrAddGangZone(RPCParameters *rpcParams) {} +void ScrRemoveGangZone(RPCParameters *rpcParams) {} +void ScrFlashGangZone(RPCParameters *rpcParams) {} +void ScrStopFlashGangZone(RPCParameters *rpcParams) {} void ScrUnk56(RPCParameters *rpcParams) {} void ScrUnk57(RPCParameters *rpcParams) {} void ScrUnk58(RPCParameters *rpcParams) {} @@ -98,9 +98,9 @@ void ScrUnkAF(RPCParameters *rpcParams) {} void ScrUnkB0(RPCParameters *rpcParams) {} void ScrUnkB2(RPCParameters *rpcParams) {} void ScrUnk30(RPCParameters *rpcParams) {} -void ScrUnk4C(RPCParameters *rpcParams) {} -void ScrUnk4D(RPCParameters *rpcParams) {} -void ScrUnk4E(RPCParameters *rpcParams) {} +void ScrInitMenu(RPCParameters *rpcParams) {} +void ScrShowMenu(RPCParameters *rpcParams) {} +void ScrHideMenu(RPCParameters *rpcParams) {} //---------------------------------------------------- @@ -110,7 +110,7 @@ void RegisterScriptRPCs(RakClientInterface* pRakClient) REGISTER_STATIC_RPC(pRakClient, ScrUnk38); REGISTER_STATIC_RPC(pRakClient, ScrUnk90); REGISTER_STATIC_RPC(pRakClient, ScrUnk91); - REGISTER_STATIC_RPC(pRakClient, ScrUnk92); + REGISTER_STATIC_RPC(pRakClient, ScrSetGravity); REGISTER_STATIC_RPC(pRakClient, ScrUnk93); REGISTER_STATIC_RPC(pRakClient, ScrUnk94); REGISTER_STATIC_RPC(pRakClient, ScrUnk95); @@ -134,10 +134,10 @@ void RegisterScriptRPCs(RakClientInterface* pRakClient) REGISTER_STATIC_RPC(pRakClient, ScrUnk86); REGISTER_STATIC_RPC(pRakClient, ScrUnk87); REGISTER_STATIC_RPC(pRakClient, ScrUnk69); - REGISTER_STATIC_RPC(pRakClient, ScrUnk6C); - REGISTER_STATIC_RPC(pRakClient, ScrUnk78); - REGISTER_STATIC_RPC(pRakClient, ScrUnk79); - REGISTER_STATIC_RPC(pRakClient, ScrUnk55); + REGISTER_STATIC_RPC(pRakClient, ScrAddGangZone); + REGISTER_STATIC_RPC(pRakClient, ScrRemoveGangZone); + REGISTER_STATIC_RPC(pRakClient, ScrFlashGangZone); + REGISTER_STATIC_RPC(pRakClient, ScrStopFlashGangZone); REGISTER_STATIC_RPC(pRakClient, ScrUnk56); REGISTER_STATIC_RPC(pRakClient, ScrUnk57); REGISTER_STATIC_RPC(pRakClient, ScrUnk58); @@ -198,9 +198,9 @@ void RegisterScriptRPCs(RakClientInterface* pRakClient) REGISTER_STATIC_RPC(pRakClient, ScrUnkB0); REGISTER_STATIC_RPC(pRakClient, ScrUnkB2); REGISTER_STATIC_RPC(pRakClient, ScrUnk30); - REGISTER_STATIC_RPC(pRakClient, ScrUnk4C); - REGISTER_STATIC_RPC(pRakClient, ScrUnk4D); - REGISTER_STATIC_RPC(pRakClient, ScrUnk4E); + REGISTER_STATIC_RPC(pRakClient, ScrInitMenu); + REGISTER_STATIC_RPC(pRakClient, ScrShowMenu); + REGISTER_STATIC_RPC(pRakClient, ScrHideMenu); } //---------------------------------------------------- @@ -214,10 +214,10 @@ void UnRegisterScriptRPCs(RakClientInterface* pRakClient) UNREGISTER_STATIC_RPC(pRakClient, ScrUnk86); UNREGISTER_STATIC_RPC(pRakClient, ScrUnk87); UNREGISTER_STATIC_RPC(pRakClient, ScrUnk69); - UNREGISTER_STATIC_RPC(pRakClient, ScrUnk6C); - UNREGISTER_STATIC_RPC(pRakClient, ScrUnk78); - UNREGISTER_STATIC_RPC(pRakClient, ScrUnk79); - UNREGISTER_STATIC_RPC(pRakClient, ScrUnk55); + UNREGISTER_STATIC_RPC(pRakClient, ScrAddGangZone); + UNREGISTER_STATIC_RPC(pRakClient, ScrRemoveGangZone); + UNREGISTER_STATIC_RPC(pRakClient, ScrFlashGangZone); + UNREGISTER_STATIC_RPC(pRakClient, ScrStopFlashGangZone); UNREGISTER_STATIC_RPC(pRakClient, ScrUnk56); UNREGISTER_STATIC_RPC(pRakClient, ScrUnk57); UNREGISTER_STATIC_RPC(pRakClient, ScrUnk58); @@ -233,7 +233,7 @@ void UnRegisterScriptRPCs(RakClientInterface* pRakClient) UNREGISTER_STATIC_RPC(pRakClient, ScrUnk38); UNREGISTER_STATIC_RPC(pRakClient, ScrUnk90); UNREGISTER_STATIC_RPC(pRakClient, ScrUnk91); - UNREGISTER_STATIC_RPC(pRakClient, ScrUnk92); + UNREGISTER_STATIC_RPC(pRakClient, ScrSetGravity); UNREGISTER_STATIC_RPC(pRakClient, ScrUnk93); UNREGISTER_STATIC_RPC(pRakClient, ScrUnk94); UNREGISTER_STATIC_RPC(pRakClient, ScrUnk95); @@ -298,9 +298,9 @@ void UnRegisterScriptRPCs(RakClientInterface* pRakClient) UNREGISTER_STATIC_RPC(pRakClient, ScrUnkB0); UNREGISTER_STATIC_RPC(pRakClient, ScrUnkB2); UNREGISTER_STATIC_RPC(pRakClient, ScrUnk30); - UNREGISTER_STATIC_RPC(pRakClient, ScrUnk4C); - UNREGISTER_STATIC_RPC(pRakClient, ScrUnk4D); - UNREGISTER_STATIC_RPC(pRakClient, ScrUnk4E); + UNREGISTER_STATIC_RPC(pRakClient, ScrInitMenu); + UNREGISTER_STATIC_RPC(pRakClient, ScrShowMenu); + UNREGISTER_STATIC_RPC(pRakClient, ScrHideMenu); } //---------------------------------------------------- diff --git a/server/netrpc.cpp b/server/netrpc.cpp index 680a12b..1068c52 100644 --- a/server/netrpc.cpp +++ b/server/netrpc.cpp @@ -3,38 +3,38 @@ RakServerInterface *pRak=0; -void Unk66(RPCParameters *rpcParams) {} // TODO: Unk66 -void Unk76(RPCParameters *rpcParams) {} // TODO: Unk76 -void Unk60(RPCParameters *rpcParams) {} // TODO: Unk60 -void Unk1F(RPCParameters *rpcParams) {} // TODO: Unk1F -void Unk77(RPCParameters *rpcParams) {} // TODO: Unk77 -void Unk88(RPCParameters *rpcParams) {} // TODO: Unk88 -void Unk61(RPCParameters *rpcParams) {} // TODO: Unk61 -void Unk83(RPCParameters *rpcParams) {} // TODO: Unk83 -void Unk84(RPCParameters *rpcParams) {} // TODO: Unk84 -void Unk8C(RPCParameters *rpcParams) {} // TODO: Unk8C -void Unk3E(RPCParameters *rpcParams) {} // TODO: Unk3E -void Unk17(RPCParameters *rpcParams) {} // TODO: Unk17 -void Unk19(RPCParameters *rpcParams) {} // TODO: Unk19 -void Unk36(RPCParameters *rpcParams) {} // TODO: Unk36 -void Unk65(RPCParameters *rpcParams) {} // TODO: Unk65 -void Unk80(RPCParameters *rpcParams) {} // TODO: Unk80 -void Unk81(RPCParameters *rpcParams) {} // TODO: Unk81 -void Unk34(RPCParameters *rpcParams) {} // TODO: Unk34 -void Unk35(RPCParameters *rpcParams) {} // TODO: Unk35 -void Unk6A(RPCParameters *rpcParams) {} // TODO: Unk6A -void Unk1A(RPCParameters *rpcParams) {} // TODO: Unk1A -void Unk9A(RPCParameters *rpcParams) {} // TODO: Unk9A -void Unk32(RPCParameters *rpcParams) {} // TODO: Unk32 -void Unk9B(RPCParameters *rpcParams) {} // TODO: Unk9B -void Unk74(RPCParameters *rpcParams) {} // TODO: Unk74 -void Unk75(RPCParameters *rpcParams) {} // TODO: Unk75 -void Unk1B(RPCParameters *rpcParams) {} // TODO: Unk1B -void Unk53(RPCParameters *rpcParams) {} // TODO: Unk53 -void Unk67(RPCParameters *rpcParams) {} // TODO: Unk67 -void UnkA8(RPCParameters *rpcParams) {} // TODO: UnkA8 -void Unk73(RPCParameters *rpcParams) {} // TODO: Unk73 -void UnkB1(RPCParameters *rpcParams) {} // TODO: UnkB1 +void SvrStats(RPCParameters *rpcParams) {} // TODO: SvrStats +void SetInteriorId(RPCParameters *rpcParams) {} // TODO: SetInteriorId +void ScmEvent(RPCParameters *rpcParams) {} // TODO: ScmEvent +void ScriptCash(RPCParameters *rpcParams) {} // TODO: ScriptCash +void ClickMap(RPCParameters *rpcParams) {} // TODO: ClickMap +void VehicleDestroyed(RPCParameters *rpcParams) {} // TODO: VehicleDestroyed +void PickedUpWeapon(RPCParameters *rpcParams) {} // TODO: PickedUpWeapon +void PickedUpPickup(RPCParameters *rpcParams) {} // TODO: PickedUpPickup +void MenuSelect(RPCParameters *rpcParams) {} // TODO: MenuSelect +void MenuQuit(RPCParameters *rpcParams) {} // TODO: MenuQuit +void DialogResponse(RPCParameters *rpcParams) {} // TODO: DialogResponse +void ClickPlayer(RPCParameters *rpcParams) {} // TODO: ClickPlayer +void ClientJoin(RPCParameters *rpcParams) {} // TODO: ClientJoin +void NPCJoin(RPCParameters *rpcParams) {} // TODO: NPCJoin +void Chat(RPCParameters *rpcParams) {} // TODO: Chat +void RequestClass(RPCParameters *rpcParams) {} // TODO: RequestClass +void RequestSpawn(RPCParameters *rpcParams) {} // TODO: RequestSpawn +void Spawn(RPCParameters *rpcParams) {} // TODO: Spawn +void Death(RPCParameters *rpcParams) {} // TODO: Death +void DamageVehicle(RPCParameters *rpcParams) {} // TODO: DamageVehicle +void EnterVehicle(RPCParameters *rpcParams) {} // TODO: EnterVehicle +void ExitVehicle(RPCParameters *rpcParams) {} // TODO: ExitVehicle +void ServerCommand(RPCParameters *rpcParams) {} // TODO: ServerCommand +void UpdateScoresPingsIPs(RPCParameters *rpcParams) {} // TODO: UpdateScoresPingsIPs +void EditAttachedObject(RPCParameters *rpcParams) {} // TODO: EditAttachedObject +void EditObject(RPCParameters *rpcParams) {} // TODO: EditObject +void SelectObject(RPCParameters *rpcParams) {} // TODO: SelectObject +void ClickTextDraw(RPCParameters *rpcParams) {} // TODO: ClickTextDraw +void ClientCheck(RPCParameters *rpcParams) {} // TODO: ClientCheck +void CameraTarget(RPCParameters *rpcParams) {} // TODO: CameraTarget +void PlayerDamage(RPCParameters *rpcParams) {} // TODO: PlayerDamage +void ActorDamage(RPCParameters *rpcParams) {} // TODO: ActorDamage //---------------------------------------------------- @@ -42,75 +42,75 @@ void RegisterRPCs(RakServerInterface * pRakServer) { pRak = pRakServer; - REGISTER_STATIC_RPC(pRakServer, Unk66); - REGISTER_STATIC_RPC(pRakServer, Unk76); - REGISTER_STATIC_RPC(pRakServer, Unk60); - REGISTER_STATIC_RPC(pRakServer, Unk1F); - REGISTER_STATIC_RPC(pRakServer, Unk77); - REGISTER_STATIC_RPC(pRakServer, Unk88); - REGISTER_STATIC_RPC(pRakServer, Unk61); - REGISTER_STATIC_RPC(pRakServer, Unk83); - REGISTER_STATIC_RPC(pRakServer, Unk84); - REGISTER_STATIC_RPC(pRakServer, Unk8C); - REGISTER_STATIC_RPC(pRakServer, Unk3E); - REGISTER_STATIC_RPC(pRakServer, Unk17); - REGISTER_STATIC_RPC(pRakServer, Unk19); - REGISTER_STATIC_RPC(pRakServer, Unk36); - REGISTER_STATIC_RPC(pRakServer, Unk65); - REGISTER_STATIC_RPC(pRakServer, Unk80); - REGISTER_STATIC_RPC(pRakServer, Unk81); - REGISTER_STATIC_RPC(pRakServer, Unk34); - REGISTER_STATIC_RPC(pRakServer, Unk35); - REGISTER_STATIC_RPC(pRakServer, Unk6A); - REGISTER_STATIC_RPC(pRakServer, Unk1A); - REGISTER_STATIC_RPC(pRakServer, Unk9A); - REGISTER_STATIC_RPC(pRakServer, Unk32); - REGISTER_STATIC_RPC(pRakServer, Unk9B); - REGISTER_STATIC_RPC(pRakServer, Unk74); - REGISTER_STATIC_RPC(pRakServer, Unk75); - REGISTER_STATIC_RPC(pRakServer, Unk1B); - REGISTER_STATIC_RPC(pRakServer, Unk53); - REGISTER_STATIC_RPC(pRakServer, Unk67); - REGISTER_STATIC_RPC(pRakServer, UnkA8); - REGISTER_STATIC_RPC(pRakServer, Unk73); - REGISTER_STATIC_RPC(pRakServer, UnkB1); + REGISTER_STATIC_RPC(pRakServer, SvrStats); + REGISTER_STATIC_RPC(pRakServer, SetInteriorId); + REGISTER_STATIC_RPC(pRakServer, ScmEvent); + REGISTER_STATIC_RPC(pRakServer, ScriptCash); + REGISTER_STATIC_RPC(pRakServer, ClickMap); + REGISTER_STATIC_RPC(pRakServer, VehicleDestroyed); + REGISTER_STATIC_RPC(pRakServer, PickedUpWeapon); + REGISTER_STATIC_RPC(pRakServer, PickedUpPickup); + REGISTER_STATIC_RPC(pRakServer, MenuSelect); + REGISTER_STATIC_RPC(pRakServer, MenuQuit); + REGISTER_STATIC_RPC(pRakServer, DialogResponse); + REGISTER_STATIC_RPC(pRakServer, ClickPlayer); + REGISTER_STATIC_RPC(pRakServer, ClientJoin); + REGISTER_STATIC_RPC(pRakServer, NPCJoin); + REGISTER_STATIC_RPC(pRakServer, Chat); + REGISTER_STATIC_RPC(pRakServer, RequestClass); + REGISTER_STATIC_RPC(pRakServer, RequestSpawn); + REGISTER_STATIC_RPC(pRakServer, Spawn); + REGISTER_STATIC_RPC(pRakServer, Death); + REGISTER_STATIC_RPC(pRakServer, DamageVehicle); + REGISTER_STATIC_RPC(pRakServer, EnterVehicle); + REGISTER_STATIC_RPC(pRakServer, ExitVehicle); + REGISTER_STATIC_RPC(pRakServer, ServerCommand); + REGISTER_STATIC_RPC(pRakServer, UpdateScoresPingsIPs); + REGISTER_STATIC_RPC(pRakServer, EditAttachedObject); + REGISTER_STATIC_RPC(pRakServer, EditObject); + REGISTER_STATIC_RPC(pRakServer, SelectObject); + REGISTER_STATIC_RPC(pRakServer, ClickTextDraw); + REGISTER_STATIC_RPC(pRakServer, ClientCheck); + REGISTER_STATIC_RPC(pRakServer, CameraTarget); + REGISTER_STATIC_RPC(pRakServer, PlayerDamage); + REGISTER_STATIC_RPC(pRakServer, ActorDamage); } //---------------------------------------------------- void UnRegisterRPCs(RakServerInterface * pRakServer) { - UNREGISTER_STATIC_RPC(pRakServer, Unk73); - UNREGISTER_STATIC_RPC(pRakServer, Unk66); - UNREGISTER_STATIC_RPC(pRakServer, Unk76); - UNREGISTER_STATIC_RPC(pRakServer, Unk60); - UNREGISTER_STATIC_RPC(pRakServer, Unk1F); - UNREGISTER_STATIC_RPC(pRakServer, Unk77); - UNREGISTER_STATIC_RPC(pRakServer, Unk88); - UNREGISTER_STATIC_RPC(pRakServer, Unk61); - UNREGISTER_STATIC_RPC(pRakServer, Unk83); - UNREGISTER_STATIC_RPC(pRakServer, Unk84); - UNREGISTER_STATIC_RPC(pRakServer, Unk8C); - UNREGISTER_STATIC_RPC(pRakServer, Unk3E); - UNREGISTER_STATIC_RPC(pRakServer, Unk17); - UNREGISTER_STATIC_RPC(pRakServer, Unk19); - UNREGISTER_STATIC_RPC(pRakServer, Unk36); - UNREGISTER_STATIC_RPC(pRakServer, Unk65); - UNREGISTER_STATIC_RPC(pRakServer, Unk80); - UNREGISTER_STATIC_RPC(pRakServer, Unk81); - UNREGISTER_STATIC_RPC(pRakServer, Unk34); - UNREGISTER_STATIC_RPC(pRakServer, Unk35); - UNREGISTER_STATIC_RPC(pRakServer, Unk6A); - UNREGISTER_STATIC_RPC(pRakServer, Unk1A); - UNREGISTER_STATIC_RPC(pRakServer, Unk9A); - UNREGISTER_STATIC_RPC(pRakServer, Unk32); - UNREGISTER_STATIC_RPC(pRakServer, Unk9B); - UNREGISTER_STATIC_RPC(pRakServer, Unk74); - UNREGISTER_STATIC_RPC(pRakServer, Unk75); - UNREGISTER_STATIC_RPC(pRakServer, Unk1B); - UNREGISTER_STATIC_RPC(pRakServer, Unk53); - UNREGISTER_STATIC_RPC(pRakServer, Unk67); - UNREGISTER_STATIC_RPC(pRakServer, UnkA8); + UNREGISTER_STATIC_RPC(pRakServer, PlayerDamage); + UNREGISTER_STATIC_RPC(pRakServer, SvrStats); + UNREGISTER_STATIC_RPC(pRakServer, SetInteriorId); + UNREGISTER_STATIC_RPC(pRakServer, ScmEvent); + UNREGISTER_STATIC_RPC(pRakServer, ScriptCash); + UNREGISTER_STATIC_RPC(pRakServer, ClickMap); + UNREGISTER_STATIC_RPC(pRakServer, VehicleDestroyed); + UNREGISTER_STATIC_RPC(pRakServer, PickedUpWeapon); + UNREGISTER_STATIC_RPC(pRakServer, PickedUpPickup); + UNREGISTER_STATIC_RPC(pRakServer, MenuSelect); + UNREGISTER_STATIC_RPC(pRakServer, MenuQuit); + UNREGISTER_STATIC_RPC(pRakServer, DialogResponse); + UNREGISTER_STATIC_RPC(pRakServer, ClickPlayer); + UNREGISTER_STATIC_RPC(pRakServer, ClientJoin); + UNREGISTER_STATIC_RPC(pRakServer, NPCJoin); + UNREGISTER_STATIC_RPC(pRakServer, Chat); + UNREGISTER_STATIC_RPC(pRakServer, RequestClass); + UNREGISTER_STATIC_RPC(pRakServer, RequestSpawn); + UNREGISTER_STATIC_RPC(pRakServer, Spawn); + UNREGISTER_STATIC_RPC(pRakServer, Death); + UNREGISTER_STATIC_RPC(pRakServer, DamageVehicle); + UNREGISTER_STATIC_RPC(pRakServer, EnterVehicle); + UNREGISTER_STATIC_RPC(pRakServer, ExitVehicle); + UNREGISTER_STATIC_RPC(pRakServer, ServerCommand); + UNREGISTER_STATIC_RPC(pRakServer, UpdateScoresPingsIPs); + UNREGISTER_STATIC_RPC(pRakServer, EditAttachedObject); + UNREGISTER_STATIC_RPC(pRakServer, EditObject); + UNREGISTER_STATIC_RPC(pRakServer, SelectObject); + UNREGISTER_STATIC_RPC(pRakServer, ClickTextDraw); + UNREGISTER_STATIC_RPC(pRakServer, ClientCheck); + UNREGISTER_STATIC_RPC(pRakServer, CameraTarget); pRak = 0; }