599 Commits

Author SHA1 Message Date
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
gir489
2f7a677ac6 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
144d075051 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
365dd5ef71 Revert #2431 and #2421. (#2434) 2023-11-20 13:29:49 +01:00
maybegreat48
a97af16888 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
6ec0478414 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
0b0bde5958 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
eadbc585b1 chore: remove migration code (#2424) 2023-11-16 23:43:04 +01:00
gir489
cac7a4aed5 Removed globalplayer_bd IsInvisible set call. (#2416) 2023-11-16 19:47:19 +01:00
gir489
f477190f60 Fix jittering Player ESP (#2421) 2023-11-16 19:46:52 +01:00
gir489
91f8487014 Removed log.info call from tunables_service. (#2420) 2023-11-16 14:18:39 +01:00
gir489
eaeb54b728 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
bc58716118 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
e56a6fd38f 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
9d7e5893c6 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
937e1b5a13 Player Database Enhancement (#2411)
Added 'Send Friend Request' through the player's rockstar ID.
2023-11-14 20:20:26 +01:00
lonelybud
2eec32b747 refactor: Rework Persist Car Service (#2394) 2023-11-12 18:38:05 +01:00
gir489
e102d6ca2c Refactored ImGui::Bitfield to use std::format. (#2410) 2023-11-12 14:20:08 +01:00
gir489
cad70d8f67 feat: Improve Debug/Globals interface to match Debug/Locals (#2409) 2023-11-12 00:26:36 +01:00
thehorizon84
a3125ab60c Fix 'Disable Ocean' not resetting ocean heights correctly on disable (#2404) 2023-11-11 00:02:43 +01:00
gir489
eca00ef3b6 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
700a20d903 fix: Health decuction while in god mode (#2398)
Closes #2164
Closes #2397
Closes #2399
2023-11-09 10:34:00 +01:00
gir489
5c782c941b 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
b93a072fe6 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
thehorizon84
647e5a28d9 feat: Modify ocean level and add direct invite player from DB (#2384) 2023-11-05 22:39:53 +01:00
gir489
2819ba3ae9 fix: Submarine crash and allowing empty JSON filenames to be saved (#2380) 2023-11-05 13:54:15 +01:00
Andreas Maerten
ab7d8e4924 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
5cd260d198 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
fba0098ca3 Xml Map Loader (Menyoo) (#2233)
Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
2023-11-04 00:23:37 +01:00
DayibBaba
9a610851cb 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
5d391acfe0 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
6ed257f67c fix(SpeedoMeter): drawing inside of phone (#2378) 2023-11-03 21:31:09 +01:00
gir489
bcdb61e189 Fixed persist vehicle preview system only working if you hovered over the delete button. (#2379) 2023-11-03 21:30:52 +01:00
gir489
cf457e15c8 Refactored writing RandomID into a set that's locally tracked by the user. (#2376) 2023-11-03 18:34:22 +01:00
gir489
ac4304eb67 Translation changes requested from sch-ida. (#2371) 2023-11-03 16:07:28 +01:00
gir489
71cc48fd38 Made X button unique in Persist Vehicle. (#2361) 2023-10-31 20:35:56 +01:00
Andreas Maerten
debe7892d1 fix: thread pool rescaling incorrectly (#2357) 2023-10-31 20:21:40 +01:00
gir489
31cc932995 Fixed Rain Vehicles using static text. (#2346) 2023-10-30 22:01:33 +01:00
gir489
7c3565d9bf Added a delete button to Persist Vehicle. (#2354) 2023-10-30 21:29:30 +01:00
Andreas Maerten
487da0ac76 refactor: Implement HTTP client with proxy support (#2146) 2023-10-30 21:18:32 +01:00
YimMenuTheBest
43ab3e2233 refactor(IPL's): fix crashes and general improvements (#2304) 2023-10-23 23:33:01 +02:00
Quentin
b9b5315923 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
e6f0bba9b8 Refactor duration_cast calls to use implicit time calculations without extraneous count calls. (#2333) 2023-10-23 20:55:45 +02:00
gir489
9dacd3c230 Various translation fixes (#2322)
* Closes #2321
2023-10-22 00:10:46 +02:00
gir489
79df8bc021 Converted all static strings to translation keys. (#2284) 2023-10-20 18:24:44 +02:00
gir489
cc911253d0 Fixed LOCAL_CPED translation keyword not being in all uppercase. (#2274) 2023-10-13 17:01:25 +02:00
Quentin
7869c254f2 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
3293b374a8 feat(lua): expose take_control_of (#2249) 2023-10-13 00:13:39 +02:00
gir489
6137d4cefc Fixed bug with persist_car_service not saving the tire smoke color. (Closes #2239) (#2261) 2023-10-13 00:13:15 +02:00
Quentin
81db20d2c8 fix(lang): fix crash when clicking on Settings when translation json are unreachable (#2265) 2023-10-13 00:12:49 +02:00
gir489
6a56113e7c Removed OUTFIT_UNKs from props_t. (#2258) 2023-10-13 00:12:10 +02:00
Quentin
5515c841a1 feat(lua): Allow lua scripts to flag modders with a custom reason if needed. (#2248) 2023-10-13 00:11:37 +02:00
Quentin
3323e1c43f 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
af1050f5ae 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
2d2f4368fd 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
b43dfc82f8 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
7689d0e11c Fix presence data pointer (#2243) 2023-10-10 21:47:17 +02:00
maybegreat48
b0c4c86f48 Actually fix integrity checks (#2232) 2023-10-08 21:33:12 +02:00
maybegreat48
2d2a5c51a2 Bypass integrity checks (#2216)
Closes #2215
Closes #2218
Closes #2220
Closes #2212
2023-10-07 17:19:46 +02:00
gir489
078e8fd6c9 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
67ba9f605d Redesigned Persist Car to utilize the subfolder the user already has selected. (#2198) 2023-09-26 22:21:57 +02:00
gir489
90f095ba51 Added clan logo to LS Customs menu. (#2199) 2023-09-26 22:02:16 +02:00
lonelybud
c976a3cb42 fix(LobbyLock): LOBBY_LOCK_ALLOW_FRIENDS checkbox (#2188)
Fixes #2024
2023-09-24 23:35:44 +02:00
lonelybud
d4d934e565 fix(LobbyLock): use multikick when lobby lock is enabled (#2189) 2023-09-24 23:14:28 +02:00
yubie
44f7f0b77a feat(anticheat): add bonus http blocker (#2186) 2023-09-24 23:13:14 +02:00
gir489
22f581068f Fixed fillsnacks not working. (#2180) 2023-09-23 11:54:30 +02:00
gir489
220e995035 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
247536aacc fix(player-db): restore old on-demand thread creation behavior. (#2167)
Fixes #2160
2023-09-21 20:08:23 +02:00
張致強
bb3c3d738e fix(NoRecoil): remove sniper scope recoil (#2168) 2023-09-21 20:06:06 +02:00
gir489
bc36de5d2f 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
25a2d2b32e fix(lua): Fix crash when trying to reload a non-existent script. (#2151) (#2162) 2023-09-20 14:51:23 +02:00
maybegreat48
921c8a14f9 fix(player_db): fix player database (#2166) 2023-09-20 14:48:44 +02:00
gir489
e284e30ab8 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
0813fa50d8 Small refactor: main start/cleanup threads logic (#2142) 2023-09-18 23:13:46 +02:00
gir489
548c9d80a3 Disable input when typing into a text field. (#2140)
Closes #2139
2023-09-17 22:23:26 +02:00
gir489
3bfc632f44 Various fixes (#2135) 2023-09-16 17:49:18 +02:00
maybegreat48
f3e2d95d81 Anticheat bypass fix (#2128) 2023-09-16 13:44:03 +02:00
張致強
68ed7d54a5 fix(NoRecoil): GTAV-Classes offsets were changed (#2131)
Fixes #2120
2023-09-15 11:42:01 +02:00
張致強
8beccb63c5 feat(Vehicle): Added option to override vehicle weapons. (#2081) 2023-09-14 17:19:32 +02:00
Quentin
e0ae6837d0 Fix #1545 - ERR_MEM_EMBEDDEDALLOC_ALLOC Crash (#2116) 2023-09-12 20:19:24 +02:00
Andreas Maerten
af53f6a76b fix(EmptySession): use translation in command label (#2112) 2023-09-10 22:24:13 +02:00
Andreas Maerten
2c5bab8241 fix(Hotkey): Single key not executing multiple hotkeys (#2111)
Closes #2000
2023-09-10 17:20:45 +02:00
Andreas Maerten
1a1c1b8e0a fix(MultiKick): Crash when calling CNetGamePlayer::is_host (#2106) 2023-09-09 11:32:55 +02:00
Andreas Maerten
d1821dc2b8 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
518e666831 (fix) Seatbelt values are set to opposite (#2085) 2023-09-08 23:58:51 +02:00
alyxme
f7064d9dde Fix(freecam) unfreeze vehicle after freecam (#2101)
Closes #2093
2023-09-08 13:08:26 +02:00
GTMoraes
cdfb15816e Fix small typo in view_player_database.cpp (#2080) 2023-09-08 11:46:34 +02:00
Patryk
e814772a28 fix: Passive not working correctly (#2040) 2023-09-02 20:58:13 +02:00
gir489
5a356dd795 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
1ac4cfa3d8 fix(renderer): Fix renderer callbacks called for nothing. (#2073) 2023-09-02 12:46:40 +02:00
gir489
241f3cbe58 Redesigned Vehicle Spawn menus to have consistent features. (#2063)
Closes #2053
2023-08-31 15:43:55 +02:00
Andreas Maerten
c9dff44671 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
ab0bb709fe fix(GTADataService): not skipping bad dlc vehicles (#2055) 2023-08-29 23:22:10 +02:00
gir489
370b88acf4 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
5eccb9def4 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
ac41a7175b Incorporate folders into the Persist Vehicles feature. (#2042) 2023-08-27 21:32:14 +02:00
gir489
2924335196 Handle CR/LF characters better for Import From Clipboard. (#2021) 2023-08-25 08:54:24 +02:00
gir489
9a90feebe8 Various fixes for Vehicle Extras. (#2019) 2023-08-25 08:53:24 +02:00
Niuu
cc9cfc2703 (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
5c4f16a474 (feat) option Fix to context menu (#1962) 2023-08-24 22:07:35 +02:00
gir489
afa79d8600 Move all global indices into scr_globals.hpp. (#2018) 2023-08-24 22:06:50 +02:00
gir489
04405eb9ae More general fixes (#2011)
* Closes #2008
* Closes #2016
* Closes #1917
* Closes #2012.
2023-08-24 20:23:50 +02:00
gir489
52a5f4acec Fixes Idle Kick to replace the globals that freemode.c4 uses to determine idle time. (#1979) 2023-08-19 13:02:26 +02:00
T14D3
ef60489e16 Various fixes (#1983)
* Closes #1928
* Closes #1925
* Closes #1864
2023-08-19 13:01:59 +02:00
maybegreat48
4a5dccd547 Huge protection improvements and other stuff (#1963)
* feat(protections): add a fuzzer
* feat(protections): improve protections
* feat(spoofing): add warning
* feat(world): force object cleanup
* fix(weapons): fix custom weapon code
* fix(weapons): fix for #1983
2023-08-19 13:01:08 +02:00
GTMoraes
62c0c30c1a feat(Handling): Allow a broader range on the sliders (#1986) 2023-08-18 16:03:10 +02:00
kbabrmover1995
182a80a951 Sending all kick methods (#1921) 2023-08-12 20:45:28 +02:00
gir489
e9f206c0df Added check for IS_VEHICLE_DOOR_DAMAGED in keep_vehicle_repaired. (#1933)
Fixed Selected Teleport not showing up in hotkeys menu.
Added Yim's Vehicle cleanup code from the halted PR.
2023-08-07 10:16:08 +02:00
gir489
09f80534c8 Fixed regression issue with rocket boosting while using Hold for Boost scenario. (#1929) 2023-08-06 20:52:55 +02:00
gir489
a811aa65d8 Fixed KERS boost not being handled by vehicle_boost_behavior. (#1922) 2023-08-06 10:36:48 +02:00
DayibBaba
a1daa92665 Ped animations interface (#1668) 2023-08-04 14:43:35 +02:00
Andreas Maerten
7b11122e83 refactor(ThreadPool): dynamically scale based on demand (#1912) 2023-08-03 12:56:05 +02:00
Andreas Maerten
d8aae8df13 Disable path traversal for Project File/Folder and added Session Switch command (#1908) 2023-08-02 21:38:22 +02:00
gir489
cc1beeba7c Fix personal vehicles getting godmode removed when you leave them. (#1907) 2023-08-01 22:30:21 +02:00
gir489
f0947ae489 fix(Handling): large steps on drag float (#1904)
Closes #1903
2023-08-01 16:04:51 +02:00
MoneyDropLobby
c44cd0f078 chore: Use override keyword in commands to make sure virtual funcs are properly overwritten (#1897) 2023-08-01 11:10:14 +02:00
gir489
adefa3bc7e Use ImGui::SetClipboardText instead of inline function. (#1902) 2023-07-31 23:39:40 +02:00
gir489
8854d78560 Debug: implement debugging tools for scripts (#1899)
Closes #1664
2023-07-31 22:34:10 +02:00
Londiuh
fb33819d98 fix(session): sctv spectator not being enabled (#1887) 2023-07-30 01:08:07 +02:00
Quentin
0e0b4d46a4 fix(lua): fix script array iterator being potentially invalidated while iterating due to new scripts that could be added and the vector getting reallocated due to it. (#1883) 2023-07-29 11:22:04 +02:00
Bugisoft
ae97322ece Fix vfx::enable_custom_sky_color not saved (#1882) 2023-07-29 00:16:50 +02:00
Quentin
2fb59b5046 fix(lua): input_float:get_value() was returning the wrong type (#1879) 2023-07-28 13:59:22 +02:00
Quentin
d1baedc5a4 Feat lua stats (#1875) 2023-07-28 10:07:17 +02:00
Andreas Maerten
4b1fd88f6c refactor!: Modify command argument handling and move on_ method to bool_command (#1826) 2023-07-26 22:22:40 +02:00
HCR-750F
d590313e4e Fix crash reaction and add more translation key (#1850) 2023-07-26 18:26:09 +02:00
Londiuh
69d167e451 fix: 'Copy Session Info' button not working (#1855) 2023-07-26 18:24:00 +02:00
Yimura
b057af6fae fix: don't call original on prepare_metric_for_sending 2023-07-25 18:10:32 +02:00