1784 Commits

Author SHA1 Message Date
5db512287c Add BattlEye server (#3707)
Some checks failed
Nightly Build / Check Recent Commit (push) Successful in 19s
Nightly Build / Build Nightly (push) Has been cancelled
Nightly Build / Recreate Release (push) Has been cancelled
* feat(anticheat): add BE server and a kick
* fix(clang-format): enforce braces
nightly
2024-09-24 08:12:15 +02:00
899c116eca BE fixes and additions (#3706)
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 28s
* feat: add BE kick and ban

* fix: use correct player ptr
2024-09-21 10:18:40 +02:00
99e7104b3c fix(settings): fix crash (#3705) 2024-09-21 10:17:31 +02:00
a54457d1dc update globals (#3704)
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 8s
Co-authored-by: cheng <admin@schplus.com>
2024-09-20 22:46:28 +02:00
059e68bfe5 Initial battleye bypass (#3697)
Some checks failed
Nightly Build / Check Recent Commit (push) Failing after 11m58s
* feat: initial battleye bypass
* disable force kick toggle too
* fix: fix pointers version
* enable exclude modders toggle by default to prevent auto-kicks
2024-09-19 00:43:52 +02:00
db36395fe0 Update for b3323 (#3691) 2024-09-17 23:32:16 +02:00
18fcde5fc8 Add Logging for HTTP Start Requests (#3667)
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 1m0s
2024-09-07 13:59:32 +02:00
41942f4d84 Prevent repeat calls to cache rebuild causing a crash. (#3662)
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 30s
2024-09-05 20:03:10 +02:00
21d8a81756 Disable CMD executor if in-game keyboard is active (#3656) 2024-09-05 20:02:40 +02:00
95df14f755 Remove RADAR_DEAD_DROP_PACKAGE from Objective Blips (#3650)
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 31s
2024-09-03 09:35:53 +02:00
d69118ca20 Add Description for Weapons (#3649) 2024-09-03 09:22:27 +02:00
d2b3370b7c Fixed a race condition with scr_patch's destructor. (#3639)
Some checks are pending
Nightly Build / Check Recent Commit (push) Successful in 39s
Nightly Build / Build Nightly (push) Waiting to run
Nightly Build / Recreate Release (push) Blocked by required conditions
* Fixed a race condition caused by disabling and enabling a Lua script with scr_patch more than once.

* Fixed patch not being enabled if data is already created

---------

Co-authored-by: Arthur <121949966+ShinyWasabi@users.noreply.github.com>
2024-09-02 07:52:34 +02:00
3232515a61 Input Method Editor (#3634)
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-09-01 23:58:01 +02:00
fd66ab60e3 Move Collapsing Headers in Weapons to Separate Tab (#3627) 2024-09-01 21:43:01 +02:00
c02944c3a1 Added UFO abduction protection. (#3641) 2024-09-01 21:38:07 +02:00
1c855a571e Fixed some reaction settings not being persisted. (#3642) 2024-09-01 21:37:43 +02:00
6bc6801fec fix(lua): fix dynamic hooks/calls: (#3629)
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
- dynamic hook were never actually applied,
- rbx was getting trashed inside jit hook func
- dynamic hook cleanup on lua script unload
- support dynamic call
2024-08-28 23:39:01 +02:00
1f985a5a21 Disables script patches from the Lua layer on eject. (#3628) 2024-08-28 23:38:13 +02:00
6af80e936d Fix Thread State for Script Functions and cellphone_flashhand (#3619)
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 42s
2024-08-25 23:16:56 +02:00
e61dc44a55 Incorporate eThreadState changes (#3558)
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 31s
2024-08-23 23:49:11 +02:00
d83be697a3 Fix Disable Phone (#3616) 2024-08-23 23:24:23 +02:00
ae64147d2f Added protection against remote ped flag setting (#3610)
Some checks are pending
Nightly Build / Check Recent Commit (push) Successful in 1m25s
Nightly Build / Build Nightly (push) Waiting to run
Nightly Build / Recreate Release (push) Blocked by required conditions
2024-08-22 21:30:26 +02:00
61ff817f11 Redesign Script Patches for Lua (#3612)
* Refactor Script Patches for Lua

* Use update_all_patches_for_script instead of update and store script's joaat instead of its string
2024-08-22 19:52:02 +02:00
88aa4d317e Fix transaction_overlimit Global (#3611) 2024-08-22 19:27:07 +02:00
4046640c1e Added ownership checks to the delete_vehicle check. (#3552)
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 2m43s
* Added ownership checks to the delete_vehicle check.
* Redesigned delete_vehicle protections.
* Cleaned up code.
* Fixed vehicle repaired/vehicle godmode code not running if the player was offline/did not have a personal vehicle deployed.
* Fixed Chinese being a simp. (Closes #3581)
* GTAV-Classes: bump version
2024-08-17 12:03:26 +02:00
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
a1fb2ae6d8 feat(Lua)!: New Lua bindings (#3563)
* feat(Lua): Make independent imgui independent.
feat(Lua): Add a `pointer:set_address` binding.
feat(Lua): Added `menu_event.Wndproc` event.
fix(Lua): Fix `ImGui.SliderFloat3` binding.
fix(Lua Docs): Partially fixed auto generated documentation.
* fix(gui.cpp): include `lua_manager.hpp`.
* fix(lua_manager.hpp): Added `draw_less_dependent_gui` function.
* chore(Lua): Rename `add_independent_imgui` to `add_always_draw_imgui`.
* docs(menu_event): Added docs for Wndporc event.
* docs: Fixed a few more errors.
* add reasoning and use native underlying format

Co-authored-by: tupoy-ya <tupoy-ya@users.noreply.github.com>
Co-authored-by: xiaoxiao921 <837334+xiaoxiao921@users.noreply.github.com>
2024-08-14 08:40:09 +02:00
9f514924b6 feat(Lua): expose imgui separatortext to lua (#3554)
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 23s
2024-08-12 09:34:22 +02:00
d6159d7686 fix(Settings): aimonlyatthreats using only_on_enemy. (#3557) 2024-08-12 09:13:33 +02:00
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
555331ff1d Prevent vehicle looped functions from running on vehicles we are not currently driving. (#3548) 2024-08-11 01:12:29 +02:00
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
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
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
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
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
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
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
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
d345a72a34 revert: Tracked player update rate change (#3463) 2024-07-28 23:33:47 +02:00
4ec9da8cb5 feat(carmod_shop): don't influence stats implicitly (#3462)
Closes #3359
2024-07-28 22:37:18 +02:00
adb2c02e77 Re-add kick host during join (#3450) 2024-07-28 22:18:00 +02:00
b1f27c745d Added script patch to stop NPCs from putting bounties on us. (#3461) 2024-07-28 21:54:29 +02:00
19fe45bf9d fix: fix chat (#3454)
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-27 21:43:45 +02:00
665afb1bd5 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
43afdae9e7 Fixed mission cars not being properly cleaned up. (#3434)
Some checks failed
Nightly Build / Check Recent Commit (push) Failing after 0s
Nightly Build / Build Nightly (push) Has been skipped
Nightly Build / Recreate Release (push) Has been skipped
2024-07-26 23:29:49 +02:00
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
187ac86535 Fixed aimbot trying to aim at peds inside our current vehicle. (#3443) 2024-07-26 23:10:22 +02:00
519c1305de Fixed TUNABLE_BASE_ADDRESS being incorrect. (#3441) 2024-07-26 23:10:06 +02:00