Jump to content
  • 0
Sign in to follow this  

Server Vehicles and other objects not saved on restart?


Seen a couple of threads now linking to this problem of the server rolling back and not saving the object / vehicle COORDS on restart.

- I use PRMS (Added by GamingDeluxe) which restarts the server like BEC
Problem with this is that I have my server to restart every 4 Hours and it only restarts every 2 hours? This could be the cause?


Threads such as: are similar to to my problem



So if I spawn in a vehicle using Infistar for a player

Then the player drives this vehicle around the map anywhere

After 2 hours the server will restart prematurely (when its set to 4 hour restarts on PRMS) 

And will then move this spawn vehicle back to the position to where I spawned it


This is the same with players creating bases, or adding items to safes or vehicles. The server simply rolls back to the start of the server restart. I think this could be a problem with a Server_update file as it is not saving the positions but I read on the other thread this is not the case...

Any ideas?

- Dztance


Share this post

Link to post
Share on other sites

7 answers to this question

Recommended Posts

  • 0

This this may be the fix,

In Innit.sqf I compared lines with my old server which did not have this problem


enableSaving [true, true];


Both of these values where set to false but I will test now <3

Share this post

Link to post
Share on other sites
  • 0

Anyone having this problem Ive managed to fix it!

- Check plot management (found a "[" bracket typo which did not correspond to a close bracket in the server_updateobject.sqf

- Please check your Server_updateobject.sqf and Server_publishobject.sqf 

- For the vehicles rolling back on restarts, either reinitialise your database or wipe it


Tried both of these and mine is fixed :D

Share this post

Link to post
Share on other sites
  • 0
On 4/16/2020 at 10:57 AM, dragonflyz78 said:

was there a fix because im trying to run an exile server and have a problem where the spawned vehicles dont save and despawn on reset


I used to spawn non persistent vehicles that I did not want to save after reboot, and persistent ones that I wanted to stay. Now nothing saves.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Similar Content

    • By 2DayZ2Retirement
      G'day, Survivors.
      I am having an issue on my server where vehicles which spawn randomly around the map repair themselves upon server restart.
      I use this config in my init.sqf which successfully spawns the vehicles in damaged and with low fuel...
      DynamicVehicleDamageLow = 75;
      DynamicVehicleDamageHigh = 100;
      DynamicVehicleFuelLow = 0;
      DynamicVehicleFuelHigh = 25;
      ...However upon each server restart the vehicles repair themselves (the fuel remains low however) and for the life of me I can't figure out why this is happening. 
      DayZ Version -DayZ Epoch
      Scripts Used -DZAI | -DZMS | -Right Click Actions (Suicide, Smoke Drugs, GPS Scan)
      AntiHack - InfiSTAR
      Server Host - GTXGaming
      My HiveEXT.log and arma2oaserver.RPT logs are not showing anything out of the ordinary.
      I'm not sure if it matter, but all Planes/Helicopters and Boats have been removed from the server via the dynamic_vehicle.sqf.
      In addition, all of the traders and trader cities being removed by removing the call for the CfgServerTrader.hpp in the description.ext.
      If there is any other info I can show to assist in fixing this problem please let me know, any help would be greatly appreciated.
    • By Brian Soanes
      To unlock vehicles left in your traders over a server restart, open your epoch_server.pbo

      In epoch_server\compile\epoch_vehicle\EPOCH_load_vehicles.sqf
      if (_allowDamage) then { Just above that, add this
      A3E_SafeZonePosArray = [ [[18451.9,14278.1,0]], //Altis East trader [[13333.5,14494.3,0]], //Altis Central trader [[6192.46,16834,0]] //Altis West trader ]; { if (_vehicle distance (_x select 0) < 200) then { _vehicle lock false; diag_log format["Vehicle %1 left in trader unlocked @ %2", _class, mapGridPosition _vehicle]; }; } forEach A3E_SafeZonePosArray; Pack pbo and you're good to go
    • By calinova22
      How would I go about adding custom vehicles to my server? I want to have an F35B with no weapons. I know how to remove the weapons, just cant find the file for the jet itself to edit.
    • By Irradiated Beef
      Howdy folks, sorry to ask what should be an obvious and easy thing, but my searches over the last two days haven't found me a current answer.
      Apparently in the older versions of Epoch, you would add vehicles by editing the allowedvehicleslist,  however that seems to have changed in later versions, as the list is no longer there. I found some documents that state it's in the mission.pbo, some that state it's in the epochconfig.hpp (there's a reference to it but no actual list), and some that state it should be somewhere else in the epoch_server_settings, but I've come up completely blank.
      Does anyone happen to know where this is in the current (Epoch 1.0) release? 
      Considering most documentation I'm finding is several years old, I can only assume I'm looking in the wrong places. :( 
  • Advertisement
  • Supporters
  • Discord

  • Create New...