Commit Graph

1783 Commits

Author SHA1 Message Date
張致強
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
GTMoraes
62c0c30c1a feat(Handling): Allow a broader range on the sliders (#1986) 2023-08-18 16:03:10 +02:00
kbabrmover1995
182a80a951 Sending all kick methods (#1921) 2023-08-12 20:45:28 +02:00
gir489
e9f206c0df Added check for IS_VEHICLE_DOOR_DAMAGED in keep_vehicle_repaired. (#1933)
Fixed Selected Teleport not showing up in hotkeys menu.
Added Yim's Vehicle cleanup code from the halted PR.
2023-08-07 10:16:08 +02:00
gir489
09f80534c8 Fixed regression issue with rocket boosting while using Hold for Boost scenario. (#1929) 2023-08-06 20:52:55 +02:00
gir489
a811aa65d8 Fixed KERS boost not being handled by vehicle_boost_behavior. (#1922) 2023-08-06 10:36:48 +02:00
DayibBaba
a1daa92665 Ped animations interface (#1668) 2023-08-04 14:43:35 +02:00
Andreas Maerten
7b11122e83 refactor(ThreadPool): dynamically scale based on demand (#1912) 2023-08-03 12:56:05 +02:00
Andreas Maerten
d8aae8df13 Disable path traversal for Project File/Folder and added Session Switch command (#1908) 2023-08-02 21:38:22 +02:00
gir489
cc1beeba7c Fix personal vehicles getting godmode removed when you leave them. (#1907) 2023-08-01 22:30:21 +02:00
gir489
f0947ae489 fix(Handling): large steps on drag float (#1904)
Closes #1903
2023-08-01 16:04:51 +02:00
MoneyDropLobby
c44cd0f078 chore: Use override keyword in commands to make sure virtual funcs are properly overwritten (#1897) 2023-08-01 11:10:14 +02:00
gir489
adefa3bc7e Use ImGui::SetClipboardText instead of inline function. (#1902) 2023-07-31 23:39:40 +02:00
gir489
8854d78560 Debug: implement debugging tools for scripts (#1899)
Closes #1664
2023-07-31 22:34:10 +02:00
Londiuh
fb33819d98 fix(session): sctv spectator not being enabled (#1887) 2023-07-30 01:08:07 +02:00
Quentin
0e0b4d46a4 fix(lua): fix script array iterator being potentially invalidated while iterating due to new scripts that could be added and the vector getting reallocated due to it. (#1883) 2023-07-29 11:22:04 +02:00
Bugisoft
ae97322ece Fix vfx::enable_custom_sky_color not saved (#1882) 2023-07-29 00:16:50 +02:00
Quentin
2fb59b5046 fix(lua): input_float:get_value() was returning the wrong type (#1879) 2023-07-28 13:59:22 +02:00
Quentin
d1baedc5a4 Feat lua stats (#1875) 2023-07-28 10:07:17 +02:00
Andreas Maerten
4b1fd88f6c refactor!: Modify command argument handling and move on_ method to bool_command (#1826) 2023-07-26 22:22:40 +02:00
HCR-750F
d590313e4e Fix crash reaction and add more translation key (#1850) 2023-07-26 18:26:09 +02:00