NullSystemWorks / mtadayz

Official MTA:DayZ Repository
Other
40 stars 35 forks source link

Vehicles not working #153

Closed lyricalmm closed 6 years ago

lyricalmm commented 6 years ago

Vehicles are not spawning, I tried to resolve this problem but I couldn't. Vehicles on F7 Panel are not showing or spawning. Any help here? :)

dreezyduh commented 6 years ago

this bug has been fixed some time ago, here are the steps delete vehicles.db inside the databases folder stop DayZ, delete vehicleManager from the console (delaccount vehicleManager), then start DayZ again

lyricalmm commented 6 years ago

@dreezyduh I did that, but now in console says ERROR: DayZ/init/vehicles/vehicles_init.lua:266: bad argument #1 to ' [ ipairs' (table expected, got nil)

dreezyduh commented 6 years ago

have you tried restarting the server? also, did you modify anything in the script ?

lyricalmm commented 6 years ago

I tried 3 times, with the default script. I have also downloaded the 0.9.9a, do I need to download the other one version? :)

dreezyduh commented 6 years ago

I haven't tried this with the newer versions, I'll try to do it rn see if I have the same problem

lyricalmm commented 6 years ago

What version do you use?

dreezyduh commented 6 years ago

I'll get the master

lyricalmm commented 6 years ago

Will this work on version 0.9.6a ?

mtadayz commented 6 years ago

From that error you posted, I can infer that something is wrong with the vehicle spawning itself, not the database. Are you sure you didn't edit cfgVehicles.lua in some way? Because it looks like you did, but failed to do so properly.

mtadayz commented 6 years ago

As it's been a while since the original poster said something about this issue, I consider this issue closed.