254 Commits

Author SHA1 Message Date
DayibBaba
e2f9714e18
Fixed invalid command crashing game (#3388)
Some checks failed
Nightly Build / Build Nightly (push) Has been skipped
Nightly Build / Recreate Release (push) Has been skipped
Nightly Build / Check Recent Commit (push) Failing after 4s
2024-07-20 12:26:51 +02:00
gir489
c1f68cb632
Improved aimbot enemy detection and change DragInt to SliderInt (#3378)
Some checks are pending
Nightly Build / Check Recent Commit (push) Successful in 41s
Nightly Build / Build Nightly (push) Waiting to run
Nightly Build / Recreate Release (push) Blocked by required conditions
* Added aimbot check for peds we are in combat with via scripts.
* Changed DragInt into SliderInt.
* Fixed no_sway not being saved to config.
* Fixed aimbot snapping to an invalid angle when the target was first grabbed.
2024-07-18 21:58:21 +02:00
gir489
ce56abc056
Fixed typo on no_sway command variable(#3373) 2024-07-18 08:59:49 +02:00
Quentin
d6027e5935
refactor: aimbot (#2902)
Some checks are pending
Nightly Build / Check Recent Commit (push) Successful in 30s
Nightly Build / Build Nightly (push) Waiting to run
Nightly Build / Recreate Release (push) Blocked by required conditions
* Fixed ped flags system not allowing Michael's flag to be set.
* Refactored is_a_ped_type_we_dont_care_about logic to not be extraneous and inefficient.
* Fixed completely broken and wrong FoV calculations.
* No Sway patch.

Co-authored-by: gir489 <100792176+gir489returns@users.noreply.github.com>
2024-07-17 23:17:18 +02:00
gir489
df102c7ae2
Refactor no_idle_kick to not store the address of the tunables. (#3363)
* Refactor no_idle_kick to not store the address of the tunables.
* Added sanity checks to the tunable pointers.
2024-07-17 14:13:10 +02:00
DayibBaba
2f9194e49a
YimCLI (#3348)
* Better command suggestions
* Suggestions work at any location in a written command
* Multiple commands in a single command
* Added spectate command & highlight on suggestion selection
* Added no suggestions warning
* Added Kamikaze & send squad & join player command
2024-07-17 14:11:09 +02:00
DayibBaba
b90ce402a1
Expand Cmd Executor (#2884)
Some checks failed
Nightly Build / Check Recent Commit (push) Failing after 5s
Nightly Build / Build Nightly (push) Has been skipped
Nightly Build / Recreate Release (push) Has been skipped
Added additional commands to showcase suggestion system.
Added a new util file to operate on strings in a unified manner.
Changed input_text_with_hint component to allow for more flags than one.
Added more player seeking features to player_service such as get_by_name()

* Fixed out of bounds suggestion navigation

* Added suggestions to spawn_vehicle command

* Created command play_animation

* Added suggestion support for multi commands

using a semicolon allows for more commands to fire at once, and is now supported with appropriate suggestions

* Added rotation to teleport_to_location command

* Fixed stupid error & added multiple raw command auto fills

* Added sanity checks to avoid nullpointers

* Added context identifiers to player commands

* Added temporary self inclusion to player commands

Needs translation on the translations repo

* Applied rudamentary reviews

* Experimental proxy globalization

* Fixed argument sensitivity on spawn vehicle

* Scrapped 2 ideas (maybe for future)

* Added true and false suggestions to bool commands

---------

Co-authored-by: Andreas Maerten <24669514+Yimura@users.noreply.github.com>
Co-authored-by: gir489 <100792176+gir489returns@users.noreply.github.com>
2024-07-13 00:26:34 +02:00
Mr-X-GTA
3bffd92839
Bug fixes and improvements (#3324)
Some checks failed
Nightly Build / Check Recent Commit (push) Failing after 4m28s
Nightly Build / Build Nightly (push) Has been skipped
Nightly Build / Recreate Release (push) Has been skipped
* feat: handle exceptions on jumps correctly
* fix(player_db): fix invite player
* fix: remove old stuff
* fix(script__vm): fix script vm crashes
* remove debug code
* fix(scr_globals): fix globals and locals
2024-07-10 13:43:39 +02:00
gir489
05aadfe98e
Fix C4/Flare limit and not working (#3308)
Some checks failed
Nightly Build / Check Recent Commit (push) Failing after 19s
Nightly Build / Build Nightly (push) Has been skipped
Nightly Build / Recreate Release (push) Has been skipped
* Closes #3307

* Fix instant respawn.
2024-07-08 21:13:06 +02:00
gir489
2040f0f118
Fixed freemode::mobile local for 3258. (#3298)
* Fixed freemode::mobile local for 3258.

* Fixed carmod_shop locals.
2024-07-04 09:33:09 +02:00
maybegreat48
61ddba1634
Update for b3258 (#3288)
* fix: update script names
* fix: use original chat sender
* feat(tunables): fix tunable service
* fix: explode patch (thanks @Mr-X-GTA)
* fix: fix compile errors
* fix: use unique_ptr
* Added 1.69 vehicles.
* Added new weather for 1.69 and updated stack sizes.
* Fixed garage.
* Made Unload button a developer-only feature. (Disabled on Release)
* Redesigned Network tab to not be a giant mess.
* Added new json_serializer code from @tupoy-ya.
* chore: correct dependency

------

Co-authored-by: maybegreat48 <email@hostname>
Co-authored-by: Andreas Maerten <24669514+Yimura@users.noreply.github.com>
Co-authored-by: gir489returns <redacted@example.com>
2024-07-03 23:04:06 +02:00
maybegreat48
4589b87553
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
58972289b1
added block_join_reason (#3215) 2024-06-02 17:37:02 +02:00
R.K
9df32a3adf
Disable Vehicle Heading Updates When Vehicle Flying in First-Person Mode (#2991) 2024-05-30 22:07:41 +02:00
CringeArab
fd939c48cb
Block join reason to reaction (#3190) 2024-05-30 20:07:39 +02:00
maybegreat48
a218f84eed
Break game and protections (#3203) 2024-05-30 19:45:43 +02:00
R.K
fe0bcdd7ae
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
R.K
3e577ee31f
[Bug Fix]: Fixes for Never Wanted "Flickering" in Zancudo/Bolingbroke (#3152)
* replace REPORT_CRIME with SET_MAX_WANTED_LEVEL

---------

Co-authored-by: gir489 <100792176+gir489returns@users.noreply.github.com>
Co-authored-by: Arthur <redacted@gmail.com>
2024-05-27 23:57:19 +02:00
maybegreat48
c180694199
Session multiplexer and more (#3167) 2024-05-24 23:17:54 +02:00
maybegreat48
1cc7532a1e
Harass players and spam killfeed (#3161) 2024-05-21 23:28:52 +02:00
CringeArab
64d187413f
fix: Fake ban message (#3141) 2024-05-19 20:42:29 +02:00
Mr-X-GTA
28aae52e72
Protection improvements (#3146) 2024-05-19 20:26:44 +02:00
R.K
00f5c34e2a
[Enhancement]: Stability Improvements to Black Hole Feature (#3132) 2024-05-16 18:47:25 +02:00
Ryan
7f8977adcf
Change MIPH with MPH (#3128) 2024-05-16 00:05:51 +02:00
maybegreat48
44269fcf35
Desync protection improvements (#3094) 2024-05-13 19:01:47 +02:00
HCR-750F
f15cb312e7
feat: Chat translator (#2931) 2024-05-10 21:41:59 +02:00
Muhammad007228
dada469c55
Less noticeable multi-kick => smart-kick (#3066) 2024-05-10 11:51:14 +02:00
Mr-X-GTA
9062491f1d
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
01f784de18
Hotfix (#3072) 2024-05-09 11:06:25 +02:00
maybegreat48
29f226b316
Assorted fixes (#3073)
* feat: unstuck more when removing blackscreen
* fix: make kicks more versatile
2024-05-09 11:05:56 +02:00
R.K
1b82c94d4d
Refactor of Player Wanted Level (#3070) 2024-05-08 10:24:00 +02:00
tiCkuhAr
dfca5c7567
Remove useless kicks (#3061) 2024-05-06 22:11:35 +02:00
R.K
1066aefa03
Start Script Activity Session Check (#3045) 2024-05-06 22:00:32 +02:00
HCR-750F
a7934ba357
Add more translation keys (#3024) 2024-05-03 17:29:24 +02:00
Quentin
435963d3b6
fix(vehicle): fix repair not working after going in water (#2996) 2024-05-01 23:25:30 +02:00
R.K
03b65d5375
feat: Added Infinite Vehicle Ammo (#3003) 2024-04-30 20:52:49 +02:00
gir489
ccb3591364
Added "Enable MK1 and MK2 Weapons" feature. (#3000) 2024-04-30 18:11:43 +02:00
R.K
ff55db8fa3
fix: Prevent autokick of friends and trusted (#2989) 2024-04-28 22:44:20 +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
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
Quentin
0dc5ad6137
fix(lua): better error reporting when calling player commands (#2932) 2024-04-10 11:43:55 +02:00
Quentin
629cff293a
fix nlohmann potential throw in ped outfit (#2894) 2024-03-30 18:42:04 +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
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
Andreas Maerten
e07601347d
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
gir489
f4e0da5ff4
Added g_local_player pointer sanity checks. (#2792) 2024-03-01 17:48:20 +01:00
Andreas Maerten
d4d504dca2
feat: Add menu onboarding to YimMenu (#2492) 2024-02-23 22:54:25 +01:00
Andreas Maerten
0b53660312
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