Eric House
17d3f14d9e
kill script when no change for two minutes
...
by default -- there's a flag for that too.
2017-12-03 17:05:02 -08:00
Eric House
45bb36e66c
pad log and db file names for better sorting
2017-11-30 07:43:04 -08:00
Eric House
f1b91f4df2
exit if tile line hasn't change in 2 minutes
2017-11-29 20:39:15 -08:00
Eric House
12ab4bdc5c
print total runtime on exit
2017-11-29 20:02:27 -08:00
Eric House
db0d5ef746
tweak display; add signal handler for clean shutdown
2017-11-29 19:32:27 -08:00
Eric House
f9c92ca34f
tweak device-in-game summary
...
Group devices by game so connectivity is easier to watch.
2017-11-28 07:08:41 -08:00
Eric House
039dcdf0cc
print how long run has left
2017-11-19 19:40:29 -08:00
Eric House
ae98425c21
output game progress as a table
2017-11-17 08:06:23 -08:00
Eric House
e7d00cbad4
fix TIMEOUT calculation
2017-11-16 08:29:22 -08:00
Eric House
236124319a
rewrite of shell script in python3
...
translate the most-used features of my too-big-for-bash script into python3,
which is clearly much better suited. Tried to keep the structure and variable
names intact so that diff has a chance of showing something, but when a class
replaces a bunch of arrays that were being kept in sync there's only so much
you can to. Currently doesn't support stuff like app upgrades and switching
from tcp to udp, but those should be relatively easy to bring over from the
.sh when/if I need them.
2017-11-16 08:04:18 -08:00
Eric House
cb87a849ab
rename dict symlink
...
It breaks rematch that "dict" is being passed to the Android client from
the linux side, and this is easier than figuring out how and when to
dereference the link.
2017-11-11 16:12:06 -08:00
Eric House
7efcdf0cb8
script for tracking message delivery
...
The http-based comms flow is stalling. This will help figure out why.
2017-11-04 09:27:33 -07:00
Eric House
1648c9b3e3
tweak to start GTK games and run a long time
...
I'm trying to fix game-start-time right now....
2017-11-04 09:27:33 -07:00
Eric House
55f5b500e3
cleanup: method names and logging
2017-11-02 06:19:35 -07:00
Eric House
a1433e5f3d
add kill to relay.py; call from test script using curl
...
It'll eventually get called from Android and maybe linux, but for now
it's cool to have games disappear from the showinplay display when
they're done.
2017-10-31 20:05:07 -07:00
Eric House
8aeba861cf
fix script to move db files again
2017-10-31 06:38:32 -07:00
Eric House
1373d0b1db
make min-run configurable
...
With the new http stuff, at least for now, it takes longer to get things
communicated and so killing games after 2 seconds of runtime meant no
moves ever got made. Making it configurable, and passing 10 (seconds)
means nearly all games in a large test run complete reasonably quickly.
2017-10-29 09:26:07 -07:00
Eric House
3215affd68
tweaks to test script
2017-10-28 15:31:17 -07:00
Eric House
a8f06b53e2
test script; log threadid
2017-10-27 05:57:40 -07:00
Eric House
051b6a7220
change resign-ratio to resign-pct
...
To match the way other pct stuff works, in part because it seemed it
didn't.
2017-10-25 20:00:55 -07:00
Eric House
81df91c4db
add commandline option to spec log dir location
2017-10-25 06:34:55 -07:00
Eric House
4c15723f90
add http option to test script
2017-10-22 11:43:56 -07:00
Eric House
5223ccabe1
add option to run forever
2017-10-19 20:50:33 -07:00
Eric House
4ed843a529
start UDP at 100% by default since all clients will be that way now
2015-12-29 19:01:15 -08:00
Eric House
e3d6cb74fc
for some reason log files are now considered binary by grep, so -a option's needed
2015-12-29 18:59:52 -08:00
Eric House
49dc8e7d10
print index of game being killed so easier to find it in the list of
...
tiles-per-game
2015-05-17 11:53:48 -07:00
Eric House
3b7afa4557
pass --server if not setting forceChannel
2014-12-28 21:39:11 -08:00
Eric House
897c4d5786
add param to force a client to connect to host requesting a particular
...
channel. Works well enough that relay test script works. Not yet
integrated for let alone tested on Android.
2014-12-21 17:40:00 -08:00
Eric House
d81f022c78
Merge branch 'android_branch' into android_multi2
...
Conflicts:
xwords4/linux/scripts/discon_ok2.sh
2014-12-15 16:48:10 -08:00
Eric House
eb5ae9edd3
declare as little-a array so key will be listed in numeric order
2014-12-15 16:41:15 -08:00
Eric House
45ef4fcb65
add --dup-packets calling through to linux client
2014-12-15 16:14:59 -08:00
Eric House
4835afbe4a
simplify and print in order
2014-12-15 15:29:37 -08:00
Eric House
7560156351
summarize the number of tiles left every 20 passes to give better view
...
into games' progress
2014-12-15 15:11:29 -08:00
Eric House
1eb7d01be5
add option to turn on duplicate packets -- which fires an assert on
...
the relay instantly.
2014-12-11 20:23:51 -08:00
Eric House
97092e361c
update grepped string to match changes in logging
2014-12-08 06:23:18 -08:00
Eric House
f84f9aa85f
include timestamp of switch to UDP -- in case it needs to be
...
correlated with logs
2014-12-08 06:20:47 -08:00
Eric House
ba6151c385
remove param that causes assert to fire
2014-11-10 07:31:51 -08:00
Eric House
70f4541bbe
Merge branch 'android_branch' into android_multi2
...
Conflicts:
xwords4/common/comms.c
2014-11-06 20:09:20 -08:00
Eric House
a34a859d18
log channelNo more consistently
2014-11-06 18:44:19 -08:00
Eric House
9886d5a6e6
merge over changes to run with new bash
2014-10-22 18:57:33 -07:00
Eric House
737af802b0
don't abort if core file count goes down -- I probably removed some
...
old thing
2014-10-15 06:38:43 -07:00
Eric House
b82383a5ad
fix -- I hope -- array syntax that was getting lots of games launched
...
without an app (until it got upgraded)
2014-10-01 19:49:46 -07:00
Eric House
92292ad1fe
fix problems with undeclared variables that older bash didn't mind
2014-09-25 21:45:44 -07:00
Eric House
113c7a13d2
print number of devices left
2014-09-23 21:26:46 -07:00
Eric House
fe8bb0932c
delete messages whose games have been deleted
2013-10-09 20:41:14 -07:00
Eric House
9169659c80
cleanup: let conversion to including devid and change in devid happen at different rates
2013-09-18 08:05:19 -07:00
Eric House
2629c07256
Address problem with devids (e.g. GCM): until now when you got a new
...
devid you tossed your relayID and reregistered. Which meant any
existing messages meant for your relayID were orphaned, and any open
games didn't know who they belonged to until you reconnected to them
with your new relayID. So: modify the UDP protocol (though not on
Android yet) to include both relayID and devid with registration, with
one or the other an empty string if not present or not changed from
earlier. I can't fix existing clients that are dropping their
relayIDs, but when one does a re-connect without a relayID I can look
it up from the existing game record, then reuse it rather than issue a
new one. Better than nothing -- and that protocol will be obsolete
soon anyway.
2013-09-14 21:06:14 -07:00
Eric House
b3342c6e8a
for --clean-start option, try not to remove games not created by this script.
2013-08-28 07:29:23 -07:00
Eric House
42bbc946ae
quote variable and echo when switching to udp
2013-08-15 07:20:22 -07:00
Eric House
ae21b6f0d8
use new --use-udp flag and, by default, switch devices from tcp- to
...
udp-based connections over time at a configurable rate.
2013-08-07 21:12:08 -07:00