then c=POGO r=peter
else c="${p#0}"; r="$c"
fi
- sed '1,3d;$d' <$j | src/client/empire "$c" "$r" >&3
+ src/client/empire "$c" "$r" <$j >&3
echo "Player $p Turn $t completed successfully" >&3
done
need_update=y
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed POGO peter << EOF
xdump meta sect
xdump meta ship
xdump meta plane
xdump meta ship-chr-flags
xdump meta treaty-flags
xdump meta country
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 1 << EOF
xdump sect 0,0
break
expl c 0,0 1 uh
capital 0,-2
des 0,0 g
thres d 0,0 1
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 2 << EOF
break
expl c 0,0 1 uh
desi 1,-1 +
xdump meta ship-chr-flags
xdump meta treaty-flags
xdump meta country
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 3 << EOF
break
expl c 0,0 1 uh
desi 1,-1 +
mov c 0,0 205 uh
desi 1,-1 g
cen *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 4 << EOF
break
expl c 0,0 1 uh
desi 1,-1 +
mov c 0,0 205 uh
desi 1,-1 g
cen *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 5 << EOF
break
expl c 0,0 1 uh
desi 1,-1 +
mov c 0,0 205 uh
desi 1,-1 g
cen *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 6 << EOF
break
expl c 0,0 1 uh
desi 1,-1 +
mov c 0,0 205 uh
desi 1,-1 g
cen *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 7 << EOF
break
expl c 0,0 1 uh
desi 1,-1 +
mov c 0,0 205 uh
desi 1,-1 g
cen *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 8 << EOF
break
expl c 0,0 1 uh
desi 1,-1 +
mov c 0,0 205 uh
desi 1,-1 g
cen *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 9 << EOF
break
expl c 0,0 1 uh
desi 1,-1 +
mov c 0,0 205 uh
desi 1,-1 g
cen *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 10 << EOF
break
expl c 0,0 1 uh
desi 1,-1 +
mov c 0,0 205 uh
desi 1,-1 g
cen *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 1 << EOF
real 0 -8:12,-4:4
cen *
map #
read y
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 1 << EOF
desi -1,-1 b
mov i 2,0 200 4,0
mov i 1,-1 4 jh
thre h 4,0 1
thre l 3,-1 1
desi 5,-1 h
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 1 << EOF
cen *
map #
read y
thres d -1,-1 50
thres c 1,1 768
prod *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 8 << EOF
cen *
map #
read y
exp c 0,0 50 gyyygh
des -7,-3 )
lost *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 1 << EOF
cen *
ship *
map #
assault 11,-1 0
25
prod *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 8 << EOF
cen *
map #
read y
lost *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 1 << EOF
real 0 -8:16,-4:4
cen *
ship *
map #
read y
prod *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 1 << EOF
real 1 -16:24,-8:8
convert 11,-1 76
thres c -2,2 769
map #
read y
prod *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 8 << EOF
exp c 0,0 1 gh
exp c 0,0 1 yh
exp c 0,0 1 ygh
map #
read y
prod *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 1 << EOF
build bridge 5,-1 j
explore c 5,-1 1 jh
mov c 5,-1 76 7,-1
map #
read y
prod *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 8 << EOF
des 7,-1 c
capital 7,-1
des * ?gold>1 g
map #
read y
prod *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 1 << EOF
des 0,2 m
deliver i 0,2 0 j
thres d 0,2 0
map #
read y
prod *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 8 << EOF
thres c -3:-1,-1 769
des 0:2,0 m
thres i 0:2,0 1
map #
read y
prod *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 1 << EOF
mov u 2,0 10 7,-1
des -2,2 i
thres l -2,2 600
map #
read y
prod *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 8 << EOF
thres d 1,-1 0
mov d 1,-1 1 4,0
des 3,-1 m
map #
read y
prod *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 1 << EOF
mov h 5,-1 100 7,-1
build bridge 7,-1 j
explore c 7,-1 1 jh
map #
read y
prod *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 8 << EOF
des -3,-1 j
thres i -3,-1 999
thres l -3,-1 1
map #
read y
prod *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 1 << EOF
thres l 6,-2 300
thres l 5,-1 200
thres h 5,-1 200
map #
read y
prod *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 8 << EOF
des -1,-1 m
thres i -1,-1 1
thres d -1,-1 0
map #
read y
prod *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 1 << EOF
build l 10,2 cav 5
build sh 5,-1 cs 3
thres m 10,2 25
map #
read y
prod *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 8 << EOF
des 6,-2 t
des 6,0 h
thres d 6,0 0
map #
read y
prod *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 1 << EOF
des -2,-2 j
thres l -2,-2 1
des -4,-2 k
map #
read y
prod *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 2 << EOF
explore c 2,0 1 uh
explore c 2,0 1 jh
explore c 2,0 1 bh
map #
read y
prod *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 8 << EOF
thres c -2,0 769
thres c 1,1 769
thres c 5,-1 769
map #
read y
prod *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 1 << EOF
lload m 4/5 5
lload s 5 200
lload g 5 20
map #
read y
prod *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 2 << EOF
des 0:2,0 m
thres i 0:2,0 1
thres i -5,-1 999
map #
read y
prod *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 8 << EOF
thres c * 769
thres i -2:0,-2 1
des -2:0,-2 m
map #
read y
prod *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 1 << EOF
build p 11,-1 f1 3
thres s 11,-1 200
thres p 11,-1 200
map #
read y
prod *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 2 << EOF
des -5,-1 j
thres l -5,-1 1
thres l 3,-1 300
map #
read y
prod *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 8 << EOF
des 5,-1 d
thres g 5,-1 1
des -6,-4 f
map #
read y
prod *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 1 << EOF
mov c 1,-1 230 jjh
mov c 3,-1 230 jh
mov c 2,-2 230 njh
map #
read y
prod *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 2 << EOF
des 3,-1 l
thres d 3,-1 0
des 5,-1 k
map #
read y
prod *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 8 << EOF
des -4,-4 o
thres o -4,-4 1
thres o -5,-3 0
map #
read y
prod *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed POGO peter << EOF
xdump sect 0,0
xdump ship *
xdump plane *
xdump ship-chr-flags *
xdump treaty-flags *
xdump country *
-EOF
-#!/bin/sh
-. "${SCRIPTDIR}"/common.sh
-runfeed 1 1 << EOF
xdump sect 0,0
xdump ship *
xdump plane *
xdump ship-chr-flags *
xdump treaty-flags *
xdump country *
-EOF