Commit Graph

104 Commits

Author SHA1 Message Date
RD42
0902c67707 [bot] Implement WorldPlayerDeath(...) 2024-06-08 21:42:42 +08:00
RD42
a88d88bb26 [bot] Implement ServerJoin(...)
* Implement `CPlayerPool::New(...)`
2024-06-08 21:39:40 +08:00
RD42
2aa2b1e628 [bot] Implement ScrRemovePlayerFromVehicle(...) 2024-06-08 21:35:32 +08:00
RD42
8b36c6d805 [bot] Implement ScrPutPlayerInVehicle(...) 2024-06-08 21:34:42 +08:00
RD42
6038cf0a59 [bot] Implement ScrSetPlayerPos(...) 2024-06-07 22:56:29 +08:00
RD42
bcb50d8800 [bot] Implement ScrSetPlayerFacingAngle(...) 2024-06-07 22:52:35 +08:00
RD42
291809b71c [bot] Rearrange scriptrpc.cpp 2024-06-07 22:50:00 +08:00
RD42
34f395e144 [bot] Rearrange netrpc.cpp
* Add comments
2024-06-07 22:37:20 +08:00
RD42
cbca7594a1 [bot] Implement RequestClass(...)
* Implement `CNetGame::SetMyZAngle(...)`
2024-06-06 23:09:13 +08:00
RD42
8b46841b34 [bot] Rename RPC_Unk27 to RPC_DisableRaceCheckpoint 2024-06-06 23:01:27 +08:00
RD42
a7e6441afa [bot] Rename RPC_Unk26 to RPC_SetRaceCheckpoint 2024-06-06 22:59:52 +08:00
RD42
964c0ad96d [bot] Rename RPC_Unk25 to RPC_DisableCheckpoint 2024-06-06 22:58:14 +08:00
RD42
8d50bf0963 [bot] Rename RPC_Unk6B to RPC_SetCheckpoint 2024-06-06 22:55:39 +08:00
RD42
26ea16aaae [bot] Implement WorldPlayerAdd(...)
* Rename `CNetGame::sub_415EC0(...)` to `CNetGame::SetPlayerAdded(...)`
2024-06-03 22:58:59 +08:00
RD42
c82d3764fd [bot] Implement RequestSpawn(...) 2024-06-03 22:53:22 +08:00
RD42
843b2406bf [bot] Implement InitGame(...) 2024-06-03 22:51:04 +08:00
RD42
aca41ed816 [bot] Implement ServerQuit(...) 2024-06-02 22:55:46 +08:00
RD42
5e09558960 [bot] Implement Chat(...) 2024-06-02 22:50:20 +08:00
RD42
4e071895a3 [bot] Include malloc.h
Required for amx_StrParam
2024-06-02 22:44:56 +08:00
RD42
b1b133c526 [bot] Change project settings
* Disable buffer security check

* Change structure alignment to 1 byte

*  Set runtime library to multi-threaded
2024-06-02 22:42:52 +08:00
RD42
05e65e3d17 [bot] Implement ScrSetSpawnInfo(...) 2024-06-02 22:36:16 +08:00
RD42
1b58865926 [bot] Implement ScrDisplayGameText(...) 2024-06-02 22:21:36 +08:00
RD42
7714efcbee [bot] Match MatrixToQuaternion 2024-06-02 22:16:54 +08:00
RD42
2d0918379d [bot] Match logprintf(...) 2024-06-02 22:16:11 +08:00
RD42
ed70116c80 [bot] Implement CNetGame::Packet_InvalidPassword(...) 2024-06-01 20:35:12 +08:00
RD42
509c89ca5f [bot] Implement CNetGame::Packet_ConnectionLost(...) 2024-06-01 20:34:10 +08:00
RD42
80c6ceb1fc [bot] Update CNetGame::Packet_DisconnectionNotification(...) 2024-06-01 20:32:29 +08:00
RD42
f05b44f0a7 [bot] Implement CNetGame::Packet_NoFreeIncomingConnections(...) 2024-06-01 20:10:45 +08:00
RD42
3eacf10755 [bot] Implement CNetGame::Packet_ConnectionRequestAccepted(...) 2024-06-01 20:09:10 +08:00
RD42
ccf7c032d9 [bot] Update CNetGame::Packet_ConnectionBanned(...) 2024-06-01 20:04:15 +08:00
RD42
23f4c008a9 [bot] Implement CNetGame::Packet_RSAPublicKeyMismatch(...) 2024-06-01 19:59:47 +08:00
RD42
6e7af2874d [bot] Implement ClientMessage(...)
* Make the szText parameter unsigned char pointer for `CGameMode::OnClientMessage(...)`
2024-06-01 19:50:36 +08:00
RD42
fc879a6fdc [bot] Implement ConnectionRejected(...)
* Update SAMPRPC.h

* Update `RegisterRPCs(...)`

* Update `UnRegisterRPCs(...)`
2024-06-01 19:43:12 +08:00
RD42
72ab40c2e2 [bot] Implement CNetGame::Packet_ConnectAttemptFailed(...)
* Update `CNetGame::UpdateNetwork()`
2024-06-01 18:44:36 +08:00
RD42
e4770acd44 [bot] Implement n_IsPlayerConnected(...) 2024-06-01 18:40:37 +08:00
RD42
0e726e656e [bot] Implement n_StopRecordingPlayback(...) 2024-06-01 18:37:04 +08:00
RD42
67790e55f5 [bot] Implement CNetGame::ResetPlayerPool() 2024-06-01 18:35:59 +08:00
RD42
9a61b24a2f [bot] Implement GameModeRestart(...)
* Implement `CNetGame::ShutdownForGameModeRestart()`

* Implement `CPlayerPool::Process()`

* Implement `CNetGame::ResetVehiclePool()`

* Implement `CNetGame::StopRecordingPlayback()`
2024-06-01 18:30:44 +08:00
RD42
271fa1844e [bot] Implement SvrStats(...) 2024-06-01 17:52:11 +08:00
RD42
a817a56c7b [bot] Implement n_printf(...) 2024-05-31 23:08:45 +08:00
RD42
bd29ad78ec [bot] Implement n_print(...) 2024-05-31 23:08:29 +08:00
RD42
663c0fe374 [bot] Implement n_GetTickCount(...) 2024-05-31 23:07:44 +08:00
RD42
bbfa58c5ec [bot] Implement n_atan2(...) 2024-05-31 23:07:24 +08:00
RD42
1af18eab0c [bot] Implement n_atan(...) 2024-05-31 23:07:10 +08:00
RD42
346395ee49 [bot] Implement n_acos(...) 2024-05-31 23:06:56 +08:00
RD42
45c64be31d [bot] Implement n_asin(...) 2024-05-31 23:06:27 +08:00
RD42
59923266b8 [bot] Implement math util functions 2024-05-31 23:03:37 +08:00
RD42
2a1e452c6d [bot] Move scripting sources to a new filter 2024-05-31 23:00:10 +08:00
RD42
b1402decf8 [bot] Update project GUID 2024-05-31 22:57:15 +08:00
RD42
b1c34872bf [bot] Implement CNetGame::Packet_ConnectionSucceeded(...) 2024-05-17 22:48:32 +08:00