denisio / Dayz-Epoch-Linux-Server

A private hive DayZ Epoch server on Linux
36 stars 30 forks source link

Cache Saving not work properly #30

Closed pixlcrashr closed 9 years ago

pixlcrashr commented 9 years ago

Hello,

My Cache only get saved after proper disconnecting. 1min(and 10-5min) before a restart, my Position and Skin wouldn't get saved. So, got someone helpful answers?

Is it practical to add a writer.pl crontask 1 min before a restart?

deannreid commented 9 years ago

I'd recommend setting up restart messages https://github.com/deannreid/BattlEye-RCON-Control-PHP because as far as I know, not tested anything. there isn't an easy way to sort that.

pixlcrashr commented 9 years ago

@deannreid I do and I've a shortened Version of this script with random messages(self-cutted/coded). But the Playerinventory get not saved at restart. Cars, Bases and Co. get saved.

But this PlayerInvs...

EDIT: Or is there no way to save at very restart? So the Players should log out at 5Mins?

deannreid commented 9 years ago

Rule of thumb for me is 10 minutes before restart to make sure, just do a few tests I'll have a look and see what I can find to force a save of inventory's, I myself have never had this problem, not for a long time anyway

pixlcrashr commented 9 years ago

I'll see, thanks.

pixlcrashr commented 9 years ago

Seems to work,

Thanks again