747 Commits

Author SHA1 Message Date
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
MegaMemeMoment
45600d7306 fix(hooks): return types (#1834)
fixes a bunch of return types that were seemingly copied from IDA without manual verification
2023-07-25 15:52:21 +02:00
Quentin
822d309b5c fix(vehicle-god): fix armored vehicles losing armor when vehicle god get disabled. (#1794) 2023-07-25 15:43:28 +02:00
HCR-750F
f593d85af6 chore: Add "Timeout" as a reaction (#1837) 2023-07-25 11:00:21 +02:00
Rxann
17e79dbaaa Added Empty lobby button (#1812) 2023-07-24 22:10:44 +02:00
Andreas Maerten
8b415d5186 fix(byte_patch): sometimes the page protections get modified between apply and restore: make sure the protections are fine for us to memcpy. (#1831)
* feat(BytePatch): add is_active member function
* fix(byte_patch): sometimes the page protections get modified between the apply and restore of the byte_patch, make sure the protections are fine for us to memcpy

Co-authored-by: Quentin E. / iDeath <xiaoxiao921@hotmail.fr>
2023-07-24 16:13:09 +02:00
Quentin
cad5e803c1 refactor(detour_hook): don't use detour hook pointers, should speed up hooks ticking (skip a deref compared to before) (#1827) 2023-07-24 09:40:28 +02:00
Andreas Maerten
069d7041f8 refactor: make window hook into a bool command (#1824) 2023-07-23 22:52:30 +02:00
gir489
181a34baa0 Fixed Debug Locals using improper casting for the float scenario. (#1823) 2023-07-23 19:54:01 +02:00
Quentin
8e7b16ce6d feat(noclip): fix aim nullifying noclip speed. (#1791)
* keep using SET_ENTITY_VELOCITY when not aiming
* provide GUI for editing speed of noclip
2023-07-23 18:56:08 +02:00
TheGreenBandit
3eacc0998c Rework rgb for fun vehicle and paintgun (#1783)
Closes #1819
2023-07-23 18:51:57 +02:00
maybegreat48
57f6eab74a Force relay connections (#1813)
* feat(protections): add force relay servers
* feat(network): add support for non-direct connections
* feat(info): add helpful tooltip to prevent unnecessary bug reports
2023-07-23 18:47:25 +02:00
gir489
b6ee8e38bc Fixed typo in view_debug_locals that caused freezing floats to inject garbage. (#1820) 2023-07-23 18:38:22 +02:00
gir489
cdfcb2a831 fix: Issues with missions and request control (#1785)
Closes #899
Closes #1787
Closes #1788
2023-07-23 15:01:46 +02:00
maybegreat48
a0f2b01540 Improve protections and other random changes (#1803)
* feat(protections): better logging
* feat(protections): improve protections
* fix(globals): save all spoofing settings
2023-07-22 23:18:47 +02:00
kbabrmover1995
e3d0deb605 Reaction on any modder detection (#1772)
* Closes #1676

Co-authored-by: Quentin E. / iDeath <xiaoxiao921@hotmail.fr>
2023-07-22 21:44:38 +02:00
Quentin
37296c1498 lua: sub folders support, check for .lua file extension, refactor and simplify internals. (#1775) 2023-07-22 13:05:43 +02:00
Quentin
8253b58055 feat(lua): Add entities.get_all_vehicles_as_handles() Add entities.get_all_peds_as_handles() Add entities.get_all_objects_as_handles() (#1795) 2023-07-21 21:21:51 +02:00
Quentin
5b1fd3e01c feat(debug): log msvc c++ exception properly. (#1790) 2023-07-21 16:00:01 +02:00
Bugisoft
3e5cad97e9 Custom Sky Color and unify some stuff (#1779) 2023-07-20 22:46:32 +02:00
gir489
248fd36542 Added Teleport to Selected Blip and associated hotkey. (#1774) 2023-07-20 00:08:29 +02:00
gir489
9da6fe3ec3 Apply vehicle god mode to personal vehicle even when not driving it (#1771)
Closes #1768
2023-07-19 17:21:34 +02:00
gir489
d12eb8ed6e Persist Outfit changes. (#1765)
* Fixed self_persist_outfit checking if the player was in a cutscene instead of if the player was dead.
1st attempt to fix the player trying to take off his helmet if it was added by persist outfit.

* Fixed Persist Outfit not saving persist_outfits_mis.
2023-07-19 09:29:07 +02:00
Quentin
497781b048 feat(lua): Add tab:is_selected function to check if the tab is the currently selected one in the GUI. (#1763) 2023-07-19 09:28:22 +02:00
gir489
1fa7f3448b Fixed Debug Globals displaying value as a 64-bit integer and not a 32-bit integer. (#1761)
Resolves #1760.
2023-07-18 20:46:38 +02:00
Quentin
73d23dd34b fix(lua): move bindings to cpp files (#1757) 2023-07-18 13:07:33 +02:00
Rxann
9755f4f960 Allow Friends Into Locked Lobby (#1747) 2023-07-18 10:42:14 +02:00
gir489
d3b3e57899 Custom teleport added euler angles and added persist outfit (#1743)
* Addressed #1694: Added Euler angles to telelocation JSON object.
* Added Persist Outfits to resolve #1669
2023-07-18 10:16:26 +02:00
Sixhei Tartari
f040e72b37 fix(Protections): Fixed how the reset protections is handled (#1745) 2023-07-18 09:59:20 +02:00
Quentin
16dc6ec6e6 fix(ci): native split (#1752) 2023-07-18 09:30:03 +02:00
Quentin
20ccf1a89b fix(ci): tentative fix for compiler out of heap space (#1746) 2023-07-17 22:57:14 +02:00
Quentin
664b5c6c40 feat(lua): much more complete imgui bindings, allow lua imgui callbacks from outside yimmenu classic tabs through gui.add_imgui(func) but also inside yimmenu classic tabs through tab:add_imgui(func) (#1736) 2023-07-17 14:55:42 +02:00
Quentin
0417fbf0f9 fix(lua): better exception handling (#1734) 2023-07-16 23:32:34 +02:00
gir489
8d01f497e7 Fixed issue #1727 DIRT_LEVEL is calling natives inside the presentati… (#1732) 2023-07-16 23:31:27 +02:00
Andreas Maerten
2f143f6f4e feat(Dbg): disable GTA window hook (#1733) 2023-07-16 22:21:19 +02:00
gir489
6a30fa348c Refactored Allow All Weapons In Vehicle to force all vehicles to use … (#1730)
* Refactored Allow All Weapons In Vehicle to force all vehicles to use all GROUPs.
* Refactored project to not depend on src/gta files that already exist in the GTA-V-Classes project.
* feat(cmake): bump GTAV-Classes
2023-07-16 18:24:40 +02:00
Quentin
ae5cb4d42f fix(cache): weapon cache weapon types array not filled properly when filling from cache file (#1726) 2023-07-16 12:04:24 +02:00
Sixhei Tartari
a21fcba67c feat(Protections): Added buttons for controlling the states of protections (#1717) 2023-07-15 23:19:38 +02:00
Sixhei Tartari
6e69b73550 feat(Vehicle): Added vehicle dirt control (#1714) 2023-07-15 22:58:09 +02:00
maybegreat48
973121076e More player database improvements (#1725) 2023-07-15 22:37:20 +02:00
Quentin
a40b4a0dd8 fix(lua): log not supported lua functions (#1722) 2023-07-15 22:07:10 +02:00
TheGreenBandit
a193679445 Add more requests and reorganize network tab (#1709) 2023-07-15 00:57:30 +02:00
Andreas Maerten
9117c11a2c feat(ScriptGlobal): Allow for constexpr offset calculation (#1721) 2023-07-15 00:55:09 +02:00
TheGreenBandit
fa02f2e779 Tp, Paintgun, refractor rainbow controller, refractor raycast (#1708) 2023-07-14 23:31:03 +02:00
maybegreat48
71db1ca1fa Player database improvements (#1705)
* feat(protections): add per-player sync block options
* feat(player_database): improve player tracker
* fix(rapid_fire): remove unnecessary log statement
* fix(player_database): default state should be UNKNOWN, not INVALID
2023-07-14 11:02:47 +02:00
gir489
06cf2a579e Redesigned Debug Globals. (#1696) 2023-07-13 18:42:21 +02:00
Quentin
33433ff5b3 fix(rapid-fire): fix rapid fire for some reason not shooting from the weapon position but instead from the cam. Fix rapid fire not being available in vehicles. (#1700) 2023-07-13 16:50:30 +02:00
Quentin
0a5cca8c12 fix(lua) (#1697)
- sandbox stuff.
- Fix lua scripts that could run when their lua state was destroyed, causing chaos.
2023-07-13 09:36:13 +02:00
maybegreat48
bd84dbaa40 General improvements (#1693)
* remove(replay): remove replay interface
* fix(context_menu): better console controls
* feat(protections): improve protections
* feat(protections): actually fix parachute crash
* feat(protections): kick rejoin
* feat(context_menu): more context menu stuff
2023-07-12 19:03:29 +02:00
gir489
3b7c103873 Fixed Weapon Hotkeys and introduced Hold For Boost to Boost. (#1692)
* Fixed #1690.

* Added Hold For Boost to Boost Behavior.

* Added Teleport into Personal Vehicle and Toggle Vehicle Fly Mode as hotkeys.

* Fixed pvtp command not working if you were inside a building.
2023-07-12 18:55:53 +02:00
Andreas Maerten
5162cf98c7 fix(mobile): PV summon timer (#1689)
* feat(script_local): allow for global single instance definition
2023-07-11 23:53:15 +02:00
Andreas Maerten
6ec061a106 chore: remove chat profanity bypass (#1688)
Closes #1682
2023-07-11 23:14:46 +02:00
gir489
d997cfd3f6 Weapon Hotkeys (#1685) 2023-07-11 23:14:35 +02:00
Quentin
21277e4039 Fix(lua / script manager): Potential fix for stack overflow when yielding from lua scripts. Fix io / os lua libs being accessible. (#1681)
* fix(script-mgr / lua): first kill all scripts, then unload lua modules: because the lua scripts depend on lua state (which is stored inside lua module instance), killing the lua module first would not allow proper cleaning because of the lua state getting destroyed while the lua script might still be running.

* fix(unloading): Why even reset the fiber pool here?

* fix(lua): don't allow for io / os lua lib to be accessed for security reasons.

* fix(lua): Potential fix for C stack overflow error by using lua coroutine yielding instead of calling fiber yield directly from lua functions.

* feat(unloading): allow to unload in the main title screen. Also revert 309c374602 due to fiber pool being potentially exhausted, we want commands to have their cleanup code ran in priority.
2023-07-11 09:24:44 +02:00
Andreas Maerten
4349f5c6e5 fix(session): hard lock when switching too early (#1678) 2023-07-10 23:06:08 +02:00
Quentin
ac6d86b149 fix(gui): dont draw two gui separators at the top for lua only tab. (#1677) 2023-07-10 20:37:28 +02:00
Quentin
17d647dfa5 Log GTA error message boxes and don't make them close the game. (#1671)
* refactor: move utf 16 to code page string conversion to its own util file

* feat(error-handling): log error message box generated from gta.
2023-07-10 19:01:34 +02:00
Quentin
b8a7c9be70 fix lua gui: imgui Separator between modules instead of same line which is non sense (#1672) 2023-07-10 19:01:01 +02:00
Andreas Maerten
c4111b4f2e feat(GTA Cache): removed unused old code (#1663) 2023-07-10 00:40:47 +02:00
DayibBaba
27e66b9394 Custom teleport sub tab (#1652) 2023-07-09 23:03:05 +02:00
gir489
3dd9be8a95 Persist Weapons (#1647) 2023-07-09 23:01:42 +02:00
Quentin
5607c58c7e fix(cache): ignore modded rpfs. (#1651) 2023-07-09 16:05:41 +02:00
Quentin
38bbab4893 fix(cache): change how the game folder is retrieved, use GetModuleFileNameW instead of std::filesystem::path (#1645) 2023-07-08 18:13:19 +02:00
Andreas Maerten
5c6fb1064b refactor!: File Manager (#1633)
* feat(vscode): added launch.json to dbg
* feat(file_manager): Make use of a global instance
* feat(file_manager): Allow for file and folder instances to be empty
* refactor(GlobalsService): Update code of global service (untested)
2023-07-08 17:54:59 +02:00
gir489
b8922a9dba Refactored weapons.bin into weapons.json for extensibility and readability. (#1632)
* Refactored weapons.bin into weapons.json for extensibility and human readability.
Added weapon attachments scraping from the meta files (currently is missing a lot of attachments, more than half, requires RPF reading refactoring to fix.)
Added Ammunation to Self -> Weapons, because it's vital you protect yourself, the patriotic way.

* Fixed weapons.xml not properly populating all the components.
Refactored buttons to use components::button.

* Refactored the Attachments code to implicitly trust that the attachments will be there now.
Added proper versioning to the weapons.json file.
Removed debug logging from gta_data_service.cpp.

* Fixed Ammunation buttons.
Added loading message for the new weapons.json system.
Fixed a bug where two components shared the same name, the user could not select the 2nd component.
Fixed Attachments displaying an attachment from a previous weapon if the user changed weapons.

* Fixed Tint Apply button not using the components::button template.
2023-07-08 00:52:52 +02:00
Quentin
b6fae097aa fix(cache): fs::path.string() can throw when it try to convert windows utf16 wstring to multi byte std::string when user code page isnt utf8 (#1641) 2023-07-08 00:16:29 +02:00
DayibBaba
f71f899e6b Xml vehicles (Menyoo) (#1594) 2023-07-07 11:11:54 +02:00
maybegreat48
90ff1ece84 Fix GTA data service (#1635)
* fix(gta_data): service now parses unloaded RPF files
2023-07-07 07:57:38 +02:00
Andreas Maerten
172de938cc fix(PlayerInfo): money overflow (#1631) 2023-07-06 21:58:46 +02:00
Andreas Maerten
468c70f635 refactor(PlayerList): height calculation code +horizontal scroll fix (#1629)
Fixes #752
2023-07-06 20:35:42 +02:00
Andreas Maerten
e0dd2aa8e3 fix(CmdExecutor): Set sizing of input w/ frame padding (#1618) 2023-07-06 07:46:42 +02:00
Andreas Maerten
a7bcaae371 Fix windows that shouldn't move (#1617)
* fix(overlay): don't move while menu closed
* fix(CmdExecutor): don't move by user input
2023-07-05 23:54:06 +02:00
Sixhei Tartari
13d5d81cea feat(Vehicle Controller): Added vehicle window controls (#1607)
* feat(Overlay): Added Invisibility indicator and its able to save on unload
* feat(Vehicle Controller): Added vehicle window controls
2023-07-05 23:51:19 +02:00
gir489
feeaa2ddbd Added Always Full Ammo. (#1616) 2023-07-05 23:29:07 +02:00
maybegreat48
11cd9ab004 Mission fixes and modder detection improvements (#1598)
* feat(protections): improve protections
* fix: fix mission start
2023-07-05 09:30:06 +02:00
Quentin
abb7e17d83 Lua documentation: commands (#1595)
* lua api: fix command call null context

* lua doc: generate commands doc
2023-07-05 00:31:06 +02:00
Quentin
76afd97185 Lua: can make new tabs from lua scripts, doc generation for available tabs to use (#1593)
* lua api: add globals.get_uint and globals.set_uint

* lua doc: remove duplicate function check as we can overload so it doesn't make sense

* lua doc gen: add support for parsing the tabs enum

* gui: custom lua tabs don't have a `func` rendering function but can still have elements to draw

* lua doc: update generated doc

* chore: code style

* chore: minor spelling mistake

* chore: code style

* gui_service: add runtime removal of tabs

* refactor: make it so that it's less likely defining tabs and their translation key in a wrong way.

* lua api: ability to add custom tabs to the gui from lua
2023-07-05 00:30:57 +02:00
Sixhei Tartari
19f6487171 fix(Overlay): Added spacing for Enabled/Disabled text on overlay indicators (#1589) 2023-07-04 11:08:58 +02:00
Sixhei Tartari
a1e00b6d59 feat(Overlay): Added indicators for options like player & vehicle god mode, infinite ammo etc. & fixed Bull Shark Testosterone Request (#1580)
* fix(CEO Abilities): Fixed request bullshark testosterone script
* feat(Overlay): Added indicators for options like player & vehicle godmode etc.
2023-07-03 14:20:27 +02:00
Quentin
ed18f7e70d Lua: refactor script api, more doc, add button for Open Lua Scripts Folder (#1588)
* lua manager: pass down the scripts folder to the instance instead of hard coding calls to the file manager everywhere
* lua: add open lua scripts folder button
* lua api: change script binding so that user cannot by mistake try to sleep or yield in a non script context
2023-07-03 13:01:12 +02:00
Andreas Maerten
71960eddbb feat(PlayerDB): Added search button (#1579) 2023-07-02 22:55:06 +02:00
Quentin
b44b2f04e6 Feat lua file watch (#1584)
* feat lua: file watcher for lua script file: reload scripts if they got changed since they were initially loaded
* feat lua auto reload: enable / disable the feature through the ui and settings
2023-07-02 22:32:46 +02:00
tupoy-ya
e9ae5d5491 chore(natives.hpp)!: Updated natives to latest. (#1583)
fix(natives_gen.py): Don't save `DRAW_TEXTURED_POLY_WITH_THREE_COLOURS`.
refactor(natives_gen.py)!: Changed `NATIVE_DECL`to `static`.
2023-07-02 22:31:15 +02:00
Quentin
4c71be4142 Lua doc (#1552) 2023-07-02 00:59:02 +02:00
Andreas Maerten
346960b012 refactor!: General changes (#1578)
- Removed try catch from main.cpp for better error logging
- Added migration code to the YimMenu folder
- Renamed globals to settings
- refactor!: changed symlink
2023-07-02 00:52:36 +02:00
maybegreat48
f1f5d4f6c0 Set menu language to game language on first run (#1577)
* feat(translations): set menu language to game language on first run
* fix(translations): add exception handlers
* fix: more exception handlers
2023-07-02 00:25:40 +02:00
Quentin
2e70faa4ad Fix lua native bindings and lua script reload (#1575)
* fix: script manager and lua scripts: change the api so that the m_scripts array is only modified in a specific safe location: before it gets ticked.
* fix script manager: don't expose the script vector directly, for multithreading safety
* fix lua manager usage: don't iterate the module array without locking, nor un/load module from a script thread
* lua script: only do actual loading of lua modules in script mgr
* lua native bindin: fix pointer parameters, out C style parameters are returned as multiple return values lua-style
2023-07-01 22:40:17 +02:00
maybegreat48
6ae19c062e Chat delay fix and improved crash protections (#1572)
* feat(protections): filter invalid sector position from the player game state data node
* feat(chat): bypass chat delay
* fix(world): fix auto disarm
* fix(chat): true instant messaging
2023-07-01 00:03:17 +02:00
Andreas Maerten
64afb5b0cb fix: Context Menu crash & Vehicle God mode (#1571)
* fix(ContextMenu): nullptr dereference while drawing box
* fix(ESP): Vehicle God mode check if ped is actually driving
2023-06-30 20:38:30 +02:00
DayibBaba
1ab51f1e98 Custom location system (#1567) 2023-06-30 20:36:45 +02:00
DayibBaba
861ebdb2ae More bug fixes (#1557)
Fixed nearby features affecting players and local ped.
Removed faulty vehicle kick protection from can_apply

Fixes #1540
2023-06-30 13:38:44 +02:00
Andreas Maerten
464f2f90dc Bug fix time (#1549)
* fix(PlayerTP): Get Current only works once
* chore(README): removed features from TOC
* fix(ViewNetwork): SCTV join translation
* refactor: Use tunable service for no idle kick
* fix(Spoofing): check for valid model before spoofing
* feat(Spectate): Remove freeze and hide player blip
* fix(Spectate): case of chat not being visible as spectator.
* feat(Matchmaking): safer max search limit for match searching
* fix(Player/Toxic): Wanted Level small text translation
2023-06-28 11:20:48 +02:00
Andreas Maerten
618b50bd4c Fix settings::write_default_config & added reset all settings button (#1547)
* fix(settings): correctly write default settings
* feat(Settings): Added button to reset all settings
* fix(Settings): Use SeparatorText for subtitle
2023-06-27 20:24:08 +02:00
Quentin
dc18216263 lua: change the way native functions are binded (#1543) 2023-06-27 20:13:05 +02:00
DayibBaba
78986f7c02 General UI tweaks (#1538) 2023-06-27 14:05:44 +02:00
Quentin
a5b2c28c3b fix(CanApply): issue with selecting the correct datanode (#1533) 2023-06-25 23:04:01 +02:00
DayibBaba
c258ee2022 Vehicle tabs UI tweak (#1521) 2023-06-25 10:38:53 +02:00
DayibBaba
630159f65d Some fixes and requests (#1516)
* Removed Delete button and nearby.cpp

* Added player check for kill button

* Added delete vehicle button

* Fixed give armor & added vehicle god esp
2023-06-24 23:12:20 +02:00
Quentin
56e21320e1 fix(pointer cache): cache version should be sensitive to field count (#1512) 2023-06-23 14:56:40 +02:00
tupoy-ya
e0bd043588 feat(Outfit Editor): Add [+] & [-] buttons (#1441)
* And other general UI improvements
2023-06-23 10:44:06 +02:00
Andreas Maerten
ef86872235 fix: Bool CMD hotkey toggle message showing translation key (#1510)
* feat(TranslationService): introduced fallback key to joaat version of get_translation
2023-06-23 09:55:26 +02:00
maybegreat48
1d75981731 Tunables service fix and theme changes (#1507) 2023-06-23 08:43:44 +02:00
T14D3
74d3e2ac57 feat(Aimbot): modified aimbot max distance (#1490) 2023-06-22 10:39:13 +02:00
DayibBaba
b96fddd8d0 Player UI tweaks (#1489)
* Redesigned Player UI

* Formatting
2023-06-22 10:11:56 +02:00
DayibBaba
9201cc363b feat(ViewSession): UI tweaks (#1479) 2023-06-21 10:02:35 +02:00
DayibBaba
906e1d083a Added nearby entity deletion (#1476) 2023-06-21 10:01:00 +02:00
DayibBaba
1b745a25b6 Added current coordinates in Teleport tab (#1474) 2023-06-21 10:00:38 +02:00
DayibBaba
4b74f411a2 Basic hostile ped disarm (#1437) 2023-06-17 18:39:16 +02:00
DayibBaba
e5581a6f03 fix: Made breakup conditional (being host) (#1436)
Closes #1448
2023-06-17 15:49:48 +02:00
Sainan
4b73b46053 Fix copy-paste error (#1446) 2023-06-17 15:17:46 +02:00
Sixhei Tartari
e8c8a5755b feat(Vehicle): Added keep engine running functionality (#1426) 2023-06-16 14:27:47 +02:00
Johann
3fbcaeb2f9 feat(session_browser): update max session limit (#1423) 2023-06-15 21:57:43 +02:00
Johann
c1d7e39186 fix: update more globals to 1.67 (#1415) 2023-06-15 13:20:08 +02:00
Takoyaki White
df9347552e Fix personal vehicle (#1410) 2023-06-15 12:22:41 +02:00
maybegreat48
0af712537f Update to 1.67 (#1407) 2023-06-14 23:29:25 +02:00
Forever Gone
f1895be28a Added atRTTI to CEventNetwork (#1399) 2023-06-12 16:32:03 +02:00
Rxann
b388d46623 chore(debug misc translations) (#1331) 2023-06-10 15:21:57 +02:00
DayibBaba
a19b4d572e feat: TP on top error fix & Manual Teleport & Infractions in player list & Max Performance (#1394) 2023-06-10 14:47:19 +02:00
DayibBaba
9b5bd2ee4d fix(ContextMenu): entity detection (#1392) 2023-06-07 23:56:43 +02:00
Andreas Maerten
34481918d1 feat(PlayerDB): notify when player is online (#1386) 2023-06-06 13:37:45 +02:00
maybegreat48
03c1a96b67 Lua Scripting (#1334)
Closes #83
Fixes #1309
Fixes #1287
Fixes #1129 (actually fixed now)
2023-06-06 09:40:40 +02:00
Rxann
18da367781 feat(Session): Lock Lobby (#1342) 2023-06-05 21:59:56 +02:00
Rxann
b8e8bccd1c feat(Notifications): Added push_success function (#1340) 2023-06-05 21:46:20 +02:00
DayibBaba
35b276e3f4 chore: Rework mission viewer and added Hunt the beast event support (#1354) 2023-06-05 21:34:06 +02:00
FireFox101889
4203fa3e7e fix(gui): Use correct imgui style for hotkey background (#1371) 2023-06-05 21:33:04 +02:00
I am Cypher
7c59e7a98d feat: Add Disable siren (#1383) 2023-06-05 21:32:49 +02:00
oPiloto
f65d384030 fix(TrollPlayer): fixed flip_180 and downgrade_vehicle (#1385) 2023-06-05 21:32:31 +02:00
Andreas Maerten
c7635a5396 fix(Debug/Threads): can't switch to later tabs (#1378) 2023-05-28 17:36:15 +01:00
DayibBaba
c1fc45ea64 Added options_modal component & showcase with Orbital drone feature (#1353) 2023-05-19 10:30:25 +02:00
tyackman
4147bc583a fix(Log): Chat/Spam logs using the old IP address (#1363)
IP addresses are not being logged properly via the chat/spam logger.
2023-05-19 10:29:10 +02:00
Takoyaki White
750dea6afc fix(pointers): update Presence Data sig (#1358) 2023-05-16 22:21:58 +01:00
DayibBaba
2148cd1161 Context menu: Fixed irregular distribution of operations and added some more (#1335)
* Fixed irregular distribution of operations and added some more
* Changed explosion type of Enflame
2023-05-10 22:37:47 +01:00
DayibBaba
5c67e24382 Added dev tool for animations (#1332) 2023-05-10 22:29:40 +01:00
DayibBaba
fc30225bc4 Squad spawner improvements (#1329)
* New Fun UI for self with Super hero fly & bulletshield
* Added missing hotkey global
* New debug window for animations
* Some more context menu additions
* Changed private variable to public for Orbital drone
* Added max vehicle & favour roads & spawn ahead & orbital drone coords on custom spawn mode & persisten vehicle integration
* Removed Log entry
* Removed some more log entries
* Some small tweaks
* Added persistent vehicle to the logic
2023-05-10 22:29:16 +01:00
FireFox101889
b9efa3fac7 feat: Keep model dimension in mind when determining spawn location (#1316) 2023-05-10 22:11:59 +01:00
Andreas Maerten
61cd1c2a85 feat(ExceptionHandler): Force logs syncronously (#1317)
Closes #1303
2023-05-01 23:07:36 +01:00
Andreas Maerten
c9fc44e06b refactor(PlayerDB): Improve code (#1313)
This PR includes some improvements to the player DB service:
 - Added `Get Gamer Online State` function pointer
 - Added sorting of players alphabetically and grouping of players by their online state
 - The player DB service will now update 32 players at a time for their online state
 - Player entries will automatically save when changing any data from them
 - Update the player online states every 5min
2023-05-01 22:23:07 +01:00
Rxann
0440c35a3e fix(BlockJoin): Grab block reason correctly from DB (#1306) 2023-04-30 15:03:37 +01:00
Rxann
b3382b8dd3 feat(Block Join): fallback on breakup kick if block join fails (#1279) 2023-04-29 12:45:15 +01:00
Johann
fcd495082c feat(world): load ipl's (#1283) 2023-04-29 12:29:28 +01:00
Rxann
c1da23fb05 chore: change C-style casts to dynamic_cast (#1299) 2023-04-27 10:11:05 +02:00
Andreas Maerten
d56af95cbf fix(OrbitalDrone): crash when selecting a player ped (#1295) 2023-04-26 19:17:03 +01:00
Takoyaki White
fc5825643c Fix DEBUG_REMOVE_FROM_BAD_SPORT (#1296) 2023-04-26 19:16:41 +01:00
Andreas Maerten
58e5714011 fix(OrbitalDrone): broken tooltip text (#1294) 2023-04-25 22:59:51 +01:00
tupoy-ya
d8a2eae6d8 fix(Crash): Fixed crashes in SP Missions. (#1285)
chore(hooking.hpp): Removed useless declarations.
2023-04-23 23:06:20 +01:00
Andreas Maerten
86f93ffce6 chore: disabled blame explosion infraction (#1282) 2023-04-23 21:39:16 +01:00
Andreas Maerten
96174c7ab2 fix(exception_handler): crash on unload (#1280)
Restore the value the ErrorMode and the UnhandledExceptionFilter values.
2023-04-23 21:00:37 +01:00
DayibBaba
5299fe52ef Squad Spawner (#1250) 2023-04-23 16:23:00 +01:00
DayibBaba
de251b2e57 Improved does_script_exist() and local editor (#1265) 2023-04-20 20:07:16 +01:00
Aure7138
10d0563c4a fix(cache): less peds on init (#1268) 2023-04-19 10:57:49 +02:00
maybegreat48
1241f9835f Fix GTA data caching less weapons/vehicles on init (#1264) 2023-04-18 22:21:45 +02:00
Andreas Maerten
a5627476f7 fix(CmdExecutor): can't modify hotkey (#1261) 2023-04-17 19:24:41 +01:00
maybegreat48
730336e087 Hotfix VM patch (#1253) 2023-04-17 00:27:02 +02:00