1603 Commits

Author SHA1 Message Date
maybegreat48
b0c4c86f48 Actually fix integrity checks (#2232) 2023-10-08 21:33:12 +02:00
maybegreat48
2d2a5c51a2 Bypass integrity checks (#2216)
Closes #2215
Closes #2218
Closes #2220
Closes #2212
2023-10-07 17:19:46 +02:00
gir489
078e8fd6c9 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
67ba9f605d Redesigned Persist Car to utilize the subfolder the user already has selected. (#2198) 2023-09-26 22:21:57 +02:00
gir489
90f095ba51 Added clan logo to LS Customs menu. (#2199) 2023-09-26 22:02:16 +02:00
lonelybud
c976a3cb42 fix(LobbyLock): LOBBY_LOCK_ALLOW_FRIENDS checkbox (#2188)
Fixes #2024
2023-09-24 23:35:44 +02:00
lonelybud
d4d934e565 fix(LobbyLock): use multikick when lobby lock is enabled (#2189) 2023-09-24 23:14:28 +02:00
yubie
44f7f0b77a feat(anticheat): add bonus http blocker (#2186) 2023-09-24 23:13:14 +02:00
gir489
22f581068f Fixed fillsnacks not working. (#2180) 2023-09-23 11:54:30 +02:00
gir489
220e995035 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
247536aacc fix(player-db): restore old on-demand thread creation behavior. (#2167)
Fixes #2160
2023-09-21 20:08:23 +02:00
張致強
bb3c3d738e fix(NoRecoil): remove sniper scope recoil (#2168) 2023-09-21 20:06:06 +02:00
gir489
bc36de5d2f 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
25a2d2b32e fix(lua): Fix crash when trying to reload a non-existent script. (#2151) (#2162) 2023-09-20 14:51:23 +02:00
maybegreat48
921c8a14f9 fix(player_db): fix player database (#2166) 2023-09-20 14:48:44 +02:00
gir489
e284e30ab8 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
0813fa50d8 Small refactor: main start/cleanup threads logic (#2142) 2023-09-18 23:13:46 +02:00
gir489
548c9d80a3 Disable input when typing into a text field. (#2140)
Closes #2139
2023-09-17 22:23:26 +02:00
gir489
3bfc632f44 Various fixes (#2135) 2023-09-16 17:49:18 +02:00
maybegreat48
f3e2d95d81 Anticheat bypass fix (#2128) 2023-09-16 13:44:03 +02:00
張致強
68ed7d54a5 fix(NoRecoil): GTAV-Classes offsets were changed (#2131)
Fixes #2120
2023-09-15 11:42:01 +02:00
張致強
8beccb63c5 feat(Vehicle): Added option to override vehicle weapons. (#2081) 2023-09-14 17:19:32 +02:00
Quentin
18bd117783 feat(cmake): enforce utf8 (#2115) 2023-09-12 20:20:29 +02:00
Quentin
e0ae6837d0 Fix #1545 - ERR_MEM_EMBEDDEDALLOC_ALLOC Crash (#2116) 2023-09-12 20:19:24 +02:00
gir489
e4349c6e2a Add proper OOB calculation for CSectorDataNode. (#2103) 2023-09-11 18:06:24 +02:00
Andreas Maerten
af53f6a76b fix(EmptySession): use translation in command label (#2112) 2023-09-10 22:24:13 +02:00
Andreas Maerten
2c5bab8241 fix(Hotkey): Single key not executing multiple hotkeys (#2111)
Closes #2000
2023-09-10 17:20:45 +02:00
Andreas Maerten
1a1c1b8e0a fix(MultiKick): Crash when calling CNetGamePlayer::is_host (#2106) 2023-09-09 11:32:55 +02:00
Andreas Maerten
d1821dc2b8 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
518e666831 (fix) Seatbelt values are set to opposite (#2085) 2023-09-08 23:58:51 +02:00
alyxme
f7064d9dde Fix(freecam) unfreeze vehicle after freecam (#2101)
Closes #2093
2023-09-08 13:08:26 +02:00
GTMoraes
cdfb15816e Fix small typo in view_player_database.cpp (#2080) 2023-09-08 11:46:34 +02:00
Patryk
e814772a28 fix: Passive not working correctly (#2040) 2023-09-02 20:58:13 +02:00
gir489
5a356dd795 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
1ac4cfa3d8 fix(renderer): Fix renderer callbacks called for nothing. (#2073) 2023-09-02 12:46:40 +02:00
gir489
241f3cbe58 Redesigned Vehicle Spawn menus to have consistent features. (#2063)
Closes #2053
2023-08-31 15:43:55 +02:00
Andreas Maerten
c9dff44671 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
ab0bb709fe fix(GTADataService): not skipping bad dlc vehicles (#2055) 2023-08-29 23:22:10 +02:00
gir489
370b88acf4 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
5eccb9def4 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
ac41a7175b Incorporate folders into the Persist Vehicles feature. (#2042) 2023-08-27 21:32:14 +02:00
gir489
2924335196 Handle CR/LF characters better for Import From Clipboard. (#2021) 2023-08-25 08:54:24 +02:00
gir489
9a90feebe8 Various fixes for Vehicle Extras. (#2019) 2023-08-25 08:53:24 +02:00
Niuu
cc9cfc2703 (feat) Add passive toggle switch button and hotkey (#2015)
* (fix) Disable looped "time to end passive" in weaponized vehicles
2023-08-24 22:56:35 +02:00
alyxme
5c4f16a474 (feat) option Fix to context menu (#1962) 2023-08-24 22:07:35 +02:00
gir489
afa79d8600 Move all global indices into scr_globals.hpp. (#2018) 2023-08-24 22:06:50 +02:00
gir489
04405eb9ae More general fixes (#2011)
* Closes #2008
* Closes #2016
* Closes #1917
* Closes #2012.
2023-08-24 20:23:50 +02:00
gir489
52a5f4acec Fixes Idle Kick to replace the globals that freemode.c4 uses to determine idle time. (#1979) 2023-08-19 13:02:26 +02:00
T14D3
ef60489e16 Various fixes (#1983)
* Closes #1928
* Closes #1925
* Closes #1864
2023-08-19 13:01:59 +02:00
maybegreat48
4a5dccd547 Huge protection improvements and other stuff (#1963)
* feat(protections): add a fuzzer
* feat(protections): improve protections
* feat(spoofing): add warning
* feat(world): force object cleanup
* fix(weapons): fix custom weapon code
* fix(weapons): fix for #1983
2023-08-19 13:01:08 +02:00