Uncle Zed 272 Posted April 29, 2013 I asked this on the DayZCC forum but no one's answered it there, so I figured I'd try here. In the Overview page, there's the option to "Spawn vehicles". I know this respawns any destroyed vehicles and I think it also respawns vehicles that haven't been touched in X number of days. Does anyone know how many days a vehicle has to be untouched to be respawned or if that's even the way it works? My host tells me it respawns all destroyed and broken vehicles, but I know that's not the case, as there are plenty of broken vehicles on my server, and they weren't respawned when I used that. Share this post Link to post Share on other sites
dayz247 59 Posted April 29, 2013 (edited) It should respawn only completely destroyed vehicles.Let me look.edit:SPAWN VEHICLES: Respawns ONLY completely destroyed vehicles (up to vehicle limit set in vehicle table).RESPAWN ALL VEHICLES: Respawns all vehicles to their spawn points with full fuel and no damage.I do not see anything checking for vehicles not used in a certain period of time, so I am going to say that it (spawn vehicles) does not respawn vehicles that have not been used for awhile. Edited April 29, 2013 by dayz247 Share this post Link to post Share on other sites
Uncle Zed 272 Posted April 29, 2013 It should respawn only completely destroyed vehicles.Let me look.edit:SPAWN VEHICLES: Respawns ONLY completely destroyed vehicles (up to vehicle limit set in vehicle table).RESPAWN ALL VEHICLES: Respawns all vehicles to their spawn points with full fuel and no damage.I do not see anything checking for vehicles not used in a certain period of time, so I am going to say that it (spawn vehicles) does not respawn vehicles that have not been used for awhile.Ah, ok. Thanks for the answer. Where did you get that from anyway? I'm glad that it only respawns destroyed vehicles, as that's what I was actually shooting for. Perhaps there's a database query I can run to respawn vehicles not used in X number of days? Share this post Link to post Share on other sites
machine6fd 16 Posted April 29, 2013 Ah, ok. Thanks for the answer. Where did you get that from anyway? I'm glad that it only respawns destroyed vehicles, as that's what I was actually shooting for. Perhaps there's a database query I can run to respawn vehicles not used in X number of days?That should be in the database clean up button. This is where it should clean up those unused items. you can always dig around in the .php files in @dayzcc\htdocs to find out exactly what each command is telling the database to do. Share this post Link to post Share on other sites
dayz247 59 Posted April 29, 2013 I just looked through the respawn script.It is:@dayzcc/htdocs/dayz/modules/lib/class.vehicles.phpAnd yes, it would be entirely possible to add in an unused item check. This would simply be a process of pulling down a list of vehicles, checking against the current date and deleting (see below) the vehicle.I actually wouldn't even delete it... I would set it's damage to 1. I would perform this in the @dayzcc/htdocs/dayz/modules/actions.php right before the line "require_once(modules/lib/class.vehicles.php)" line. Then the program could continue working as normal, and would replace the vehicles you just set the damage to 1. Share this post Link to post Share on other sites
ICU81240 0 Posted July 8, 2013 I have a question I'm probably in the wrong topic but how would I increase the vehicles spawn limit? Share this post Link to post Share on other sites