1590 Commits

Author SHA1 Message Date
HCR-750F
7aad4c5860
refactor(reaction): rework reaction code (#2331)
1. Allow interloper_reaction to use timeout.
2. Fix crash reaction(except TSE) cannot use announce in chat.
3. Allow all friends to bypass auto kick spammers, modder flag and  reactions.
Provides an alternative for users who experience this weird bug https://github.com/YimMenu/YimMenu/issues/2266 . They can just trust their friends until someone provides valuable information for developers to fix.
4. Allow trusting specific players (bypass auto kick spammers, modder flag and reactions).
5. Trust the whole session temporarily (Avoid team members being kicked when in mission).
6. Remove duplicate logs when blocking crash (except for TSE crash)
7. remove unused gamer_instruction_kick in reaction list
8. Allow announce in team only chat
2023-11-04 14:54:32 +01:00
pierrelasse
4f45ec7033
feat(ISSUE_TEMPLATE): prevent blank issues (#2336) 2023-11-04 00:25:49 +01:00
DayibBaba
db5e47d2ce
Xml Map Loader (Menyoo) (#2233)
Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
2023-11-04 00:23:37 +01:00
DayibBaba
ab5c484948
New Flying feature (#2206)
* Remove ultra trash feature
* Added extra raycast
* refactor(OptionsModal): Support translations
* feat(Components): added input float
* feat(SuperHeroFly): converted code to commands and move strings to translations

---------

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

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

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

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

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

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

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

* Removed extraneous semi-colon.

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

* Added the vehicle's name to player info.

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

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

* Fixed backwards math on Terrorbyte and Nightclub B1.

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

* Fixed backwards comments.
2023-09-22 23:16:33 +02:00
Quentin
92b6df7653
fix(player-db): restore old on-demand thread creation behavior. (#2167)
Fixes #2160
2023-09-21 20:08:23 +02:00
張致強
639d776267
fix(NoRecoil): remove sniper scope recoil (#2168) 2023-09-21 20:06:06 +02:00
gir489
04cfa46d78
Closes #2152 (#2156)
* Reduces natives called in hotkey_service::wndproc to prevent collisions.
* Removed debug code from carmod_shop::STAT_GET_INT
* Fixed #2152.
* Added sanity check to script thread in hotkey_service::wndproc.
Made is_mp_chat_active atomic to ensure cache coherence.
* Closes #2164
2023-09-20 16:27:39 +02:00
Quentin
1817ee9fda
fix(lua): Fix crash when trying to reload a non-existent script. (#2151) (#2162) 2023-09-20 14:51:23 +02:00
maybegreat48
5a2dfb90b6
fix(player_db): fix player database (#2166) 2023-09-20 14:48:44 +02:00
gir489
5e177ef151
Added Social Club check to hotkeys. (#2143)
Removed IS_PAUSE_MENU_ACTIVE check from hotkeys to facilitate teleporting to waypoints.
2023-09-18 23:14:30 +02:00
Quentin
5259d249f3
Small refactor: main start/cleanup threads logic (#2142) 2023-09-18 23:13:46 +02:00
gir489
347f33fb2d
Disable input when typing into a text field. (#2140)
Closes #2139
2023-09-17 22:23:26 +02:00