wesnoth/mp_tests
Chris Beck 7aedfad426 add test bots
The test bots are able to host and join a game together on a local
server. This is still experimental, for instance they cannot
actually leave, and the controllers are human because the host
cannot yet configure them to be AI.
2014-12-19 19:47:24 -05:00

19 lines
464 B
Bash
Executable File

#!/bin/bash
tab="--tab"
cmd0="bash -c './wesnothd --port 12345 --log-debug=server --log-warning=config';bash"
cmd1="bash -c './wesnoth --plugin host.lua --server=localhost:12345 --username=host';bash"
cmd2="bash -c './wesnoth --plugin join.lua --server=localhost:12345 --username=join';bash"
#cmd3="bash -c './client3';bash"
foo=""
foo+=($tab -e "$cmd0")
foo+=($tab -e "$cmd1")
foo+=($tab -e "$cmd2")
#foo+=($tab -e "$cmd3")
gnome-terminal "${foo[@]}"
exit 0