196 Commits

Author SHA1 Message Date
thehorizon84
dc321104c4
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
2121ff2b7e
feat: Modify ocean level and add direct invite player from DB (#2384) 2023-11-05 22:39:53 +01:00
Andreas Maerten
1263f26dc1
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
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
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
YimMenuTheBest
0de9182735
refactor(IPL's): fix crashes and general improvements (#2304) 2023-10-23 23:33:01 +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
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
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
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
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
gir489
3e65e02eda
Various fixes (#2135) 2023-09-16 17:49:18 +02:00
張致強
0c6acb7581
feat(Vehicle): Added option to override vehicle weapons. (#2081) 2023-09-14 17:19:32 +02:00
Andreas Maerten
3385a0d7fb
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
gir489
cf07cfec04
Redesigned Vehicle Spawn menus to have consistent features. (#2063)
Closes #2053
2023-08-31 15:43:55 +02:00
gir489
cf333d0611
Incorporate folders into the Persist Vehicles feature. (#2042) 2023-08-27 21:32:14 +02:00
Niuu
e1a2ee21ea
(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
gir489
066f659cfe
Move all global indices into scr_globals.hpp. (#2018) 2023-08-24 22:06:50 +02:00
gir489
678a021f27
More general fixes (#2011)
* Closes #2008
* Closes #2016
* Closes #1917
* Closes #2012.
2023-08-24 20:23:50 +02:00
gir489
81e43b51d7
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
6c1e821d60
Various fixes (#1983)
* Closes #1928
* Closes #1925
* Closes #1864
2023-08-19 13:01:59 +02:00
maybegreat48
5eead0436f
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
gir489
e87931bf60
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
DayibBaba
ee364cd684
Ped animations interface (#1668) 2023-08-04 14:43:35 +02:00
Londiuh
be7bf8ffa6
fix(session): sctv spectator not being enabled (#1887) 2023-07-30 01:08:07 +02:00
Bugisoft
b48c256954
Fix vfx::enable_custom_sky_color not saved (#1882) 2023-07-29 00:16:50 +02:00
Andreas Maerten
17d3ad7658
refactor: make window hook into a bool command (#1824) 2023-07-23 22:52:30 +02:00
Quentin
84e3262694
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
ae486ca129
Rework rgb for fun vehicle and paintgun (#1783)
Closes #1819
2023-07-23 18:51:57 +02:00
maybegreat48
09a189eb4d
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
maybegreat48
e7562bcdff
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
72ebaec8ec
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
Bugisoft
74ba7b6860
Custom Sky Color and unify some stuff (#1779) 2023-07-20 22:46:32 +02:00
gir489
7e50d5377a
Added Teleport to Selected Blip and associated hotkey. (#1774) 2023-07-20 00:08:29 +02:00
gir489
e96af54d29
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
Rxann
95056d5af3
Allow Friends Into Locked Lobby (#1747) 2023-07-18 10:42:14 +02:00
gir489
1d78388519
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
gir489
152642cf1b
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
Sixhei Tartari
4cbea87b16
feat(Vehicle): Added vehicle dirt control (#1714) 2023-07-15 22:58:09 +02:00
maybegreat48
2b6cb52986
More player database improvements (#1725) 2023-07-15 22:37:20 +02:00
TheGreenBandit
1b52f4ee7c
Add more requests and reorganize network tab (#1709) 2023-07-15 00:57:30 +02:00
Andreas Maerten
8974300e78
feat(ScriptGlobal): Allow for constexpr offset calculation (#1721) 2023-07-15 00:55:09 +02:00
TheGreenBandit
a57027b198
Tp, Paintgun, refractor rainbow controller, refractor raycast (#1708) 2023-07-14 23:31:03 +02:00
maybegreat48
61bb60d1f4
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
maybegreat48
f09b1cbda3
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
c570df8e48
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
400556c63a
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
17c8ab0e68
chore: remove chat profanity bypass (#1688)
Closes #1682
2023-07-11 23:14:46 +02:00
gir489
098b15eca6
Weapon Hotkeys (#1685) 2023-07-11 23:14:35 +02:00
gir489
7f777900a1
Persist Weapons (#1647) 2023-07-09 23:01:42 +02:00
Andreas Maerten
f13eab76a6
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
maybegreat48
c121e72eb6
Fix GTA data service (#1635)
* fix(gta_data): service now parses unloaded RPF files
2023-07-07 07:57:38 +02:00
Sixhei Tartari
6ea93ee333
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
a0beeea767
Added Always Full Ammo. (#1616) 2023-07-05 23:29:07 +02:00
maybegreat48
cbc80e6caf
Mission fixes and modder detection improvements (#1598)
* feat(protections): improve protections
* fix: fix mission start
2023-07-05 09:30:06 +02:00
Sixhei Tartari
9c445be4f4
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
a4d623ca74
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
Quentin
3bdd0796f4
Lua doc (#1552) 2023-07-02 00:59:02 +02:00
Andreas Maerten
f96356960a
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
57ac1a315c
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
d4bcd70629
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
DayibBaba
5fc6ef8fb5
General UI tweaks (#1538) 2023-06-27 14:05:44 +02:00
tupoy-ya
1eae251012
feat(Outfit Editor): Add [+] & [-] buttons (#1441)
* And other general UI improvements
2023-06-23 10:44:06 +02:00
maybegreat48
5e0efaaed5
Tunables service fix and theme changes (#1507) 2023-06-23 08:43:44 +02:00
DayibBaba
174e1e5412
Basic hostile ped disarm (#1437) 2023-06-17 18:39:16 +02:00
Sixhei Tartari
5848599c60
feat(Vehicle): Added keep engine running functionality (#1426) 2023-06-16 14:27:47 +02:00
maybegreat48
0ff99ececc
Update to 1.67 (#1407) 2023-06-14 23:29:25 +02:00
maybegreat48
70efa40afe
Lua Scripting (#1334)
Closes #83
Fixes #1309
Fixes #1287
Fixes #1129 (actually fixed now)
2023-06-06 09:40:40 +02:00
Rxann
28707968a7
feat(Session): Lock Lobby (#1342) 2023-06-05 21:59:56 +02:00
I am Cypher
4389e57439
feat: Add Disable siren (#1383) 2023-06-05 21:32:49 +02:00
Andreas Maerten
71892a6fa7
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
Johann
68435ebd6d
feat(world): load ipl's (#1283) 2023-04-29 12:29:28 +01:00
maybegreat48
3c2245f780
General fixes (#1251) 2023-04-16 19:28:49 +01:00
Rxann
60e1c2e3c6
feat(CustomWeapons): deactivate when weapon is holstered (#1231) 2023-04-15 22:17:43 +01:00
Andreas Maerten
461e1b5138
Add vehicle gears to speedo meter (#1236) 2023-04-15 15:47:36 +01:00
Rxann
aa984a5636
feat: Added toggle for admin join notification (#1199) 2023-04-06 18:55:28 +01:00
DayibBaba
96d1c26242
feat: Vehicle control & Summon (#1175) 2023-04-05 18:54:29 +01:00
Rxann
24955f9019
feat: Admin checking protection (#1187) 2023-04-05 17:57:28 +01:00
Andreas Maerten
a6b99ea481
chore: remove session name spoof (#1184) 2023-04-03 23:07:15 +01:00
T14D3
093700ee1c
fix: Add "Aimbot distance" to saved settings (#1162) 2023-04-01 14:46:41 +01:00
DayibBaba
92400a956a
Orbital Drone Feature (#1148)
* Orbital Drone Feature

* Fixed PR review comments

* chore: cleanup code

* UI & globals saving

* Fixed typo

* Fixed noclip conflict & Applied review suggestions & Added another changeable variable

---------

Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
2023-03-30 00:37:10 +02:00
Rxann
5144d6ce45
feat(Hotkey): Add Repair PV hotkey (#1138) 2023-03-26 18:45:46 +01:00
TheGreenBandit
d87caaa6d7
Several feature additions (#889)
* Added Infinite Range
* Added Fill Ammo
* Added Aim Assist
* Added Hud Color Options
* Added Clear Wanted Level
* Added Health Regen
* curly brackets in invisibility
* Added hotkeys
* Improved Increased Damage
2023-03-13 21:10:21 +00:00
TheGreenBandit
43fcc4cf6e
feat(nearby): add riot mode (#1043) 2023-03-12 18:38:27 +01:00
Johann
10bbf1f4bb
feat: command executor (search bar) (#1029) 2023-03-11 00:06:09 +01:00
maybegreat48
ad90ee3f6a
Play audio on voice chat and more (#1053)
* feat(VC): audio through voice chat
* fix(BlackHole): remove unnecessary cleanup
* fix(Formatting): fix formatting for initializer lists
* feat(LSC): reimplement LSC
* feat(Protections): add (untested) protections for vehicle kick and remote teleport
2023-03-09 12:23:01 +00:00
maybegreat48
9ccb77e8eb
Add more spoofing options and added clang-format (#1020)
* feat(Spoofing): add spoofing
* feat(Spoofing): prepare code for player attach
* remove(PlayerAttach): isn't going to work due to netsync architecture
* fix(GUI): fix scaling
* feat(Project): add clang-format file
* feat(Classes): update classes
* fix(BlackHole): remove unnecessary cleanup
* fix(Formatting): fix formatting for initializer lists
* feat(clang-format): Set tab width and 1 space before comment

Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
2023-03-01 21:27:15 +00:00
Aure7138
168a85c139
feat(vehicle): no collision and all weapons (#1030) 2023-02-28 12:42:23 +00:00
Seanghost117
7084ce510b
Feature Additions, GUI Tweaks, Fixes (#975)
* Added view nearby to view header, moved get_entities function to entities and refactored some code. Also implemented a sphere scale to the blackhole as it can get big
* added delete and kill nearby peds and updated ped header
* added some nearby ped looped commands, and some changes to extend the buttons
* add vehicle options to nearby
* add most ciritcal feature kill enemies
* changes to ignore peds based off of some of maybegreat's suggestions, same with ped_rain, removed loose comment. Updated vehicle.hpp, changed size of vehicle buttons and inlined kill enemies
* fixed a problem where the vehicle options crashed + added color
* updated colors and added on disable for ped_rush
* finished and added vehicle rain feature
* added aimbot and triggerbot, added templating to buttons
* update vehicle rain desc
* added vdistance check, player check, police check, enemy check. Added even more commenting... sue me. 3 toggles added for the checks and slider for dist. Will tweak more later
* switched to goto statements instead of continue, should be done now
* removed delete nearby vehicles
* there was no check in get_entities for our local vehicle
2023-02-25 21:33:16 +01:00
Aure7138
c798bbe7c9
feat(world): model swapper (#1003) 2023-02-20 22:20:40 +00:00
Aure7138
5c8e7e8a15
debug options (#1002) 2023-02-19 22:04:13 +00:00
maybegreat48
1f5a118cb9
Bug fixes and improvements (#984)
* feat(KickFromInterior): improve kick from interior

Fixes #968
Fixes #953
Fixes #901
Fixes #899
Fixes #813
Fixes #726
Fixes #723

Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
2023-02-13 20:38:30 +00:00
Aure7138
77e9c9e884
feat: interior weapon (#974) 2023-02-10 21:46:40 +00:00
Aure7138
da0d98ef0e
refactor: c4 limit and some general fixes (#970) 2023-02-10 21:33:47 +00:00
Johann
94b1917796
feat(self): add superman mode (#924) 2023-02-09 18:17:10 +00:00
Johann
bf8a98932c
feat(world): blackhole (#951) 2023-02-08 21:50:26 +00:00
yasmasdas
b87d4e0e1b
feat: added boat pickup, ballistic armor and keep on ground (#932) 2023-02-04 23:49:44 +01:00