27 lines
1.0 KiB
Bash
27 lines
1.0 KiB
Bash
#!/usr/bin/env bash
|
|
# #78 skating-limp repro: A (bhk1) limps while auto-walking; B observes.
|
|
# B's log shows what its REPLICANT of A knows: [gimp-eval] (does the
|
|
# threshold run on the replicant?) and [animind] inst=1 states (does the
|
|
# replicant's gait machine enter 22-27, or skate in walk states?).
|
|
set -x
|
|
cd /c/git/bt411/content || exit 1
|
|
rm -f mp_a.log mp_b.log
|
|
sed 's/^experience=expert/experience=novice/' MP.EGG > MPN.EGG
|
|
|
|
BT_LOG=mp_b.log BT_AFFINITY=0x2 BT_MP_LOG=1 BT_DMG_LOG=1 BT_AUDIO_SPATIAL=1 BT_SYNC_LOG=1 BT_REPL_LOG=1 \
|
|
../build/Release/btl4.exe -egg MPN.EGG -net 1601 &
|
|
sleep 2
|
|
BT_LOG=mp_a.log BT_AFFINITY=0x1 BT_MP_LOG=1 BT_DMG_LOG=1 \
|
|
BT_SELF_DAMAGE=60 BT_SELF_DAMAGE_ZONE=18 BT_SELF_DAMAGE_TICKS=2 BT_SELF_DAMAGE_DELAY=45 \
|
|
BT_GOTO="8000 8000" BT_GOTO_THR=0.9 \
|
|
../build/Release/btl4.exe -egg MPN.EGG -net 1501 &
|
|
sleep 4
|
|
python ../tools/btconsole.py MPN.EGG 127.0.0.1:1501 127.0.0.1:1601 &
|
|
PC=$!
|
|
|
|
sleep 150
|
|
kill $PC 2>/dev/null
|
|
taskkill //F //IM btl4.exe 2>/dev/null
|
|
rm -f MPN.EGG
|
|
echo "=== DONE ==="
|