Commit Graph

1554 Commits

Author SHA1 Message Date
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
73d23dd34b fix(lua): move bindings to cpp files (#1757) 2023-07-18 13:07:33 +02:00
9755f4f960 Allow Friends Into Locked Lobby (#1747) 2023-07-18 10:42:14 +02:00
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
f040e72b37 fix(Protections): Fixed how the reset protections is handled (#1745) 2023-07-18 09:59:20 +02:00
16dc6ec6e6 fix(ci): native split (#1752) 2023-07-18 09:30:03 +02:00
20ccf1a89b fix(ci): tentative fix for compiler out of heap space (#1746) 2023-07-17 22:57:14 +02:00
bff7c91a0e bump gtav-classes dependency (#1748) 2023-07-17 22:45:18 +02:00
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
0417fbf0f9 fix(lua): better exception handling (#1734) 2023-07-16 23:32:34 +02:00
8d01f497e7 Fixed issue #1727 DIRT_LEVEL is calling natives inside the presentati… (#1732) 2023-07-16 23:31:27 +02:00
2f143f6f4e feat(Dbg): disable GTA window hook (#1733) 2023-07-16 22:21:19 +02:00
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
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
a21fcba67c feat(Protections): Added buttons for controlling the states of protections (#1717) 2023-07-15 23:19:38 +02:00
6e69b73550 feat(Vehicle): Added vehicle dirt control (#1714) 2023-07-15 22:58:09 +02:00
973121076e More player database improvements (#1725) 2023-07-15 22:37:20 +02:00
a40b4a0dd8 fix(lua): log not supported lua functions (#1722) 2023-07-15 22:07:10 +02:00
a193679445 Add more requests and reorganize network tab (#1709) 2023-07-15 00:57:30 +02:00
9117c11a2c feat(ScriptGlobal): Allow for constexpr offset calculation (#1721) 2023-07-15 00:55:09 +02:00
fa02f2e779 Tp, Paintgun, refractor rainbow controller, refractor raycast (#1708) 2023-07-14 23:31:03 +02:00
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
06cf2a579e Redesigned Debug Globals. (#1696) 2023-07-13 18:42:21 +02:00
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
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
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
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
5162cf98c7 fix(mobile): PV summon timer (#1689)
* feat(script_local): allow for global single instance definition
2023-07-11 23:53:15 +02:00
6ec061a106 chore: remove chat profanity bypass (#1688)
Closes #1682
2023-07-11 23:14:46 +02:00
d997cfd3f6 Weapon Hotkeys (#1685) 2023-07-11 23:14:35 +02:00
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
4349f5c6e5 fix(session): hard lock when switching too early (#1678) 2023-07-10 23:06:08 +02:00
ac6d86b149 fix(gui): dont draw two gui separators at the top for lua only tab. (#1677) 2023-07-10 20:37:28 +02:00
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
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
c4111b4f2e feat(GTA Cache): removed unused old code (#1663) 2023-07-10 00:40:47 +02:00
27e66b9394 Custom teleport sub tab (#1652) 2023-07-09 23:03:05 +02:00
3dd9be8a95 Persist Weapons (#1647) 2023-07-09 23:01:42 +02:00
5607c58c7e fix(cache): ignore modded rpfs. (#1651) 2023-07-09 16:05:41 +02:00
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
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
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
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
f71f899e6b Xml vehicles (Menyoo) (#1594) 2023-07-07 11:11:54 +02:00
90ff1ece84 Fix GTA data service (#1635)
* fix(gta_data): service now parses unloaded RPF files
2023-07-07 07:57:38 +02:00
172de938cc fix(PlayerInfo): money overflow (#1631) 2023-07-06 21:58:46 +02:00
468c70f635 refactor(PlayerList): height calculation code +horizontal scroll fix (#1629)
Fixes #752
2023-07-06 20:35:42 +02:00
e0dd2aa8e3 fix(CmdExecutor): Set sizing of input w/ frame padding (#1618) 2023-07-06 07:46:42 +02:00
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
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