Commit Graph

1515 Commits

Author SHA1 Message Date
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
Londiuh
69d167e451 fix: 'Copy Session Info' button not working (#1855) 2023-07-26 18:24:00 +02:00
Yimura
b057af6fae fix: don't call original on prepare_metric_for_sending 2023-07-25 18:10:32 +02:00
MegaMemeMoment
45600d7306 fix(hooks): return types (#1834)
fixes a bunch of return types that were seemingly copied from IDA without manual verification
2023-07-25 15:52:21 +02:00
Quentin
822d309b5c fix(vehicle-god): fix armored vehicles losing armor when vehicle god get disabled. (#1794) 2023-07-25 15:43:28 +02:00
Quentin
045961729f * fix(cmake): Commit messages may have "quotes" in them, which can affect the const char* variable. (#1840) 2023-07-25 14:26:48 +02:00
HCR-750F
f593d85af6 chore: Add "Timeout" as a reaction (#1837) 2023-07-25 11:00:21 +02:00
Rxann
17e79dbaaa Added Empty lobby button (#1812) 2023-07-24 22:10:44 +02:00
Andreas Maerten
8b415d5186 fix(byte_patch): sometimes the page protections get modified between apply and restore: make sure the protections are fine for us to memcpy. (#1831)
* feat(BytePatch): add is_active member function
* fix(byte_patch): sometimes the page protections get modified between the apply and restore of the byte_patch, make sure the protections are fine for us to memcpy

Co-authored-by: Quentin E. / iDeath <xiaoxiao921@hotmail.fr>
2023-07-24 16:13:09 +02:00
Quentin
cad5e803c1 refactor(detour_hook): don't use detour hook pointers, should speed up hooks ticking (skip a deref compared to before) (#1827) 2023-07-24 09:40:28 +02:00
Andreas Maerten
069d7041f8 refactor: make window hook into a bool command (#1824) 2023-07-23 22:52:30 +02:00
gir489
181a34baa0 Fixed Debug Locals using improper casting for the float scenario. (#1823) 2023-07-23 19:54:01 +02:00
Quentin
8e7b16ce6d feat(noclip): fix aim nullifying noclip speed. (#1791)
* keep using SET_ENTITY_VELOCITY when not aiming
* provide GUI for editing speed of noclip
2023-07-23 18:56:08 +02:00
TheGreenBandit
3eacc0998c Rework rgb for fun vehicle and paintgun (#1783)
Closes #1819
2023-07-23 18:51:57 +02:00
maybegreat48
57f6eab74a Force relay connections (#1813)
* feat(protections): add force relay servers
* feat(network): add support for non-direct connections
* feat(info): add helpful tooltip to prevent unnecessary bug reports
2023-07-23 18:47:25 +02:00
gir489
b6ee8e38bc Fixed typo in view_debug_locals that caused freezing floats to inject garbage. (#1820) 2023-07-23 18:38:22 +02:00
gir489
cdfcb2a831 fix: Issues with missions and request control (#1785)
Closes #899
Closes #1787
Closes #1788
2023-07-23 15:01:46 +02:00
maybegreat48
a0f2b01540 Improve protections and other random changes (#1803)
* feat(protections): better logging
* feat(protections): improve protections
* fix(globals): save all spoofing settings
2023-07-22 23:18:47 +02:00
kbabrmover1995
e3d0deb605 Reaction on any modder detection (#1772)
* Closes #1676

Co-authored-by: Quentin E. / iDeath <xiaoxiao921@hotmail.fr>
2023-07-22 21:44:38 +02:00