176 Commits

Author SHA1 Message Date
Mr-X-GTA
ee92caa889 Protection improvements (#3146) 2024-05-19 20:26:44 +02:00
HCR-750F
0fa7c580c1 feat: Chat translator (#2931) 2024-05-10 21:41:59 +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
R.K
cee89f5e8a Crash Fixes (?) (#3081) 2024-05-09 23:09:59 +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
R.K
543c229be2 Refactor of Player Wanted Level (#3070) 2024-05-08 10:24:00 +02:00
R.K
8f2422b923 Start Script Activity Session Check (#3045) 2024-05-06 22:00:32 +02:00
HCR-750F
d59f8d85c1 Add more translation keys (#3024) 2024-05-03 17:29:24 +02:00
Quentin
e97c057ae4 fix(vehicle): fix repair not working after going in water (#2996) 2024-05-01 23:25:30 +02:00
gir489
3b42b3aac1 Fixed vehicle extras to match the scripts (#3019) 2024-05-01 23:24:20 +02:00
HCR-750F
acf16c71da refector: Chinese chat spam blacklist (#2994) 2024-04-30 17:55:17 +02:00
gir489
51cd6e37ff 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
Vali
d8bc812907 Added crash objects to list (#2950)
* Fixed duplicate and added any possibly missing object
2024-04-20 00:14:34 +02:00
gir489
c0214aeb85 Revert #2857 (#2921) 2024-04-06 23:49:55 +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
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
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
a9ccde5ac1 ACTUALLY fixes #2675 this time I swear. (#2879) 2024-03-27 11:33:33 +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
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
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
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
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
lonelybud
5b73acecc2 fix: ped body clean up logic (#2764) 2024-02-23 21:00:26 +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
maybegreat48
0f7e20743e Launcher script start fix (#2697) 2024-02-10 14:14:29 +01:00
Anvar
70875b31ab refactor: move Request Model logic to helper function (#2669) 2024-01-31 10:47:03 +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
Anvar
b0e528d7cd refactor: improvement load_3d_ground_at_coords (#2654) 2024-01-27 18:29:02 +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
maybegreat48
22e15e95d6 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
Aure7138
bc0d67583f Update crossmap and natives.hpp to 3095. (#2565) 2023-12-15 16:01:57 +01:00
gir489
fefaaeef3c Removed m_velocity from CVehicle. (#2563) 2023-12-15 11:10:30 +01:00
gir489
228ce6b25e Fixes for b3095 (#2537)
* Refactored TRIGGER_SCRIPT_EVENT for the duplicate f_2 argument they added in 3095.
Fixed OOB gadget spam caused by the tow truck.
Increased max interiors in InteriorControl.
* Updated scripted_game_event.
* Update GTAV-Classes repo.
* Fixed locals for 3095.
* Bump project to Build 3095.
2023-12-14 00:56:40 +01:00
gir489
5a9019fa62 Fixed TRIGGER_SCRIPT_EVENT for 3095. (#2527) 2023-12-13 19:32:26 +01:00
gir489
ab970764fc Added more spam messages to the filter. (#2488)
* Added more spam messages to the filter.

* Removed duplicate remote control vehicle button from the player vehicle menu.

* Added heuristical spam detector.

* Fixed clock in spam logger.

* Added date output to the chat logger.

* Added a message to show the user when someone is spamming.
More static text translations.

* Removed redundant mobile global in scr_globals.hpp.

* Added a spam reason to the spam logger.

* Added team/all to the chat logger.
Added a logger call for the user's chats.
2023-12-07 20:04:00 +01:00
thehorizon84
a3be8d9c03 Vehicle Abilities (#2474)
Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
2023-12-05 11:35:05 +01:00
gir489
d7015371a2 Added G's Cache to ESP. (#2461)
* Redesigned G's Cache to use Globals that are more reliable (and actually work).
Refactored START_NEW_SCRIPT_WITH_ARGS to use a static unordered_set so that it's not constantly constructing it each call, and potentially closes #2462
Added Pickup Pool.
2023-12-02 11:48:28 +01:00
gir489
365dd5ef71 Revert #2431 and #2421. (#2434) 2023-11-20 13:29:49 +01:00
maybegreat48
a97af16888 Rewrite AC bypass (#2430)
* fix(anticheat): rewrite AC bypass again (the old one isn't detected but this is cleaner)
* fix(chat): some chat tweaks
* fix(anticheat): fix memory leak
* feat(lua): add is_player_friend
* fix(protections): fix possible false positives with the vehicle task mismatch protection
* feat(protections): add debug logs to trace false positive
* fix(spam): add some more stuff
2023-11-19 23:20:15 +01:00
Andreas Maerten
eadbc585b1 chore: remove migration code (#2424) 2023-11-16 23:43:04 +01:00
gir489
f477190f60 Fix jittering Player ESP (#2421) 2023-11-16 19:46:52 +01:00
thehorizon84
937e1b5a13 Player Database Enhancement (#2411)
Added 'Send Friend Request' through the player's rockstar ID.
2023-11-14 20:20:26 +01:00
gir489
eca00ef3b6 Fixed teleport::to_coords not setting the player's yaw if they were not in a vehicle. (#2401) 2023-11-09 23:07:30 +01:00