Jump to content
  • 0
Sign in to follow this  
dztancem8

Server Vehicles and other objects not saved on restart?

Question

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

https://forums.dayz.com/topic/68181-1725-tents-and-vehicle-inventories-not-saving/

 

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

5 answers to this question

Recommended Posts

  • 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

Join the conversation

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

Guest
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.

Loading...
Sign in to follow this  

  • Similar Content

    • By 2DayZ2Retirement
      -PROBLEM SOLVED-
       
      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 1.0.6.2
      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.
      Cheers.
    • 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
      Find
      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...