2020-04-09 22:57:12 +02:00
|
|
|
{% extends "info/base" %}
|
2020-04-07 11:31:28 +02:00
|
|
|
|
|
|
|
{% block header %}
|
|
|
|
|
|
|
|
How to connect
|
|
|
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
2020-04-09 22:57:12 +02:00
|
|
|
{% block info %}
|
2020-04-07 11:31:28 +02:00
|
|
|
|
|
|
|
<div class="help_content_2">
|
|
|
|
|
|
|
|
<h2>You run your bot at your own pc and connect over tcp.</h2>
|
|
|
|
<h3>Follow these commands to connect using <em>simple.py</em>.</h3>
|
|
|
|
|
|
|
|
<pre class="commands">
|
|
|
|
<code>
|
2020-06-24 14:16:14 +02:00
|
|
|
$ wget {{ "" | get_host_name}}/bot/runner.py
|
|
|
|
$ wget {{ "" | get_host_name}}/bot/simple.py
|
|
|
|
$ python3 runner.py -p 9142 --host {{ "" | get_host_name}}\
|
2020-04-07 11:31:28 +02:00
|
|
|
-n <Your name> -i <Id from the lobby> \
|
2020-04-07 23:57:41 +02:00
|
|
|
python3 simple.py
|
2020-04-07 11:31:28 +02:00
|
|
|
</code>
|
|
|
|
</pre>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|