Commit Graph

147 Commits

Author SHA1 Message Date
RD42
05e8c3b2a8 [bot] Include system.h from server 2024-08-28 23:12:47 +08:00
RD42
64b342aec0 [bot] Add missing PI constant 2024-08-28 23:12:12 +08:00
RD42
bcdbedc0be Revert RakNet source files back to the original v2.518 state
* Add RakNet source files to the VS project
2024-08-16 23:33:48 +08:00
RD42
402d3944e1 [bot] Implement/match n_GetDistanceFromMeToPoint(...)
* Implement/match `CNetGame::GetDistanceFromMeToPoint(...)`
2024-07-08 18:03:56 +08:00
RD42
dc4688d7bb [bot] Implement/match n_IsPlayerStreamedIn(...) 2024-07-08 18:02:21 +08:00
RD42
6ead220db3 [bot] Implement/match n_GetPlayerSpecialAction(...)
* Implement/match `CNetGame::GetPlayerSpecialAction(...)`
2024-07-08 18:01:38 +08:00
RD42
2703cfe7a5 [bot] Update netgame.h 2024-07-07 22:46:20 +08:00
RD42
72a7c19498 [bot] Implement/match n_GetMyPos(...)
* Implement/match `CNetGame::GetMyPos(...)`
2024-07-07 22:40:49 +08:00
RD42
8a4b1ed7a0 [bot] Implement/match n_SetMyPos(...)
* Implement/match `CNetGame::SetMyPos(...)`
2024-07-07 22:37:45 +08:00
RD42
831b304f20 [bot] Implement/match n_GetMyFacingAngle(...)
* Rename `unnamed_9` to `byteState`
* Implement/match `CNetGame::GetMyZAngle()`
* Update `CNetGame::Init(...)`
2024-07-07 22:35:03 +08:00
RD42
148efc2fa6 [bot] Implement/match n_GetPlayerKeys(...)
* Implement/match `CNetGame::GetPlayerKeys(...)`
2024-07-06 22:45:04 +08:00
RD42
71204c1c49 [bot] Implement/match n_IsVehicleStreamedIn(...)
* Rename `field_84D0` to `m_bVehicleSlotState`
* Implement/match `CNetGame::IsVehicleAdded(...)`
2024-07-05 22:43:08 +08:00
RD42
86473c8272 [bot] Add missing INVALID_VEHICLE_ID 2024-07-05 22:37:10 +08:00
RD42
c0945ce5c5 [bot] Update gamemodes.cpp/.h
* Update `CGameMode::Load(...)`
* Update `CGameMode::Unload()`
2024-07-03 23:27:12 +08:00
RD42
7b974d6b4c [bot] Implement/match n_GetPlayerArmour(...)
* Implement/match `CNetGame::GetPlayerArmour()`
2024-07-03 23:24:36 +08:00
RD42
94ab5b9437 [bot] Implement/match n_GetPlayerHealth(...)
* Implement/match `CNetGame::GetPlayerHealth(...)`
2024-07-03 23:23:15 +08:00
RD42
61f5b2ffc4 [bot] Implement/match n_IsPlayerInRangeOfPoint(...) 2024-07-01 23:04:33 +08:00
RD42
6de6425aeb [bot] Implement/match n_GetPlayerArmedWeapon(...)
* Implement/match `CNetGame::GetPlayerArmedWeapon(...)`
2024-07-01 23:03:22 +08:00
RD42
c264951e74 [bot] Implement/match n_GetPlayerVehicleID(...)
* Implement/match `CNetGame::GetPlayerVehicleID(...)`
2024-07-01 23:01:21 +08:00
RD42
3930e321c9 [bot] Implement/match n_GetPlayerPos(...)
* Implement `CNetGame::GetPlayerPos(...)`
2024-07-01 22:59:50 +08:00
RD42
af200e715e [bot] Update CNetGame::Init(...) 2024-06-30 22:38:49 +08:00
RD42
dfb05a9394 [bot] Update CNetGame::Packet_PassengerSync(...) 2024-06-30 22:38:03 +08:00
RD42
af0e2d04fe [bot] Remove asin element in custom_Natives 2024-06-30 22:32:54 +08:00
RD42
0b2cab3b18 [bot] Implement all util functions 2024-06-30 22:29:19 +08:00
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