mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-26 23:00:50 +00:00

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.
19 lines
464 B
Bash
Executable File
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
|