Commit Graph

1512 Commits

Author SHA1 Message Date
gir489
5312960e22 Fixed EOL character used in CMakeSettings.json casing it to invalidly be parsed. (#2631) 2023-12-22 12:20:29 +01:00
gir489
7584d231df Weapon events refactor. (#2622)
* Removed legacy REMOVE_ALL_WEAPONS_EVENT network event check.
Added GIVE_WEAPON_EVENT check to prevent people giving us weapons.
2023-12-21 16:17:45 +01:00
Andreas Maerten
9beaff807d feat(cmake): update ImGui to latest release (#2621) 2023-12-21 16:01:47 +01:00
Quentin
b2acc7e807 Fix debug build (#2625) 2023-12-21 09:51:23 +01:00
gir489
8179dfe2e9 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
5e58512a1e 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
4e83f3f25f fix(SpeedoMeter): squished drawing on mobile phone (#2601) 2023-12-18 23:38:08 +01:00
gir489
0ea3b95c4b Fixed unlockveh using the player id instead of ped (#2591)
* Fixed unlockveh command using the Player ID for the arguments instead of the Player Ped.

* Fixed lock/unlock vehicle door calls to use the eVehicleLockState enum.
2023-12-18 14:59:35 +01:00
gir489
530fdbeb9b Fixed false-positive reports of super jumping at the end of a heist. (#2574) 2023-12-17 17:27:54 +01:00
Aure7138
bc0d67583f Update crossmap and natives.hpp to 3095. (#2565) 2023-12-15 16:01:57 +01:00
HCR-750F
b958981e02 fix(Globals): off radar and fast respawn globals (#2568) 2023-12-15 16:01:36 +01:00
gir489
fefaaeef3c Removed m_velocity from CVehicle. (#2563) 2023-12-15 11:10:30 +01:00
gir489
abec4cd631 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
f8b771d66c Fixed RAP signature. (#2548) 2023-12-14 19:56:57 +01:00
gir489
8a19144724 Added new Scrapyard DLC vehicles to GetVehicleInfoForClanLogo. (#2547) 2023-12-14 19:56:12 +01:00
gir489
31a09cd4b3 Fixed incorrect pointer type for PBOOL on line 92. (#2545) 2023-12-14 19:55:41 +01:00
gir489
da498bebb2 Fixed LS Customs camera being stuck on certain vehicles. (#2539) 2023-12-14 10:58:24 +01:00
gir489
228ce6b25e 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
0eb7ab6c50 Added Oppressor Mk 1's gliding ability to vehicle abilities. (#2538) 2023-12-14 00:54:59 +01:00
gir489
e3c7235b5e Added the ability to use guns in airplanes with allow_all_weapons. (#2536) 2023-12-13 23:43:18 +01:00
Andreas Maerten
d5d36643e3 feat(LuaMgr): Disable and Enable scripts from UI and prevent crash when renaming the scripts/ dir. (#2493) 2023-12-13 23:19:52 +01:00
gir489
92a3e4febd Fixed garage globals for 3095. (#2529) 2023-12-13 19:33:07 +01:00
gir489
5a9019fa62 Fixed TRIGGER_SCRIPT_EVENT for 3095. (#2527) 2023-12-13 19:32:26 +01:00
gir489
72dd86713b Made LS Customs accept any car. (#2524) 2023-12-13 18:25:39 +01:00
gir489
e5d2f4ed05 Fix script patch signature causing crash (yubie-re) (#2523)
Redesigned the script patcher to assign the signatures names, so if they fail, it will print out its name.
2023-12-12 23:37:31 +01:00
gir489
7409866738 Added pointers for 3095. (#2519) 2023-12-12 21:34:49 +01:00
gir489
d84407051c Updated Globals for 3095. (#2517) 2023-12-12 18:09:04 +01:00
horizon
5ab7c997c1 Updated vehicle_abilities.cpp to work with latest GTAV-Classes PR (#2509) 2023-12-12 15:46:59 +01:00
Aure7138
4632d15c8a fix(player_command): memory leak (#2504) 2023-12-12 09:50:52 +01:00
gir489
e508a4c293 Fixed Jet Assisted Take Off not working on Bombushka if the player was using Instant Refill of boost. (#2511) 2023-12-12 09:50:07 +01:00
gir489
2a0fb30ced Input sanitation for Debug Locals (#2505) 2023-12-12 09:19:51 +01:00
Aure7138
bbafe0f0d0 refactor(command): get_suggestions (#2507) 2023-12-12 09:18:41 +01:00
Aure7138
81fc5133bb fix(player_command): execution failure (#2503) 2023-12-11 08:42:13 +01:00
gir489
ce7ed82a94 feat: allow invalid outfits to be applied (#2501) 2023-12-10 12:52:42 +01:00
gir489
9025def4db Enabled strict sol for type safety and function enforcement. (#2502) 2023-12-10 12:51:29 +01:00
thehorizon84
2033288b11 feat: Unlock Interaction Menu, Weapon Explosion Radius Modifier & improve fast respawn(#2489) 2023-12-08 14:13:06 +01:00
Quentin
22e2c36249 feat(lua): expose io.open (limited to scripts_config folder) (#2495) 2023-12-08 09:14:57 +01:00
Quentin
542fe17b91 fix(lua): add default handler to every protected function calls, until now there was none/scuffed and nothing was getting output to the user making debugging very difficult (#2494) 2023-12-08 09:11:36 +01:00
gir489
ab970764fc Added more spam messages to the filter. (#2488)
* Added more spam messages to the filter.

* Removed duplicate remote control vehicle button from the player vehicle menu.

* Added heuristical spam detector.

* Fixed clock in spam logger.

* Added date output to the chat logger.

* Added a message to show the user when someone is spamming.
More static text translations.

* Removed redundant mobile global in scr_globals.hpp.

* Added a spam reason to the spam logger.

* Added team/all to the chat logger.
Added a logger call for the user's chats.
2023-12-07 20:04:00 +01:00
thehorizon84
a3be8d9c03 Vehicle Abilities (#2474)
Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
2023-12-05 11:35:05 +01:00
gir489
d2a7ff8ba4 feat(lua): added weapon and vehicle cache bindings (#2477)
* Replaced bad example in entities documentation.
* Updated Lua documentation for vehicles/weapons to allow for auto generation.
* Added Vector3 support to the Lua globals/locals class.
* Fixed a bug with get_float in globals/locals returning an int instead of a float.
* Fixed globals get_uint/set_uint using signed types for the return/parameter.
* Added unsigned int helpers to the locals Lua class.
2023-12-05 09:58:35 +01:00
yubie
cf02476c58 fix(anticheat): Fix AC bypass not working when injecting too early (#2473) 2023-12-02 17:31:09 +01:00
yubie
9bbe0693fe fix(anticheat): Fix nullsub scanning in PE header (#2469) 2023-12-02 12:06:44 +01:00
gir489
d7015371a2 Added G's Cache to ESP. (#2461)
* Redesigned G's Cache to use Globals that are more reliable (and actually work).
Refactored START_NEW_SCRIPT_WITH_ARGS to use a static unordered_set so that it's not constantly constructing it each call, and potentially closes #2462
Added Pickup Pool.
2023-12-02 11:48:28 +01:00
yubie
60887cb816 feat(anticheat): Anticheat bypass improvements (#2463)
- Add more metrics to bad_metrics set
- Add MM Filtering (This metric shouldnt be normally called anyway)
- Improve QD Hook to increase AC verifier delay when detected
- Removed gameskeleton hook in favor of patching ac at init
- Added tamperactions check to gameskeleton patcher
2023-11-30 10:47:39 +01:00
gir489
847a729918 Added packed stats handler to the stats Lua class. (#2460) 2023-11-29 23:15:10 +01:00
gir489
2a81e3eeef New am_launcher scripts to block. (#2456)
* Added new scripts from Incorruptible to the am_launcher blocker.
Refactored START_NEW_SCRIPT_WITH_ARGS hook to use O(1) operation instead of 50 if compares, lmao.
2023-11-27 18:01:57 +01:00
Andreas Maerten
83618f04eb fix(Metrics): block MM metric (#2455) 2023-11-26 23:42:31 +01:00
gir489
004593811f Removed GET_STAT_HASH_FOR_CHARACTER_STAT dependency. (#2452) 2023-11-26 21:59:55 +01:00
Andreas Maerten
a5e70d39db refactor(Metrics): filter out "bad" metrics and allow normal ones to be sent (#2453) 2023-11-26 21:59:01 +01:00