Skip to content

Releases: overextended/ox_core

v0.10.0

27 Oct 12:32
Compare
Choose a tag to compare
v0.10.0 Pre-release
Pre-release

Features

  • client/player: trigger unique event for player metadata (Linden)
  • client/player: lazy-event and metadata handling (Linden)

Bug Fixes

  • lib/server: player.getState method and types (Linden)
  • support sv_lan and fxdk (Linden)
  • server/player: Wipe inScope table on logout (#38) #38 (Jag)
  • sql: allow phone_number to be NULL (Linden)

Chores

  • manifest: bump server dependency version (#37) #37 (Jag)

v0.9.0

10 Oct 01:47
Compare
Choose a tag to compare
v0.9.0 Pre-release
Pre-release

Features

  • server/player: support for pefcl (Linden)
  • server/groups: setup unique accounts (Linden)
  • sql: ox_groups.hasAccount column (Linden)
  • client/events: delete peds when spawning vehicles (Linden)

Bug Fixes

  • server/groups: don't update player group if grade is unchanged (Linden)
  • server/player: reload pefcl on restart (Linden)
  • server/player: typo (Linden)
  • server/vehicle: correct type for blimp (DokaDoka)
  • server/player: Use all defined character slots (#35) #35 (Jag)

Code Refactoring

  • server/player: don't force ox_inventory; minor formatting (Linden)
  • server/player: clear charid during save (Linden)
  • server/groups: improve pefcl support (Linden)
  • remove built-in accounts (Linden)
  • client: use PlayerPedId (Linden)
  • client/spawn: don't set cache.ped (Linden)
  • server/vehicle: use native CreateVehicleServerSetter (#36) #36 (BerkieBb)
  • client/events: remove useless native call (Linden)

Commits

  • caf41fa: Revert "refactor(client): use PlayerPedId" (Linden)
  • 33e6eb6: Revert "refactor(client/spawn): don't set cache.ped" (Linden)
  • e62a540: Revert "feat(server/vehicle): delete peds when spawning vehicles" (Linden)

v0.8.0

24 Sep 03:37
Compare
Choose a tag to compare
v0.8.0 Pre-release
Pre-release

Features

  • server/vehicle: use CREATE_VEHICLE_SERVER_SETTER (Linden)
  • server/vehicle: deprecate CVehicle.store for CVehicle.setStored (Linden)
  • server/vehicle: add CVehicle.setOwner (Linden)
  • server/vehicle: delete peds when spawning vehicles (Linden)
  • server/vehicle: CVehicle.despawn (Linden)
  • server/vehicle: group vehicles (#29) #29 (Sam Shanks)
  • server/vehicle: CVehicle.setGroup (Linden)

Bug Fixes

Code Refactoring

  • client/events: set vehicle on ground and delay state handler (Linden)
  • client/events: handle initVehicle and set locked status (Linden)
  • client/events: reduce Wait during initVehicle (Linden)

Commits

  • 225abbd: refactor(server/vehicle) initVehicle and set lockStatus (Linden)

v0.7.2

21 Sep 03:16
Compare
Choose a tag to compare
v0.7.2 Pre-release
Pre-release

Features

  • debug/vehicleParser: save stats, top stats, and price (#28) #28 (Linden)
  • lib/server: new interfaces and Ox namespace (Linden)
  • server/player: allow boolean and nil values for player.setdb (Linden)

Bug Fixes

  • server: multi-return values for method calls (Linden)
  • client/spawn: don't set max armour on spawn (Linden)

Code Refactoring

  • shared/vehicles: declare table properties (Linden)

v0.7.1

19 Sep 21:55
Compare
Choose a tag to compare
v0.7.1 Pre-release
Pre-release

Bug Fixes

Continuous Integration

  • release: automatic npm package bumping (Luke)

v0.7.0

18 Sep 10:36
Compare
Choose a tag to compare
v0.7.0 Pre-release
Pre-release

Features

  • client/debug: save vehicle type (Linden)
  • save metadata #23 (SamShanks1)
  • client/spawn: set health and armour on spawn (Linden)
  • server/player: save player health and armour (Linden)
  • server/player: support tables in player.setdb (Linden)
  • client/spawn: set ped model from gender (#24) #24 (Sam Shanks)
  • lib/server: player.setdb definition (Linden)
  • server/player: GetPlayerByFilter (Linden)
  • lib/server: GetPlayerByFilter (Linden)
  • imports/server: Ox.GetPlayerByFilter (Linden)

Bug Fixes

  • server/groups: trigger addCharacterGroup + missing command (Linden)
  • client/death: possible race condition (Linden)
  • server/player: use Shared.CHARACTER_SLOTS (Linden)
  • lowercase where #23 (SamShanks1)
  • save metadata #23 (SamShanks1)
  • types (Linden)
  • client: various minor fixes (Linden)
  • client/player: wipe playerData on logout (Linden)
  • server/vehicle: default to stored if coords are nil (Linden)
  • imports/server: return CVehicle or vehicleId (Linden)
  • lib/server: return CVehicle or vehicleId (Linden)
  • server/vehicle: do not assign stored to false (Linden)
  • server/player: apply __newindex to metatable (Linden)

Code Refactoring

  • server/debug: check vehicleData before saving (Linden)
  • server/vehicle: use CreateVehicle for non-automobiles (Linden)
  • client/debug: use hashed model (Linden)
  • remove errors (Linden)
  • client: disable player health regen (Linden)
  • server/player: metadata return value #23 (Linden)
  • server/player: use __newindex for CPlayer methods (Linden)
  • server/player: trigger ox:playerLogout before saving (Linden)
  • client: remove "login" OnPlayerDeath (Linden)
  • server: set Registry types (Linden)
  • server/class: remove name param (Linden)
  • server/player: types (Linden)
  • server/vehicle: Ox.GetVehicleExports (Linden)
  • imports/server: update exports reference (Linden)
  • server/groups: stricter types (Linden)

v0.6.1

06 Sep 04:47
Compare
Choose a tag to compare
v0.6.1 Pre-release
Pre-release

Bug Fixes

  • imports/server: CPlayer:getAccounts calls wrong function (Linden)
  • server/vehicle: load commands (Linden)

v0.6.0

05 Sep 01:29
Compare
Choose a tag to compare
v0.6.0 Pre-release
Pre-release

Enjoy the breaking changes.

local player = Ox.GetPlayer(source)
print(player.dead) -- nil
print(player.get('isDead')

print(player.groups.police) -- attempt to index nil value
print(player.getGroup('police') -- get value of police
print(player.hasGroup('police') -- get group name and value

local groups = player.get('groups') -- get all groups

Breaking Changes

  • server/player: move dynamic player data to metadata (Linden)

Features

  • server/player: prevent multiple connections from an identifier (Linden)
  • server: class constructor (Linden)
  • shared: require (Linden)

Bug Fixes

  • server/groups: message when group doesn't exist (Linden)
  • server/player: don't return all metadata when key-value is nil (Linden)
  • server/player: update references to player.groups (Linden)
  • shared: set modules[path] to nil on error (Linden)
  • server/vehicle: weird unstaged commit (Linden)
  • shared: set default require return value (Linden)
  • ci/build: remove files from directories (Linden)

Code Refactoring

  • move 'files' from root to shared (Linden)
  • improve error messages (Linden)
  • server/player: delay loading characters (Linden)
  • server/player: move dynamic player data to metadata (Linden)
  • client: set initial value of player.isDead (Linden)
  • lib/server: update class fields and methods (Linden)
  • server: standardise groups class structure (Linden)
  • server: use require to load db submodules (Linden)
  • server: require modules (Linden)

Chores

v0.5.2

30 Aug 22:41
Compare
Choose a tag to compare
v0.5.2 Pre-release
Pre-release

Bug Fixes

  • server/vehicle: allow spawnVehicle without an id (Linden)
  • server/player: prevent logout if character is not selected (Linden)
  • server/player: player name shouldn't be 'nil nil' (Linden)

v0.5.1

29 Aug 07:04
Compare
Choose a tag to compare
v0.5.1 Pre-release
Pre-release

Bug Fixes

  • server/player: character deletion #18 (Linden)
  • server/player: iterate PlayerRegistry on server shutdown (Linden)

Code Refactoring

  • server: create player/db #18 (Linden)
  • server/player: use a metamethod for loadResource #18 (Linden)
  • server/player: re-structure player module and class #18 (Linden)
  • server/player: move onResourceStop and logout from init (Linden)
  • server/vehicle: create db and registry (Linden)
  • server/vehicle: re-structure vehicle module and class (Linden)

Chores

Commits

  • shared: change "Resource" function #18 (Linden)