Releases: WolfKnight98/wk_wars2x
Releases · WolfKnight98/wk_wars2x
Wraith ARS 2X v1.3.1
New
- Added a config option which when enabled, will move the fast lock and fast speed operator menu options to the front instead of the end (thanks @TrevorBarns)
Fixes
- Fixed an issue where key binds were not being registered until the resource was restarted. This appears to have been caused by QBus interfering with the
playerSpawned
event which the resource relied on to register the key binds. The exact QB resource in question is unknown presently.
Wraith ARS 2X v1.3.0
New
- Added passenger view and control. This new update allows front seat passengers to view and control the radar/plate reader of the driver, there are two variables in the
config.lua
file that control this: passenger view and passenger control. When passenger view is enabled, the passenger will be able to open their remote and toggle their displays for the radar and plate reader. When passenger control is enabled, the passenger will be able to use all the radar and plate reader functions like normal, but it is synced between the driver and passenger. - Added callbacks to all Lua NUI events to prevent requests from stalling (thanks Jamelele on GitHub).
- Added a button to the plate reader window to clear the current BOLO plate.
- UI settings now get loaded again if the resource gets restarted live.
- Added a client console message for when the key binds are being registered.
- Added an option in
config.lua
to automatically lock speeds only if the speeding vehicle has a real player as the driver. - Added a notification when using
/reset_radar_data
to indicate the resource's KVPs have been reset. - Added a chat suggestion for the
/reset_radar_data
command. - Added an option in
config.lua
for users of Sonoran CAD. When enabled, this reduces the amount that the plate reader system triggers thewk:onPlateScanned
event, so it will only trigger the event if the scanned plate has a player in it or belongs to a player. - Added options in
config.lua
to set the default fast lock state and fast limit for the operator menu. This only applies if fast lock is enabled.
Changes
- Changed the JavaScript NUI post event to HTTPS instead of HTTP (thanks Jamelele on GitHub).
- Updated the fx_version to "cerulean".
- Removed dynamic resource naming, this caused too many problems for clients regarding key binds not working or UI elements not displaying. To help reduce the amount of key bind and UI problems, the resource is now hardcoded to use
wk_wars2x
as the resource name. If the resource name is notwk_wars2x
, an error message will be printed to the server console, and the key binds will not be registered client side. - Changed the key binds system so that the commands and keys now get registered when the player first spawns in instead of when the script first loads.
- Changed the key lock message to be clearer.
- Reduced the default scale from 1.0 to 0.75 in
config.lua
. - Closing the remote will now close the operator menu if open.
- Reduced the size of the server console branding.
- Updated the copyright range in the files.
- Removed the provided jQuery file to use the built-in FiveM jQuery library.
- A plethora of other code refactors, additions, and deletions. If you would like to see a list of all changes, view the GitHub repository.
Fixes
- Fixed spamming the power button breaking the radar display.
- Fixed the fast display operator menu option being ignored on radar power up.
Wraith ARS 2X v1.3.0 RC2
- Fixed passenger being able to lock the plates even when passenger control was disabled
- The sync system will now only trigger if passenger view is allowed
- Passenger view is now required for the remote decorators to be registered
- Removed debug commands
Wraith ARS 2X v1.3.0 RC1
- Updated licence file year range
- Updated config section of README.md
- Fixed spelling in documentation
- Updated version number in fxmanifest.lua ready for release
- When a player enters another vehicle as a passenger, the backup system will only backup their antenna data if they already had their own radar power on
- Added more comments to files
- Reorganised getter and setter functions in cl_radar.lua and cl_plate_reader.lua
- Auto fast lock now only works for the driver, this way the sync doesn't overlap between the driver and passenger
- Attempted fix for inconsistent locked speeds between driver and passenger
Wraith ARS 2X v1.3.0 beta 4
- Removed leftover debug messages
- Reduced the size of the Wraith ARS 2X server console branding
- The sync system will now only trigger for emergency vehicles
- Added more comments to cl_player.lua
- Fixed the passenger's plate reader data (plates and lock states) not being visually updated once restored
- Cleaned up the backup code in cl_sync.lua
- Removed my Discord ID from the server console warning message
- The resource's version is now always printed to the server console. Previously, if there was an error it wouldn't print the current version
- Fixed fast limit operator menu settings not being saved
- Fixed audio not playing when locking a speed
- Some other small backend changes
Wraith ARS 2X v1.3.0 beta 3
Added passenger control for operator menu.
Wraith ARS 2X v1.3.0 beta 2
Passenger control beta 2.
Wraith ARS 2X v1.3.0 beta 1
Passenger control beta 1.
Wraith ARS 2X v1.2.4
Changelog:
- Attempted a workaround for users with control issues,
RegisterKeyMapping
doesn't always seem to register properly. Needs further testing, but the workaround has had positive results so far. - Updated the FX manifest version.
Wraith ARS 2X v1.2.3
Changelog
- Replaced the multi-keyboard control system with FiveM's key mapping, this means that every client can set their own keys in GTA's key bindings menu. (thanks @BlockBa5her)
- Adjusted the display update interval, instead of 20 times a second it is now 10.
- Fixed the heading check.