630 Commits

Author SHA1 Message Date
gir489
9bedcca8a4
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
e544e02e55
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
8e8919ec56
fix(SpeedoMeter): squished drawing on mobile phone (#2601) 2023-12-18 23:38:08 +01:00
gir489
e9fdc86239
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
Aure7138
8b62dadcd5
Update crossmap and natives.hpp to 3095. (#2565) 2023-12-15 16:01:57 +01:00
HCR-750F
f3faa8540f
fix(Globals): off radar and fast respawn globals (#2568) 2023-12-15 16:01:36 +01:00
gir489
9dd1d49ed4
Removed m_velocity from CVehicle. (#2563) 2023-12-15 11:10:30 +01:00
gir489
a07142ebf2
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
a7215d2c41
Fixed RAP signature. (#2548) 2023-12-14 19:56:57 +01:00
gir489
f6a1acdc4c
Added new Scrapyard DLC vehicles to GetVehicleInfoForClanLogo. (#2547) 2023-12-14 19:56:12 +01:00
gir489
7f20e01938
Fixed incorrect pointer type for PBOOL on line 92. (#2545) 2023-12-14 19:55:41 +01:00
gir489
f0aa601c18
Fixed LS Customs camera being stuck on certain vehicles. (#2539) 2023-12-14 10:58:24 +01:00
gir489
695a6dd20e
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
ffd89153b5
Added Oppressor Mk 1's gliding ability to vehicle abilities. (#2538) 2023-12-14 00:54:59 +01:00
gir489
db61b1ff85
Added the ability to use guns in airplanes with allow_all_weapons. (#2536) 2023-12-13 23:43:18 +01:00
Andreas Maerten
2def629d3c
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
3bf7c034d2
Fixed garage globals for 3095. (#2529) 2023-12-13 19:33:07 +01:00
gir489
b7b901d77f
Fixed TRIGGER_SCRIPT_EVENT for 3095. (#2527) 2023-12-13 19:32:26 +01:00
gir489
cb5f01567c
Made LS Customs accept any car. (#2524) 2023-12-13 18:25:39 +01:00
gir489
efef962fe8
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
5bf69531b5
Added pointers for 3095. (#2519) 2023-12-12 21:34:49 +01:00
gir489
8b3a45bbb4
Updated Globals for 3095. (#2517) 2023-12-12 18:09:04 +01:00
horizon
0798a413f9
Updated vehicle_abilities.cpp to work with latest GTAV-Classes PR (#2509) 2023-12-12 15:46:59 +01:00
Aure7138
7299be8cb8
fix(player_command): memory leak (#2504) 2023-12-12 09:50:52 +01:00
gir489
d2bcd69eac
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
3b9413db92
Input sanitation for Debug Locals (#2505) 2023-12-12 09:19:51 +01:00
Aure7138
1869389606
refactor(command): get_suggestions (#2507) 2023-12-12 09:18:41 +01:00
Aure7138
e6c4a6a1d6
fix(player_command): execution failure (#2503) 2023-12-11 08:42:13 +01:00
gir489
461ce57ac6
feat: allow invalid outfits to be applied (#2501) 2023-12-10 12:52:42 +01:00
gir489
a2eff686cb
Enabled strict sol for type safety and function enforcement. (#2502) 2023-12-10 12:51:29 +01:00
thehorizon84
6d64bcd1d7
feat: Unlock Interaction Menu, Weapon Explosion Radius Modifier & improve fast respawn(#2489) 2023-12-08 14:13:06 +01:00
Quentin
bb5dfd1484
feat(lua): expose io.open (limited to scripts_config folder) (#2495) 2023-12-08 09:14:57 +01:00
Quentin
b432407dce
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
95b9724fff
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
b80865f34c
Vehicle Abilities (#2474)
Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
2023-12-05 11:35:05 +01:00
gir489
11d48f49f9
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
c5c3713137
fix(anticheat): Fix AC bypass not working when injecting too early (#2473) 2023-12-02 17:31:09 +01:00
yubie
468af617d7
fix(anticheat): Fix nullsub scanning in PE header (#2469) 2023-12-02 12:06:44 +01:00
gir489
afd0efd621
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
062c95b374
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
f0302ab135
Added packed stats handler to the stats Lua class. (#2460) 2023-11-29 23:15:10 +01:00
gir489
5c3b50cab7
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
0f775d438e
fix(Metrics): block MM metric (#2455) 2023-11-26 23:42:31 +01:00
gir489
5e82c6e8ee
Removed GET_STAT_HASH_FOR_CHARACTER_STAT dependency. (#2452) 2023-11-26 21:59:55 +01:00
Andreas Maerten
c01043cfb1
refactor(Metrics): filter out "bad" metrics and allow normal ones to be sent (#2453) 2023-11-26 21:59:01 +01:00
gir489
b365d7d16e
Added more weapon jitter fixes. (#2450)
* Fixed hangar_carmod being called a non-existent script hangar_carmod_shop.
2023-11-26 10:41:54 +01:00
gir489
522fd3bac3
Fixed player getting ejected from nightclub while holding weapon. (#2447)
* Fixed nightclub ejecting the player if they had weapons equipped with Allow Weapons in Interiors on.
* Fix jittering weapons in the freakshop.
* Added all carmod shop scripts to prevent jittering in interiors.
2023-11-24 21:34:33 +01:00
gir489
a5fb18c06b
Revert #2431 and #2421. (#2434) 2023-11-20 13:29:49 +01:00
maybegreat48
5d538cf53c
Rewrite AC bypass (#2430)
* fix(anticheat): rewrite AC bypass again (the old one isn't detected but this is cleaner)
* fix(chat): some chat tweaks
* fix(anticheat): fix memory leak
* feat(lua): add is_player_friend
* fix(protections): fix possible false positives with the vehicle task mismatch protection
* feat(protections): add debug logs to trace false positive
* fix(spam): add some more stuff
2023-11-19 23:20:15 +01:00
gir489
b9b49790e7
Various Debug Locals fixes. (#2426)
* Fixed Debug -> Locals crashing if the user added an invalid Local Read.
Fixed Debug Local addendum being way too wide on the page.

* Added the same boundary check for Debug -> Globals.
2023-11-19 22:46:44 +01:00
gir489
36fdc7fc56
Fixed Player ESP potentially crashing on invalid models. (#2431)
* Check for and handle non-normal player models when doing ESP to prevent crashes.

* Added sanity checks to the non-MP model scenario.
2023-11-19 22:45:43 +01:00
Andreas Maerten
8fa0583f05
chore: remove migration code (#2424) 2023-11-16 23:43:04 +01:00
gir489
3275459431
Removed globalplayer_bd IsInvisible set call. (#2416) 2023-11-16 19:47:19 +01:00
gir489
e56ee4e2b8
Fix jittering Player ESP (#2421) 2023-11-16 19:46:52 +01:00
gir489
af287d2593
Removed log.info call from tunables_service. (#2420) 2023-11-16 14:18:39 +01:00
gir489
48e83d9d5d
Clone Debug Globals into Debug Locals (#2419)
* Copied code from Debug Globals to Debug Locals.
Redesigned components::input_text to return the InputText result, and add an overloaded method to take a std::string.
Fixed Debug Globals having static text and not using components::input_text to prevent sending the input to the game.
Fixed view_debug_threads::thread_states not properly ending its string causing ImGui to read more than it should from memory.
Made Debug Globals cap the input index to UINT32, as the user could potentially overflow the get_ptr function and cause the game to crash.

* Removed extraneous does_thread_exist deceleration.
2023-11-16 14:17:46 +01:00
gir489
3e99fd0ae1
Redesigned Persist Car to check if the player is already in the car they want to spawn, and just forward self::veh as if it was the vehicle spawned. (#2418) 2023-11-16 14:15:21 +01:00
Quentin
3914ebee72
feat(lua): add tunable overloads for getting / setting values through the already joaated tunable value. (#2417) 2023-11-14 20:21:03 +01:00
Quentin
d2acc65af0
fix(lua): small lua / lau doc fixes (#2415)
* fix(lua): small lua / lau doc fixes: expose stats.get_character_index like intended. also add a bit of doc to button and sameline pages so that the user is correctly refered to the tab class doc
2023-11-14 20:20:45 +01:00
thehorizon84
ef355736a2
Player Database Enhancement (#2411)
Added 'Send Friend Request' through the player's rockstar ID.
2023-11-14 20:20:26 +01:00
lonelybud
cadb6dab92
refactor: Rework Persist Car Service (#2394) 2023-11-12 18:38:05 +01:00
gir489
b943891c24
Refactored ImGui::Bitfield to use std::format. (#2410) 2023-11-12 14:20:08 +01:00
gir489
1193c0a520
feat: Improve Debug/Globals interface to match Debug/Locals (#2409) 2023-11-12 00:26:36 +01:00
thehorizon84
5c86d767a7
Fix 'Disable Ocean' not resetting ocean heights correctly on disable (#2404) 2023-11-11 00:02:43 +01:00
gir489
762507802f
Fixed teleport::to_coords not setting the player's yaw if they were not in a vehicle. (#2401) 2023-11-09 23:07:30 +01:00
gir489
3b714f5c67
fix: Health decuction while in god mode (#2398)
Closes #2164
Closes #2397
Closes #2399
2023-11-09 10:34:00 +01:00
gir489
93dea3bebc
Fixed teleport::to_coords not respecting the rotation and view angles from persist teleport. (#2396)
* Fixed teleport::to_coords not respecting the rotation and view angles from persist teleport.

* Fixed World -> Vehicles -> Max Vehicle Mods button being cut off.
2023-11-09 00:12:31 +01:00
thehorizon84
dc321104c4
feat: New world options + Request Gun Van anywhere (#2393)
+ World -> Gravity Editor (with presets for ease of use)
+ World -> Waypoint Beacon
+ World -> Objective Beacon
+ World -> Time And Weather -> Ground Snow
+ Self -> Mobile -> Request Gun Van (spawns the gun van right in front of you no matter where you are)
2023-11-08 23:16:10 +01:00
maybegreat48
7d3e75f260
Fix submarine car crash protection (#2387) 2023-11-05 23:00:48 +01:00
thehorizon84
2121ff2b7e
feat: Modify ocean level and add direct invite player from DB (#2384) 2023-11-05 22:39:53 +01:00
Yimura
ebeef460df partial revert of #2386 2023-11-05 17:27:50 +01:00
Andreas Maerten
4c6af00687
revert #2380 (#2386) 2023-11-05 17:06:26 +01:00
gir489
864e15a0bc
fix: Submarine crash and allowing empty JSON filenames to be saved (#2380) 2023-11-05 13:54:15 +01:00
Andreas Maerten
1263f26dc1
refactor(Reactions): translations and change formatting to std::format (#2382)
* refactor(Reactions): replace snprintf strings with std::format
* feat(Reactions): move reaction strings to translation repo
* fix(Notify): crash formatting
2023-11-05 13:00:51 +01:00
HCR-750F
7aad4c5860
refactor(reaction): rework reaction code (#2331)
1. Allow interloper_reaction to use timeout.
2. Fix crash reaction(except TSE) cannot use announce in chat.
3. Allow all friends to bypass auto kick spammers, modder flag and  reactions.
Provides an alternative for users who experience this weird bug https://github.com/YimMenu/YimMenu/issues/2266 . They can just trust their friends until someone provides valuable information for developers to fix.
4. Allow trusting specific players (bypass auto kick spammers, modder flag and reactions).
5. Trust the whole session temporarily (Avoid team members being kicked when in mission).
6. Remove duplicate logs when blocking crash (except for TSE crash)
7. remove unused gamer_instruction_kick in reaction list
8. Allow announce in team only chat
2023-11-04 14:54:32 +01:00
DayibBaba
db5e47d2ce
Xml Map Loader (Menyoo) (#2233)
Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
2023-11-04 00:23:37 +01:00
DayibBaba
ab5c484948
New Flying feature (#2206)
* Remove ultra trash feature
* Added extra raycast
* refactor(OptionsModal): Support translations
* feat(Components): added input float
* feat(SuperHeroFly): converted code to commands and move strings to translations

---------

Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
2023-11-04 00:22:43 +01:00
DayibBaba
590fb4af9f
Vehicle control additions & fixes (#1926)
* Removed summon distance & car only check
* Changed raw UI elements to components.
* Added selection methods
* feat(VehicleController): add translation strings

Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
2023-11-04 00:22:07 +01:00
Andreas Maerten
cd01243904
fix(SpeedoMeter): drawing inside of phone (#2378) 2023-11-03 21:31:09 +01:00
gir489
a07faf7ca3
Fixed persist vehicle preview system only working if you hovered over the delete button. (#2379) 2023-11-03 21:30:52 +01:00
gir489
7e6c6367b1
Refactored writing RandomID into a set that's locally tracked by the user. (#2376) 2023-11-03 18:34:22 +01:00
gir489
d64afe65db
Translation changes requested from sch-ida. (#2371) 2023-11-03 16:07:28 +01:00
gir489
d277f1660d
Made X button unique in Persist Vehicle. (#2361) 2023-10-31 20:35:56 +01:00
Andreas Maerten
d2005ec42d
fix: thread pool rescaling incorrectly (#2357) 2023-10-31 20:21:40 +01:00
gir489
990946119f
Fixed Rain Vehicles using static text. (#2346) 2023-10-30 22:01:33 +01:00
gir489
251db062d0
Added a delete button to Persist Vehicle. (#2354) 2023-10-30 21:29:30 +01:00
Andreas Maerten
59244c75bb
refactor: Implement HTTP client with proxy support (#2146) 2023-10-30 21:18:32 +01:00
YimMenuTheBest
0de9182735
refactor(IPL's): fix crashes and general improvements (#2304) 2023-10-23 23:33:01 +02:00
Quentin
da028f03b3
fix(vehicle fix all): fix incorrectly fixing everyone vehicles instead of only the targeted one (#2332) 2023-10-23 20:56:13 +02: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
352878b8b9
Various translation fixes (#2322)
* Closes #2321
2023-10-22 00:10:46 +02:00
gir489
37468ca7b0
Converted all static strings to translation keys. (#2284) 2023-10-20 18:24:44 +02:00
gir489
d6c32533be
Fixed LOCAL_CPED translation keyword not being in all uppercase. (#2274) 2023-10-13 17:01:25 +02:00
Quentin
c38e42a488
Feat(lua-doc): Make sure that the MPX -> MP0/MP1 behavior for stats function is documented. (#2251) 2023-10-13 00:14:02 +02:00
Quentin
0bb5b3bda6
feat(lua): expose take_control_of (#2249) 2023-10-13 00:13:39 +02:00
gir489
8112990ede
Fixed bug with persist_car_service not saving the tire smoke color. (Closes #2239) (#2261) 2023-10-13 00:13:15 +02:00
Quentin
f986d79ab4
fix(lang): fix crash when clicking on Settings when translation json are unreachable (#2265) 2023-10-13 00:12:49 +02:00
gir489
2efc2f6755
Removed OUTFIT_UNKs from props_t. (#2258) 2023-10-13 00:12:10 +02:00
Quentin
94838af288
feat(lua): Allow lua scripts to flag modders with a custom reason if needed. (#2248) 2023-10-13 00:11:37 +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
Quentin
8c6a9303cb
queue_dependency: remove outdated hardcoded dependency callers offsets, no more use since we have a game skeleton update hook now. (#2268) 2023-10-12 23:35:04 +02:00
Quentin
7ad35bb3d7
Fix lua explosion bypass (#2255)
* move explosion_anti_cheat_bypass to its own file

* fix(lua): make sure lua user don't get tapped by game ac when using ADD_OWNED_EXPLOSION
2023-10-12 23:34:46 +02:00
Quentin
547fa1e137
fix(self menu gui): fix self menu erroring when not yet in the game but still in the main menu / first loading screen (#2235) 2023-10-10 21:48:14 +02:00
maybegreat48
1f7167cbfb
Fix presence data pointer (#2243) 2023-10-10 21:47:17 +02:00
maybegreat48
ba5610af99
Actually fix integrity checks (#2232) 2023-10-08 21:33:12 +02:00
maybegreat48
05575a6357
Bypass integrity checks (#2216)
Closes #2215
Closes #2218
Closes #2220
Closes #2212
2023-10-07 17:19:46 +02:00
gir489
207e5457f9
Fixed persist outfit thinking the player was showering when they were not (#2203)
* Fixed a crash emanating from mobile_service::register_vehicles if the vehicle needed to be refreshed.
2023-09-27 09:41:24 +02:00
gir489
b7bac4dfe1
Redesigned Persist Car to utilize the subfolder the user already has selected. (#2198) 2023-09-26 22:21:57 +02:00
gir489
7cdbc2ca9c
Added clan logo to LS Customs menu. (#2199) 2023-09-26 22:02:16 +02:00
lonelybud
715af5203e
fix(LobbyLock): LOBBY_LOCK_ALLOW_FRIENDS checkbox (#2188)
Fixes #2024
2023-09-24 23:35:44 +02:00
lonelybud
26e42faeac
fix(LobbyLock): use multikick when lobby lock is enabled (#2189) 2023-09-24 23:14:28 +02:00
yubie
2a13ed7345
feat(anticheat): add bonus http blocker (#2186) 2023-09-24 23:13:14 +02:00
gir489
b28ce2188d
Fixed fillsnacks not working. (#2180) 2023-09-23 11:54:30 +02:00
gir489
afd3a5e943
Add Garage drop-down to Spawn PV menu (#2171)
* Fixed edge case where a garage that contained only banned vehicles would show if the user was using Spawn Clone.
Refactored a large portion of the garage code to be production ready.
Formatting changes.

* Added singular garage items to the m_garage setter like the Terrorbyte.

* Fixed is_blacklisted_vehicle returning an inverted condition.
Fixed Garage drop-down not updating properly.

* Separated out m_garage's setter into a ctor function.
Replaced the 4 singular garages that use an overloaded index with a define to be able to shift them easier when new properties are added.

* Removed obsolete and incorrect player.character_slot config entry.
Removed deprecated local_player.hpp.
Added self::char_slot that is guaranteed to be correct.

* Removed extraneous semi-colon.

* Added more stuff to fillsnacks.
Removed more extraneous usages of MPPLY_LAST_MP_CHAR.

* Added the vehicle's name to player info.

* Fixed get_property_garage_size returning the incorrect size for the facility.
Fixed get_static_property_name returning the Nightclub's name instead of Nightclub Service Entrance to maintain consistency with the Mechanic.
Fixed garage_slot_iterator not starting and ending at the correct indexes.

* Shifted the singular properties down one to compensate for the new math.

* Fixed backwards math on Terrorbyte and Nightclub B1.

* Fixed garage not being updated when the player moved the vehicle.

* Fixed backwards comments.
2023-09-22 23:16:33 +02:00
Quentin
92b6df7653
fix(player-db): restore old on-demand thread creation behavior. (#2167)
Fixes #2160
2023-09-21 20:08:23 +02:00
張致強
639d776267
fix(NoRecoil): remove sniper scope recoil (#2168) 2023-09-21 20:06:06 +02:00
gir489
04cfa46d78
Closes #2152 (#2156)
* Reduces natives called in hotkey_service::wndproc to prevent collisions.
* Removed debug code from carmod_shop::STAT_GET_INT
* Fixed #2152.
* Added sanity check to script thread in hotkey_service::wndproc.
Made is_mp_chat_active atomic to ensure cache coherence.
* Closes #2164
2023-09-20 16:27:39 +02:00
Quentin
1817ee9fda
fix(lua): Fix crash when trying to reload a non-existent script. (#2151) (#2162) 2023-09-20 14:51:23 +02:00
maybegreat48
5a2dfb90b6
fix(player_db): fix player database (#2166) 2023-09-20 14:48:44 +02:00
gir489
5e177ef151
Added Social Club check to hotkeys. (#2143)
Removed IS_PAUSE_MENU_ACTIVE check from hotkeys to facilitate teleporting to waypoints.
2023-09-18 23:14:30 +02:00
Quentin
5259d249f3
Small refactor: main start/cleanup threads logic (#2142) 2023-09-18 23:13:46 +02:00
gir489
347f33fb2d
Disable input when typing into a text field. (#2140)
Closes #2139
2023-09-17 22:23:26 +02:00
gir489
a4209c1b23
fix: CPlayerSectorPos false positives and bad math (#2136)
* Closes #2096
2023-09-17 22:18:20 +02:00
gir489
3e65e02eda
Various fixes (#2135) 2023-09-16 17:49:18 +02:00
maybegreat48
4b8e350628
Anticheat bypass fix (#2128) 2023-09-16 13:44:03 +02:00
張致強
59cc4f2aa7
fix(NoRecoil): GTAV-Classes offsets were changed (#2131)
Fixes #2120
2023-09-15 11:42:01 +02:00
張致強
0c6acb7581
feat(Vehicle): Added option to override vehicle weapons. (#2081) 2023-09-14 17:19:32 +02:00
Quentin
52896b548f
Fix #1545 - ERR_MEM_EMBEDDEDALLOC_ALLOC Crash (#2116) 2023-09-12 20:19:24 +02:00
gir489
c2dd37c815
Add proper OOB calculation for CSectorDataNode. (#2103) 2023-09-11 18:06:24 +02:00
Andreas Maerten
43bf73ba56
fix(EmptySession): use translation in command label (#2112) 2023-09-10 22:24:13 +02:00
Andreas Maerten
9769b26870
fix(Hotkey): Single key not executing multiple hotkeys (#2111)
Closes #2000
2023-09-10 17:20:45 +02:00
Andreas Maerten
956d8110a0
fix(MultiKick): Crash when calling CNetGamePlayer::is_host (#2106) 2023-09-09 11:32:55 +02:00
Andreas Maerten
3385a0d7fb
feat(Settings): disable force relays by default (#2104)
* feat(ForceRelayCxnCmd): move label and desc to translations
* fix(TranslationService): Force updating languages wouldn't regenerate cache
2023-09-09 00:04:08 +02:00
Patryk
a3532a6436
(fix) Seatbelt values are set to opposite (#2085) 2023-09-08 23:58:51 +02:00
alyxme
29fdb5c3bc
Fix(freecam) unfreeze vehicle after freecam (#2101)
Closes #2093
2023-09-08 13:08:26 +02:00
GTMoraes
4025cbfa8d
Fix small typo in view_player_database.cpp (#2080) 2023-09-08 11:46:34 +02:00
Patryk
1594ee1f76
fix: Passive not working correctly (#2040) 2023-09-02 20:58:13 +02:00
gir489
c459ccc950
Replaced inline ints with JOAAT collisions so it can be auto typed properly by the compiler. (#2066) 2023-09-02 12:47:40 +02:00
Quentin
9149acf8d8
fix(renderer): Fix renderer callbacks called for nothing. (#2073) 2023-09-02 12:46:40 +02:00
gir489
cf07cfec04
Redesigned Vehicle Spawn menus to have consistent features. (#2063)
Closes #2053
2023-08-31 15:43:55 +02:00
Andreas Maerten
4c6226d022
fix(MultiKick): check against player nullptr (#2057)
* fix(MultiKick): check player ptr before using it

* fix(Kick): guard other commands against nullptr player ptr
2023-08-29 23:58:44 +02:00
Andreas Maerten
4871dbd705
fix(GTADataService): not skipping bad dlc vehicles (#2055) 2023-08-29 23:22:10 +02:00
gir489
e58f9610b3
Refactored Allow All Vehicles in Heists to use the tunables service and backup the values before writing them. (#2036) 2023-08-28 12:56:29 +02:00
gir489
100de3fee5
Rework Keep Vehicle Repaired to remove damage decals properly. (#2044)
* Keep Vehicle Repaired now uses CDecalManager to remove damage decals which allows it to ignore clan and livery decals.

* Added more conditions to call SET_VEHICLE_FIXED to fix things like the R88 breaking its shell off.
Fixed Seatbelt having inverted conditions.

* Fixed keep_vehicle_repaired repairing things it doesn't need to repair if godmode/always clean is on already.
Fixed spawn_vehicle_json not applying the radio station.

* Consolidated signature for CDecalMgr::ClearDecals and its static instance.
2023-08-28 11:35:17 +02:00
gir489
cf333d0611
Incorporate folders into the Persist Vehicles feature. (#2042) 2023-08-27 21:32:14 +02:00
gir489
5991f0ca29
Handle CR/LF characters better for Import From Clipboard. (#2021) 2023-08-25 08:54:24 +02:00
gir489
b19cf9c26d
Various fixes for Vehicle Extras. (#2019) 2023-08-25 08:53:24 +02:00
Niuu
e1a2ee21ea
(feat) Add passive toggle switch button and hotkey (#2015)
* (fix) Disable looped "time to end passive" in weaponized vehicles
2023-08-24 22:56:35 +02:00
alyxme
5f1b13d0dc
(feat) option Fix to context menu (#1962) 2023-08-24 22:07:35 +02:00
gir489
066f659cfe
Move all global indices into scr_globals.hpp. (#2018) 2023-08-24 22:06:50 +02:00