Skip to content

Releases: WolfKnight98/wk_wars2x

Wraith ARS 2X v1.3.1

30 Aug 19:24
Compare
Choose a tag to compare

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

21 Mar 21:28
9b88f75
Compare
Choose a tag to compare

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 the wk: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 not wk_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

21 Mar 15:23
Compare
Choose a tag to compare
Pre-release
  • 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

18 Mar 20:35
Compare
Choose a tag to compare
Pre-release
  • 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

17 Mar 17:24
Compare
Choose a tag to compare
Pre-release
  • 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

15 Mar 19:22
Compare
Choose a tag to compare
Pre-release

Added passenger control for operator menu.

Wraith ARS 2X v1.3.0 beta 2

15 Mar 13:58
Compare
Choose a tag to compare
Pre-release

Passenger control beta 2.

Wraith ARS 2X v1.3.0 beta 1

15 Mar 09:42
Compare
Choose a tag to compare
Pre-release

Passenger control beta 1.

Wraith ARS 2X v1.2.4

26 Apr 15:24
Compare
Choose a tag to compare

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

28 Mar 22:12
Compare
Choose a tag to compare

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.