779 Commits

Author SHA1 Message Date
gir489
c6ce5da315 Added script patch to stop NPCs from putting bounties on us. (#3461) 2024-07-28 21:54:29 +02:00
Mr-X-GTA
cbcdcc244d fix: fix chat (#3454) 2024-07-27 21:43:45 +02:00
gir489
e1c488fd1f Disable dupe detector in freemode. (#3449)
* Fixed freemode detecting duplicate vehicles and trying to emit DUPE_DETECT metric.

* Added unlikely attribute to allow_all_vehicles_in_heists.
2024-07-27 21:01:19 +02:00
gir489
f3ac43b04f Fixed mission cars not being properly cleaned up. (#3434) 2024-07-26 23:29:49 +02:00
CringeArab
61c8dea805 Don't mark players in missions as joinable (#3444)
* do not mark missions as joinable

* disabled join button
2024-07-26 23:27:50 +02:00
gir489
cd74dff858 Fixed aimbot trying to aim at peds inside our current vehicle. (#3443) 2024-07-26 23:10:22 +02:00
gir489
879896ff62 Fixed TUNABLE_BASE_ADDRESS being incorrect. (#3441) 2024-07-26 23:10:06 +02:00
gir489
6e8c2106d4 Added an option to the aimbot to make it retrieve the max distance for the current weapon. (#3430)
Fixed an exception coming from spoof_host_token if a pointer was invalid.
Fixed the aimbot targeting "friendly NPCs" who were for some reason marked as hated NPC relationships.
2024-07-26 11:07:28 +02:00
Arthur
eb68394382 feat(debug): Add Tunables Tab (#3431)
Added a Tunables tab similar to Globals/Locals that can be used to read and write tunables by inputting their unsigned/signed or hexadecimal hash, as well as their pre-joaat name. It also displays the offset of the given tunable.

Removed the animation players in the Debug tab as the one in the Self tab makes them redundant.
2024-07-26 11:05:47 +02:00
lonelybud
afd7bcf8c3 fix(Weapon Combo Boxes): use unique ids for weapon combos (#3428) 2024-07-25 14:08:41 +02:00
Andreas Maerten
a98411bc82 feat: Patch game self report sender (#3422)
Fixes #3401
2024-07-24 23:46:47 +02:00
lonelybud
21929ee421 fix #3406 & refactor bounds check (#3419)
* Revert "change DragInt to SliderInt (#3378)"

This reverts outfit changes from commit c8dd29075c947f68b14b1a4beb6984538669aab7.

* Revert "Redesigned outfit editor (#3376)"

This reverts commit 5c6f7ae8c5a034f2a3f6f6df1ad0da9a870962bb.

* fix components text and draw should not be -1
2024-07-24 21:27:06 +02:00
gir489
7e326d129e Fixed aimbot snapping to weird angles when first grabbing a target with low FoV. (#3416) 2024-07-24 09:16:04 +02:00
Andreas Maerten
847799d80f fix(GtaDataService): weapon and weapon component caches aren't wiped properly on rebuild (#3414) 2024-07-23 23:54:57 +02:00
gir489
9413c30f44 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
7ce99f9ef6 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
15d92940be 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
Quentin
bba720f059 fix crash on reinject (#3409)
Co-authored-by: gir489 <100792176+gir489returns@users.noreply.github.com>
2024-07-23 18:19:39 +02:00
Arthur
f6a6f5dd86 Refactor Debug Threads & Expose More Functions (#3408)
- Added a search box for the script names in Debug -> Threads.
- Added `is_session_started` and `force_script_on_player` functions to the Lua network class.
- Added `is_active` and `start_launcher_script` functions to the Lua script class.
- Moved `view_stat_editor.cpp` to `src/views/network` from `src/views/settings`.
- Added a help text for directly editing the sliders in outfit editor.
2024-07-23 15:34:30 +02:00
gir489
f66f96295b Project include cleanup (#3404) 2024-07-23 13:40:30 +02:00
Quentin
4695f621e5 feat(debug): dump_entry_points (#3405) 2024-07-23 12:59:17 +02:00
Andreas Maerten
9885b68014 fix(FontMgr): also keep in mind game language when generating font texture (#2892) 2024-07-23 08:47:38 +02:00
Mr-X-GTA
286a54045f fix(kicks): fix script host kick (#3392) 2024-07-22 11:17:36 +02:00
DayibBaba
6a76831b8e Partial revert of changes to Superherofly (#3389) 2024-07-22 10:18:45 +02:00
CringeArab
326a1754ff Reaction translation and single kick reaction (#3380) 2024-07-22 10:17:58 +02:00
Arthur
a44912dbd8 feat(lua): Expose Script Patches & Functions (#3393) 2024-07-22 10:16:48 +02:00
gir489
1bb96fb562 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
DayibBaba
8680d72ecb Fixed invalid command crashing game (#3388) 2024-07-20 12:26:51 +02:00
gir489
c8dd29075c Improved aimbot enemy detection and change DragInt to SliderInt (#3378)
* 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
5c6f7ae8c5 Redesigned outfit editor (#3376) 2024-07-18 09:01:26 +02:00
gir489
c8887e1d56 Fixed typo on no_sway command variable(#3373) 2024-07-18 08:59:49 +02:00
Quentin
b1f623decd refactor: aimbot (#2902)
* 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
maybegreat48
90f7b0710c Update to b3274 (#3367)
* chore: update metadata version
* Use a more stringent signature that will land in an obtuse area but be guaranteed to not be decrypted later.
* Replace volatile signature with a more generic signature.

Co-authored-by: gir489 <100792176+gir489returns@users.noreply.github.com>
2024-07-17 22:15:47 +02:00
gir489
1ae48b191b 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
271ba08093 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
CringeArab
a25e0e7d0a removing multiplex-sessions from matchmaking (#3357) 2024-07-15 13:01:22 +02:00
gir489
e23583583f Closes #3345 (#3346) 2024-07-14 17:10:40 +02:00
kikkin_yo_azzez
360c449c63 more player stats lua bindings (#3325)
get_player_money
get_player_wallet
get_player_bank
get_player_language_id
get_player_language_name
2024-07-13 13:41:58 +02:00
gir489
47290de1bd Fixes #3341 (#3342) 2024-07-13 13:25:19 +02:00
ICYPhoenix7
c75c0d85c8 Improve compatibility with Jetbrains IDEs (#3337) 2024-07-13 13:24:59 +02:00
DayibBaba
8cb0d18901 Expand Cmd Executor (#2884)
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
gir489
69505b07c2 Removes size requirement on view_world check boxes affecting translations. (#3322) 2024-07-11 19:11:24 +02:00
Mr-X-GTA
4b73782c27 Bug fixes and improvements (#3324)
* 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
Quentin
270ff255c2 fix self doc (#3319) 2024-07-09 18:42:32 +02:00
Quentin
3e48c2e6d5 lua doc: add self table doc and update doc for previous changes that forgot to run the doc gen script (#3318) 2024-07-09 18:14:15 +02:00
Quentin
0b67accd30 feat: dynamicly calling x64 functions from lua at runtime with arbitrary signatures. (#3311) 2024-07-09 17:48:24 +02:00
maybegreat48
80b7c90efd fix(protections): fix the script blocker (#3317) 2024-07-09 17:34:15 +02:00
sch-lda
497dedb930 fix(Notification): some languages don't make use of spaces(#3316) 2024-07-09 17:23:59 +02:00
gir489
ce8d63d0d1 Fix C4/Flare limit and not working (#3308)
* Closes #3307

* Fix instant respawn.
2024-07-08 21:13:06 +02:00
Quentin
95969031df feat: dynamicly hooking x64 functions from lua at runtime with arbitrary signatures. (#3301)
* feat: dynamicly hooking x64 functions from lua at runtime with arbitrary signatures.

* fix missing include

* c/c++ include system is a good system
2024-07-08 14:15:18 +02:00
gir489
495f7c0c27 Pull down changes from gtav-classes project. (#3300) 2024-07-04 20:34:49 +02:00
gir489
54286f3bb4 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
1c34e2a1b6 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
Quentin
143d869faa fix off by one error (#3296) 2024-07-02 10:16:06 +02:00
Tessio
76f3006ed4 Globals updated 1.69 (#3292) 2024-06-28 18:21:46 +02:00
Quentin
9a4cec07ca block_join_reasons cleanup (#3290) 2024-06-27 22:11:08 +02:00
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
kikkin_yo_azzez
6d29a81291 update outfit slot name global (#3280) 2024-06-24 20:36:11 +02:00
CringeArab
73ca5da694 Filters to the player database (#3268) 2024-06-24 20:27:16 +02:00
CringeArab
b02e428cf9 Filtering blocked modders in session browser (#3257) 2024-06-24 20:24:53 +02:00
kikkin_yo_azzez
1b25bdc866 add show_success lua binding (#3249) 2024-06-19 11:37:38 +02:00
sch-lda
1f32884af8 feat(ChatFilter): block chats from unknown users (#3250) 2024-06-14 11:21:45 +02:00
sch-lda
2dbb931dea fix(Chat Filter): also lowercase incoming text (#3225) 2024-06-05 15:51:35 +02:00
Ryan
6110db55fc Add new spam words (#3204) 2024-06-02 19:11:40 +02:00
CringeArab
f24c287e70 added block_join_reason (#3215) 2024-06-02 17:37:02 +02:00
kikkin_yo_azzez
0e7b5c1d37 Make Player Stats Retrievable Within Lua (#3199) 2024-06-01 12:57:21 +02:00
CringeArab
9baaf42b79 input for xml transport (#3207) 2024-05-31 23:55:44 +02:00
R.K
8f179007e1 Disable Vehicle Heading Updates When Vehicle Flying in First-Person Mode (#2991) 2024-05-30 22:07:41 +02:00
CringeArab
4246fc7a74 Chat spam to reaction (#3192) 2024-05-30 20:24:33 +02:00
CringeArab
974e9ad184 Block join reason to reaction (#3190) 2024-05-30 20:07:39 +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
pierrelasse
84aae84b36 Fix GodMode not being displayed when Vehicle-GodMode (#3123)
Co-authored-by: R.K. <13259220+rkwapisz@users.noreply.github.com>
Co-authored-by: dynamoNg <139460769+lonelybud@users.noreply.github.com>
2024-05-28 00:10:17 +02:00
R.K
a3d8bf590d [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
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
Quentin
8ddba7de27 Revert "Direct implementation of fix vectors (#3147)" (#3179)
This reverts commit 84d76f203821338ceed9ba690509eac33508f99a.
2024-05-24 23:10:18 +02:00
maybegreat48
3efd9d7fd1 Harass players and spam killfeed (#3161) 2024-05-21 23:28:52 +02:00
gir489
14dd9e13a2 Refactored DISABLE_CONTROL_ACTION to use unordered_set. (#3157)
* Refactored DISABLE_CONTROL_ACTION to use unordered_set.

* Refactored SCALEFORM_MOVIE_METHOD_ADD_PARAM_INT hook to reuse the arg0 parameter if format_money was on, but the user had less than 1000 casino chips.
2024-05-19 20:43:20 +02:00
CringeArab
7b3920a3dd fix: Fake ban message (#3141) 2024-05-19 20:42:29 +02:00
Mr-X-GTA
ee92caa889 Protection improvements (#3146) 2024-05-19 20:26:44 +02:00
Bugisoft
84d76f2038 Direct implementation of fix vectors (#3147) 2024-05-19 16:17:31 +02:00
gir489
95b99c2a11 Added filtering system to prepare_metric_for_sending. (#3139) 2024-05-19 00:04:12 +02:00
R.K
e29928ef46 [Enhancement]: Stability Improvements to Black Hole Feature (#3132) 2024-05-16 18:47:25 +02:00
R.K
f28883a05f Small Refactor of Session Bad Sport Spoofing (#3134) 2024-05-16 09:51:04 +02:00
Ryan
d83cc4f0c6 Change MIPH with MPH (#3128) 2024-05-16 00:05:51 +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
R.K
cb78d9a868 [Enhancement]: Session Switcher Combo (#3100) 2024-05-13 00:45:30 +02:00
gir489
77393a5565 Remove redundant nullptr checks in player::get_ped(). (#3095)
* chore(Player): remove `this` keyword

Co-authored-by: Andreas Maerten <24669514+Yimura@users.noreply.github.com>
2024-05-11 23:23:26 +02:00
Mr-X-GTA
97bf6616ce fix: crash in transition (#3091) 2024-05-11 20:43:00 +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
R.K
ce310f34a8 IPL Fix & Formatting (#3082) 2024-05-10 11:42:21 +02:00
Ryan
f546286033 feat: Block Stand elegant crash (#3076) 2024-05-09 23:29:03 +02:00