Commit Graph

173 Commits

Author SHA1 Message Date
RD42
7f2fe7d6e2 [bot] Update ScrPutPlayerInVehicle(...) 2024-06-30 22:27:27 +08:00
RD42
0c4fe06271 [bot] Implement CNetGame::SetPlayerState(...) 2024-06-29 23:24:41 +08:00
RD42
31d7bff68e [bot] Update netgame.cpp 2024-06-29 22:55:26 +08:00
RD42
979c785029 [bot] Implement/match n_GetPlayerState(...)
* Rename `unnamed_8` to `bytePlayerState`
* Implement/match `CNetGame::GetPlayerState(...)`
2024-06-29 22:53:05 +08:00
RD42
08e445569c [bot] Implement n_SendCommand(...)
* Implement `CNetGame::SendCommand(...)`
2024-06-29 22:47:25 +08:00
RD42
db20065e56 [bot] Implement n_SendChat(...)
* Implement `CNetGame::SendChat(...)`
2024-06-29 22:45:28 +08:00
RD42
5d75008e6d [bot] Implement n_ResumeRecordingPlayback(...)
* Implement `CNetGame::ResumeRecordingPlayback()`
2024-06-29 22:41:19 +08:00
RD42
b1920ee36e [bot] Implement n_PauseRecordingPlayback(...)
* Implement `CNetGame::PauseRecordingPlayback()`
2024-06-29 22:38:46 +08:00
RD42
d9976bb678 [bot] Implement WorldVehicleAdd(...) 2024-06-26 23:21:06 +08:00
RD42
a94fbc924b [bot] Implement WorldVehicleRemove(...) 2024-06-26 23:12:06 +08:00
RD42
3b6fa0fefd [bot] Rename CNetGame::sub_415EC0 to CNetGame::SetVehicleAdded 2024-06-26 23:08:18 +08:00
RD42
7d46ed86fa [bot] Fix/match n_IsPlayerConnected(...) 2024-06-26 22:56:41 +08:00
RD42
9de4780943 [bot] Implement n_format(...)
* Implement `format_amxstring(...)`
* Implement `get_amxaddr(...)`
* Implement `AddString(...)`
* Implement `AddFloat(...)`
* Implement `AddInt(...)`
* Implement `AddHex(...)`
* Implement `AddBin(...)`
* Implement `__WHOA_DONT_CALL_ME_PLZ_K_lol_o_O()`
* Implement `atcprintf(...)`
2024-06-25 22:37:19 +08:00
RD42
9e83c1fd19 [bot] Update CNetGame::UpdateNetwork() 2024-06-08 21:57:35 +08:00
RD42
a58e45731c [bot] Implement n_GetPlayerName(...)
* Implement `set_amxstring(...)`

* Implement `CPlayerPool::GetPlayerName(...)`
2024-06-08 21:56:00 +08:00
RD42
36792cec63 [bot] Implement n_IsPlayerStreamedIn(...) 2024-06-08 21:52:14 +08:00
RD42
4cf1e83080 [bot] Rename unnamed_6 to bPlayerSlotState 2024-06-08 21:48:47 +08:00
RD42
a25cec876a [bot] Implement n_SetMyFacingAngle(...) 2024-06-08 21:44:51 +08:00
RD42
5ce9095241 [bot] Implement WorldPlayerRemove(...) 2024-06-08 21:44:02 +08:00
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
RD42
5f90bc9633 [bot] Implement CNetGame::Packet_DisconnectionNotification(...) 2024-05-10 22:20:46 +08:00
RD42
5b4c02f33b [bot] Implement CNetGame::Packet_ConnectionBanned(...) 2024-05-10 22:20:05 +08:00
RD42
362480c54e [bot/saco/server] Rename static RPC functions 2024-04-28 21:00:12 +08:00
RD42
8b8827405f [bot] Implement CNetGame::Packet_PassengerSync(...) 2024-04-25 22:33:18 +08:00
RD42
4358eea329 [bot] Implement CNetGame::Packet_TrailerSync(...) 2024-04-25 22:20:29 +08:00
RD42
9be2b5e019 [bot] Implement CNetGame::Packet_AimSync(...) 2024-04-25 22:19:11 +08:00
RD42
16439ae77d [bot] Implement CNetGame::Packet_ModifiedPacket(...)
* Add `CNetGame::UpdateNetwork()`
* Update `CNetGame::Process()`
2024-04-25 22:14:30 +08:00
RD42
9c94cab39f [bot] Implement CNetGame::Init(...) 2024-04-25 22:10:37 +08:00
RD42
002330f840 [bot] Implement GetPacketID(...) 2024-04-24 22:36:46 +08:00
RD42
16635b4ea0 [bot] Implement GetElapsedTime() 2024-04-24 22:15:44 +08:00
RD42
f775572598 Remove and ignore .aps files 2024-04-24 22:14:31 +08:00
RD42
ae590d171c [bot/saco/server] Update CNetGame constructor 2024-04-23 22:44:38 +08:00
RD42
d1451f9529 [bot/saco/server] Implement SocketDataEncryptor functions 2024-04-23 22:07:28 +08:00
RD42
f21756f285 Remove and ignore .ncb and .suo files 2024-04-18 22:27:21 +08:00
RD42
920b0a1f6e [bot] Fix compilation errors 2024-03-22 23:33:16 +08:00
RD42
abced1233f [bot] Implement CGameMode::Load 2024-03-14 23:27:32 +08:00
RD42
d8b5f00912 [bot] Implement CGameMode::Unload 2024-03-14 23:26:41 +08:00
RD42
a3810144d1 [bot] Implement CNetGame destructor
* Implements CScriptTimers destructor
* Implements `CScriptTimers::FreeMem`
* Implements CPlayerPool destructor
* Implements `CPlayerPool::Delete`
* Implements `CNetGame::sub_415EA0`
* Implements CVehiclePool destructor
* Implements `CVehiclePool::Delete`
* Implements ` CNetGame::sub_415EC0`
2024-03-14 23:24:26 +08:00
RD42
98f93f88bb [bot] Scripting function stubs 2024-03-12 23:46:02 +08:00
RD42
32ff566af7 [bot] Update CGameMode::Unload() 2024-02-21 19:45:27 +08:00
RD42
1bdaff6125 [bot] Add CGameMode::Load(...) 2024-02-21 19:44:43 +08:00
RD42
03cc592835 Fix building errors 2024-02-14 22:51:29 +08:00
RD42
854f890108 [saco/server/bot] Add and match RakNet Rand functions 2024-02-04 19:26:33 +08:00
RD42
4ceb300a75 [saco/server/bot] Add and match RakNet SHA1 2024-02-04 19:23:08 +08:00
RD42
0a99004615 [server/bot] Add and match amxfloat.c functions 2024-02-04 19:18:38 +08:00
RD42
7c011b0ba7 [server/bot] Add and match amxtime.c functions 2024-02-04 19:15:17 +08:00
RD42
22f307fd3a [bot] Add RakNet source files to the project 2024-01-31 23:40:06 +08:00
RD42
9e8336b3e5 [bot] Implement all CGameMode script callbacks 2024-01-30 22:04:49 +08:00
RD42
94e372378f [bot] Implement CGameMode::Frame() 2024-01-30 22:02:40 +08:00
RD42
0d0d4bb6af [bot] Implement CGameMode ctor/dtor 2024-01-30 21:58:10 +08:00
RD42
30614e0b23 [bot] Implement CScriptTimers ctor 2024-01-30 21:52:00 +08:00