NOTIFY players of a new turn ? (mail/anything ?)

Join us, meet players from all around the world, challenge the strongest top players, practice and be one of them!
psypol
Posts: 1
Joined: Sat May 12, 2018 3:42 pm

NOTIFY players of a new turn ? (mail/anything ?)

Postby psypol » Sat May 12, 2018 4:21 pm

Hello

i'm preparing a server (on raspberry pi3) to play with friends.
i have almost everything set-up.
the last thing i would love to have is a way to notify (myself and friends) when a new turn just started and it's time to make our moves/decisions.
(new turns will be forced every ~6hours)

the only approaching option i have seen is to activate in options/"sounds" the "bell" option
also in Options/Messages to check the 3 boxes on line "Turn bell"
then look at "chat" window and there i can see "start of turn X"

Another option might be to make my debian on the raspberry pi check if a new SAVE file appeared in the save folder
this is a proof that a new turn started.
Then the trick would be with some coding (python?) to send some notification to the players (for example a mail)

Any ideas / suggestions ?

Ignatus
Hardened
Posts: 228
Joined: Mon Nov 06, 2017 12:05 pm
Location: St.Petersburg, Russia
Contact:

Re: NOTIFY players of a new turn ? (mail/anything ?)

Postby Ignatus » Sun Aug 11, 2019 8:07 pm

There is no way to notify from the server about a new turn except sending the "new turn" package to clients currently connected (they can have bell ringing). If you want email notification, checking savefile folder with some script looks a logial solution.

Lexxie
Veteran
Posts: 52
Joined: Fri Jun 23, 2017 4:18 pm

Re: NOTIFY players of a new turn ? (mail/anything ?)

Postby Lexxie » Fri Sep 13, 2019 6:52 pm

There is something in there, wake from sleep sound. You can set it to play the sound when a special string is seen to come.