363 Commits

Author SHA1 Message Date
gir489
ee69b3b0b9
Refactor Weapons JSON parser to associate path with recentness (#3565)
Some checks are pending
Nightly Build / Build Nightly (push) Waiting to run
Nightly Build / Recreate Release (push) Blocked by required conditions
Nightly Build / Check Recent Commit (push) Successful in 40s
* Added a RPF parse hierarchy to ensure the latest weapon file is loaded into the Weapons JSON.
* Fixed erroneous attachment descriptions being displayed and persisted to the Weapons JSON.
* Fix for components that had empty descriptions.
2024-08-14 08:41:47 +02:00
gir489
8c11a1ebb0
Fixed Weapons JSON not properly using the most recent meta file. (#3550)
Some checks are pending
Nightly Build / Build Nightly (push) Waiting to run
Nightly Build / Recreate Release (push) Blocked by required conditions
Nightly Build / Check Recent Commit (push) Successful in 1m25s
* Added ability to resolve WCT_INVALID attachments at runtime from the achievement_controller script, such as the game does.

* Improved component information extraction to also retrieve the descriptions from the scripts.
Redesigned Ammunation to now only display proper components.
Added a tooltip of the component description to Ammunation.

* Refactored script_function::call to fail gracefully if called out of lockstep when the scripts are running.
2024-08-11 01:14:15 +02:00
gir489
94f956b50a
Better enemy detection for aimbot (#3527)
* Added better enemy detection to aimbot and triggerbot.

* Fixed aimbot and triggerbot using an unreliable method of determining the target's current vehicle.

* Fixed aimbot and triggerbot trying to go after targets that were untargetable.

* Refactored is_ped_a_friend function.

* Added threat check to aimbot.
2024-08-11 01:11:56 +02:00
Arthur
09b91ca6d7
Add Return Value Support for Script Functions (#3479)
Some checks are pending
Nightly Build / Build Nightly (push) Blocked by required conditions
Nightly Build / Recreate Release (push) Blocked by required conditions
Nightly Build / Check Recent Commit (push) Successful in 20s
* Add Return Value Support for Script Functions
* Removed address-of operator on instruction_pointer parameter, as sol is pass-by-value.
* Fixed reset_session_data & start_creator_script
* Added support for Vector3 and updated casting for bool type for proper conversion to Lua boolean
* Updated documentation for scr_function
* Added get_int method and updated param names for script functions
* Fix #3497 graceful landing not saved.
* Added a check in view_lsc to see if the vehicle can accept clan logos first.
* Fixed vehicle clan logo SP bypass not working properly.
* Fixed COPY VEHICLE not giving persist_car_service::spawn_vehicle_json the target's ped so it can copy their clan logo and not ours.
Fixed spawn_vehicle_json calling add_clan_logo_to_vehicle with our logo and not the ped parameter's logo.
* Added Clone Player Car.
* Fixed has_clan_logo check in view_lsc being given the wrong parameter.

---------

Co-authored-by: gir489 <100792176+gir489returns@users.noreply.github.com>
2024-08-06 14:46:48 +02:00
Mr-X-GTA
013b463536
Misc stuff (#3515)
Some checks are pending
Nightly Build / Check Recent Commit (push) Successful in 42s
Nightly Build / Build Nightly (push) Waiting to run
Nightly Build / Recreate Release (push) Blocked by required conditions
* feat(hotkeys): add support for mouse buttons
* feat: show message box with version note if pattern scan fails
* feat(exception handler): set destination register to 0 on move instructions
* feat: update r* admin list
* fix: fix spawned vehicle not being deleted when using bring player
* fix: fix exceptions when using bring player
* fix: fix gravity gun not working while requesting control
* fix: dont request control of entities that are not CPhysical
* fix: fix take_control_of not requesting control if timeout is 0
* fix: fix crash when executing commands on all players
* fix: fix cmd executor style being applied to all windows if command is invalid
* fix: fix rare exceptions in esp::draw_player
* fix: fix exceptions when using gravity gun on objects or dying with some models
* fix: fix incorrect reading of m_model_type
2024-08-05 09:15:42 +02:00
gir489
eefd71196c
Removed errant waypoint icons in get_objective_location. (#3509)
Some checks are pending
Nightly Build / Build Nightly (push) Waiting to run
Nightly Build / Recreate Release (push) Blocked by required conditions
Nightly Build / Check Recent Commit (push) Successful in 27s
2024-08-03 18:19:43 +02:00
Quentin
09a60a98b7
fix(RID join): crash on join #3474 (#3511) 2024-08-03 18:14:42 +02:00
Вирусиен
b92a41bd84
Add more colors to LS Customs menu (#3484)
Some checks failed
Nightly Build / Check Recent Commit (push) Failing after 1m30s
Nightly Build / Build Nightly (push) Has been skipped
Nightly Build / Recreate Release (push) Has been skipped
2024-08-02 10:09:26 +02:00
gir489
80af2d7c6a
Refactor how blips work (#3473)
Some checks are pending
Nightly Build / Build Nightly (push) Waiting to run
Nightly Build / Recreate Release (push) Blocked by required conditions
Nightly Build / Check Recent Commit (push) Successful in 26s
2024-07-30 22:11:49 +02:00
lonelybud
6c5a653d1d
fix gui scale slider (#3466)
Some checks are pending
Nightly Build / Check Recent Commit (push) Successful in 15s
Nightly Build / Build Nightly (push) Waiting to run
Nightly Build / Recreate Release (push) Blocked by required conditions
2024-07-29 11:23:38 +02:00
Andreas Maerten
fee95df844
refactor: username and RID join input fields join a player on enter (#3464)
Some checks are pending
Nightly Build / Check Recent Commit (push) Successful in 31s
Nightly Build / Build Nightly (push) Waiting to run
Nightly Build / Recreate Release (push) Blocked by required conditions
2024-07-28 23:34:28 +02:00
CringeArab
adb2c02e77
Re-add kick host during join (#3450) 2024-07-28 22:18:00 +02:00
CringeArab
995b381053
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
d346b13601
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
6d77b81343
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
449ebf4c42
fix(Weapon Combo Boxes): use unique ids for weapon combos (#3428)
Some checks failed
Nightly Build / Check Recent Commit (push) Failing after 1s
Nightly Build / Build Nightly (push) Has been skipped
Nightly Build / Recreate Release (push) Has been skipped
2024-07-25 14:08:41 +02:00
lonelybud
c22314c2c0
fix #3406 & refactor bounds check (#3419)
* Revert "change DragInt to SliderInt (#3378)"

This reverts outfit changes from commit c1f68cb632f2d62d9dd99ef057d6643c6bae7d4d.

* Revert "Redesigned outfit editor (#3376)"

This reverts commit 5b82fc06fad18d7c1a790b749ba41395f359066c.

* fix components text and draw should not be -1
2024-07-24 21:27:06 +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
Arthur
f16f35d6e0
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
e08ab4ca80
Project include cleanup (#3404) 2024-07-23 13:40:30 +02:00
Andreas Maerten
f62c8c875e
fix(FontMgr): also keep in mind game language when generating font texture (#2892) 2024-07-23 08:47:38 +02:00
CringeArab
b42af940f6
Reaction translation and single kick reaction (#3380) 2024-07-22 10:17:58 +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
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
5b82fc06fa
Redesigned outfit editor (#3376) 2024-07-18 09:01:26 +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
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
CringeArab
c08af13c48
removing multiplex-sessions from matchmaking (#3357)
Some checks are pending
Nightly Build / Build Nightly (push) Waiting to run
Nightly Build / Recreate Release (push) Blocked by required conditions
Nightly Build / Check Recent Commit (push) Successful in 24s
2024-07-15 13:01:22 +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
gir489
67203b8fca
Removes size requirement on view_world check boxes affecting translations. (#3322)
Some checks failed
Nightly Build / Check Recent Commit (push) Failing after 7s
Nightly Build / Build Nightly (push) Has been skipped
Nightly Build / Recreate Release (push) Has been skipped
2024-07-11 19:11:24 +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
sch-lda
8bae9f5b54
fix(Notification): some languages don't make use of spaces(#3316) 2024-07-09 17:23:59 +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
Quentin
50da01eb22
fix off by one error (#3296) 2024-07-02 10:16:06 +02:00
Quentin
10d0e72285
block_join_reasons cleanup (#3290) 2024-06-27 22:11:08 +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
43ddc04dbe
Filters to the player database (#3268) 2024-06-24 20:27:16 +02:00
CringeArab
1196bf5279
Filtering blocked modders in session browser (#3257) 2024-06-24 20:24:53 +02:00
CringeArab
9a2e85b7f5
input for xml transport (#3207)
Some checks are pending
Nightly Build / Check Recent Commit (push) Successful in 37s
Nightly Build / Build Nightly (push) Waiting to run
Nightly Build / Recreate Release (push) Blocked by required conditions
2024-05-31 23:55:44 +02:00
CringeArab
78b4302721
Chat spam to reaction (#3192) 2024-05-30 20:24:33 +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
pierrelasse
8fef2f383c
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
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
gir489
254f64f1af
Added filtering system to prepare_metric_for_sending. (#3139) 2024-05-19 00:04:12 +02:00