thevisad / DayZ-Private-master

Reality DayZ - replaced Bliss for DayZ servers
GNU General Public License v2.0
44 stars 84 forks source link

Migrating DB from 0.36 to 0.37 can break HMMWV_DZ spawn #60

Closed wriley closed 11 years ago

wriley commented 11 years ago

schema/Reality/mysql/0.36-0.37/40_vehicle.sql

If the vehicle is already name correctly (it was in my DB) then this SQL changes HMMWV_DZ to HMMWV_DZ_DZ and the vehicle will no longer spawn.

From RPT 18:04:42 "OBJ: 273 - HMMWV_DZ_DZ" 18:04:42 Cannot create non-ai vehicle HMMWV_DZ_DZ,

Fixing the name allows it to spawn again.

thevisad commented 11 years ago

nice catch. Ill change that.

wriley commented 11 years ago

update vehicle set class_name = 'HMMWV_DZ' where class_name = 'HMMWV';

thevisad commented 11 years ago

Updated the files, closing ticket at this time as resolved.