1614 Commits

Author SHA1 Message Date
Quentin
f9c948f909
fix(teleport): code reuse / fix lot of unnecessary logic running for tping our own ped. (#2246) 2023-10-13 00:10:18 +02:00
lonelybud
bb4ec59086
fix(metadata): build version 3028 (#2270) 2023-10-13 00:04:47 +02:00
Quentin
8c6a9303cb
queue_dependency: remove outdated hardcoded dependency callers offsets, no more use since we have a game skeleton update hook now. (#2268) 2023-10-12 23:35:04 +02:00
Quentin
7ad35bb3d7
Fix lua explosion bypass (#2255)
* move explosion_anti_cheat_bypass to its own file

* fix(lua): make sure lua user don't get tapped by game ac when using ADD_OWNED_EXPLOSION
2023-10-12 23:34:46 +02:00
Quentin
547fa1e137
fix(self menu gui): fix self menu erroring when not yet in the game but still in the main menu / first loading screen (#2235) 2023-10-10 21:48:14 +02:00
maybegreat48
1f7167cbfb
Fix presence data pointer (#2243) 2023-10-10 21:47:17 +02:00
maybegreat48
ba5610af99
Actually fix integrity checks (#2232) 2023-10-08 21:33:12 +02:00
maybegreat48
05575a6357
Bypass integrity checks (#2216)
Closes #2215
Closes #2218
Closes #2220
Closes #2212
2023-10-07 17:19:46 +02:00
gir489
207e5457f9
Fixed persist outfit thinking the player was showering when they were not (#2203)
* Fixed a crash emanating from mobile_service::register_vehicles if the vehicle needed to be refreshed.
2023-09-27 09:41:24 +02:00
gir489
b7bac4dfe1
Redesigned Persist Car to utilize the subfolder the user already has selected. (#2198) 2023-09-26 22:21:57 +02:00
gir489
7cdbc2ca9c
Added clan logo to LS Customs menu. (#2199) 2023-09-26 22:02:16 +02:00
lonelybud
715af5203e
fix(LobbyLock): LOBBY_LOCK_ALLOW_FRIENDS checkbox (#2188)
Fixes #2024
2023-09-24 23:35:44 +02:00
lonelybud
26e42faeac
fix(LobbyLock): use multikick when lobby lock is enabled (#2189) 2023-09-24 23:14:28 +02:00
yubie
2a13ed7345
feat(anticheat): add bonus http blocker (#2186) 2023-09-24 23:13:14 +02:00
gir489
b28ce2188d
Fixed fillsnacks not working. (#2180) 2023-09-23 11:54:30 +02:00
gir489
afd3a5e943
Add Garage drop-down to Spawn PV menu (#2171)
* Fixed edge case where a garage that contained only banned vehicles would show if the user was using Spawn Clone.
Refactored a large portion of the garage code to be production ready.
Formatting changes.

* Added singular garage items to the m_garage setter like the Terrorbyte.

* Fixed is_blacklisted_vehicle returning an inverted condition.
Fixed Garage drop-down not updating properly.

* Separated out m_garage's setter into a ctor function.
Replaced the 4 singular garages that use an overloaded index with a define to be able to shift them easier when new properties are added.

* Removed obsolete and incorrect player.character_slot config entry.
Removed deprecated local_player.hpp.
Added self::char_slot that is guaranteed to be correct.

* Removed extraneous semi-colon.

* Added more stuff to fillsnacks.
Removed more extraneous usages of MPPLY_LAST_MP_CHAR.

* Added the vehicle's name to player info.

* Fixed get_property_garage_size returning the incorrect size for the facility.
Fixed get_static_property_name returning the Nightclub's name instead of Nightclub Service Entrance to maintain consistency with the Mechanic.
Fixed garage_slot_iterator not starting and ending at the correct indexes.

* Shifted the singular properties down one to compensate for the new math.

* Fixed backwards math on Terrorbyte and Nightclub B1.

* Fixed garage not being updated when the player moved the vehicle.

* Fixed backwards comments.
2023-09-22 23:16:33 +02:00
Quentin
92b6df7653
fix(player-db): restore old on-demand thread creation behavior. (#2167)
Fixes #2160
2023-09-21 20:08:23 +02:00
張致強
639d776267
fix(NoRecoil): remove sniper scope recoil (#2168) 2023-09-21 20:06:06 +02:00
gir489
04cfa46d78
Closes #2152 (#2156)
* Reduces natives called in hotkey_service::wndproc to prevent collisions.
* Removed debug code from carmod_shop::STAT_GET_INT
* Fixed #2152.
* Added sanity check to script thread in hotkey_service::wndproc.
Made is_mp_chat_active atomic to ensure cache coherence.
* Closes #2164
2023-09-20 16:27:39 +02:00
Quentin
1817ee9fda
fix(lua): Fix crash when trying to reload a non-existent script. (#2151) (#2162) 2023-09-20 14:51:23 +02:00
maybegreat48
5a2dfb90b6
fix(player_db): fix player database (#2166) 2023-09-20 14:48:44 +02:00
gir489
5e177ef151
Added Social Club check to hotkeys. (#2143)
Removed IS_PAUSE_MENU_ACTIVE check from hotkeys to facilitate teleporting to waypoints.
2023-09-18 23:14:30 +02:00
Quentin
5259d249f3
Small refactor: main start/cleanup threads logic (#2142) 2023-09-18 23:13:46 +02:00
gir489
347f33fb2d
Disable input when typing into a text field. (#2140)
Closes #2139
2023-09-17 22:23:26 +02:00
gir489
a4209c1b23
fix: CPlayerSectorPos false positives and bad math (#2136)
* Closes #2096
2023-09-17 22:18:20 +02:00
gir489
3e65e02eda
Various fixes (#2135) 2023-09-16 17:49:18 +02:00
maybegreat48
4b8e350628
Anticheat bypass fix (#2128) 2023-09-16 13:44:03 +02:00
張致強
59cc4f2aa7
fix(NoRecoil): GTAV-Classes offsets were changed (#2131)
Fixes #2120
2023-09-15 11:42:01 +02:00
張致強
0c6acb7581
feat(Vehicle): Added option to override vehicle weapons. (#2081) 2023-09-14 17:19:32 +02:00
Quentin
03b1668589
feat(cmake): enforce utf8 (#2115) 2023-09-12 20:20:29 +02:00
Quentin
52896b548f
Fix #1545 - ERR_MEM_EMBEDDEDALLOC_ALLOC Crash (#2116) 2023-09-12 20:19:24 +02:00
gir489
c2dd37c815
Add proper OOB calculation for CSectorDataNode. (#2103) 2023-09-11 18:06:24 +02:00
Andreas Maerten
43bf73ba56
fix(EmptySession): use translation in command label (#2112) 2023-09-10 22:24:13 +02:00
Andreas Maerten
9769b26870
fix(Hotkey): Single key not executing multiple hotkeys (#2111)
Closes #2000
2023-09-10 17:20:45 +02:00
Andreas Maerten
956d8110a0
fix(MultiKick): Crash when calling CNetGamePlayer::is_host (#2106) 2023-09-09 11:32:55 +02:00
Andreas Maerten
3385a0d7fb
feat(Settings): disable force relays by default (#2104)
* feat(ForceRelayCxnCmd): move label and desc to translations
* fix(TranslationService): Force updating languages wouldn't regenerate cache
2023-09-09 00:04:08 +02:00
Patryk
a3532a6436
(fix) Seatbelt values are set to opposite (#2085) 2023-09-08 23:58:51 +02:00
alyxme
29fdb5c3bc
Fix(freecam) unfreeze vehicle after freecam (#2101)
Closes #2093
2023-09-08 13:08:26 +02:00
GTMoraes
4025cbfa8d
Fix small typo in view_player_database.cpp (#2080) 2023-09-08 11:46:34 +02:00
Patryk
1594ee1f76
fix: Passive not working correctly (#2040) 2023-09-02 20:58:13 +02:00
gir489
c459ccc950
Replaced inline ints with JOAAT collisions so it can be auto typed properly by the compiler. (#2066) 2023-09-02 12:47:40 +02:00
Quentin
9149acf8d8
fix(renderer): Fix renderer callbacks called for nothing. (#2073) 2023-09-02 12:46:40 +02:00
gir489
cf07cfec04
Redesigned Vehicle Spawn menus to have consistent features. (#2063)
Closes #2053
2023-08-31 15:43:55 +02:00
Andreas Maerten
4c6226d022
fix(MultiKick): check against player nullptr (#2057)
* fix(MultiKick): check player ptr before using it

* fix(Kick): guard other commands against nullptr player ptr
2023-08-29 23:58:44 +02:00
Andreas Maerten
4871dbd705
fix(GTADataService): not skipping bad dlc vehicles (#2055) 2023-08-29 23:22:10 +02:00
gir489
e58f9610b3
Refactored Allow All Vehicles in Heists to use the tunables service and backup the values before writing them. (#2036) 2023-08-28 12:56:29 +02:00
gir489
100de3fee5
Rework Keep Vehicle Repaired to remove damage decals properly. (#2044)
* Keep Vehicle Repaired now uses CDecalManager to remove damage decals which allows it to ignore clan and livery decals.

* Added more conditions to call SET_VEHICLE_FIXED to fix things like the R88 breaking its shell off.
Fixed Seatbelt having inverted conditions.

* Fixed keep_vehicle_repaired repairing things it doesn't need to repair if godmode/always clean is on already.
Fixed spawn_vehicle_json not applying the radio station.

* Consolidated signature for CDecalMgr::ClearDecals and its static instance.
2023-08-28 11:35:17 +02:00
gir489
cf333d0611
Incorporate folders into the Persist Vehicles feature. (#2042) 2023-08-27 21:32:14 +02:00
gir489
5991f0ca29
Handle CR/LF characters better for Import From Clipboard. (#2021) 2023-08-25 08:54:24 +02:00
gir489
b19cf9c26d
Various fixes for Vehicle Extras. (#2019) 2023-08-25 08:53:24 +02:00