747 Commits

Author SHA1 Message Date
DayibBaba
9a610851cb New Flying feature (#2206)
* Remove ultra trash feature
* Added extra raycast
* refactor(OptionsModal): Support translations
* feat(Components): added input float
* feat(SuperHeroFly): converted code to commands and move strings to translations

---------

Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
2023-11-04 00:22:43 +01:00
DayibBaba
5d391acfe0 Vehicle control additions & fixes (#1926)
* Removed summon distance & car only check
* Changed raw UI elements to components.
* Added selection methods
* feat(VehicleController): add translation strings

Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
2023-11-04 00:22:07 +01:00
Andreas Maerten
6ed257f67c fix(SpeedoMeter): drawing inside of phone (#2378) 2023-11-03 21:31:09 +01:00
gir489
bcdb61e189 Fixed persist vehicle preview system only working if you hovered over the delete button. (#2379) 2023-11-03 21:30:52 +01:00
gir489
cf457e15c8 Refactored writing RandomID into a set that's locally tracked by the user. (#2376) 2023-11-03 18:34:22 +01:00
gir489
ac4304eb67 Translation changes requested from sch-ida. (#2371) 2023-11-03 16:07:28 +01:00
gir489
71cc48fd38 Made X button unique in Persist Vehicle. (#2361) 2023-10-31 20:35:56 +01:00
Andreas Maerten
debe7892d1 fix: thread pool rescaling incorrectly (#2357) 2023-10-31 20:21:40 +01:00
gir489
31cc932995 Fixed Rain Vehicles using static text. (#2346) 2023-10-30 22:01:33 +01:00
gir489
7c3565d9bf Added a delete button to Persist Vehicle. (#2354) 2023-10-30 21:29:30 +01:00
Andreas Maerten
487da0ac76 refactor: Implement HTTP client with proxy support (#2146) 2023-10-30 21:18:32 +01:00
YimMenuTheBest
43ab3e2233 refactor(IPL's): fix crashes and general improvements (#2304) 2023-10-23 23:33:01 +02:00
Quentin
b9b5315923 fix(vehicle fix all): fix incorrectly fixing everyone vehicles instead of only the targeted one (#2332) 2023-10-23 20:56:13 +02:00
gir489
e6f0bba9b8 Refactor duration_cast calls to use implicit time calculations without extraneous count calls. (#2333) 2023-10-23 20:55:45 +02:00
gir489
9dacd3c230 Various translation fixes (#2322)
* Closes #2321
2023-10-22 00:10:46 +02:00
gir489
79df8bc021 Converted all static strings to translation keys. (#2284) 2023-10-20 18:24:44 +02:00
gir489
cc911253d0 Fixed LOCAL_CPED translation keyword not being in all uppercase. (#2274) 2023-10-13 17:01:25 +02:00
Quentin
7869c254f2 Feat(lua-doc): Make sure that the MPX -> MP0/MP1 behavior for stats function is documented. (#2251) 2023-10-13 00:14:02 +02:00
Quentin
3293b374a8 feat(lua): expose take_control_of (#2249) 2023-10-13 00:13:39 +02:00
gir489
6137d4cefc Fixed bug with persist_car_service not saving the tire smoke color. (Closes #2239) (#2261) 2023-10-13 00:13:15 +02:00
Quentin
81db20d2c8 fix(lang): fix crash when clicking on Settings when translation json are unreachable (#2265) 2023-10-13 00:12:49 +02:00
gir489
6a56113e7c Removed OUTFIT_UNKs from props_t. (#2258) 2023-10-13 00:12:10 +02:00
Quentin
5515c841a1 feat(lua): Allow lua scripts to flag modders with a custom reason if needed. (#2248) 2023-10-13 00:11:37 +02:00
Quentin
3323e1c43f fix(teleport): code reuse / fix lot of unnecessary logic running for tping our own ped. (#2246) 2023-10-13 00:10:18 +02:00
Quentin
af1050f5ae 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
2d2f4368fd 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
b43dfc82f8 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
7689d0e11c Fix presence data pointer (#2243) 2023-10-10 21:47:17 +02:00
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
e0ae6837d0 Fix #1545 - ERR_MEM_EMBEDDEDALLOC_ALLOC Crash (#2116) 2023-09-12 20:19: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
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
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
Quentin
37296c1498 lua: sub folders support, check for .lua file extension, refactor and simplify internals. (#1775) 2023-07-22 13:05:43 +02:00
Quentin
8253b58055 feat(lua): Add entities.get_all_vehicles_as_handles() Add entities.get_all_peds_as_handles() Add entities.get_all_objects_as_handles() (#1795) 2023-07-21 21:21:51 +02:00
Quentin
5b1fd3e01c feat(debug): log msvc c++ exception properly. (#1790) 2023-07-21 16:00:01 +02:00
Bugisoft
3e5cad97e9 Custom Sky Color and unify some stuff (#1779) 2023-07-20 22:46:32 +02:00
gir489
248fd36542 Added Teleport to Selected Blip and associated hotkey. (#1774) 2023-07-20 00:08:29 +02:00
gir489
9da6fe3ec3 Apply vehicle god mode to personal vehicle even when not driving it (#1771)
Closes #1768
2023-07-19 17:21:34 +02:00
gir489
d12eb8ed6e Persist Outfit changes. (#1765)
* Fixed self_persist_outfit checking if the player was in a cutscene instead of if the player was dead.
1st attempt to fix the player trying to take off his helmet if it was added by persist outfit.

* Fixed Persist Outfit not saving persist_outfits_mis.
2023-07-19 09:29:07 +02:00
Quentin
497781b048 feat(lua): Add tab:is_selected function to check if the tab is the currently selected one in the GUI. (#1763) 2023-07-19 09:28:22 +02:00
gir489
1fa7f3448b Fixed Debug Globals displaying value as a 64-bit integer and not a 32-bit integer. (#1761)
Resolves #1760.
2023-07-18 20:46:38 +02:00
Quentin
73d23dd34b fix(lua): move bindings to cpp files (#1757) 2023-07-18 13:07:33 +02:00
Rxann
9755f4f960 Allow Friends Into Locked Lobby (#1747) 2023-07-18 10:42:14 +02:00
gir489
d3b3e57899 Custom teleport added euler angles and added persist outfit (#1743)
* Addressed #1694: Added Euler angles to telelocation JSON object.
* Added Persist Outfits to resolve #1669
2023-07-18 10:16:26 +02:00
Sixhei Tartari
f040e72b37 fix(Protections): Fixed how the reset protections is handled (#1745) 2023-07-18 09:59:20 +02:00
Quentin
16dc6ec6e6 fix(ci): native split (#1752) 2023-07-18 09:30:03 +02:00
Quentin
20ccf1a89b fix(ci): tentative fix for compiler out of heap space (#1746) 2023-07-17 22:57:14 +02:00
Quentin
664b5c6c40 feat(lua): much more complete imgui bindings, allow lua imgui callbacks from outside yimmenu classic tabs through gui.add_imgui(func) but also inside yimmenu classic tabs through tab:add_imgui(func) (#1736) 2023-07-17 14:55:42 +02:00
Quentin
0417fbf0f9 fix(lua): better exception handling (#1734) 2023-07-16 23:32:34 +02:00
gir489
8d01f497e7 Fixed issue #1727 DIRT_LEVEL is calling natives inside the presentati… (#1732) 2023-07-16 23:31:27 +02:00
Andreas Maerten
2f143f6f4e feat(Dbg): disable GTA window hook (#1733) 2023-07-16 22:21:19 +02:00
gir489
6a30fa348c Refactored Allow All Weapons In Vehicle to force all vehicles to use … (#1730)
* Refactored Allow All Weapons In Vehicle to force all vehicles to use all GROUPs.
* Refactored project to not depend on src/gta files that already exist in the GTA-V-Classes project.
* feat(cmake): bump GTAV-Classes
2023-07-16 18:24:40 +02:00
Quentin
ae5cb4d42f fix(cache): weapon cache weapon types array not filled properly when filling from cache file (#1726) 2023-07-16 12:04:24 +02:00
Sixhei Tartari
a21fcba67c feat(Protections): Added buttons for controlling the states of protections (#1717) 2023-07-15 23:19:38 +02:00
Sixhei Tartari
6e69b73550 feat(Vehicle): Added vehicle dirt control (#1714) 2023-07-15 22:58:09 +02:00
maybegreat48
973121076e More player database improvements (#1725) 2023-07-15 22:37:20 +02:00
Quentin
a40b4a0dd8 fix(lua): log not supported lua functions (#1722) 2023-07-15 22:07:10 +02:00
TheGreenBandit
a193679445 Add more requests and reorganize network tab (#1709) 2023-07-15 00:57:30 +02:00
Andreas Maerten
9117c11a2c feat(ScriptGlobal): Allow for constexpr offset calculation (#1721) 2023-07-15 00:55:09 +02:00
TheGreenBandit
fa02f2e779 Tp, Paintgun, refractor rainbow controller, refractor raycast (#1708) 2023-07-14 23:31:03 +02:00
maybegreat48
71db1ca1fa Player database improvements (#1705)
* feat(protections): add per-player sync block options
* feat(player_database): improve player tracker
* fix(rapid_fire): remove unnecessary log statement
* fix(player_database): default state should be UNKNOWN, not INVALID
2023-07-14 11:02:47 +02:00
gir489
06cf2a579e Redesigned Debug Globals. (#1696) 2023-07-13 18:42:21 +02:00
Quentin
33433ff5b3 fix(rapid-fire): fix rapid fire for some reason not shooting from the weapon position but instead from the cam. Fix rapid fire not being available in vehicles. (#1700) 2023-07-13 16:50:30 +02:00
Quentin
0a5cca8c12 fix(lua) (#1697)
- sandbox stuff.
- Fix lua scripts that could run when their lua state was destroyed, causing chaos.
2023-07-13 09:36:13 +02:00
maybegreat48
bd84dbaa40 General improvements (#1693)
* remove(replay): remove replay interface
* fix(context_menu): better console controls
* feat(protections): improve protections
* feat(protections): actually fix parachute crash
* feat(protections): kick rejoin
* feat(context_menu): more context menu stuff
2023-07-12 19:03:29 +02:00
gir489
3b7c103873 Fixed Weapon Hotkeys and introduced Hold For Boost to Boost. (#1692)
* Fixed #1690.

* Added Hold For Boost to Boost Behavior.

* Added Teleport into Personal Vehicle and Toggle Vehicle Fly Mode as hotkeys.

* Fixed pvtp command not working if you were inside a building.
2023-07-12 18:55:53 +02:00
Andreas Maerten
5162cf98c7 fix(mobile): PV summon timer (#1689)
* feat(script_local): allow for global single instance definition
2023-07-11 23:53:15 +02:00
Andreas Maerten
6ec061a106 chore: remove chat profanity bypass (#1688)
Closes #1682
2023-07-11 23:14:46 +02:00
gir489
d997cfd3f6 Weapon Hotkeys (#1685) 2023-07-11 23:14:35 +02:00
Quentin
21277e4039 Fix(lua / script manager): Potential fix for stack overflow when yielding from lua scripts. Fix io / os lua libs being accessible. (#1681)
* fix(script-mgr / lua): first kill all scripts, then unload lua modules: because the lua scripts depend on lua state (which is stored inside lua module instance), killing the lua module first would not allow proper cleaning because of the lua state getting destroyed while the lua script might still be running.

* fix(unloading): Why even reset the fiber pool here?

* fix(lua): don't allow for io / os lua lib to be accessed for security reasons.

* fix(lua): Potential fix for C stack overflow error by using lua coroutine yielding instead of calling fiber yield directly from lua functions.

* feat(unloading): allow to unload in the main title screen. Also revert 309c374602 due to fiber pool being potentially exhausted, we want commands to have their cleanup code ran in priority.
2023-07-11 09:24:44 +02:00
Andreas Maerten
4349f5c6e5 fix(session): hard lock when switching too early (#1678) 2023-07-10 23:06:08 +02:00
Quentin
ac6d86b149 fix(gui): dont draw two gui separators at the top for lua only tab. (#1677) 2023-07-10 20:37:28 +02:00
Quentin
17d647dfa5 Log GTA error message boxes and don't make them close the game. (#1671)
* refactor: move utf 16 to code page string conversion to its own util file

* feat(error-handling): log error message box generated from gta.
2023-07-10 19:01:34 +02:00
Quentin
b8a7c9be70 fix lua gui: imgui Separator between modules instead of same line which is non sense (#1672) 2023-07-10 19:01:01 +02:00
Andreas Maerten
c4111b4f2e feat(GTA Cache): removed unused old code (#1663) 2023-07-10 00:40:47 +02:00
DayibBaba
27e66b9394 Custom teleport sub tab (#1652) 2023-07-09 23:03:05 +02:00
gir489
3dd9be8a95 Persist Weapons (#1647) 2023-07-09 23:01:42 +02:00
Quentin
5607c58c7e fix(cache): ignore modded rpfs. (#1651) 2023-07-09 16:05:41 +02:00
Quentin
38bbab4893 fix(cache): change how the game folder is retrieved, use GetModuleFileNameW instead of std::filesystem::path (#1645) 2023-07-08 18:13:19 +02:00
Andreas Maerten
5c6fb1064b refactor!: File Manager (#1633)
* feat(vscode): added launch.json to dbg
* feat(file_manager): Make use of a global instance
* feat(file_manager): Allow for file and folder instances to be empty
* refactor(GlobalsService): Update code of global service (untested)
2023-07-08 17:54:59 +02:00
gir489
b8922a9dba Refactored weapons.bin into weapons.json for extensibility and readability. (#1632)
* Refactored weapons.bin into weapons.json for extensibility and human readability.
Added weapon attachments scraping from the meta files (currently is missing a lot of attachments, more than half, requires RPF reading refactoring to fix.)
Added Ammunation to Self -> Weapons, because it's vital you protect yourself, the patriotic way.

* Fixed weapons.xml not properly populating all the components.
Refactored buttons to use components::button.

* Refactored the Attachments code to implicitly trust that the attachments will be there now.
Added proper versioning to the weapons.json file.
Removed debug logging from gta_data_service.cpp.

* Fixed Ammunation buttons.
Added loading message for the new weapons.json system.
Fixed a bug where two components shared the same name, the user could not select the 2nd component.
Fixed Attachments displaying an attachment from a previous weapon if the user changed weapons.

* Fixed Tint Apply button not using the components::button template.
2023-07-08 00:52:52 +02:00
Quentin
b6fae097aa fix(cache): fs::path.string() can throw when it try to convert windows utf16 wstring to multi byte std::string when user code page isnt utf8 (#1641) 2023-07-08 00:16:29 +02:00
DayibBaba
f71f899e6b Xml vehicles (Menyoo) (#1594) 2023-07-07 11:11:54 +02:00
maybegreat48
90ff1ece84 Fix GTA data service (#1635)
* fix(gta_data): service now parses unloaded RPF files
2023-07-07 07:57:38 +02:00
Andreas Maerten
172de938cc fix(PlayerInfo): money overflow (#1631) 2023-07-06 21:58:46 +02:00
Andreas Maerten
468c70f635 refactor(PlayerList): height calculation code +horizontal scroll fix (#1629)
Fixes #752
2023-07-06 20:35:42 +02:00
Andreas Maerten
e0dd2aa8e3 fix(CmdExecutor): Set sizing of input w/ frame padding (#1618) 2023-07-06 07:46:42 +02:00
Andreas Maerten
a7bcaae371 Fix windows that shouldn't move (#1617)
* fix(overlay): don't move while menu closed
* fix(CmdExecutor): don't move by user input
2023-07-05 23:54:06 +02:00
Sixhei Tartari
13d5d81cea feat(Vehicle Controller): Added vehicle window controls (#1607)
* feat(Overlay): Added Invisibility indicator and its able to save on unload
* feat(Vehicle Controller): Added vehicle window controls
2023-07-05 23:51:19 +02:00
gir489
feeaa2ddbd Added Always Full Ammo. (#1616) 2023-07-05 23:29:07 +02:00
maybegreat48
11cd9ab004 Mission fixes and modder detection improvements (#1598)
* feat(protections): improve protections
* fix: fix mission start
2023-07-05 09:30:06 +02:00
Quentin
abb7e17d83 Lua documentation: commands (#1595)
* lua api: fix command call null context

* lua doc: generate commands doc
2023-07-05 00:31:06 +02:00
Quentin
76afd97185 Lua: can make new tabs from lua scripts, doc generation for available tabs to use (#1593)
* lua api: add globals.get_uint and globals.set_uint

* lua doc: remove duplicate function check as we can overload so it doesn't make sense

* lua doc gen: add support for parsing the tabs enum

* gui: custom lua tabs don't have a `func` rendering function but can still have elements to draw

* lua doc: update generated doc

* chore: code style

* chore: minor spelling mistake

* chore: code style

* gui_service: add runtime removal of tabs

* refactor: make it so that it's less likely defining tabs and their translation key in a wrong way.

* lua api: ability to add custom tabs to the gui from lua
2023-07-05 00:30:57 +02:00
Sixhei Tartari
19f6487171 fix(Overlay): Added spacing for Enabled/Disabled text on overlay indicators (#1589) 2023-07-04 11:08:58 +02:00
Sixhei Tartari
a1e00b6d59 feat(Overlay): Added indicators for options like player & vehicle god mode, infinite ammo etc. & fixed Bull Shark Testosterone Request (#1580)
* fix(CEO Abilities): Fixed request bullshark testosterone script
* feat(Overlay): Added indicators for options like player & vehicle godmode etc.
2023-07-03 14:20:27 +02:00
Quentin
ed18f7e70d Lua: refactor script api, more doc, add button for Open Lua Scripts Folder (#1588)
* lua manager: pass down the scripts folder to the instance instead of hard coding calls to the file manager everywhere
* lua: add open lua scripts folder button
* lua api: change script binding so that user cannot by mistake try to sleep or yield in a non script context
2023-07-03 13:01:12 +02:00
Andreas Maerten
71960eddbb feat(PlayerDB): Added search button (#1579) 2023-07-02 22:55:06 +02:00
Quentin
b44b2f04e6 Feat lua file watch (#1584)
* feat lua: file watcher for lua script file: reload scripts if they got changed since they were initially loaded
* feat lua auto reload: enable / disable the feature through the ui and settings
2023-07-02 22:32:46 +02:00
tupoy-ya
e9ae5d5491 chore(natives.hpp)!: Updated natives to latest. (#1583)
fix(natives_gen.py): Don't save `DRAW_TEXTURED_POLY_WITH_THREE_COLOURS`.
refactor(natives_gen.py)!: Changed `NATIVE_DECL`to `static`.
2023-07-02 22:31:15 +02:00
Quentin
4c71be4142 Lua doc (#1552) 2023-07-02 00:59:02 +02:00
Andreas Maerten
346960b012 refactor!: General changes (#1578)
- Removed try catch from main.cpp for better error logging
- Added migration code to the YimMenu folder
- Renamed globals to settings
- refactor!: changed symlink
2023-07-02 00:52:36 +02:00
maybegreat48
f1f5d4f6c0 Set menu language to game language on first run (#1577)
* feat(translations): set menu language to game language on first run
* fix(translations): add exception handlers
* fix: more exception handlers
2023-07-02 00:25:40 +02:00
Quentin
2e70faa4ad Fix lua native bindings and lua script reload (#1575)
* fix: script manager and lua scripts: change the api so that the m_scripts array is only modified in a specific safe location: before it gets ticked.
* fix script manager: don't expose the script vector directly, for multithreading safety
* fix lua manager usage: don't iterate the module array without locking, nor un/load module from a script thread
* lua script: only do actual loading of lua modules in script mgr
* lua native bindin: fix pointer parameters, out C style parameters are returned as multiple return values lua-style
2023-07-01 22:40:17 +02:00
maybegreat48
6ae19c062e Chat delay fix and improved crash protections (#1572)
* feat(protections): filter invalid sector position from the player game state data node
* feat(chat): bypass chat delay
* fix(world): fix auto disarm
* fix(chat): true instant messaging
2023-07-01 00:03:17 +02:00
Andreas Maerten
64afb5b0cb fix: Context Menu crash & Vehicle God mode (#1571)
* fix(ContextMenu): nullptr dereference while drawing box
* fix(ESP): Vehicle God mode check if ped is actually driving
2023-06-30 20:38:30 +02:00
DayibBaba
1ab51f1e98 Custom location system (#1567) 2023-06-30 20:36:45 +02:00
DayibBaba
861ebdb2ae More bug fixes (#1557)
Fixed nearby features affecting players and local ped.
Removed faulty vehicle kick protection from can_apply

Fixes #1540
2023-06-30 13:38:44 +02:00
Andreas Maerten
464f2f90dc Bug fix time (#1549)
* fix(PlayerTP): Get Current only works once
* chore(README): removed features from TOC
* fix(ViewNetwork): SCTV join translation
* refactor: Use tunable service for no idle kick
* fix(Spoofing): check for valid model before spoofing
* feat(Spectate): Remove freeze and hide player blip
* fix(Spectate): case of chat not being visible as spectator.
* feat(Matchmaking): safer max search limit for match searching
* fix(Player/Toxic): Wanted Level small text translation
2023-06-28 11:20:48 +02:00
Andreas Maerten
618b50bd4c Fix settings::write_default_config & added reset all settings button (#1547)
* fix(settings): correctly write default settings
* feat(Settings): Added button to reset all settings
* fix(Settings): Use SeparatorText for subtitle
2023-06-27 20:24:08 +02:00
Quentin
dc18216263 lua: change the way native functions are binded (#1543) 2023-06-27 20:13:05 +02:00
DayibBaba
78986f7c02 General UI tweaks (#1538) 2023-06-27 14:05:44 +02:00
Quentin
a5b2c28c3b fix(CanApply): issue with selecting the correct datanode (#1533) 2023-06-25 23:04:01 +02:00
DayibBaba
c258ee2022 Vehicle tabs UI tweak (#1521) 2023-06-25 10:38:53 +02:00
DayibBaba
630159f65d Some fixes and requests (#1516)
* Removed Delete button and nearby.cpp

* Added player check for kill button

* Added delete vehicle button

* Fixed give armor & added vehicle god esp
2023-06-24 23:12:20 +02:00
Quentin
56e21320e1 fix(pointer cache): cache version should be sensitive to field count (#1512) 2023-06-23 14:56:40 +02:00
tupoy-ya
e0bd043588 feat(Outfit Editor): Add [+] & [-] buttons (#1441)
* And other general UI improvements
2023-06-23 10:44:06 +02:00
Andreas Maerten
ef86872235 fix: Bool CMD hotkey toggle message showing translation key (#1510)
* feat(TranslationService): introduced fallback key to joaat version of get_translation
2023-06-23 09:55:26 +02:00
maybegreat48
1d75981731 Tunables service fix and theme changes (#1507) 2023-06-23 08:43:44 +02:00
T14D3
74d3e2ac57 feat(Aimbot): modified aimbot max distance (#1490) 2023-06-22 10:39:13 +02:00
DayibBaba
b96fddd8d0 Player UI tweaks (#1489)
* Redesigned Player UI

* Formatting
2023-06-22 10:11:56 +02:00
DayibBaba
9201cc363b feat(ViewSession): UI tweaks (#1479) 2023-06-21 10:02:35 +02:00
DayibBaba
906e1d083a Added nearby entity deletion (#1476) 2023-06-21 10:01:00 +02:00
DayibBaba
1b745a25b6 Added current coordinates in Teleport tab (#1474) 2023-06-21 10:00:38 +02:00
DayibBaba
4b74f411a2 Basic hostile ped disarm (#1437) 2023-06-17 18:39:16 +02:00
DayibBaba
e5581a6f03 fix: Made breakup conditional (being host) (#1436)
Closes #1448
2023-06-17 15:49:48 +02:00
Sainan
4b73b46053 Fix copy-paste error (#1446) 2023-06-17 15:17:46 +02:00
Sixhei Tartari
e8c8a5755b feat(Vehicle): Added keep engine running functionality (#1426) 2023-06-16 14:27:47 +02:00
Johann
3fbcaeb2f9 feat(session_browser): update max session limit (#1423) 2023-06-15 21:57:43 +02:00
Johann
c1d7e39186 fix: update more globals to 1.67 (#1415) 2023-06-15 13:20:08 +02:00
Takoyaki White
df9347552e Fix personal vehicle (#1410) 2023-06-15 12:22:41 +02:00
maybegreat48
0af712537f Update to 1.67 (#1407) 2023-06-14 23:29:25 +02:00
Forever Gone
f1895be28a Added atRTTI to CEventNetwork (#1399) 2023-06-12 16:32:03 +02:00
Rxann
b388d46623 chore(debug misc translations) (#1331) 2023-06-10 15:21:57 +02:00
DayibBaba
a19b4d572e feat: TP on top error fix & Manual Teleport & Infractions in player list & Max Performance (#1394) 2023-06-10 14:47:19 +02:00
DayibBaba
9b5bd2ee4d fix(ContextMenu): entity detection (#1392) 2023-06-07 23:56:43 +02:00
Andreas Maerten
34481918d1 feat(PlayerDB): notify when player is online (#1386) 2023-06-06 13:37:45 +02:00
maybegreat48
03c1a96b67 Lua Scripting (#1334)
Closes #83
Fixes #1309
Fixes #1287
Fixes #1129 (actually fixed now)
2023-06-06 09:40:40 +02:00
Rxann
18da367781 feat(Session): Lock Lobby (#1342) 2023-06-05 21:59:56 +02:00
Rxann
b8e8bccd1c feat(Notifications): Added push_success function (#1340) 2023-06-05 21:46:20 +02:00
DayibBaba
35b276e3f4 chore: Rework mission viewer and added Hunt the beast event support (#1354) 2023-06-05 21:34:06 +02:00
FireFox101889
4203fa3e7e fix(gui): Use correct imgui style for hotkey background (#1371) 2023-06-05 21:33:04 +02:00
I am Cypher
7c59e7a98d feat: Add Disable siren (#1383) 2023-06-05 21:32:49 +02:00
oPiloto
f65d384030 fix(TrollPlayer): fixed flip_180 and downgrade_vehicle (#1385) 2023-06-05 21:32:31 +02:00
Andreas Maerten
c7635a5396 fix(Debug/Threads): can't switch to later tabs (#1378) 2023-05-28 17:36:15 +01:00
DayibBaba
c1fc45ea64 Added options_modal component & showcase with Orbital drone feature (#1353) 2023-05-19 10:30:25 +02:00
tyackman
4147bc583a fix(Log): Chat/Spam logs using the old IP address (#1363)
IP addresses are not being logged properly via the chat/spam logger.
2023-05-19 10:29:10 +02:00
Takoyaki White
750dea6afc fix(pointers): update Presence Data sig (#1358) 2023-05-16 22:21:58 +01:00
DayibBaba
2148cd1161 Context menu: Fixed irregular distribution of operations and added some more (#1335)
* Fixed irregular distribution of operations and added some more
* Changed explosion type of Enflame
2023-05-10 22:37:47 +01:00
DayibBaba
5c67e24382 Added dev tool for animations (#1332) 2023-05-10 22:29:40 +01:00
DayibBaba
fc30225bc4 Squad spawner improvements (#1329)
* New Fun UI for self with Super hero fly & bulletshield
* Added missing hotkey global
* New debug window for animations
* Some more context menu additions
* Changed private variable to public for Orbital drone
* Added max vehicle & favour roads & spawn ahead & orbital drone coords on custom spawn mode & persisten vehicle integration
* Removed Log entry
* Removed some more log entries
* Some small tweaks
* Added persistent vehicle to the logic
2023-05-10 22:29:16 +01:00
FireFox101889
b9efa3fac7 feat: Keep model dimension in mind when determining spawn location (#1316) 2023-05-10 22:11:59 +01:00
Andreas Maerten
61cd1c2a85 feat(ExceptionHandler): Force logs syncronously (#1317)
Closes #1303
2023-05-01 23:07:36 +01:00
Andreas Maerten
c9fc44e06b refactor(PlayerDB): Improve code (#1313)
This PR includes some improvements to the player DB service:
 - Added `Get Gamer Online State` function pointer
 - Added sorting of players alphabetically and grouping of players by their online state
 - The player DB service will now update 32 players at a time for their online state
 - Player entries will automatically save when changing any data from them
 - Update the player online states every 5min
2023-05-01 22:23:07 +01:00
Rxann
0440c35a3e fix(BlockJoin): Grab block reason correctly from DB (#1306) 2023-04-30 15:03:37 +01:00
Rxann
b3382b8dd3 feat(Block Join): fallback on breakup kick if block join fails (#1279) 2023-04-29 12:45:15 +01:00
Johann
fcd495082c feat(world): load ipl's (#1283) 2023-04-29 12:29:28 +01:00
Rxann
c1da23fb05 chore: change C-style casts to dynamic_cast (#1299) 2023-04-27 10:11:05 +02:00
Andreas Maerten
d56af95cbf fix(OrbitalDrone): crash when selecting a player ped (#1295) 2023-04-26 19:17:03 +01:00
Takoyaki White
fc5825643c Fix DEBUG_REMOVE_FROM_BAD_SPORT (#1296) 2023-04-26 19:16:41 +01:00
Andreas Maerten
58e5714011 fix(OrbitalDrone): broken tooltip text (#1294) 2023-04-25 22:59:51 +01:00
tupoy-ya
d8a2eae6d8 fix(Crash): Fixed crashes in SP Missions. (#1285)
chore(hooking.hpp): Removed useless declarations.
2023-04-23 23:06:20 +01:00
Andreas Maerten
86f93ffce6 chore: disabled blame explosion infraction (#1282) 2023-04-23 21:39:16 +01:00
Andreas Maerten
96174c7ab2 fix(exception_handler): crash on unload (#1280)
Restore the value the ErrorMode and the UnhandledExceptionFilter values.
2023-04-23 21:00:37 +01:00
DayibBaba
5299fe52ef Squad Spawner (#1250) 2023-04-23 16:23:00 +01:00
DayibBaba
de251b2e57 Improved does_script_exist() and local editor (#1265) 2023-04-20 20:07:16 +01:00
Aure7138
10d0563c4a fix(cache): less peds on init (#1268) 2023-04-19 10:57:49 +02:00
maybegreat48
1241f9835f Fix GTA data caching less weapons/vehicles on init (#1264) 2023-04-18 22:21:45 +02:00
Andreas Maerten
a5627476f7 fix(CmdExecutor): can't modify hotkey (#1261) 2023-04-17 19:24:41 +01:00
maybegreat48
730336e087 Hotfix VM patch (#1253) 2023-04-17 00:27:02 +02:00
maybegreat48
c773588c00 General fixes (#1251) 2023-04-16 19:28:49 +01:00
Andreas Maerten
96d3b48527 fix(BytePatch): incorrect explode patch (#1245) 2023-04-15 23:29:38 +01:00
Andreas Maerten
b20fbbb153 feat(ExceptionHandler): Don't log repeating exceptions (#1244) 2023-04-15 23:20:48 +01:00
Rxann
be8b7b76a2 feat(CustomWeapons): deactivate when weapon is holstered (#1231) 2023-04-15 22:17:43 +01:00
Andreas Maerten
287f231361 fix(Hotkey): Fast run and Freecam not working (#1242)
* fix(noclip): not working properly in single player

Fixes #1178
2023-04-15 21:34:39 +01:00
Andreas Maerten
e7f22be4be refactor(CmdExecutor): closing the executor window (#1240) 2023-04-15 20:00:22 +01:00
Andreas Maerten
4946d97081 feat(ContextMenu): disable if GUI is open (#1239) 2023-04-15 16:40:17 +01:00
Andreas Maerten
b26c714d74 Add vehicle gears to speedo meter (#1236) 2023-04-15 15:47:36 +01:00
Rxann
1794d9cad3 custom gun refactor (#1230) 2023-04-14 18:02:00 +01:00
Quentin E. / iDeath
5a4dc03121 Feat ptr cache continued (#1227) 2023-04-14 17:54:07 +01:00
DayibBaba
6fe56d3e2b Fix: Request control (#1226) 2023-04-12 19:10:56 +01:00
DayibBaba
a6dc40b890 Locals editor (#1211) 2023-04-11 20:36:43 +01:00
Andreas Maerten
5ed00303bf fix: vehicle control tabs and not working in offline (#1219) 2023-04-11 19:55:08 +01:00
Andreas Maerten
43bc7d7bd1 General code and GUI cleanup (#1200)
* feat(native_hooks): removed useless bail kick hook
* feat(Translations): add button to force update languages
* refactor: reorganize GUI for world
* refactor: improve exception handler
Modified the exception handler to not catch C++ try/catch blocks before those could gracefully catch the error.

* chore: debug removed crash test button
* chore: removed script exception handler
* feat(OrbitalDrone): add translations
* feat(VehicleController): add translation keys
* feat: added player admin detected translation keys
* feat(Views): add cache sub menu
2023-04-07 23:08:34 +02:00
Quentin E. / iDeath
a2dbddc702 feat(Pointers): add cache for pointers (#1203) 2023-04-06 19:01:23 +01:00
Rxann
38ba68e0e5 feat: Added toggle for admin join notification (#1199) 2023-04-06 18:55:28 +01:00
Aure7138
d92a172ecb refactor: all weapons in vehicle (#1197) 2023-04-05 20:25:20 +02:00
DayibBaba
7c912885fe feat: Vehicle control & Summon (#1175) 2023-04-05 18:54:29 +01:00
Rxann
b5c090e0f8 feat: Admin checking protection (#1187) 2023-04-05 17:57:28 +01:00
Quentin E. / iDeath
b8fa1e25fc feat-debug(thread_pool): log the job and which thread execute it for debugging purposes in case the thread never exit. also log in case a job is scheduled but none of the thread are currently available (#1190) 2023-04-04 22:52:57 +01:00
DayibBaba
d2cff7c868 fix(Orbital drone): Firing generated errors (#1189) 2023-04-04 22:52:33 +01:00
maybegreat48
9a85496375 Update presence data sig (#1186) 2023-04-04 16:57:32 +02:00
Andreas Maerten
61705c333f chore: remove session name spoof (#1184) 2023-04-03 23:07:15 +01:00
Andreas Maerten
ac709a0045 fix(GTAData): bump ped cache version (#1177) 2023-04-02 21:08:57 +01:00
Andreas Maerten
0eb037e138 refactor(ContextMenu): improve code (#1173)
* chore: remove unused classes from replay
* feat(ContextMenu): keep drawing even if menu is open
2023-04-02 00:30:51 +01:00
Aure7138
205836dd74 feat(cache): expand ped (#1156) 2023-04-01 17:37:26 +01:00
T14D3
4922e60d89 fix: Add "Aimbot distance" to saved settings (#1162) 2023-04-01 14:46:41 +01:00
Aure7138
f6da0f1ceb commit (#1158) 2023-03-30 00:37:31 +02:00
DayibBaba
8ad4cf01dd Orbital Drone Feature (#1148)
* Orbital Drone Feature

* Fixed PR review comments

* chore: cleanup code

* UI & globals saving

* Fixed typo

* Fixed noclip conflict & Applied review suggestions & Added another changeable variable

---------

Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
2023-03-30 00:37:10 +02:00
DayibBaba
45c6edb129 More context menu operations (#1154)
Vehicle table:
-Copy vehicle
-Boost
-Launch
-Eject

Ped table:
-Disarm
-Ragdoll
-Dance

Player table:
-Breakup kick
-Kick
-Disarm
-Ragdoll

Shared table:
-Enflame

These additions required some other tools and fixes such as:
-Remove weapons command fix.
-Ped animation player tool in ped.hpp
-get player from ped tool in ped.hpp.
-A fiber pool queue on execution of Context menu operations.
2023-03-28 22:28:25 +01:00
Rxann
77cb85a72e feat(Hotkey): Add Repair PV hotkey (#1138) 2023-03-26 18:45:46 +01:00
Johann
aa4b0d7ed1 fix(chat): fix broken scaleforms with chat already open (#1133)
* fix(chat): fix broken scaleforms with chat already open
* fix(chat): only force close when chat is already opened
2023-03-23 11:11:29 +01:00
Aure7138
8c1ceda2f5 Fix focus lost crash (#1132) 2023-03-21 19:15:50 +00:00
Aure7138
9eff567b11 refactor: SET_PED_RANDOM_COMPONENT_VARIATION (#1125) 2023-03-21 08:22:08 +00:00
Aure7138
92085b4398 Hotfix outfit random component crash (#1124) 2023-03-20 13:23:43 +01:00
Johann
bb40a32feb fix(persist_car): fix spawning (#1122) 2023-03-19 19:55:49 +01:00
Aure7138
c55bda8bdc fix #1116 (#1117) 2023-03-19 16:19:13 +01:00
Seanghost117
1fc12a9863 revert: Increase Damage (#1108)
Part of the changes made in #889
2023-03-18 20:52:44 +01:00
Aure7138
f91a00336f feat: outfit editor (#1089) 2023-03-17 22:35:04 +01:00
TheGreenBandit
126dc7cdb7 fix clear wanted level (#1101) 2023-03-16 10:51:41 +00:00
Seanghost117
faff88ae9a fix(AutoKickHost): use existing kick command (#1098) 2023-03-15 20:47:26 +00:00
birds1338
ba448532ed feat: prevent exploit reports (#1091) 2023-03-14 16:52:54 +01:00
TheGreenBandit
808640181d Several feature additions (#889)
* Added Infinite Range
* Added Fill Ammo
* Added Aim Assist
* Added Hud Color Options
* Added Clear Wanted Level
* Added Health Regen
* curly brackets in invisibility
* Added hotkeys
* Improved Increased Damage
2023-03-13 21:10:21 +00:00
Johann
b452415d9d fix(commands): fix crashes on invalid commands (#1081) 2023-03-13 09:26:04 +01:00
Andreas Maerten
d8e4d2b8cd fix(Nearby): crash on rendering (#1079)
Fixes #1078
2023-03-12 21:58:02 +01:00
TheGreenBandit
e6050458d9 feat(nearby): add riot mode (#1043) 2023-03-12 18:38:27 +01:00
Johann
d9a761ef81 feat: command executor (search bar) (#1029) 2023-03-11 00:06:09 +01:00
maybegreat48
acf240dc17 fix(Toxic): fix typo (#1062) 2023-03-10 23:41:46 +01:00
maybegreat48
e5aa39dd35 Play audio on voice chat and more (#1053)
* feat(VC): audio through voice chat
* fix(BlackHole): remove unnecessary cleanup
* fix(Formatting): fix formatting for initializer lists
* feat(LSC): reimplement LSC
* feat(Protections): add (untested) protections for vehicle kick and remote teleport
2023-03-09 12:23:01 +00:00
JDMJay
a44c74b869 feat(players): Vehicle Tree (#903)
* feat(player_info): Open Social Club Overlay
2023-03-04 11:23:45 +00:00
Andreas Maerten
3e88ce77d2 feat(translations): add support for GUI tabs (#1039)
* fix(translation service): formatting of download
* fix(views): debug window not popping up
2023-03-04 11:13:13 +00:00
maybegreat48
97a8c5d60b Add more spoofing options and added clang-format (#1020)
* feat(Spoofing): add spoofing
* feat(Spoofing): prepare code for player attach
* remove(PlayerAttach): isn't going to work due to netsync architecture
* fix(GUI): fix scaling
* feat(Project): add clang-format file
* feat(Classes): update classes
* fix(BlackHole): remove unnecessary cleanup
* fix(Formatting): fix formatting for initializer lists
* feat(clang-format): Set tab width and 1 space before comment

Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
2023-03-01 21:27:15 +00:00
Johann
92aea20cd6 fix: update to gta version 2845 (#1032) 2023-02-28 19:45:55 +01:00
Aure7138
6124249601 feat(vehicle): no collision and all weapons (#1030) 2023-02-28 12:42:23 +00:00
Aure7138
c10b67f144 chore(logger): module output once (#1025) 2023-02-28 09:16:12 +00:00
Seanghost117
93e2be4262 Feature Additions, GUI Tweaks, Fixes (#975)
* Added view nearby to view header, moved get_entities function to entities and refactored some code. Also implemented a sphere scale to the blackhole as it can get big
* added delete and kill nearby peds and updated ped header
* added some nearby ped looped commands, and some changes to extend the buttons
* add vehicle options to nearby
* add most ciritcal feature kill enemies
* changes to ignore peds based off of some of maybegreat's suggestions, same with ped_rain, removed loose comment. Updated vehicle.hpp, changed size of vehicle buttons and inlined kill enemies
* fixed a problem where the vehicle options crashed + added color
* updated colors and added on disable for ped_rush
* finished and added vehicle rain feature
* added aimbot and triggerbot, added templating to buttons
* update vehicle rain desc
* added vdistance check, player check, police check, enemy check. Added even more commenting... sue me. 3 toggles added for the checks and slider for dist. Will tweak more later
* switched to goto statements instead of continue, should be done now
* removed delete nearby vehicles
* there was no check in get_entities for our local vehicle
2023-02-25 21:33:16 +01:00
Aure7138
bde8ee28ac feat(protection): vehicle parachute crashes (#1022)
CTaskParachuteObject_0x270 crash
2023-02-23 17:14:44 +01:00
Johann
d209cb02ab fix(handling): fix crash with veto modern (#1019) 2023-02-23 07:20:32 +01:00
Johann
f34940847c feat: add casino country restriction bypass (#1018) 2023-02-23 07:20:04 +01:00
Aure7138
4c27311a6a chore: vehicle class name localization (#1016) 2023-02-23 07:19:13 +01:00
Aure7138
88addc5c7e feat(protection): model mismatch (#1014) 2023-02-22 10:23:47 +01:00
Johann
79e53211c6 feat(player_db): add player online status (#983) 2023-02-21 11:52:05 +01:00
Aure7138
9c9164bfef feat(world): model swapper (#1003) 2023-02-20 22:20:40 +00:00
maybegreat48
99818d5301 Hotfix loading missions while host (#1011)
* fix(FastJoin): remove object id patches
* remove(FastJoin)
2023-02-20 18:47:26 +00:00
Aure7138
32963f1d8a debug options (#1002) 2023-02-19 22:04:13 +00:00
yasmasdas
48b45bde58 feat(received_event): add bounds checks to certain events (#985) 2023-02-14 20:29:17 +00:00
Aure7138
2995ea1f8f fix(protection): invalid parachute (#989)
fixes #916
2023-02-14 20:28:05 +00:00
Aure7138
773db6b967 chore: fewer sig scan (#993) 2023-02-14 20:18:18 +00:00
maybegreat48
ac508dfd61 Bug fixes and improvements (#984)
* feat(KickFromInterior): improve kick from interior

Fixes #968
Fixes #953
Fixes #901
Fixes #899
Fixes #813
Fixes #726
Fixes #723

Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
2023-02-13 20:38:30 +00:00
Yimura
221eea137e feat(spam): removed too verbose spam text (#981) 2023-02-12 12:51:56 +00:00
Yimura
59736e234c feat(exception_handler): use single stack_trace instance (#979) 2023-02-12 00:09:27 +00:00
Yimura
cba193750d feat(mobile): fix personal vehicle spawning far away (#978) 2023-02-11 23:47:05 +00:00
Aure7138
fa829b868f feat: interior weapon (#974) 2023-02-10 21:46:40 +00:00
Yimura
0d603c849a fix(GTA Data Service): Dead lock (#971) 2023-02-10 21:36:32 +00:00
Aure7138
b9f380e49c refactor: c4 limit and some general fixes (#970) 2023-02-10 21:33:47 +00:00
Aure7138
37a10a7181 feat: Improved exception handling (#969) 2023-02-09 18:18:12 +00:00
Johann
e1dd616733 feat(self): add superman mode (#924) 2023-02-09 18:17:10 +00:00
Yimura
c4a85050a6 feat(logger): use AsyncLogger instead of g3log (#882)
* feat(exception_handler): skip certain exception codes
* feat(zydis): Disable BUILD_DOXYGEN and FEATURE_ENCODER
* feat(cmake): link dbghelp
* feat(exception_handler): implement stack dumper
* feat(logger): differentiate between wine and non-wine
* feat(logger): add NO_COLOR env var support
* fix(logger): fix wine logging (#960)
* feat(exception_handler): added string logging of exception
* fix(logger): exception access violation NO_COLOR

--------

Co-authored-by: Aure7138 <100095051+Aure7138@users.noreply.github.com>
Co-authored-by: tupoy-ya <72797377+tupoy-ya@users.noreply.github.com>
2023-02-08 22:36:55 +00:00
sa413x
4249fd7f09 Send Event Acknowledge pattern updated (#961)
Co-authored-by: sa413x <sa413x@users.noreply.github.com>
2023-02-08 22:03:54 +00:00
Johann
c86eeea474 feat(world): blackhole (#951) 2023-02-08 21:50:26 +00:00
Aure7138
6fef5f2256 refactor: take_control_of (#962) 2023-02-08 21:46:08 +00:00
pzy2000
0001ffa394 feat(Spam): update spam list (#938)
* Added translation for force wanted level
2023-02-06 23:41:40 +00:00
Johann
92c4659228 fix(session_browser): decrease session limit (#954) 2023-02-06 23:38:19 +00:00
yasmasdas
14d969828b feat: added boat pickup, ballistic armor and keep on ground (#932) 2023-02-04 23:49:44 +01:00
Johann
31e6b75037 feat(protections): block receive pickup (#933) 2023-02-04 23:20:49 +01:00
Yimura
0eff8ecf5a fix(overlay): timezone crash (#946) 2023-02-04 23:08:53 +01:00
maybegreat48
846162b911 More fixes for 1.66 (#944)
* fix(Menu): more update fixes
* fix(Spoofing): remove spoofing
* fix(Globals): update globals
* fix(Classes): upstream classes
* fix(Misc): remove debug code
* fix(Merge)
2023-02-04 17:35:18 +01:00
Yimura
c75a17256e Update for 1.66 (#929)
* feat(crossmap): update thanks @Aure7138

* feat(TSE): updated most hashes

* feat(ScriptEventHandler): Remove abused TSE hashes

* feat(pointers): fix snitl

* fix(pointers): region code

* fix(pointers): handle join request

* fix(pointers): decode session info

* fix(pointers): connect to peer

* fix(pointers): decode peer info

* fix(pointers): add player to session

* fix(pointers): handle join request

* fix(pointers): Is Matchmaking Session Valid

* fix(pointers): send session matchmaking attributes

* fix(pointers): process matchmaking find response

* fix(pointers): serialize join request message

* fix(TSE): updated lost few, thanks @Rimmuru

* fix(Menu): update menu (#930)

* fix(globals): mechanic global

* feat(meta): bump version

* feat(spoofing): remove patched stuff

* fix(self): off radar timer offset

* fix(overlay): retain last position

* feat(self): commented dance mode

* feat(spoofing): add note about spoofing not working

Co-authored-by: maybegreat48 <96936658+maybegreat48@users.noreply.github.com>
2023-02-03 23:00:56 +00:00
Yimura
9cb030f502 feat(Actions): Improve CI compile times (#921) 2023-02-01 18:49:12 +00:00
Johann
99c9d94400 feat: add ragequit option + hotkey (#925) 2023-02-01 18:48:50 +00:00
Johann
360f05c9c7 feat(self): add ptfx player effects (#917)
Co-authored-by: Seanghost117 <36561158+Seanghost117@users.noreply.github.com>
2023-02-01 18:48:31 +00:00
Yimura
8028db84b3 feat: Translation Service (#844)
Co-authored-by: mrwoowoo <github@hiqaq.com>
Co-authored-by: LiamD-Flop <40887493+LiamD-Flop@users.noreply.github.com>
2023-02-01 18:46:33 +00:00
Johann
e95e7d1b47 feat(ui): add ingame overlay (#910)
* feat(overlay): add current time
* feat(overlay): add customization options
* fix(overlay): use local time zone
* fix(overlay): enable by default
* feat(overlay): add position modification
2023-01-30 23:21:29 +00:00
Johann
97240c54b7 feat(session_browser): show basic infos on item hover (#913) 2023-01-30 23:19:54 +00:00
Johann
0ea08a11cb fix(self): fix auto tp to waypoint (#919) 2023-01-30 23:19:05 +00:00
TheGreenBandit
923a1b97c9 feat(info): Added Another Godmode Check And Health Info (#839) 2023-01-26 18:41:47 +00:00
TheGreenBandit
6a466f8114 Feat(Debug Misc): Added Options (#883) 2023-01-23 11:56:21 +01:00
MiniMurder
2cf8e1ebba Fixes Invisable Animals (#855) 2023-01-22 21:59:17 +00:00
Aure7138
67b88cf0ea feat: stat editor (#884) 2023-01-22 21:57:55 +00:00
maybegreat48
8173adb87f Toxic features and improve protections (#897) 2023-01-22 21:57:32 +00:00