forked from github/server
commit
880b965c54
|
@ -26,15 +26,17 @@ if [ ! -s $ERESSEA/game-$GAME/orders.$TURN ]; then
|
||||||
echo "server did not create orders for turn $TURN in game $GAME"
|
echo "server did not create orders for turn $TURN in game $GAME"
|
||||||
exit 2
|
exit 2
|
||||||
fi
|
fi
|
||||||
|
if [ ! -s $REPORTS/reports.txt ]; then
|
||||||
|
echo "server did not create reports.txt in game $GAME"
|
||||||
|
exit 4
|
||||||
|
fi
|
||||||
|
$BIN/backup-eressea $GAME $TURN
|
||||||
let TURN=$TURN+1
|
let TURN=$TURN+1
|
||||||
if [ ! -s $ERESSEA/game-$GAME/data/$TURN.dat ]; then
|
if [ ! -s $ERESSEA/game-$GAME/data/$TURN.dat ]; then
|
||||||
echo "server did not create data for turn $TURN in game $GAME"
|
echo "server did not create data for turn $TURN in game $GAME"
|
||||||
exit 3
|
exit 3
|
||||||
fi
|
fi
|
||||||
if [ ! -s $REPORTS/reports.txt ]; then
|
echo "sending reports for game $GAME, turn $TURN"
|
||||||
echo "server did not create reports.txt for turn $TURN in game $GAME"
|
|
||||||
exit 4
|
|
||||||
fi
|
|
||||||
$BIN/compress.sh $GAME $TURN
|
$BIN/compress.sh $GAME $TURN
|
||||||
$BIN/sendreports.sh $GAME
|
$BIN/sendreports.sh $GAME
|
||||||
$BIN/backup-eressea $GAME $TURN
|
$BIN/backup-eressea $GAME $TURN
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#define VERSION_MAJOR 3
|
#define VERSION_MAJOR 3
|
||||||
#define VERSION_MINOR 4
|
#define VERSION_MINOR 4
|
||||||
#define VERSION_BUILD 694
|
#define VERSION_BUILD 695
|
||||||
|
|
Loading…
Reference in New Issue