Commit Graph

1453 Commits

Author SHA1 Message Date
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
pierrelasse b5c7a70e7b feat(ISSUE_TEMPLATE): prevent blank issues (#2336) 2023-11-04 00:25:49 +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
lonelybud ad6eaaade7 fix(metadata): build version 3028 (#2270) 2023-10-13 00:04:47 +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