1642 Commits

Author SHA1 Message Date
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
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