Commit Graph

1741 Commits

Author SHA1 Message Date
Vali
d8bc812907 Added crash objects to list (#2950)
* Fixed duplicate and added any possibly missing object
2024-04-20 00:14:34 +02:00
Andreas Maerten
c9edbcc157 feat(metadata): bump build number (#2949) 2024-04-17 23:49:42 +02:00
Quentin
065e5f2cd3 Fix for GTA Build 3179 (#2946)
* Removed old and unused security pointer/signature
* Updated GTAV-Classes
2024-04-17 15:05:09 +02:00
Quentin
a46d6d0fae fix(lua): fix pointer.allocate allocating the wrong number of bytes (#2941) 2024-04-13 17:41:04 +02:00
Quentin
6f8490f450 fix(lua): better error reporting when calling player commands (#2932) 2024-04-10 11:43:55 +02:00
gir489
c0214aeb85 Revert #2857 (#2921) 2024-04-06 23:49:55 +02:00
Andreas Maerten
56a94a96c7 fix(Onboarding): not showing up when cache needs to generate (#2916)
Fixes #2910
2024-04-05 14:16:58 +02:00
Andreas Maerten
a42286b543 feat(FontMgr): expand Turkish glyph range (#2915) 2024-04-04 20:34:43 +02:00
gir489
c06cbdf3bb Fixed vehicles in preview exploding. (#2908)
* Closes #2905

* Fixed set_mp_bitset being called from vehicle::spawned if the is_networked parameter was false.
2024-04-04 09:43:10 +02:00
gir489
65c2aa9b16 fix: Vehicle Preview same model hash different actual vehicle (#2904)
Closes #2903
2024-04-02 09:55:13 +02:00
gir489
d0292b59cb Refactor m_rockstar_id into its proper type of a 64-bit signed integer. (#2901) 2024-03-31 21:11:52 +02:00
lonelybud
fe04dfedf3 fix chat not seen by other players (#2900) 2024-03-31 19:34:41 +02:00
Quentin
6e0358737f fix nlohmann potential throw in ped outfit (#2894) 2024-03-30 18:42:04 +01:00
gir489
d63f712e5e Redesigned the preview system entirely. (#2888) 2024-03-30 18:41:12 +01:00
gir489
1276c51c06 Fixed gamer_handle_serialize/deserialize using the wrong sizes. (#2886) 2024-03-28 20:15:33 +01:00
gir489
cde9c23323 Unify rlGamerHandle code and fix chat inaccuracies. (#2883) 2024-03-27 21:43:31 +01:00
gir489
659cffa6f7 refactor: Model Preview use time delta instead of frame/tick rate (#2881)
Closes #2880
2024-03-27 14:10:14 +01:00
gir489
a9ccde5ac1 ACTUALLY fixes #2675 this time I swear. (#2879) 2024-03-27 11:33:33 +01:00
gir489
9b6712cc7d refactor: Bad design around the preview service (#2877)
Closes #2875
Closes #2675
Closes #2077
2024-03-26 23:37:50 +01:00
DayibBaba
f20ad20162 Fixed send chat logic (#2874)
Command reports will now only be sent to the command user
2024-03-26 17:28:08 +01:00
lonelybud
ccfa6759dd increase navigation_struct name size (#2869)
may fix #2852
2024-03-25 15:38:09 +01:00
maybegreat48
1e79a92657 Refactor and fix send chat (#2864)
* feat(chat): refactor and fix send chat
* fix(chat): fixes
* fix(chat): fix team chat

Co-authored-by: DayibBaba <79384354+DayibBaba@users.noreply.github.com>
2024-03-23 17:37:51 +01:00
Andreas Maerten
99afa8dfbb refactor!: Rewrite of the old notification service (#2866)
The main goal was improving the readability of the original code however some ugliness remains.

- Swapped from pointer singleton to instance singleton
- Actually make use of the alpha logic that used to be present
- Added a counter to notifications to indicate if something is being spammed
- Notification timeouts reset if they're sent to the queue again
2024-03-23 00:04:49 +01:00
gir489
dd5da5efec Remove DROWN flag and replace it with WATER flag. (#2863) 2024-03-22 22:19:57 +01:00
gir489
2961abfa97 Fixed incorrect typing of crash_objects array to allow the compiler to determine which is best. (#2859) 2024-03-22 09:24:39 +01:00
xynny
a6ded86e3f Add more crash models to protection (#2857) 2024-03-21 23:04:40 +01:00
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