Skip to content

Releases: overextended/ox_core

v0.16.0

13 Feb 09:29
Compare
Choose a tag to compare
v0.16.0 Pre-release
Pre-release

Features

  • client/utils: helper functions (Linden)

Bug Fixes

  • client/death: get scaleform handle (#72) #72 (ANTOND)
  • server/debug: parsevehicles types (Linden)
  • client/utils: call cb during awaitValue loop; rename (Linden)
  • server/player: remove charid check from scope events (Linden)
  • server/player: clear player from player scopes on removal (Linden)
  • client/events: waitFor (Linden)
  • imports: Class method calls (Linden)
  • client/spawn: oddities when using loading screen (Linden)
  • server/player: wipe licenses on logout (Linden)
  • shared/class: set private on objects (Linden)

Code Refactoring

  • shared/files: update vehicles to 2802 (Linden)
  • server/vehicle: separate states (Linden)
  • client/events: new statebag handlers (Linden)
  • strict-path require (Linden)
  • client/debug: vehicle parser tweaks (Linden)
  • make class shared (Linden)
  • shared/class: include private fields in constructor (Linden)
  • rename Classes (Linden)
  • change Class invoke method names (Linden)
  • client/init: remove spawnmanager (Linden)
  • client/spawn: readability and minor tweaks; remove dependency on fivem-appearance (Linden)
  • server/init: remove pe-basicloading convar setter (Linden)
  • client/spawn: trigger playerLoaded before spawning (Linden)
  • client/spawn: trigger playerSpawned event (Linden)
  • server/player: remove identifiers from player metadata (Linden)
  • server/functions: remove SV_LAN identifier from GetIdentifiers (Linden)
  • server/player: use GetPlayerIdentifierByType on login (Linden)

Chores

  • server/vehicle: type fixes (Linden)
  • sql: remove metadata query (Linden)

Commits

  • 47f7d74: Update README.md (Linden)

v0.15.1

04 Jan 02:26
Compare
Choose a tag to compare
v0.15.1 Pre-release
Pre-release

Bug Fixes

v0.15.0

02 Jan 04:18
Compare
Choose a tag to compare
v0.15.0 Pre-release
Pre-release

Features

Bug Fixes

  • server/player: decode statuses when loading from the db (DokaDoka)
  • client/spawn: wait for collision (#66) #66 (tclrd)
  • web/characters: fix character date validation (#70) #70 (Testarossa)

Code Refactoring

Chores

  • locales: Chinese Simplified and Chinese Traditional (#67) #67 (Jerry Ma)

Commits

  • d9cb699: chore(locales/cs) update locales (#61) (TheFantomas) #61

v0.14.1

16 Dec 19:35
Compare
Choose a tag to compare
v0.14.1 Pre-release
Pre-release

Code Refactoring

  • server/vehicle: event on vehicle creation (Linden)
  • db: rename licenses (Linden)

v0.14.0

13 Dec 04:23
Compare
Choose a tag to compare
v0.14.0 Pre-release
Pre-release

Breaking changes

  • More SQL tweaks for characters.
  • player:setdb has been removed, and player:get no longer lazily queries the database
    • This method never really solved anything and just added further complexity. Use your own MySQL tables and columns to store and select data like this.

Features

  • web: add slide transition to sidebar #60 (Luke)
  • web: spawn selector #60 (Luke)
  • client/init: set spawn table #60 (Linden)
  • client/spawn: spawn at selected location #60 (Linden)
  • web/spawn: add background to spawn button when selected #60 (Luke)
  • web/character: select character heading #60 (Luke)
  • server/vehicle: add missing TS methods (Linden)

Bug Fixes

  • server/status: don't round status values (Linden)
  • web: properly refactor the sidebar move #60 (Luke)

Styles

  • web: change sidebar colour gradient #60 (Luke)

Code Refactoring

  • server/player: redundant os.time calls (Linden)
  • server/player: remove setdb and lazy-get (Linden)
  • server/player: remove metadata column and functions (Linden)
  • sql: adjust statuses ontick precision (Linden)
  • client/status: round values to 3 decimals (Linden)
  • web: split character selector component from sidebar #60 (Luke)
  • client/spawn: insert and remove last location #60 (Linden)
  • client/spawn: fade out after character creation #60 (Linden)
  • client: additional spawn points #60 (Linden)
  • web: move sidebar component #60 (Luke)
  • client/spawn: make spawn selection optional #60 (Linden)
  • client/spawn: disable player control; load collision #60 (Linden)
  • client/events: GetEntityFromStateBagName (Linden)

Chores

v0.13.0

06 Dec 01:53
Compare
Choose a tag to compare
v0.13.0 Pre-release
Pre-release

Features

  • web: initial tailwindcss layout #55 (Luke)
  • web: characters state #55 (Luke)
  • web: character select buttons transition #55 (Luke)
  • server: player licenses (Linden)
  • client: optional death system (Linden)
  • groups/pefcl: add admin grade (#57) #57 (Dominic)
  • server/player: license events (Linden)

Bug Fixes

  • client/player: export status methods (Linden)
  • web: full date verification #55 (Luke)
  • web: reset form on cancel #55 (Luke)

Styles

  • web: adjust character box styling #55 (Luke)

Code Refactoring

  • web: character delete modal #55 (Luke)
  • web: sidebar component #55 (Luke)
  • web: wip create a character dialog #55 (Luke)
  • web: gender select #55 (Luke)
  • web: WIP character creator validation #55 (Luke)
  • web: character creation date verification #55 (Luke)
  • web: use opacity transition #55 (Luke)
  • web: create character form data submitting #55 (Luke)
  • web: don't spread gender select component props #55 (Luke)
  • web: character selector visibility handling #55 (Luke)
  • web: select character handler #55 (Luke)
  • web: nui fetch on character click #55 (Luke)
  • web: add bottom border to separate characters #55 (Luke)
  • web: delete character from ui when pressing delete #55 (Luke)
  • client/death: don't set entity health on respawn (Linden)
  • client/death: death animation blendIn speed (Linden)
  • web: scrollable characters list #55 (Luke)
  • web: disabled create character button state #55 (Luke)
  • web: send correct data to nui callbacks #55 (Luke)
  • web: integrate character actions into character div #55 (Luke)
  • web: locales #55 (Luke)
  • web: lighter cancel button hover colour #55 (Luke)
  • web: colour tweaks (Linden)
  • server/player: replicate inService to client (#53) #53 (ESK0)
  • client/events: tweak initVehicle race condition check (Linden)

Chores

  • fxmanifest: update minimum server version (Linden)
  • web: remove useless character slot property #55 (Luke)
  • web: remove dayjs #55 (Luke)
  • locales/cs: translations (#56) #56 (TheFantomas)

Commits

  • 6896b50: Merge branch 'ui-rewrite' into main (Luke) #55

v0.12.2

29 Nov 18:47
Compare
Choose a tag to compare
v0.12.2 Pre-release
Pre-release

Bug Fixes

  • server/player: nil-check when setting player statuses (Linden)

Continuous Integration

  • build: use frozen-lockfile (Linden)
  • build: package locales with release (Linden)

Chores

v0.12.1

29 Nov 18:29
Compare
Choose a tag to compare
v0.12.1 Pre-release
Pre-release

Features

  • client/status: add player methods and event callbacks (Linden)

Code Refactoring

  • client/player: make CPlayer global (Linden)
  • server/player: use status callback events (Linden)

Continuous Integration

  • build: bump node and pnpm (Linden)

v0.12.0

29 Nov 05:55
Compare
Choose a tag to compare
v0.12.0 Pre-release
Pre-release

Documentation got a little bit of love.

Breaking changes

  • All player methods are called using : syntax internally (other resources are unaffected).
  • player:get('inScope') and player:get('groups') are no longer valid and have their own methods.
    • player:getPlayersInScope()
    • player:getGroups()
  • Primary identifier now defaults to license2, and license is removed.
    • This was not being stored previously, so all old users should be wiped (or otherwise updated).
  • Player metadata can only use alphanumeric keys and will sanitise input.
    • $easybake0ven! becomes easybake0ven.
  • Vehicle's plate field will no longer match the vehicle properties (update with vehicle:setPlate(plate))
  • A lot was changed in the database - you should just drop database and set it up again as it will be simpler.

Features

  • server/player: trigger playerLogout on resource stop (Linden)
  • web: locales (#44) #44 (TheFantomas)
  • server/player: "private" fields (Linden)
  • server/vehicle: CVehicle:setPlate (Linden)
  • lib: add new exports and methods (Linden)
  • server: use license2 identifier (Linden)
  • server/player: lazy-query player metadata (Linden)
  • server: setup player statuses (Linden)
  • server/player: only allow alphanumeric keys for metadata (Linden)
  • client: add status module (Linden)
  • sql: add default statuses and tick amount (Linden)
  • server/status: select ontick (Linden)
  • server/lib: add new player methods (Linden)

Bug Fixes

  • server/player/registry: userId state should only be set when a non temporary networkid is assigned. #43 (slashkeyvalue)
  • client/events: set initVehicle to nil (Linden)
  • server/class: set correct __index (Linden)
  • server: missed syntax changes (Linden)
  • server/player: minor type errors (Linden)
  • server/player: store player identifiers by string (Linden)
  • server/player: actually return groups with CPlayer:getGroups (Linden)
  • server/player: clear disconnected temp players (Linden)
  • shared/vehicles: types (Linden)
  • server/player: return character groups to local variable (Linden)
  • server: class types lose inferred fields (Linden)
  • server/vehicle: update plate (Linden)
  • lib/player: GetPlayerByFilter calls incorrect export (Linden)
  • client: incorrect require path (Linden)
  • server/player: use license2 (Linden)
  • sql: trigger after inserting into characters table (Linden)
  • sql: charid should be INT type (Linden)
  • server/player: create a new user when connecting with cl2 while debug mode is enabled (#50) #50 (slashkeyvalue)

Code Refactoring

  • server/player: players instances are now created on connection, as soon as a valid userid is retrieved. #43 (slashkeyvalue)
  • server: class constructor (Linden)
  • server: class method syntax (Linden)
  • server/class: remove Class global (Linden)
  • server/player: CPlayer:selectCharacters method (Linden)
  • server/player: registry tweaks and restart fix (Linden)
  • server/player: merge CPlayer:init with CPlayer:setAsJoined (Linden)
  • server/vehicle: remove dependence on vehicle.main (Linden)
  • server/player: remove state setters (Linden)
  • server/player: use PlayerRegistry directly inside module (Linden)
  • server/player: remove direct registry access outside of module (Linden)
  • server/player: commands module (Linden)
  • server/player: remove exports for internal methods (Linden)
  • server/player: handle character selection inside player.events (Linden)
  • server/player: save handling (Linden)
  • server/player: reorganise addPlayer (Linden)
  • server/vehicle: don't sync plate property with vehicle plate (Linden)
  • sql: add ox_statuses (Linden)
  • client: load client.death with require (Linden)
  • server/status: change GlobalState index (Linden)
  • server/vehicle: use make, model, and timestamp for vin (ESK0)
  • sql: add unique index to vehicle.vin (Linden)
  • sql: types, structure, and mysql8 compatibility (#49) #49 (ESK0)
  • sql: update table names (Linden)
  • server/player: move identifier checks to addPlayer (Linden)
  • client/status: use new tick value (Linden)

Chores

  • .gitignore: move to root dir (Linden)
  • .luarc: ignore web ([Lin...
Read more

v0.11.0

04 Nov 05:50
Compare
Choose a tag to compare
v0.11.0 Pre-release
Pre-release

Bug Fixes

  • server/player: send gender on client load (Linden)
  • client: add gender to playerData (Linden)
  • server/player: missing field (Linden)
  • server/player: connection logic (Linden)

Code Refactoring

  • client: PlayerIsLoaded (Linden)
  • client: PlayerIsDead (Linden)
  • server/player: set player.ped after loading client (Linden)
  • server/player: trigger ox:loadPlayer (Linden)
  • client: handle ox:loadPlayer and ox:playerLoaded (Linden)