42 Commits

Author SHA1 Message Date
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
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
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
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
thehorizon84
6d64bcd1d7
feat: Unlock Interaction Menu, Weapon Explosion Radius Modifier & improve fast respawn(#2489) 2023-12-08 14:13:06 +01:00
gir489
0c550f158b
Refactor duration_cast calls to use implicit time calculations without extraneous count calls. (#2333) 2023-10-23 20:55:45 +02:00
gir489
37468ca7b0
Converted all static strings to translation keys. (#2284) 2023-10-20 18:24:44 +02:00
Quentin
f9c948f909
fix(teleport): code reuse / fix lot of unnecessary logic running for tping our own ped. (#2246) 2023-10-13 00:10:18 +02:00
張致強
639d776267
fix(NoRecoil): remove sniper scope recoil (#2168) 2023-09-21 20:06:06 +02:00
張致強
59cc4f2aa7
fix(NoRecoil): GTAV-Classes offsets were changed (#2131)
Fixes #2120
2023-09-15 11:42:01 +02:00
T14D3
6c1e821d60
Various fixes (#1983)
* Closes #1928
* Closes #1925
* Closes #1864
2023-08-19 13:01:59 +02:00
maybegreat48
5eead0436f
Huge protection improvements and other stuff (#1963)
* feat(protections): add a fuzzer
* feat(protections): improve protections
* feat(spoofing): add warning
* feat(world): force object cleanup
* fix(weapons): fix custom weapon code
* fix(weapons): fix for #1983
2023-08-19 13:01:08 +02:00
TheGreenBandit
ae486ca129
Rework rgb for fun vehicle and paintgun (#1783)
Closes #1819
2023-07-23 18:51:57 +02:00
TheGreenBandit
a57027b198
Tp, Paintgun, refractor rainbow controller, refractor raycast (#1708) 2023-07-14 23:31:03 +02:00
maybegreat48
61bb60d1f4
Player database improvements (#1705)
* feat(protections): add per-player sync block options
* feat(player_database): improve player tracker
* fix(rapid_fire): remove unnecessary log statement
* fix(player_database): default state should be UNKNOWN, not INVALID
2023-07-14 11:02:47 +02:00
Quentin
05a917bbbb
fix(rapid-fire): fix rapid fire for some reason not shooting from the weapon position but instead from the cam. Fix rapid fire not being available in vehicles. (#1700) 2023-07-13 16:50:30 +02:00
gir489
c570df8e48
Fixed Weapon Hotkeys and introduced Hold For Boost to Boost. (#1692)
* Fixed #1690.

* Added Hold For Boost to Boost Behavior.

* Added Teleport into Personal Vehicle and Toggle Vehicle Fly Mode as hotkeys.

* Fixed pvtp command not working if you were inside a building.
2023-07-12 18:55:53 +02:00
gir489
098b15eca6
Weapon Hotkeys (#1685) 2023-07-11 23:14:35 +02:00
gir489
7f777900a1
Persist Weapons (#1647) 2023-07-09 23:01:42 +02:00
gir489
a0beeea767
Added Always Full Ammo. (#1616) 2023-07-05 23:29:07 +02:00
maybegreat48
70efa40afe
Lua Scripting (#1334)
Closes #83
Fixes #1309
Fixes #1287
Fixes #1129 (actually fixed now)
2023-06-06 09:40:40 +02:00
Rxann
56d9d39b71
feat(Notifications): Added push_success function (#1340) 2023-06-05 21:46:20 +02:00
maybegreat48
3c2245f780
General fixes (#1251) 2023-04-16 19:28:49 +01:00
Rxann
60e1c2e3c6
feat(CustomWeapons): deactivate when weapon is holstered (#1231) 2023-04-15 22:17:43 +01:00
Rxann
2bb0557946
custom gun refactor (#1230) 2023-04-14 18:02:00 +01:00
Seanghost117
711b08be75
revert: Increase Damage (#1108)
Part of the changes made in #889
2023-03-18 20:52:44 +01:00
TheGreenBandit
d87caaa6d7
Several feature additions (#889)
* Added Infinite Range
* Added Fill Ammo
* Added Aim Assist
* Added Hud Color Options
* Added Clear Wanted Level
* Added Health Regen
* curly brackets in invisibility
* Added hotkeys
* Improved Increased Damage
2023-03-13 21:10:21 +00:00
maybegreat48
ad90ee3f6a
Play audio on voice chat and more (#1053)
* feat(VC): audio through voice chat
* fix(BlackHole): remove unnecessary cleanup
* fix(Formatting): fix formatting for initializer lists
* feat(LSC): reimplement LSC
* feat(Protections): add (untested) protections for vehicle kick and remote teleport
2023-03-09 12:23:01 +00:00
maybegreat48
9ccb77e8eb
Add more spoofing options and added clang-format (#1020)
* feat(Spoofing): add spoofing
* feat(Spoofing): prepare code for player attach
* remove(PlayerAttach): isn't going to work due to netsync architecture
* fix(GUI): fix scaling
* feat(Project): add clang-format file
* feat(Classes): update classes
* fix(BlackHole): remove unnecessary cleanup
* fix(Formatting): fix formatting for initializer lists
* feat(clang-format): Set tab width and 1 space before comment

Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
2023-03-01 21:27:15 +00:00
Seanghost117
7084ce510b
Feature Additions, GUI Tweaks, Fixes (#975)
* Added view nearby to view header, moved get_entities function to entities and refactored some code. Also implemented a sphere scale to the blackhole as it can get big
* added delete and kill nearby peds and updated ped header
* added some nearby ped looped commands, and some changes to extend the buttons
* add vehicle options to nearby
* add most ciritcal feature kill enemies
* changes to ignore peds based off of some of maybegreat's suggestions, same with ped_rain, removed loose comment. Updated vehicle.hpp, changed size of vehicle buttons and inlined kill enemies
* fixed a problem where the vehicle options crashed + added color
* updated colors and added on disable for ped_rush
* finished and added vehicle rain feature
* added aimbot and triggerbot, added templating to buttons
* update vehicle rain desc
* added vdistance check, player check, police check, enemy check. Added even more commenting... sue me. 3 toggles added for the checks and slider for dist. Will tweak more later
* switched to goto statements instead of continue, should be done now
* removed delete nearby vehicles
* there was no check in get_entities for our local vehicle
2023-02-25 21:33:16 +01:00
Aure7138
da0d98ef0e
refactor: c4 limit and some general fixes (#970) 2023-02-10 21:33:47 +00:00
LiamD-Flop
bc9583b990
Multi select for gravity gun (#690) 2023-01-16 21:16:06 +00:00
snackosauruss
54b3267537
fix(Weapons) infammo & infclip using wrong setting (#741)
Fixed the infclip and infammo commands setting no_recoil instead of infinite_mag and infinite_ammo
2022-12-23 22:07:24 +01:00
maybegreat48
79e5e7a30b
Commands (#725)
* feat(Commands): Prototype command system
* feat(Commands): Chat commands
* refactor(Toxic): convert most options into commands
* feat(Protections): block breakup kicks on other players as host
* refactor(Kicks): convert most options into commands
* refactor(Commands): add labels and descriptions to all commands
* feat(Commands): cleanup on unload
* refactor(Troll): convert most options into commands
* refactor(Misc): convert most options into commands
* refactor(Teleport): convert most options into commands
* feat(Commands): Variadic commands and toggleable bools
* feat(Hotkeys): hotkeys now use commands
* fix(Chat): fix the chat window locking up when a message is sent
* fix(Commands): properly handle spoofed username
* fix(Spam): update filter

Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
2022-12-22 21:23:32 +00:00
Yimura
f6c00f113d
refactor!: globals (#717)
* refactor(globals): use macro's for to_json/from_json
* refactor(globals): switch from global pointer to global instance
2022-12-18 22:15:52 +00:00
Yimura
f2f3c28048
refactor: Renderer (#694)
* Simplified SwapCHain, Device and DeviceContext pointers
* Added DX and WndProc callback registration
* Cleaned up GUI code
* Optimised Mouse Toggle
2022-12-16 17:55:55 +00:00
Aure7138
86f1ce747f
feat: BDSM crash protection & fix #668 (#680) 2022-12-10 19:36:45 +00:00
Aure7138
eb80ac54bd
feat: Fast Respawn, Rapid Fire, removed static offsets (#649)
Closes #495
Fixes #635
2022-11-29 19:16:07 +00:00
SpaghettDev
cab25b12f7
feat(hud): Add force show HUD component and replaced some hard-coded values. (#628) 2022-11-26 19:42:58 +00:00
tupoy-ya
1087146e56
refactor!: Replace premake5 with CMake. (#551)
Co-authored-by: tupoy-ya <tupoy-ya@users.noreply.github.com>
2022-11-08 21:08:58 +00:00