So how do i get a vehicle to spawn once i have it in the Database ?

Vehicles

Run perl db_spawn_vehicles.pl --help to get help information on how to invoke the vehicle spawn script correctly. You will need to run the vehicle script and point it to your database to get vehicles to spawn in-game. The script can be run periodically - it will not delete all vehicles every time it runs. It will clean up user-deployed objects (wire fence, tents, tank traps, etc) in the same way that official DayZ does. If you run db_spawn_vehicles.pl with the --cleanup bounds argument, it will also check for out-of-bounds objects and delete them.

NOTE: Vehicles added/updated via database manipulation are only available after a server restart.

https://github.com/ayan4m1/DayZ-Private
 
yeah my database is set up in all but im trying to figure out how to get the database to spawn more then 2 aircraft. Right now it has the ability to spawn the hueys and the littebird but only the MI17 and the plane are spawned in,


Any idea how to get the rest to spawn ? or to increase more vehicles to spawn in ?
 
2u55o4m.jpg



here is my database instance vehicles list
 
well i run it and then it starts saying things like
tried to spawn 8 vehicles but only spawned 1
 
yep it does that crap, you have to add more spawn points in the game and then run it again. its a pain in the as to get vehicles to spawn, if you want to change a vehicle manually just change the world_vehicle_id row to replace that vehicle with whatever you want

Code:
22:14:51 "SERVER VERSION: Bliss v4.2"
22:14:51 "SERVER: Fetching objects..."
22:14:51 "SERVER: Fetched 65 objects!"
22:14:51 "Spawned: "1" AH6X_DZ"
22:14:51 "Spawned: "2" AH6X_DZ"
22:14:51 "Spawned: "3" AH6X_DZ"
22:14:51 "Spawned: "4" AH6X_DZ"
22:14:51 "Spawned: "5" AH6X_DZ"
22:14:51 "Spawned: "6" AH6X_DZ"
22:14:51 "Spawned: "7" AH6X_DZ"
22:14:51 "Spawned: "8" AH6X_DZ"
22:14:51 "Spawned: "9" AH6X_DZ"
22:14:51 "Spawned: "10" AH6X_DZ"
22:14:51 "Spawned: "11" AH6X_DZ"
22:14:51 "Spawned: "12" AH6X_DZ"
22:14:51 "Spawned: "13" AH6X_DZ"
22:14:51 "Spawned: "14" AH6X_DZ"
22:14:51 "Spawned: "15" AH6X_DZ"
22:14:51 "Spawned: "16" AH6X_DZ"
22:14:51 "Spawned: "17" AH6X_DZ"
22:14:51 "Spawned: "18" AH6X_DZ"
22:14:51 "Spawned: "19" AH6X_DZ"
22:14:51 "Spawned: "20" AH6X_DZ"
22:14:51 "Spawned: "21" AH6X_DZ"
22:14:51 "Spawned: "22" AH6X_DZ"
22:14:52 "Spawned: "23" AH6X_DZ"
22:14:52 "Spawned: "24" AH6X_DZ"
22:14:52 "Spawned: "25" AH6X_DZ"
22:14:52 "Spawned: "26" AH6X_DZ"
22:14:52 "Spawned: "27" AH6X_DZ"
22:14:52 "Spawned: "28" AH6X_DZ"
22:14:52 "Spawned: "29" AH6X_DZ"
22:14:52 "Spawned: "30" AH6X_DZ"
22:14:52 "Spawned: "31" AH6X_DZ"
22:14:52 "Spawned: "32" AH6X_DZ"
22:14:52 "Spawned: "33" AH6X_DZ"
22:14:52 "Spawned: "34" AH6X_DZ"
22:14:52 "Spawned: "35" AH6X_DZ"
22:14:52 "Spawned: "36" AH6X_DZ"
22:14:52 "Spawned: "37" AH6X_DZ"
22:14:52 "Spawned: "38" AH6X_DZ"
22:14:52 "Spawned: "39" AH6X_DZ"
22:14:52 "Spawned: "40" AH6X_DZ"
22:14:52 "Spawned: "41" AH6X_DZ"
22:14:52 "Spawned: "42" AH6X_DZ"
22:14:52 "Spawned: "43" AH6X_DZ"
22:14:52 "Spawned: "44" AH6X_DZ"
22:14:52 "Spawned: "45" AH6X_DZ"
22:14:52 "Spawned: "46" AH6X_DZ"
22:14:52 "Spawned: "48" AH6X_DZ"
22:14:52 "Spawned: "49" AH6X_DZ"
22:14:52 "Spawned: "50" AH6X_DZ"
22:14:52 "Spawned: "51" AH6X_DZ"
22:14:52 "Spawned: "52" AH6X_DZ"
22:14:52 "Spawned: "53" AH6X_DZ"
22:14:52 "Spawned: "54" AH6X_DZ"
22:14:52 "Spawned: "55" AH6X_DZ"
22:14:52 "Spawned: "56" AH6X_DZ"
22:14:52 "Spawned: "57" AH6X_DZ"
22:14:52 "Spawned: "58" AH6X_DZ"
22:14:52 "Spawned: "59" AH6X_DZ"
22:14:52 "Spawned: "60" AH6X_DZ"
22:14:52 "Spawned: "61" AH6X_DZ"
22:14:52 "Spawned: "62" AH6X_DZ"
22:14:52 "Spawned: "63" AH6X_DZ"
22:14:52 "Spawned: "64" AH6X_DZ"
22:14:52 "Spawned: "66" AH6X_DZ"
22:14:52 "Spawned: "67" AH6X_DZ"

this is what happen when i changed just that col to the world_vehicle_id that matched my AH6 spawn
 
see look at this.

C:\TCAFiles\Users\Thomasc1\3171>vehiclespawn.bat
INFO: Connecting to hive.hfbservers.com:user-351 as user user-351
INFO: Instance name dayz_1.chernarus
INFO: Fetching spawn information
INFO: Fetched 5 vehicle spawns
INFO: Spawned 0 vehicles
 
First look in your vehicle table:
fPjd8.png


Find what you want to spawn, get its id from the id col in my example where going to say the AH6X_DZ its id is 53, then look for its id in the world_vehicle table:

mosQW.png


the id for the world spawn is 302 for vehicle 53, Then go to the instance vehicle table and change and existing vehicle to that id, in this case i just changed every vehicle to the ah6x because this is on my test server

oClbA.png
 
I got 1 more thing to ask...

in that vehicle table are those all spawnable vehciles ? or just most of em ?
 
Back
Top