Commit Graph

304 Commits

Author SHA1 Message Date
Arthur 24fde511d0 Update ControllerInputs (#924) 2026-04-25 13:18:19 +03:00
Mr-X-GTA 8acef742f2 fix(anticheat): fix anticheat bypass (#843) 2026-01-04 13:23:35 +03:00
tupoy-ya dbfd43639d feat: Data hash spoofing. (#364)
* feat: Add data hash spoofing.

feat: LogCurrentSessionInfo
To be deleted.

* chore: Remove logcurrentsessioninfo.

* chore(PackOrderHook): Move to SpoofDataHash.

* chore: Update getDLCHashPtrn to support new version.

* chore: Update to 889.15.

I hope this is correct...

* chore: Remove unused include.

* chore: Update data hash to latest.

---------

Co-authored-by: tupoy-ya <tupoy-ya@users.noreply.github.com>
2026-01-03 21:34:11 +03:00
DeadlineEm c4849db275 (UI) Themes, Customization, Etc. (#597)
* (UI) Modular Theme
- Added Modular Theme
- Moved SetupStyle function to Themes.cpp for future impl
- Ensured all themes use proper colore using ImGui::GetColorU32 to pull colors used in SetupStyle()

* (UI) Small change

* (UI) Implemented Color/Transparency/Rounding for all ImGui Elements.
- Adds a file (GUISettings.json) to the appdata which saves/loads the custom colors, falls back to default if the file does not exist.

* (UI) Added more customization abilities
- This adds Layout, Borders and Global options for ImGui customization
- Fixed some mismatched colors on buttons

* (UI) Altered category name

* (UI) Added more ImGui customization tabs
- Moved default theme to DefaultStyle function

* (UI) Fixed Exceptions in console thanks to Mr-X

* small fix

* (Fix) Font scaling
- Removed rebuild fonts, useless for now

* Added Helper Functions to utilize FloatCommand and minimize a bulky list
Added PrettyPrintLabel to automatically print the slider labels accordingly

* Ensured all settings save to GUISettings.json

* UI backend refactors

* Removed unnecessary includes already included in common.hpp
2026-01-03 21:26:46 +03:00
Arthur 2f7fbc40ab fix(world): update IsDevModeEnabledPatch pattern (#823) 2025-12-26 15:24:21 +03:00
UnkEcho 1fca608743 fix(heist): Fixed the issue of loading repeatedly when starting a heist mission with other players. (#789) 2025-12-25 20:17:17 +03:00
渟雲 96c2d2e8dd fix(casino): Fix game freeze when disable Manipulate Rig Slot Machines (#794)
* fix: Fix disable Manipulate Rig Slot Machines freeze the game

check spin state also while on diasble
fix issue #791

* Revert "fix: Fix disable Manipulate Rig Slot Machines freeze the game"

This reverts commit 1af78f95a3.

* fix: Fix disable Manipulate Rig Slot Machines freeze the game

now we must ensure result [3,9]
also we should ensure we are write slots_random_results_table at a "safe period", nomatter enable or reset while disable.

fix issue #791

* chore: remove redundant script host check

If script host changes while waiting for the reset timing for slots_random_results_table, there is no need to perform the reset process.
2025-12-23 16:32:33 +03:00
halny197 1b190c9750 Add skip card swiping process (#761)
* skip cardswiping process

* fix typo

* update locals for 1.72
2025-12-23 16:20:24 +03:00
daobashun 202109b754 Fix the issue of some vehicles of the same model and license plate missing in the garage. (#793) 2025-12-23 16:02:40 +03:00
Arthur 259354945b fix: update ShouldFailMissionPatch3 pattern (#788) 2025-12-18 20:16:50 +03:00
渟雲 61000819a1 fix: Fix Manipulate Rig Slot Machines for b1013.17 (#774)
* fix: Fix  Manipulate Rig Slot Machines for b1013.17

int slots_random_results_table = 1374; -> int slots_random_results_table = 1350;

* fix: Fix issue that can't using Rig Slot Machines

During testing, there may be occasions where the "Manipulate Rig Slot Machines" function is continuously enabled during a session, resulting in the inability to use Rig Slot Machines (the "Press E" prompt does not pop up).
By checking the spin_state, we can determine whether the player is using Rig Slot Machines, and apply slot_result modifications only during the period when Rig Slot Machines are being used.
2025-12-17 20:18:24 +03:00
daobashun a401972223 Fixed hotkey issues (#757)
* Fix an issue where some hotkeys reset when loading

* Fix the 'Clear' button in the hotkeys not working
2025-12-17 17:53:46 +03:00
lonelybud 75d6a798e0 Code refractor (#622)
* refractor fiberpool code

* fix model saved is not correct

- the model value returned by native is 2627665880 (unsigned)
  same as Joaat("mp_f_freemode_01")
  but when converted to int it is -1667301416 (signed).
  this value will get saved in jsons instead of correct
  one and will also cause issue when applying old jsons.

* Update VehicleEditor.cpp

* display current plate text

* fix teleport in water surrounded land
2025-12-17 17:42:46 +03:00
Arthur f372a42a32 Update for b1013.20 (#773) 2025-12-17 17:25:17 +03:00
Arthur 4f4935a66c Update for b1013.17 (#771) 2025-12-15 17:13:45 +03:00
Mr-X-GTA eb30c27eb1 feat(pointers): update for b889.22 (#675) 2025-08-14 19:57:10 +02:00
latiao-1337 3af1e7cd54 add Disable Critical Hits + Infinite Boundary + giveplayerallweapon (#636)
* add Infinite Boundary and Critical Hits

* Revert "add Infinite Boundary and Critical Hits"

This reverts commit c537e1fa7a.

* add Infinite Boundary and Critical Hits

* add Critical Hits + Infinite Boundary

* giveplayerallweapon

* host kick all

* Improving InfiniteBoundary

* Improving DisableCriticalHits
2025-07-29 20:15:16 +00:00
maybegreat48 99421d5b01 fix(hooking): add better error handling 2025-07-10 17:39:13 -04:00
kurumimeow dd6907bf14 feat: add custom weapons (#388)
* added custom weapons

* remove SameLineItem

* some fixes

* no changes

* more fixes

* some changes
2025-07-07 22:20:20 +00:00
Mr-X-GTA 5407207984 fix: fix BattlEyeServerProcessPlayerJoin (#606) 2025-07-04 20:20:43 +00:00
lonelybud e5dc61111b refractor savedvehicles & vehicle spawn (#604)
- add checkbox in savedvehicles to spawninside
- use shared logic to get spawn location for a given vehicle model for saved veh, cloned pv veh & spawned veh
2025-07-03 19:00:49 +00:00
maybegreat48 6603491db6 fix(lua): fix crashes 2025-07-03 14:29:49 -04:00
maybegreat48 a3e1da2296 fix: fix MSVC build (perhaps we need to get CI to use MSVC to catch stuff like this?) 2025-07-02 10:10:27 -04:00
maybegreat48 71bceb3fdb Revert "(UI) Modular Theme + ImGui Color/Rounding settings for Menu Customization (#551)"
This reverts commit 80c8865a28.
2025-07-01 16:30:16 -04:00
DeadlineEm 80c8865a28 (UI) Modular Theme + ImGui Color/Rounding settings for Menu Customization (#551)
* (UI) Modular Theme
- Added Modular Theme
- Moved SetupStyle function to Themes.cpp for future impl
- Ensured all themes use proper colore using ImGui::GetColorU32 to pull colors used in SetupStyle()

* (UI) Small change

* (UI) Implemented Color/Transparency/Rounding for all ImGui Elements.
- Adds a file (GUISettings.json) to the appdata which saves/loads the custom colors, falls back to default if the file does not exist.

* (UI) Added more customization abilities
- This adds Layout, Borders and Global options for ImGui customization
- Fixed some mismatched colors on buttons

* (UI) Altered category name

* (UI) Added more ImGui customization tabs
- Moved default theme to DefaultStyle function

* (UI) Fixed Exceptions in console thanks to Mr-X

* small fix

* (Fix) Font scaling
- Removed rebuild fonts, useless for now

* Added Helper Functions to utilize FloatCommand and minimize a bulky list
Added PrettyPrintLabel to automatically print the slider labels accordingly

* Ensured all settings save to GUISettings.json
2025-07-01 20:01:36 +00:00
PlayDay b7ccfed853 fix: broken logging under Wine (#559)
* fix: broken logging under Wine

* feat: `IsExported` added to `Module`
2025-07-01 20:00:38 +00:00
Arthur 08cb3887b6 feat(vehicle): Personal Vehicle Spawner (#579)
* feat(vehicle): Personal Vehicle Spawner

* Add Vinewood Club Garage & Clone PV

* Use different approach for clone PV

* some fixes

* Stuff

* Update lua bindings
2025-07-01 19:59:47 +00:00
PlayDay dacfa665f7 feat: Allow to spawn ped with me in the vehicle (#589)
* feat: Allow to spawn ped with me in the vehicle

* feat: do not spawn ped in vehicle without free seats

also allow to spawn ped in driver seat if it is free
2025-07-01 19:59:15 +00:00
maybegreat48 b5a0bbbb3f feat(lua): some more changes (incomplete) 2025-07-01 15:58:54 -04:00
maybegreat48 1fcdc0f028 fix: fix bad refactor 2025-06-29 13:18:18 -04:00
maybegreat48 b4cfb3b94e feat(lua): implement resources 2025-06-29 13:16:33 -04:00
maybegreat48 d14031fc6b feat(lua): add Vehicle 2025-06-28 22:47:25 -04:00
maybegreat48 55f4e297a0 fix(lua): return false when transaction fails to start 2025-06-28 16:03:47 -04:00
maybegreat48 6f2f8f5110 feat(lua): sprint 3 2025-06-28 16:00:31 -04:00
maybegreat48 96a7636851 fix MSVC build 2025-06-28 08:46:59 -04:00
maybegreat48 59ae786c39 feat(lua): sprint 2 2025-06-27 21:35:10 -04:00
maybegreat48 1f1b924077 feat(lua): lua sprint 2025-06-27 13:41:11 -04:00
maybegreat48 d0816571ea Merge branch 'enhanced' of https://github.com/YimMenu/YimMenuV2 into enhanced 2025-06-26 17:56:15 -04:00
maybegreat48 edf5d0d6f2 fix(lua): don't crash if std::filesystem::equivalent fails 2025-06-26 17:56:13 -04:00
Arthur e8e03e3ccd Some Fixes & Improvements (#571) 2025-06-26 20:05:36 +00:00
maybegreat48 7f487ef9ab fix(lua): fix MSVC 2025-06-26 16:04:58 -04:00
maybegreat48 1370ac1cac feat(lua): implement events 2025-06-26 14:44:15 -04:00
maybegreat48 c9e4e74acf feat(lua): implement latent functions 2025-06-26 11:15:56 -04:00
maybegreat48 b3d741ca51 feat(lua): improve prototype 2025-06-26 00:16:10 -04:00
maybegreat48 792ef1e2f3 Initial merge 2025-06-25 17:01:59 -04:00
maybegreat48 b769d36a1c feat(lua): initial lua scripting prototype 2025-06-25 17:01:10 -04:00
lonelybud 1108fc31b8 fix: show imani tech instead of trim (#561)
For imani tech vehicles the slot name was incorrectly showed "trim" instead of "Imani Tech" which was confusing.
2025-06-25 15:53:38 +00:00
PlayDay 0beb0d1c72 Working cross-compilation (#494)
* feat: working cross-compilation

* feat: CI for Cross-compilation

* fix: non-reproducible builds are failing when cross-compiling

* fix: update ImGui

Fixed compilation under some MinGW versions.

* feat: Add .clangd configuration for C and C++ compilers

* fix: link correct d3dcompiler library conditionally

* fix: usage of deprecated `FetchContent` function in CMake

* chore: denote difference in CI artifacts
2025-06-24 18:42:39 +00:00
maybegreat48 7c48d52b71 Merge branch 'enhanced' of https://github.com/YimMenu/YimMenuV2 into enhanced 2025-06-24 00:40:09 -04:00
maybegreat48 ac11f414d9 feat: a few changes 2025-06-24 00:40:04 -04:00