AdvancedParking v4.11.1 - Persistent vehicles! [ESX] [QB] [QBOX] [OX] [Standalone]

Experimental Update v4.15.1e

  • Added 3 additional nil checks on server side update check.
  • Fixed nil value being displayed in cleanup debug lines.
  • Removed unnecessary goto instruction.

Some of you that have been using the experimental might have run into the following server side error:

SCRIPT ERROR: ?:-1: attempt to index a nil value (field '?')
> fn (@AdvancedParking/server/server.lua:123)

As rare as it is, it effectively “crashes” the part of the script responsible for updating and spawning vehicles on server side. Updates directly from clients were not affected.
However this essentially prevents any vehicle from spawning from that point on. If they despawn they stay missing until the script is restarted.

I have found 3 potential instances that could lead to this error and those are now just outputting a debug message instead of crashing the script. However this is not a guarantee that it is fixed. If you are still running into this error, please report it as soon as possible.