195 Commits

Author SHA1 Message Date
gir489
d946f063d1
fix(Aimbot/Triggerbot): crash could occur if the user had Trust Friends on when aimbotting (#3413) 2024-07-23 21:23:39 +02:00
Andreas Maerten
40bf403500
fix(GtaDataService): Rebuild Cache button not working (#3411)
Changes:
- Switch from pointer singleton to pre-instanced singleton
- Added default constructor to cache_file object
- Fixed an issue where maps and vectors would not be cleared before (re)generating a cache.
2024-07-23 20:15:19 +02:00
gir489
f23078c9ea
Fixed friendly NPCs being incorrectly targeted by the aimbot/triggerbot. (#3412)
Added friends check to the aimbot/triggerbot.
2024-07-23 20:13:51 +02:00
gir489
e08ab4ca80
Project include cleanup (#3404) 2024-07-23 13:40:30 +02:00
DayibBaba
b1e1467738
Partial revert of changes to Superherofly (#3389) 2024-07-22 10:18:45 +02:00
gir489
8d5d5cb73c
Redesigned triggerbot (#3396)
* Redesigned triggerbot to respect the same configuration the user has setup for the aimbot.
Triggerbot will not force fire the player's current weapon instead of just silently spawning a bullet.

* Delay grabbing player velocity until after we've confirmed the target velocity has at least one tick of information to use.

* Fixed some mission peds not being aimbotted/triggerbotted when using only enemies.
Removed unused global.

* Refactored enemy checks to only run the enemy determination code if the user has it enabled.
2024-07-22 10:16:16 +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
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
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
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
R.K
9df32a3adf
Disable Vehicle Heading Updates When Vehicle Flying in First-Person Mode (#2991) 2024-05-30 22:07:41 +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
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
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
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
R.K
ff55db8fa3
fix: Prevent autokick of friends and trusted (#2989) 2024-04-28 22:44:20 +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
629cff293a
fix nlohmann potential throw in ped outfit (#2894) 2024-03-30 18:42:04 +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
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
maybegreat48
1e11d83f7a
fix: don't randomize components if we're cloning an existing ped (#2663) 2024-01-28 15:51:25 +01:00
gir489
deac08e856
Optimized Aimbot code. (#2653)
* Fixed hypot call not considering the Z coordinates.
Refactored class-based variables.
Fixed on_player/on_enemy/on_police/on_npc config variables not being persisted to disk.
2024-01-27 11:51:23 +01:00
navmodder
dd27ea2340
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
1127e51a52
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
gir489
9bedcca8a4
Added sanity checks to vehicle_allow_all_weapons() to prevent an EXCEPTION_ACCESS_VIOLATION on m_vehicle when first entering it. (#2612)
Made the weapons lists in Self->Weapons->Ammunation and Weapon Hotkey sorted by name instead of a completely random order.
2023-12-20 14:16:03 +01:00
gir489
e544e02e55
Refactored Allow All Vehicles (#2604)
* Refactored Allow All Vehicles to use the current seat the ped is in to fetch the animation info that the car is currently using.
* Update gtav-classes tag hash.
* Removed GROUP_SMG from the allow all weapons false scenario.
2023-12-19 17:15:52 +01:00
gir489
8e8919ec56
fix(SpeedoMeter): squished drawing on mobile phone (#2601) 2023-12-18 23:38:08 +01:00
HCR-750F
f3faa8540f
fix(Globals): off radar and fast respawn globals (#2568) 2023-12-15 16:01:36 +01:00
gir489
9dd1d49ed4
Removed m_velocity from CVehicle. (#2563) 2023-12-15 11:10:30 +01:00
gir489
a07142ebf2
Closes https://github.com/YimMenu/YimMenu/issues/2559 (#2561)
Closes https://github.com/YimMenu/YimMenu/issues/2560
Closes https://github.com/YimMenu/YimMenu/issues/2552
2023-12-15 00:35:00 +01:00
gir489
7f20e01938
Fixed incorrect pointer type for PBOOL on line 92. (#2545) 2023-12-14 19:55:41 +01:00
gir489
f0aa601c18
Fixed LS Customs camera being stuck on certain vehicles. (#2539) 2023-12-14 10:58:24 +01:00
gir489
695a6dd20e
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
horizon
ffd89153b5
Added Oppressor Mk 1's gliding ability to vehicle abilities. (#2538) 2023-12-14 00:54:59 +01:00