Commit Graph

1765 Commits

Author SHA1 Message Date
Andreas Maerten
e46bb8884b fix(Logger): not logging anymore after setup is done (#2858)
Regression introduced in #2492
Closes #2773
2024-03-21 22:22:33 +01:00
Alice
540ff21b05 add lua api: script.execute_as_script (#2824)
Co-authored-by: xiaoxiao921 <xiaoxiao921@hotmail.fr>
2024-03-21 11:20:22 +01:00
DayibBaba
f50d0f2c9d Fixed bounty button & added bounty to all (#2846)
* Added separate ID for Set button & Added bounty for all

* Reverted unrelated changes

CPlayerExtendedGameStateNode should be updated on classes repo though
2024-03-19 20:10:33 +01:00
gir489
caa813c4a8 Extra give control checks (#2847)
Closes #2841
Closes #2088
2024-03-19 19:06:03 +01:00
gir489
0bf069ad99 Fixed hooks::scripted_game_event using incorrect types and sizes. (#2844) 2024-03-19 10:33:50 +01:00
maybegreat48
1dc46b1fa9 Use the timestamp when validating cache version (#2834) 2024-03-18 14:33:09 +01:00
gir489
0f8cec4604 Replace offset.bin's header version variable with TimeDateStamp. (#2832)
* Replace offset.bin's header version variable with TimeDateStamp.

* Broke out Read Attribute Patch into two signatures.
2024-03-16 22:06:29 +01:00
Quentin
e8027127d1 Nightly but better (#2818) 2024-03-12 09:43:08 +01:00
Andreas Maerten
88036b91da refactor: switch RAGE_JOAAT with string literal functions (#2806)
Why? Shorter to write and removes the macro usage

I used the following regex to find all occurrences:
```r
RAGE_JOAAT\("(.*?)"\)
```
then the following to replace it all:
```r
"$1"_J
```
2024-03-12 09:42:11 +01:00
Andreas Maerten
cc930b6252 feat(CMake): crash on non-MSVC compilers (#2819) 2024-03-12 09:35:36 +01:00
gir489
d75664ec3f Added Turkish font support. (#2817)
* Added Turkish font support.

* Fixed Turkish case not including Latin characters.
2024-03-11 22:39:25 +01:00
HCR-750F
de90e068b9 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
gir489
46d7d9f3ad Added g_local_player pointer sanity checks. (#2792) 2024-03-01 17:48:20 +01:00
Quentin
a29cca838c lua natives: try to handle Any* parameters properly (#2785) 2024-02-28 23:47:33 +01:00
HCR-750F
061484e828 Fix: display of the vehicle list for Traditional Chinese users (#2772) 2024-02-24 14:30:17 +01:00
Quentin
a548ecc074 lua io.exists (#2771) 2024-02-24 11:10:58 +01:00
Andreas Maerten
681d6590a8 feat: Add menu onboarding to YimMenu (#2492) 2024-02-23 22:54:25 +01:00
lonelybud
5b73acecc2 fix: ped body clean up logic (#2764) 2024-02-23 21:00:26 +01:00
gir489
b150009e28 Implemented GetGlyphRangesChineseSimplifiedOfficial (#2756) 2024-02-22 16:53:04 +01:00
Andreas Maerten
affa94b98c 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
Andreas Maerten
02d5af76fc 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
Andreas Maerten
6149b8ec9b 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
Andreas Maerten
1064077b9c 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
Quentin
b1caff97fe lua: fix enabling/disabling (#2745) 2024-02-21 13:05:01 +01:00
Quentin
80f28134a5 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
Quentin
26686402c3 proper fix for weapon info damage crash (#2740) 2024-02-21 07:48:42 +01:00
gir489
42d631882a Added new language options to issues (#2736) 2024-02-20 21:22:25 +01:00
Quentin
19204743f0 AMMO_BALL protection (#2733) 2024-02-20 20:27:34 +01:00
Quentin
3342d663f6 RECEIVED_CLONE_REMOVE player ped removal protection (#2732) 2024-02-20 20:26:12 +01:00
gir489
4f9997d9ed Fixed Social Club Presence Data. (#2729) 2024-02-20 18:29:02 +01:00
gir489
4baa00f494 Added Korean font support. (#2718) 2024-02-19 11:37:00 +01:00
Arthur
76dceac391 Remove Random Events and G's Cache (#2716) 2024-02-18 22:03:17 +01:00
Andreas Maerten
792d451a88 fix: issues with proton installations (#2711) 2024-02-13 00:16:10 +01:00
Alice
68dd925de1 fixed bool_masked (#2708) 2024-02-12 18:26:07 +01:00
Anvar
07b10d66f6 Potential fix for WMSB (#2707) 2024-02-12 15:08:38 +01:00
gir489
59441b822c Fixed memory leak caused by not releasing the memory from GetWindowsVersion. (#2699) 2024-02-10 21:34:30 +01:00
gir489
3845d765f1 Fixed Fonts. (#2698)
Added Windows Build Info to log.
2024-02-10 20:50:27 +01:00
maybegreat48
0f7e20743e Launcher script start fix (#2697) 2024-02-10 14:14:29 +01:00
Quentin
0f083113c9 feat(log): print if debug build (#2695) 2024-02-09 22:02:30 +01:00
maybegreat48
d030bcbf4e 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
Anvar
70875b31ab refactor: move Request Model logic to helper function (#2669) 2024-01-31 10:47:03 +01:00
Tessio
97ae9d9be3 feat(enums) Added new license plates from 1.68 (#2665) 2024-01-28 19:00:16 +01:00
maybegreat48
2a24d9fcd7 fix: don't randomize components if we're cloning an existing ped (#2663) 2024-01-28 15:51:25 +01:00
Arthur
2e63940b77 feat(lua): expose the self class and add new menu events (#2656) 2024-01-28 15:18:44 +01:00
Anvar
49d31f8799 Graceful Landing (#2660) 2024-01-28 15:17:26 +01:00
Robert Motrogeanu
dfb3ecc9be refactor(Handling): switch from DragFloats to SliderFloats (#2662) 2024-01-28 13:19:58 +01:00
Anvar
b0e528d7cd refactor: improvement load_3d_ground_at_coords (#2654) 2024-01-27 18:29:02 +01:00
gir489
f07a6e0506 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
navmodder
0220f727b6 Better Aimbot & Flying Axe (#2480)
* Better Aimbot

* Revert "Better Aimbot"

This reverts commit 176824ad20ca46a9ec5bda79eeb5784d8bd277d9.

* 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
Quentin
425e25a98b fix(lua): allow natives to be called with nil strings. (#2652) 2024-01-17 11:08:35 +01:00