180 Commits

Author SHA1 Message Date
maybegreat48
74ecf22ecf Menu revamp (#3274)
* Complete player and network UI redesign, meant to show all features instead of stuffing them into tiny boxes
* Added option to delete player vehicles
* Better clone player (now clones head blend too)
* Better host token spoofing, with an option to enter your own
* Better host token spoofing detection
* Better desync kick prot detections
* A script blocker for the entire session (per-player options will be added later)
* Added option to spoof data/DLC hashes
* Logging framework that allows developers to easily debug false positives
* Major protection improvements
2024-06-27 10:32:17 +02:00
CringeArab
b02e428cf9 Filtering blocked modders in session browser (#3257) 2024-06-24 20:24:53 +02:00
sch-lda
1f32884af8 feat(ChatFilter): block chats from unknown users (#3250) 2024-06-14 11:21:45 +02:00
CringeArab
4246fc7a74 Chat spam to reaction (#3192) 2024-05-30 20:24:33 +02:00
maybegreat48
0e5c8f7cfb Break game and protections (#3203) 2024-05-30 19:45:43 +02:00
R.K
dcf50fffa8 P2905R2 Fix - Refactor rvalue arguments into lvalues for std::make_format_args (#3194)
Co-authored-by: xiaoxiao921 <837334+xiaoxiao921@users.noreply.github.com>
2024-05-29 19:50:59 +02:00
lonelybud
301c74ed3e move session lock logic to handle_join_request (#3136) 2024-05-24 23:20:04 +02:00
Ryan
ffbd55703d Remove Unknown Player OOM Kick False Positives (#3170) 2024-05-24 23:19:32 +02:00
maybegreat48
a6e7eb54b6 Session multiplexer and more (#3167) 2024-05-24 23:17:54 +02:00
maybegreat48
3efd9d7fd1 Harass players and spam killfeed (#3161) 2024-05-21 23:28:52 +02:00
Mr-X-GTA
ee92caa889 Protection improvements (#3146) 2024-05-19 20:26:44 +02:00
gir489
95b99c2a11 Added filtering system to prepare_metric_for_sending. (#3139) 2024-05-19 00:04:12 +02:00
R.K
f28883a05f Small Refactor of Session Bad Sport Spoofing (#3134) 2024-05-16 09:51:04 +02:00
gir489
610f7e62cb Added file-based log to debug.packet_logs. (#3127) 2024-05-15 19:54:34 +02:00
lonelybud
cc91ad4ea4 elegant crash complete protection (#3109) 2024-05-15 17:38:48 +02:00
maybegreat48
7195f5f069 Desync protection improvements (#3094) 2024-05-13 19:01:47 +02:00
maybegreat48
b626140916 Hide vehicle godmode (#3103) 2024-05-13 17:21:34 +02:00
Mr-X-GTA
db371a3911 fix(script_event_handler): fix crash (#3105) 2024-05-13 00:45:57 +02:00
HCR-750F
0fa7c580c1 feat: Chat translator (#2931) 2024-05-10 21:41:59 +02:00
Mr-X-GTA
9ad4885a8f Desync kick protection (#3086) 2024-05-10 21:09:10 +02:00
Muhammad007228
c77ffe1788 Less noticeable multi-kick => smart-kick (#3066) 2024-05-10 11:51:14 +02:00
Ryan
f546286033 feat: Block Stand elegant crash (#3076) 2024-05-09 23:29:03 +02:00
Mr-X-GTA
b58d1d189d Fix player list crash (#3080)
* Fixed get_rockstar_id returning an incorrect type.
* Added more OOP usage of get_rockstar_id when applicable.
Co-authored-by: gir489returns <gir489returns@outlook.com>
2024-05-09 23:28:11 +02:00
Ryan
178cddabd5 Fix the Radio Sync Fix (#3060) 2024-05-09 15:10:56 +02:00
maybegreat48
efc172c9e2 Assorted fixes (#3073)
* feat: unstuck more when removing blackscreen
* fix: make kicks more versatile
2024-05-09 11:05:56 +02:00
tiCkuhAr
861e53ec7a Remove useless kicks (#3061) 2024-05-06 22:11:35 +02:00
R.K
8f2422b923 Start Script Activity Session Check (#3045) 2024-05-06 22:00:32 +02:00
R.K
7216f6cadb Allow Trusted Players & Friends to Request Control (#3047) 2024-05-06 20:15:53 +02:00
HCR-750F
d59f8d85c1 Add more translation keys (#3024) 2024-05-03 17:29:24 +02:00
gir489
93c95c51c3 Fix multiple crashes. (#3035) 2024-05-03 17:28:21 +02:00
Ryan
03fb470983 Radio Sync Fix (#2973) 2024-05-02 17:42:37 +02:00
gir489
2c55564d1a Refactor format money to use manual methods of comma addition. (#3020) 2024-05-01 23:30:25 +02:00
gir489
7c8aa753ee Fixed format_money not working. (#2969) 2024-04-24 21:14:41 +02:00
gir489
33530855d1 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
fcdeeba7ed 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
e32fee1252 Added formatting to money on HUD. (#2957) 2024-04-22 18:29:42 +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
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
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
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
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
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
26686402c3 proper fix for weapon info damage crash (#2740) 2024-02-21 07:48:42 +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
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