Carp!
Well-Known Member
Hello survivors!
I wanted to pass this along as this has helped me a lot in not being around when my server restarts to make any changes go live. My server restarts at 2 and 8 am and I am not always around at 2am to be up to upload the new pbos.
In my restart script, just before I start the server, I have added the following lines:
:: Check to see if we have new pbos
IF EXIST "C:\DayZ Epoch Server\ToGoLive\dayz_1.napf.pbo" (
MOVE /Y "C:\DayZ Epoch Server\ToGoLive\dayz_1.napf.pbo" "C:\DayZ Epoch Server\MPMissions"
)
IF EXIST "C:\DayZ Epoch Server\ToGoLive\dayz_server.pbo" (
MOVE /Y "C:\DayZ Epoch Server\ToGoLive\dayz_server.pbo" "C:\DayZ Epoch Server\@DayZ_Epoch_Server\addons"
)
The ToGoLive folder I added as a place to dump my files before they are moved. This moves any pbos i have added to that folder to the normal places where your pbo's are normally stored. So, make a change, repack, add files to the folder, and the next time your server reboots, it moves the new pbos to their respective places automagically.
I hope someone finds this as useful as I have. The only disclaimer is if you do not have a test server to test your pbos, then these might be uploaded if you should happen to miss a comma or something, so definitely make sure they work if you are not going to be around during restart.
Enjoy!
I wanted to pass this along as this has helped me a lot in not being around when my server restarts to make any changes go live. My server restarts at 2 and 8 am and I am not always around at 2am to be up to upload the new pbos.
In my restart script, just before I start the server, I have added the following lines:
:: Check to see if we have new pbos
IF EXIST "C:\DayZ Epoch Server\ToGoLive\dayz_1.napf.pbo" (
MOVE /Y "C:\DayZ Epoch Server\ToGoLive\dayz_1.napf.pbo" "C:\DayZ Epoch Server\MPMissions"
)
IF EXIST "C:\DayZ Epoch Server\ToGoLive\dayz_server.pbo" (
MOVE /Y "C:\DayZ Epoch Server\ToGoLive\dayz_server.pbo" "C:\DayZ Epoch Server\@DayZ_Epoch_Server\addons"
)
The ToGoLive folder I added as a place to dump my files before they are moved. This moves any pbos i have added to that folder to the normal places where your pbo's are normally stored. So, make a change, repack, add files to the folder, and the next time your server reboots, it moves the new pbos to their respective places automagically.
I hope someone finds this as useful as I have. The only disclaimer is if you do not have a test server to test your pbos, then these might be uploaded if you should happen to miss a comma or something, so definitely make sure they work if you are not going to be around during restart.
Enjoy!