Commit Graph
1319 Commits
Author SHA1 Message Date
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
kbabrmover1995andQuentin E. / iDeath e3d0deb605 Reaction on any modder detection (#1772)
* Closes #1676

Co-authored-by: Quentin E. / iDeath <[email protected]>
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
Andreas Maerten f8255d9e80 feat(IssueTemplates): Update issue templates and added 2 more (#1759) 2023-07-18 15:56:05 +02:00
Andreas Maerten 9d8c66498e feat(Actions): swap to self-hosted (#1751)
* feat(CI): switch to self-hosted
* feat(Nightly): switch to self-hosted
2023-07-18 13:25:42 +02:00
Andreas Maerten ee4253f155 feat(Actions): swap to self-hosted (#1751)
* feat(CI): swap to self-hosted
* feat(Nightly): switch to self-hosted
2023-07-18 13:25:09 +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 bff7c91a0e bump gtav-classes dependency (#1748) 2023-07-17 22:45:18 +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 https://github.com/YimMenu/YimMenu/commit/309c37460208d23402b17e8b252e379434e2fe8d 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