Commit Graph

1714 Commits

Author SHA1 Message Date
10fc7a5e13 feat(CMake): crash on non-MSVC compilers (#2819) 2024-03-12 09:35:36 +01:00
a10f7ef53e Added Turkish font support. (#2817)
* Added Turkish font support.

* Fixed Turkish case not including Latin characters.
2024-03-11 22:39:25 +01:00
d52008068e chore(Translation): Simplified zhcn Character List and Add new Traditional Chinese characters for https://github.com/YimMenu/Translations/pull/121 (#2807) 2024-03-11 15:27:45 +01:00
f4e0da5ff4 Added g_local_player pointer sanity checks. (#2792) 2024-03-01 17:48:20 +01:00
903c5273ed lua natives: try to handle Any* parameters properly (#2785) 2024-02-28 23:47:33 +01:00
9855e46dd1 Fix: display of the vehicle list for Traditional Chinese users (#2772) 2024-02-24 14:30:17 +01:00
530617755e lua io.exists (#2771) 2024-02-24 11:10:58 +01:00
d4d504dca2 feat: Add menu onboarding to YimMenu (#2492) 2024-02-23 22:54:25 +01:00
c629dd1e09 fix: ped body clean up logic (#2764) 2024-02-23 21:00:26 +01:00
f74c576fdb Implemented GetGlyphRangesChineseSimplifiedOfficial (#2756) 2024-02-22 16:53:04 +01:00
a6a77a0f6b feat(Actions): only trigger on changes that matter (#2752)
* feat(Actions): only trigger on changes that matter

* feat(Actions): include ci.yml to path trigger

* feat(Actions): cancel action if a new commit comes in

* feat(Actions): cancel last nightly if a new request comes in
2024-02-22 09:34:41 +01:00
c7944373dd docs: add README to cmake/ folder (#2750)
I noticed certain people did not understand the purpose of this folder, hopefully this will clarify certain things and explain why we have certain dependencies.
2024-02-22 00:12:06 +01:00
0b53660312 Many different fixes (#2749)
* fix(BytePatch): regression in world spawn bypass introduced in #2669
* fix(View/Network): session join options not updating after language change
* fix(RapidFire): prevent game from crashing by filling up the bullet pool
* refactor(Settings): don't save certain settings that users usually don't want to have enabled
* fix(CustomWeapons): render weapon names properly
* fix(reaction): names don't appear in chat
2024-02-21 23:34:11 +01:00
183b0eee44 feat(renderer): added dynamic font loading based on lang requirements (#2738)
Related YimMenu/Translations#117
Closes #2723

Changes made:
 - Renderer class was changed to a static instance
 - Some throw code was removed because of change of instantiation of the renderer
 - Fonts are dynamically loaded based on the language requirements
 - renderer files have been moved to make the root directory less messy
 - Added a font mgr to improve the ease of adding more language support
2024-02-21 21:26:29 +01:00
cde5563204 lua: fix enabling/disabling (#2745) 2024-02-21 13:05:01 +01:00
2d55470e10 lua: allow functions to be called without giving all of its args (#2744)
This makes usage of native functions that normally use pointer args easier to deal with.
2024-02-21 13:02:29 +01:00
683d6bce07 proper fix for weapon info damage crash (#2740) 2024-02-21 07:48:42 +01:00
6d95b3e0b8 Added new language options to issues (#2736) 2024-02-20 21:22:25 +01:00
9e6559b304 AMMO_BALL protection (#2733) 2024-02-20 20:27:34 +01:00
3a8aed2d00 RECEIVED_CLONE_REMOVE player ped removal protection (#2732) 2024-02-20 20:26:12 +01:00
d737c01b33 Fixed Social Club Presence Data. (#2729) 2024-02-20 18:29:02 +01:00
4e294162fb Added Korean font support. (#2718) 2024-02-19 11:37:00 +01:00
a822da4af3 Remove Random Events and G's Cache (#2716) 2024-02-18 22:03:17 +01:00
1b260f788b fix: issues with proton installations (#2711) 2024-02-13 00:16:10 +01:00
ec7735cb3a fixed bool_masked (#2708) 2024-02-12 18:26:07 +01:00
1a0fbd3dea Potential fix for WMSB (#2707) 2024-02-12 15:08:38 +01:00
c87aea7f3c Fixed memory leak caused by not releasing the memory from GetWindowsVersion. (#2699) 2024-02-10 21:34:30 +01:00
0275821f95 Fixed Fonts. (#2698)
Added Windows Build Info to log.
2024-02-10 20:50:27 +01:00
0afcb00ec7 Launcher script start fix (#2697) 2024-02-10 14:14:29 +01:00
b1ad42e3f9 feat(log): print if debug build (#2695) 2024-02-09 22:02:30 +01:00
240ca76e3b Block traffic protection (#2688)
* fix: don't randomize components if we're cloning an existing ped
* feat(protections): add traffic manipulation protection
* fix(protections): add a mission check
2024-02-09 15:34:45 +01:00
ad1dfc71d2 refactor: move Request Model logic to helper function (#2669) 2024-01-31 10:47:03 +01:00
7efbee2e85 feat(enums) Added new license plates from 1.68 (#2665) 2024-01-28 19:00:16 +01:00
1e11d83f7a fix: don't randomize components if we're cloning an existing ped (#2663) 2024-01-28 15:51:25 +01:00
96048fa0f6 feat(lua): expose the self class and add new menu events (#2656) 2024-01-28 15:18:44 +01:00
ee707c538b Graceful Landing (#2660) 2024-01-28 15:17:26 +01:00
aea35d9cf1 refactor(Handling): switch from DragFloats to SliderFloats (#2662) 2024-01-28 13:19:58 +01:00
3c59b3408f refactor: improvement load_3d_ground_at_coords (#2654) 2024-01-27 18:29:02 +01:00
deac08e856 Optimized Aimbot code. (#2653)
* Fixed hypot call not considering the Z coordinates.
Refactored class-based variables.
Fixed on_player/on_enemy/on_police/on_npc config variables not being persisted to disk.
2024-01-27 11:51:23 +01:00
dd27ea2340 Better Aimbot & Flying Axe (#2480)
* Better Aimbot

* Revert "Better Aimbot"

This reverts commit 176824ad20.

* Better Aimbot

* Flying Axe

* Aimbot smoothing

* More fixes & improvements

* Little missing detail

* Fixed

* Improvements

-switch to using inline
-switched timer to steady_clock
-changed axe lerp to "Lagrange's Interpolation"
- i hope girl is satisfied XD

* PEMDAS

* Comment!
2024-01-21 15:32:01 +01:00
e005640c75 fix(lua): allow natives to be called with nil strings. (#2652) 2024-01-17 11:08:35 +01:00
b7b2017289 Added x64-Release-FastCompile build. (#2651) 2024-01-11 11:52:31 +01:00
8ecbdaf7c0 refactor!: repo cleanup (#2650)
- Move cmake files to dedicated cmake folder
- Move scattered python files to `scripts/` folder
- Update CMakeLists.txt to reflect changes
* feat(scripts): add README to folder
2023-12-30 16:05:18 +01:00
1127e51a52 Optimizations (#2649)
* fix(Respawn): fix respawn in SP
* fix: re-enable bigobj
* fix: update creator's stack size
* fix: use BOOLs instead of bools
* fix(gitignore): hide .pyc files
2023-12-29 17:07:00 +01:00
a9c90b953a Fixed EOL character used in CMakeSettings.json casing it to invalidly be parsed. (#2631) 2023-12-22 12:20:29 +01:00
4312d9d15c Weapon events refactor. (#2622)
* Removed legacy REMOVE_ALL_WEAPONS_EVENT network event check.
Added GIVE_WEAPON_EVENT check to prevent people giving us weapons.
2023-12-21 16:17:45 +01:00
5324d0a244 feat(cmake): update ImGui to latest release (#2621) 2023-12-21 16:01:47 +01:00
3237f6ade4 Fix debug build (#2625) 2023-12-21 09:51:23 +01:00
9bedcca8a4 Added sanity checks to vehicle_allow_all_weapons() to prevent an EXCEPTION_ACCESS_VIOLATION on m_vehicle when first entering it. (#2612)
Made the weapons lists in Self->Weapons->Ammunation and Weapon Hotkey sorted by name instead of a completely random order.
2023-12-20 14:16:03 +01:00
e544e02e55 Refactored Allow All Vehicles (#2604)
* Refactored Allow All Vehicles to use the current seat the ped is in to fetch the animation info that the car is currently using.
* Update gtav-classes tag hash.
* Removed GROUP_SMG from the allow all weapons false scenario.
2023-12-19 17:15:52 +01:00