343 Commits

Author SHA1 Message Date
RD42
e72af6ce72 [saco] Implement and match CPlayerPed::IsInVehicle() 2024-05-05 22:18:25 +08:00
RD42
9c4d7692a6 [saco] Implement and match CPlayerPed::SetActionTrigger(...) 2024-05-05 22:16:50 +08:00
RD42
526dff8889 [saco] Implement and match CPlayerPed::GetActionTrigger() 2024-05-05 22:16:15 +08:00
RD42
a7f29efcef [saco] Implement and match CPlayerPed::IsDead() 2024-05-05 22:14:11 +08:00
RD42
c5eb9a8421 [saco] Implement and match CPlayerPed::SetStateFlags(...) 2024-05-05 22:13:40 +08:00
RD42
24b2cc72c1 [saco] Implement and match CPlayerPed::GetStateFlags() 2024-05-05 22:12:31 +08:00
RD42
525700b01e [saco] Implement and match CPlayerPed::SetArmour(...) 2024-05-05 22:11:39 +08:00
RD42
895adbad7e [saco] Implement and match CPlayerPed::GetArmour() 2024-05-05 22:10:52 +08:00
RD42
a64a724681 [saco] Implement and match SaveCameraRaster(...) 2024-05-05 21:41:12 +08:00
RD42
bb943ef2a3 [saco] Implement and match GameIsEntityOnScreen(...) 2024-05-05 21:33:51 +08:00
RD42
1865de083f [saco] Implement and match CPlayerPed::SetHealth(...) 2024-05-05 19:06:45 +08:00
RD42
e2ee3d3a3b [saco] Implement and match CPlayerPed::GetHealth() 2024-05-05 19:04:57 +08:00
RD42
4cd7a6942b [saco] Implement and match CPlayerPed::SetImmunities(...) 2024-05-05 19:02:17 +08:00
RD42
a14828960b [saco] Implement and match CPlayerPed::IsOnScreen() 2024-05-05 18:59:28 +08:00
RD42
492705d035 [saco] Implement and match CPlayerPed::HideMarker() 2024-05-05 18:57:12 +08:00
RD42
cf591f0fb8 [saco] Implement and match CPlayerPed::GetCurrentVehicleID() 2024-05-05 18:54:54 +08:00
RD42
f7ff8d45df [saco] Implement and match CPlayerPed::GetCurrentWeapon() 2024-05-05 18:52:08 +08:00
RD42
1ff732c35c [saco] Implement and match CPlayerPed::SetCurrentAim(...) 2024-05-05 18:37:07 +08:00
RD42
c8bd72c1a0 [saco] Implement and match CPlayerPed::GetCurrentAim() 2024-05-05 18:34:54 +08:00
RD42
3fc4174268 [saco] Implement and match CPlayerPed::GetSpecialKey() 2024-05-05 18:32:43 +08:00
RD42
d767d9d6e3 [saco] Implement and match CPlayerPed::SetInitialState() 2024-05-05 18:30:43 +08:00
RD42
4a743549b5 [saco] Implement and match CPlayerPed::ResetPointers() 2024-05-05 18:29:24 +08:00
RD42
29fc46aa00 [saco] Implement and match GetInvalidModelInfoCount() 2024-05-05 18:21:21 +08:00
RD42
ddb2440aab [saco] Implement and match ReplaceBuildingModel(...) 2024-05-05 18:19:43 +08:00
RD42
34e3becac1 [saco] Implement and match GamePool_GetObject() 2024-05-05 16:41:54 +08:00
RD42
261cd01e1d [saco] Implement and match GamePool_GetDummy() 2024-05-05 16:40:42 +08:00
RD42
2eaeae5b56 [saco] Implement and match GamePool_GetBuilding() 2024-05-05 16:39:28 +08:00
RD42
4db124b7d3 [saco] Match ProcessLineOfSight(...) 2024-05-05 16:37:48 +08:00
RD42
b2397256b8 [saco] Implement VehicleModel_SetEnvironmentMapHook() 2024-05-04 22:57:30 +08:00
RD42
f3e040cfc3 [saco] Implement CPlayerPed_ProcessCollision_Hook() 2024-05-04 22:56:40 +08:00
RD42
b5d2f63338 [saco] Implement Rand_Hook() 2024-05-04 22:55:06 +08:00
RD42
5b75400b9f [saco] Implement HOOK_6() 2024-05-04 22:52:42 +08:00
RD42
3e2c80c2b1 [saco] Implement CPlayerPed::HasAmmoForCurrentWeapon() 2024-05-03 22:10:53 +08:00
RD42
9894fd3ec7 [saco] Implement CPlayerPed::StartGoggles() 2024-05-03 22:10:08 +08:00
RD42
f6211221c4 [saco] Implement CPlayerPed::GiveWeapon(...) 2024-05-03 22:09:09 +08:00
RD42
653f8dcc16 [saco] Implement CPlayerPed::SetArmedWeapon(...) 2024-05-03 22:07:17 +08:00
RD42
1b274863d8 [saco] Implement CPlayerPed::GetAmmo() 2024-05-03 21:59:22 +08:00
RD42
d20bd16a24 [saco] Implement CPlayerPed::GetCurrentWeaponSlot() 2024-05-03 21:56:41 +08:00
RD42
8f763d8f30 [saco] Implement CPlayerPed::FindWeaponSlot(...) 2024-05-03 21:54:53 +08:00
RD42
7f0710a9d3 [saco] Implement CPlayerPed::StopGoggles() 2024-05-03 21:51:28 +08:00
RD42
c905d1dfb4 [saco] Implement CPlayerPed::HasGoggles() 2024-05-03 21:48:31 +08:00
RD42
4a6bdad74a [saco] Implement CTaskKillPedOnFootArmed constructor 2024-05-02 21:51:45 +08:00
RD42
c70e9f59c8 [saco] Implement CTaskGoToPoint constructor 2024-05-02 21:50:59 +08:00
RD42
4c400c51ed [saco] Implement CTaskGoggles constructor 2024-05-02 21:50:26 +08:00
RD42
e600a29d0c [saco] Implement CTaskTakeDamageFall constructor 2024-05-02 21:49:48 +08:00
RD42
b5e5b572d9 [saco] Implement CTaskJetpack constructor and destructor 2024-05-02 21:49:22 +08:00
RD42
161bc72d96 [saco] Implement CTask member functions 2024-05-02 21:47:10 +08:00
RD42
362480c54e [bot/saco/server] Rename static RPC functions 2024-04-28 21:00:12 +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
b75e98217d [saco] Implement IDirect3DDevice9Hook::SetTransform(...) 2024-04-22 22:52:52 +08:00
RD42
2ee12dfee5 [saco] Rename CUnkClass7 to CHelpDialog 2024-04-21 21:59:15 +08:00
RD42
14f26cc6f7 [saco] Rename CUnkClass2 to CScoreBoard 2024-04-21 21:51:23 +08:00
RD42
f2999a96b1 [saco] Rename CUnkClass1 to CNewPlayerTags 2024-04-21 21:35:36 +08:00
RD42
e9fad33c84 [saco] Rename CunkClass6 to CNetStats 2024-04-21 21:19:10 +08:00
RD42
49a8482549 [saco] Rename CUnkClass9 to CLabel 2024-04-21 20:49:59 +08:00
RD42
f21756f285 Remove and ignore .ncb and .suo files 2024-04-18 22:27:21 +08:00
RD42
33cb3d22f7 [saco] Implement and match file hook functions 2024-04-17 22:48:54 +08:00
RD42
3b7b6e47c5 [saco] Implement and match checksum functions 2024-04-17 22:16:29 +08:00
RD42
bff06cfeec [saco] Match and rename SHA1_HashData to CalcSHA1 2024-04-17 21:56:04 +08:00
RD42
0a59142702 [saco] Implement and match file check functions 2024-04-17 21:45:48 +08:00
RD42
d86fdfc4eb [saco] Implement and match all CConfig member functions 2024-04-16 22:42:10 +08:00
RD42
5177bdcb11 [saco] Match CConfig::ReadFile() 2024-04-16 20:35:29 +08:00
RD42
ad8c70ee50 [raknet] Implement RakPeer::SetMTUSize(...) 2024-04-14 19:14:58 +08:00
RD42
6186f0c488 [saco] Match InstallFileSystemHooks() 2024-04-13 22:29:25 +08:00
RD42
783b4fb01a [saco] Add ApplyInGamePatches()() 2024-04-10 22:15:51 +08:00
RD42
e1bd0daf96 [saco] Implement RelocateBaseModelInfoHack() 2024-04-10 22:15:00 +08:00
RD42
d790a6bee1 [saco] Update RelocateScanListHack() 2024-04-10 22:14:25 +08:00
RD42
b9ee9d4786 [saco] Implement SetTimedObjects(...)
* Implement `SetIPLs(...)`
* Implement `_patch(...)`
2024-04-08 22:20:41 +08:00
RD42
9ce72dcf79 [saco] Implement CAudio::StopRadio()
* Implement `CAudio::sub_100A21D0()`
2024-04-08 22:17:26 +08:00
RD42
9315131c61 [saco] Update CChatWindow constructor 2024-04-08 22:11:49 +08:00
RD42
0e00550b0a [saco] Implement few CFontRender member functions 2024-04-07 22:47:56 +08:00
RD42
e3430e3719 [saco] Implement ApplyGameLimitPatches() 2024-04-07 22:43:44 +08:00
RD42
093bc22abf [saco] Update DoInitStuff() 2024-04-07 22:42:34 +08:00
RD42
397f481722 [saco] Implement all CPlayerTags member functions 2024-04-07 22:40:23 +08:00
RD42
6506991783 [saco] Implement CUnkClass15 constructor
* Implement `CUnkClass15::sub_1006BE40()`
* Implement various RenderWare function calls
* Update `DoInitStuff()`
2024-04-02 22:40:58 +08:00
RD42
c01899123c [saco] Implement CUnkClass14 constructor
* Implement `CUnkClass14::RestoreDeviceObjects()`
* Update `DoInitStuff()`
2024-04-02 22:24:25 +08:00
RD42
aac4f57110 [saco] Implement CUnkClass13 constructor
* Implement `CUnkClass13::RestoreDeviceObjects()`
* Update `DoInitStuff()`
2024-04-02 22:22:38 +08:00
RD42
fdde0ffe60 [saco] Implement CUnkClass12 constructor 2024-04-02 22:20:14 +08:00
RD42
12b5c7433d [saco] Implement CUnkClass11 constructor 2024-04-02 22:19:13 +08:00
RD42
e20485de35 [saco] Update struc_157 2024-04-02 22:17:53 +08:00
RD42
04a2af446a [saco] Implement CUnkClass10 constructor 2024-03-28 23:32:21 +08:00
RD42
efb3a5a812 [saco] Implement CUnkClass9 constructor 2024-03-28 23:29:42 +08:00
RD42
a4ae2c88df [saco] Implement CUnkClass8 constructor 2024-03-28 23:25:57 +08:00
RD42
1c679ea374 [saco] Implement CUnkClass7 constructor 2024-03-27 23:29:41 +08:00
RD42
408b637e3c [saco] Implement CSvrNetStats 2024-03-27 23:27:18 +08:00
RD42
531911be69 [saco] Implement CUnkClass6 constructor 2024-03-27 22:47:09 +08:00
RD42
890477a533 [saco] Implement CUnkClass5 constructor 2024-03-26 23:52:21 +08:00
RD42
8ef36cc71e [saco] Implement CUnkClass4 constructor 2024-03-26 23:50:28 +08:00
RD42
6241c3d9a2 [saco] Implement CUnkClass3 constructor 2024-03-25 23:10:42 +08:00
RD42
44199a40f8 [saco] Implement CUnkClass2 constructor
* Implement `CUnkClass2::sub_1006E930()`
2024-03-25 23:09:08 +08:00
RD42
6d646178a4 [saco] Implement CUnkClass1 constructor 2024-03-25 23:01:51 +08:00
RD42
d17a278bcd [saco] Fix compilation errors 2024-03-22 23:47:43 +08:00
RD42
bbf72d218d [saco] Implement all CSpawnScreen member functions
* Updates `DoInitStuff()`
2024-03-20 23:49:06 +08:00
RD42
a7b92a2f3d [saco] Add CDeathWindow stub constructor 2024-03-20 23:46:57 +08:00
RD42
57f5d13be0 [saco] Fix CChatWindow constructor declaration 2024-03-20 23:45:19 +08:00
RD42
7aab86cc96 [saco] Update CCmdWindow constructor 2024-03-20 23:43:00 +08:00
RD42
79572bb0f8 [saco] Update CChatWindow constructor
* Update `DoInitStuff()`
* Add `CChatWindow::CreateFonts()` stub
2024-03-20 23:39:55 +08:00
RD42
75d426fbee [saco] Add DirectX .lib files 2024-03-16 23:40:38 +08:00
RD42
d89893ce91 [saco] Implement few CCamera member functions
* Implement `CCamera::sub_1009D660()`
* Implement `CCamera::sub_1009D6B0()`
* Implement `CCamera::GetDistanceFromPoint(...)`
* Implement `unnamed_100B4B50(...)`
2024-03-16 23:35:28 +08:00
RD42
d32fb4e22f [saco] Implement GameGetWeaponModelIDFromWeaponID 2024-03-16 23:29:52 +08:00
RD42
b6d8c9c215 [saco] Update DoProcessStuff()
* Add `CNetGame::Process()` stub
* Add `CNetGame::UpdateNetwork()` stub
* Implement `GetPacketID(...)`
* Implement `HasTimestamps()`
2024-03-16 23:28:06 +08:00
RD42
3687b95a9d [saco] DllMain jump? 2024-03-14 23:56:03 +08:00
RD42
e8c56e3085 [saco] Implement ID3DXFontHook functions 2024-03-14 23:48:25 +08:00
RD42
80089f972e [saco] Implement texture related functions 2024-02-27 23:40:59 +08:00
RD42
8dca484dc7 [saco] Implement few CGame member functions
Implements:
* `CGame::GetActiveInterior()`
* `CGame::UpdateFarClippingPlane()`
* `CGame::AddToLocalMoney(...)`
* `CGame::GetLocalMoney()`
* `CGame::DisplayGameText(...)`
* `CGame::DisableRaceCheckpoint()`
2024-02-27 23:37:45 +08:00
RD42
f5fd849bc3 [saco] Implement CEntity::TeleportTo(...)
Implements:
* `CEntity::GetModelIndex()`
* `CEntity::TeleportTo(...)`
2024-02-27 21:25:04 +08:00
RD42
ff72a169a7 [saco] Update DumpMain(...) 2024-02-27 21:20:51 +08:00
RD42
ab608ee0ef [saco] Implement CAudio class member functions
Implements:
* `CAudio::GetRadioStation()`
* `CAudio::StartRadio(...)`
* `CAudio::GetRadioVolume()`
* `CAudio::StopOutdoorAmbienceTrack()`
* `CAudio::SetOutdoorAmbienceTrack(...)`
* `CAudio::PlaySound(...)`
* `CAudio::IsOutdoorAmbienceTrackDisabled()`
2024-02-26 23:40:36 +08:00
RD42
f398b9c82c [saco] Implement util functions
Implements:
* `WorldAddEntity(...)`
* `WorldRemoveEntity(...)`
* `GameDisableCheatCodes()`
* `GamePool_Ped_GetAt(...)`
* `GamePool_Ped_GetIndex(...)`
* `GamePool_Vehicle_GetAt(...)`
* `GamePool_Vehicle_GetIndex(...)`
* `GamePool_Object_GetAt(...)`

* Updates `InitPlayerPedPtrRecords()`
2024-02-26 23:05:29 +08:00
RD42
673ec195bc [saco] Update DoInitStuff() 2024-02-26 22:57:09 +08:00
RD42
089ff5df25 [saco] Macros for ed2ec894c99fa6798eeb74ab9cf5fa3ecf45accc 2024-02-21 19:35:39 +08:00
RD42
6dc2f60412 [saco] Implement few unnamed CEntity member functions
Implements:
* `CEntity::sub_1009EE90()`
* `CEntity::sub_1009EEB0()`
* `CEntity::sub_1009EEF0(...)`
* `CEntity::sub_1009EF20(...)`
* `CEntity::sub_1009FDE0()`
2024-02-21 19:32:18 +08:00
RD42
6929accc69 [saco] Implement ProcessLineOfSight(...) 2024-02-21 19:18:21 +08:00
RD42
aeda9835f3 [saco] Implement SHA1_HashData(...) 2024-02-21 19:16:31 +08:00
RD42
824e446786 [saco] Implement CNetGame map icon functions
Implements:
* `CNetGame::SetMapIcon(...)`
* `CNetGame::DisableMapIcon(...)`
* `CNetGame::ResetMapIcons()`
2024-02-21 19:04:26 +08:00
RD42
3586ab1c9e [saco] Implement CGame::DisableMarker(...) 2024-02-21 18:58:07 +08:00
RD42
ed2ec894c9 [saco] Implement CGame::CreateRadarMarkerIcon(...) 2024-02-21 18:54:22 +08:00
RD42
cfef4a1af2 [saco] Implement CConfig::ReadFile()
* Renames `CConfig::sub_10066270()` to `CConfig::AddConfigEntry(...)`
2024-02-20 23:39:56 +08:00
RD42
17aa0c8eee [saco] Implement CArchiveFS class member functions 2024-02-20 23:37:17 +08:00
RD42
d0e488b35e [saco] Implement unnamed_100B6100(...) 2024-02-19 21:32:38 +08:00
RD42
2bade13e0c [saco] Implement CConfig ctor 2024-02-19 21:31:01 +08:00
RD42
f48407e96f [saco] Implement IDirect3DDevice9Hook class 2024-02-19 21:28:23 +08:00
RD42
cb7bdd1950 [saco] Add detours.h to the project 2024-02-19 21:22:21 +08:00
RD42
bc5ef7e0b1 [saco] Implement HookRwRenderStateSet()
Implements:
* `HookRwRenderStateSet()`
* `RwRenderStateSetHook()`
2024-02-19 21:20:00 +08:00
RD42
c486b3b26e [saco] Implement SetupD3DFog(...) 2024-02-19 21:16:42 +08:00
RD42
1f9d252063 [saco] Implement WriteRwRasterToFile() 2024-02-19 21:13:45 +08:00
RD42
6d31d17632 [saco] Implement CEntity Set/GetTurnSpeedVector 2024-02-19 21:10:50 +08:00
RD42
73935d422a [saco] Implement CGame::GetWeaponName 2024-02-19 21:08:29 +08:00
RD42
66174a720f [saco] Implement rest of CGangZonePool member functions 2024-02-18 23:26:49 +08:00
RD42
6ea7682c3c [saco] Implement CEntity::sub_1009ED40(...) 2024-02-18 22:44:02 +08:00
RD42
17dcdb62f0 [saco] Implement CEntity Set/GetMoveSpeedVector 2024-02-18 22:43:14 +08:00
RD42
ff4a8795f2 [saco] Add DoInitStuff() and DoProcessStuff()
* Updates `TheGraphicsLoop()`
2024-02-18 22:05:04 +08:00
RD42
bd5ff19c90 [saco] Implement few CGame member functions
Implements:
*  `CGame::RequestModel(...)`
* `CGame::LoadRequestedModels()`
* `CGame::IsModelLoaded(...)`
* `CGame::SetWorldWeather(...)`
* `CGame::GetWorldWeather()`
* `CGame::IsHudEnabled()`
* `CGame::SetFrameLimiterOn(...)`
* `CGame::IsFrameLimiterEnabled()`
* `CGame::EnableFrameLimiter()`
* `CGame::SetFrameLimit(...)`
* `CGame::SetMaxStats()`
* `CGame::DisableTrainTraffic()`
* `CGame::RefreshStreamingAt(...)`
* `CGame::RequestAnimation(...)`
* `CGame::IsAnimationLoaded(...)`
* `CGame::ReleaseAnimation(...)`
* `CGame::ToggleRadar(...)`
2024-02-18 21:46:45 +08:00
RD42
efa55de427 [saco] Implement CGangZonePool ctor 2024-02-18 21:21:09 +08:00
RD42
87f94769e8 [saco] Update CNetGame constructor 2024-02-16 22:32:43 +08:00
RD42
96cd12248f [saco] Implement CTextDrawPool constructor 2024-02-16 22:32:25 +08:00
RD42
f854edac06 [saco] Implement CEntity::sub_1009EC80() 2024-02-16 22:27:57 +08:00
RD42
7565bc1bc1 [saco] Implement cmdDebugLabels(...) 2024-02-16 22:23:35 +08:00
RD42
58263d0e96 [saco] Implement UninstallFileSystemHooks()
* Updates `DllMain(...)`
2024-02-16 22:20:59 +08:00
RD42
29c3a8b351 [saco] Implement Arch_ShowCursor(...) 2024-02-16 22:18:00 +08:00
RD42
1649a5c975 [saco] Implement CGame::IsGameLoaded() 2024-02-16 22:16:57 +08:00
RD42
0bd8c87f21 [saco] Implement cmdDefaultCmdProc(...)
* Adds ` CLocalPlayer::Say(...)` stub
2024-02-16 22:15:16 +08:00
RD42
3b45f9932c [saco] Implement CLocalPlayer ctor
* Updates CGame ctor
* Implements `CGame::FindPlayerPed()`
* Implements `CLocalPlayer::ResetAllSyncAttributes()`
* Updates CPlayerPool ctor
2024-02-15 22:41:04 +08:00
RD42
696ec417f8 [saco] Implement CPlayerPed ctor 2024-02-15 22:23:36 +08:00
RD42
3e6824e686 [saco] Implement PedPtrRecord functions
Implements:
* `InitPlayerPedPtrRecords()`
* `SetPlayerPedPtrRecord(...)`
* `GetPlayerPedPtrRecord(...)`
* `FindPlayerNumFromPedPtr(...)`
2024-02-15 21:56:14 +08:00
RD42
1a6f6c55e4 [saco] Implement GamePool_FindPlayerPed() 2024-02-15 21:41:26 +08:00
RD42
adce37adc0 [saco] Implement InstallShowCursorHook() 2024-02-14 23:26:23 +08:00
RD42
53c6b978c2 [saco] Implement InstallFileSystemHooks() 2024-02-14 23:23:26 +08:00