Closed madrigo64 closed 11 years ago
This has not changed at all, this is the same as it was when this was forked.
The script does no longer clean up the old destroyed vehicles (when using --cleanup bounds), so it does no longer spawn new vehicles when the limit was already reached.
Yeah, my bad, I am really tired... too many late coding nights, been getting about 3-4 hours a night since I started with this. Your options are as follows, note, that you must execute the spawn function after this as this only executes the cleanup function. --cleanup with nothing cleans the destroyed vehicles, tents only does tents, bounds checks for items outside the bounds and all does everything.
perl db_spawn_vehicles.pl --instance 1 --host localhost --user changeme --pass changeme --name dayz --port 3306 --cleanup damaged perl db_spawn_vehicles.pl --instance 1 --host localhost --user changeme --pass changeme --name dayz --port 3306 --cleanup tents perl db_spawn_vehicles.pl --instance 1 --host localhost --user changeme --pass changeme --name dayz --port 3306 --cleanup bounds perl db_spawn_vehicles.pl --instance 1 --host localhost --user changeme --pass changeme --name dayz --port 3306 --cleanup all
I have clear table instance_vehicle
if I run perl db_spawn_vehicles.pl
it's not spawn any vehicles
but with old version all is ok check it please
Corrected a small issue, it wasn't supposed to be none, it was supposed to be damaged.
So now vehicles spawn only with this option --cleanup damaged but Is it logical? I think no I think vehicles should spawn by default when I run db_spawn_vehicles.pl
Too many things at once --cleanup was designed to remove items from the game, so this was corrected to handle just that aspect. If you want to spawn a vehicle do it without the --cleanup command. I just uploaded a fix for the file. --cleanup damaged will cleanup any damaged vehicles with nothing will spawn vehicles
now is ok, thanks. Update please readme.md about this
After today updating db_spawn_vehicles.pl not spawn vehicles anymore but with old version all is ok I use this command
perl db_spawn_vehicles.pl --cleanup bounds --limit 25
fix this please