Commit Graph

51 Commits

Author SHA1 Message Date
b80865f34c Vehicle Abilities (#2474)
Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
2023-12-05 11:35:05 +01:00
3e99fd0ae1 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
864e15a0bc fix: Submarine crash and allowing empty JSON filenames to be saved (#2380) 2023-11-05 13:54:15 +01:00
a07faf7ca3 Fixed persist vehicle preview system only working if you hovered over the delete button. (#2379) 2023-11-03 21:30:52 +01:00
d64afe65db Translation changes requested from sch-ida. (#2371) 2023-11-03 16:07:28 +01:00
d277f1660d Made X button unique in Persist Vehicle. (#2361) 2023-10-31 20:35:56 +01:00
251db062d0 Added a delete button to Persist Vehicle. (#2354) 2023-10-30 21:29:30 +01:00
37468ca7b0 Converted all static strings to translation keys. (#2284) 2023-10-20 18:24:44 +02:00
b7bac4dfe1 Redesigned Persist Car to utilize the subfolder the user already has selected. (#2198) 2023-09-26 22:21:57 +02:00
7cdbc2ca9c Added clan logo to LS Customs menu. (#2199) 2023-09-26 22:02:16 +02:00
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
347f33fb2d Disable input when typing into a text field. (#2140)
Closes #2139
2023-09-17 22:23:26 +02:00
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
cf07cfec04 Redesigned Vehicle Spawn menus to have consistent features. (#2063)
Closes #2053
2023-08-31 15:43:55 +02:00
cf333d0611 Incorporate folders into the Persist Vehicles feature. (#2042) 2023-08-27 21:32:14 +02:00
b19cf9c26d Various fixes for Vehicle Extras. (#2019) 2023-08-25 08:53:24 +02:00
678a021f27 More general fixes (#2011)
* Closes #2008
* Closes #2016
* Closes #1917
* Closes #2012.
2023-08-24 20:23:50 +02:00
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
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
2a81a041cf Fixed issue #1727 DIRT_LEVEL is calling natives inside the presentati… (#1732) 2023-07-16 23:31:27 +02:00
4cbea87b16 feat(Vehicle): Added vehicle dirt control (#1714) 2023-07-15 22:58:09 +02:00
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
5ffe6c7d3b Xml vehicles (Menyoo) (#1594) 2023-07-07 11:11:54 +02:00
5fc6ef8fb5 General UI tweaks (#1538) 2023-06-27 14:05:44 +02:00
1e701326a2 Vehicle tabs UI tweak (#1521) 2023-06-25 10:38:53 +02:00
7b552f71aa 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
1eae251012 feat(Outfit Editor): Add [+] & [-] buttons (#1441)
* And other general UI improvements
2023-06-23 10:44:06 +02:00
5848599c60 feat(Vehicle): Added keep engine running functionality (#1426) 2023-06-16 14:27:47 +02:00
5f7b3569d3 feat: TP on top error fix & Manual Teleport & Infractions in player list & Max Performance (#1394) 2023-06-10 14:47:19 +02:00
70efa40afe Lua Scripting (#1334)
Closes #83
Fixes #1309
Fixes #1287
Fixes #1129 (actually fixed now)
2023-06-06 09:40:40 +02:00
56d9d39b71 feat(Notifications): Added push_success function (#1340) 2023-06-05 21:46:20 +02:00
4389e57439 feat: Add Disable siren (#1383) 2023-06-05 21:32:49 +02:00
49235195b5 feat: Keep model dimension in mind when determining spawn location (#1316) 2023-05-10 22:11:59 +01:00
461e1b5138 Add vehicle gears to speedo meter (#1236) 2023-04-15 15:47:36 +01:00
74c3931209 Feat ptr cache continued (#1227) 2023-04-14 17:54:07 +01:00
96d1c26242 feat: Vehicle control & Summon (#1175) 2023-04-05 18:54:29 +01:00
d12c7fe69c fix(persist_car): fix spawning (#1122) 2023-03-19 19:55:49 +01:00
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
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
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
168a85c139 feat(vehicle): no collision and all weapons (#1030) 2023-02-28 12:42:23 +00:00
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
f9b59da443 refactor: take_control_of (#962) 2023-02-08 21:46:08 +00:00
b87d4e0e1b feat: added boat pickup, ballistic armor and keep on ground (#932) 2023-02-04 23:49:44 +01:00
d4f2960c77 feat: Translation Service (#844)
Co-authored-by: mrwoowoo <github@hiqaq.com>
Co-authored-by: LiamD-Flop <40887493+LiamD-Flop@users.noreply.github.com>
2023-02-01 18:46:33 +00:00
86c44f38b5 feat(Vehicle): invisible car (#833) 2023-01-08 20:27:23 +00:00
79e5e7a30b Commands (#725)
* feat(Commands): Prototype command system
* feat(Commands): Chat commands
* refactor(Toxic): convert most options into commands
* feat(Protections): block breakup kicks on other players as host
* refactor(Kicks): convert most options into commands
* refactor(Commands): add labels and descriptions to all commands
* feat(Commands): cleanup on unload
* refactor(Troll): convert most options into commands
* refactor(Misc): convert most options into commands
* refactor(Teleport): convert most options into commands
* feat(Commands): Variadic commands and toggleable bools
* feat(Hotkeys): hotkeys now use commands
* fix(Chat): fix the chat window locking up when a message is sent
* fix(Commands): properly handle spoofed username
* fix(Spam): update filter

Co-authored-by: Yimura <24669514+Yimura@users.noreply.github.com>
2022-12-22 21:23:32 +00:00
f6c00f113d refactor!: globals (#717)
* refactor(globals): use macro's for to_json/from_json
* refactor(globals): switch from global pointer to global instance
2022-12-18 22:15:52 +00:00
07ce825a07 feat(self & vehicle): Added mobile radio and turning off engine. (#572) 2022-11-11 17:51:40 +00:00