Commit Graph

1615 Commits

Author SHA1 Message Date
gir489
7a25403912
Updated the max characters from 64 characters to 41, which seems to be the maximum the Socialclub API actually saves and returns. (#3014) 2024-05-01 10:54:28 +02:00
gir489
d1d72e54b9
Add motorcycle club, too. (#3013)
* Refactor add_callback_for_labels to take an initializer_list.
2024-04-30 23:17:59 +02:00
gir489
17a7ad65b9
Increased the maximum length of CEO Name from 15 to 64 characters. (#3011)
* Added FMMC_KEY_TIP15 replacement of 15 to 64.
* Removed legacy multiplayer chat filter.
2024-04-30 22:59:52 +02:00
Arthur
222e98840c
Bypass Profanity Checks (#3010) 2024-04-30 20:53:29 +02:00
R.K
03b65d5375
feat: Added Infinite Vehicle Ammo (#3003) 2024-04-30 20:52:49 +02:00
R.K
5fec32df4c
fix(VehicleController): Missing translations (#3004) 2024-04-30 18:13:25 +02:00
gir489
ccb3591364
Added "Enable MK1 and MK2 Weapons" feature. (#3000) 2024-04-30 18:11:43 +02:00
HCR-750F
f0cd838bb1
refector: Chinese chat spam blacklist (#2994) 2024-04-30 17:55:17 +02:00
R.K
ff55db8fa3
fix: Prevent autokick of friends and trusted (#2989) 2024-04-28 22:44:20 +02:00
R.K
fcf74bc198
feat(Protections): added UI element to toggle give collectible (#2990)
* Adapted protection UI to better make use of the space
2024-04-28 21:54:18 +02:00
gir489
79083e34f0
Fixed commands not working in single player. (#2980)
* Fixed commands not working in single player.

* Code review changes.
2024-04-27 16:10:35 +02:00
Andreas Maerten
9b10969978
Update [BUG] issue template (#2978) 2024-04-26 16:31:44 +02:00
gir489
51ee53ee51
Fixed format_money not working. (#2969) 2024-04-24 21:14:41 +02:00
gir489
1fa3ef8a45
Added StartScriptBegin protection. (#2962)
* Refactored Script Event Logging to log to a file that's kept open, but flushed each event instead of spamming the console.
* Added Rockstar ID to the Script Event Logger.
2024-04-23 22:48:29 +02:00
Andreas Maerten
ca1e7e6b41
Give optimisation hints to compiler (#2929)
feat(invoker): add compiler hints
chore(get network event data): added translation TODO
feat(native hooks): add compiler hint to crashes
feat(render): add likely compiler hint to on_present
feat(thread pool): add compiler hints
Added hook likely/unlikely switches to debug/crash scenarios.
Added HEX_TO_UPPER call on the AC verifier offsets.
Added more fuzzer unlikely attributes.
Replaced some hard coded numbers with their unhashed _J variants.
Added more unlikely attributes to singleton initializer checks.
Added more likely/unlikely attributes to certain scenarios.
2024-04-22 19:48:22 +02:00
gir489
b1bf477d1f
Added formatting to money on HUD. (#2957) 2024-04-22 18:29:42 +02:00
Vali
e887ac2eba
Added crash objects to list (#2950)
* Fixed duplicate and added any possibly missing object
2024-04-20 00:14:34 +02:00
Andreas Maerten
3a84f91fd8
feat(metadata): bump build number (#2949) 2024-04-17 23:49:42 +02:00
Quentin
382ddb319b
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
10bec398bb
fix(lua): fix pointer.allocate allocating the wrong number of bytes (#2941) 2024-04-13 17:41:04 +02:00
Quentin
0dc5ad6137
fix(lua): better error reporting when calling player commands (#2932) 2024-04-10 11:43:55 +02:00
gir489
58e1ccf36c
Revert #2857 (#2921) 2024-04-06 23:49:55 +02:00
Andreas Maerten
9870a8d37c
fix(Onboarding): not showing up when cache needs to generate (#2916)
Fixes #2910
2024-04-05 14:16:58 +02:00
Andreas Maerten
075f30fc7b
feat(FontMgr): expand Turkish glyph range (#2915) 2024-04-04 20:34:43 +02:00
gir489
5703338d67
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
6ec9d24743
fix: Vehicle Preview same model hash different actual vehicle (#2904)
Closes #2903
2024-04-02 09:55:13 +02:00
gir489
8425cae0f6
Refactor m_rockstar_id into its proper type of a 64-bit signed integer. (#2901) 2024-03-31 21:11:52 +02:00
lonelybud
4e1deb4ef0
fix chat not seen by other players (#2900) 2024-03-31 19:34:41 +02:00
Quentin
629cff293a
fix nlohmann potential throw in ped outfit (#2894) 2024-03-30 18:42:04 +01:00
gir489
1f556a8c78
Redesigned the preview system entirely. (#2888) 2024-03-30 18:41:12 +01:00
gir489
21da47f3e5
Fixed gamer_handle_serialize/deserialize using the wrong sizes. (#2886) 2024-03-28 20:15:33 +01:00
gir489
4636ef8346
Unify rlGamerHandle code and fix chat inaccuracies. (#2883) 2024-03-27 21:43:31 +01:00
gir489
0fb17b668e
refactor: Model Preview use time delta instead of frame/tick rate (#2881)
Closes #2880
2024-03-27 14:10:14 +01:00
gir489
6212171fc8
ACTUALLY fixes #2675 this time I swear. (#2879) 2024-03-27 11:33:33 +01:00
gir489
399a5d3dec
refactor: Bad design around the preview service (#2877)
Closes #2875
Closes #2675
Closes #2077
2024-03-26 23:37:50 +01:00
DayibBaba
a5a5b07984
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
cfb011d192
increase navigation_struct name size (#2869)
may fix #2852
2024-03-25 15:38:09 +01:00
maybegreat48
7e7bcb155a
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
cba19d0c33
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
313bfa24b3
Remove DROWN flag and replace it with WATER flag. (#2863) 2024-03-22 22:19:57 +01:00
gir489
3f1921e835
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
dd679010b7
Add more crash models to protection (#2857) 2024-03-21 23:04:40 +01:00
Andreas Maerten
5f553b3430
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
95259faf59
add lua api: script.execute_as_script (#2824)
Co-authored-by: xiaoxiao921 <xiaoxiao921@hotmail.fr>
2024-03-21 11:20:22 +01:00
DayibBaba
b5d8d7dbad
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
ae27173b12
Extra give control checks (#2847)
Closes #2841
Closes #2088
2024-03-19 19:06:03 +01:00
gir489
de5ff92fa0
Fixed hooks::scripted_game_event using incorrect types and sizes. (#2844) 2024-03-19 10:33:50 +01:00
maybegreat48
d0c5ffaa40
Use the timestamp when validating cache version (#2834) 2024-03-18 14:33:09 +01:00
gir489
7ba85de412
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
8d0ce1d306
Nightly but better (#2818) 2024-03-12 09:43:08 +01:00