doc/protocol.txt
author unc0rr
Wed, 25 Jul 2012 16:24:30 +0400
changeset 7433 c7fff3e61d49
parent 2497 29678306d4fb
child 8240 ee39403a1d27
permissions -rw-r--r--
- Implement AI land marks which only used to tracks visited areas on the map for now. Significantly reduces wasting of cpu time by AI checking same place several times (10x or even more in rare cases) - More branching in walk algorythm which allows for better coverage of reachable places. Sometimes makes AI perform ridiculous jumping just to make a tiny step. - Small fixes/adjustments
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2497
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
     1
	'?'             ping?
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
     2
	'!'             pong!
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
     3
	'l','L'         срабатывание команд     -left, +left
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
     4
	'r','R'                                 -right, +right
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
     5
	'u','U'                                 -up, +up
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
     6
	'd','D'                                 -down, +down
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
     7
	'z', 'Z'                                -precise, +precise
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
     8
	'N'             срабатывание команды /nextturn
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
     9
	'S'                                  /switch
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    10
	's' + <текст>   /say
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    11
	'+'             пустой пакет для постоянности лага
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    12
	'1'..'5'        /timer 1..5
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    13
	chr(128+№)     /slot №
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    14
	'w'             /setweap
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    15
	'p'             /put
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    16
	'j'             /ljump
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    17
	'J'             /hjump
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    18
	'E' + <текст>   сообщение об ошибке
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    19
	','             /skip
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    20
	'K'             вывести сообщение из KB
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    21
	'Q'             выход через команду /quit
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    22
	'q'             выход по причине окончания игры
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    23
	't' + №        /taunt №
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    24
	'F' + <team>    команда team вылетела в сетевой игре
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    25
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    26
фронтенд клиенту:
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    27
	'e' + <команда> выполнить "/<команда>"
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    28
	'T' + {L,N,D}   тип игры (локальная, сетевая, просмотр демо)
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    29
	'W' + <текст>   сообщение о нефатальной ошибке
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    30
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    31
Клиент фронтенду:
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    32
	'C'             запрос текущего конфига игры
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    33
	'q'             выход по причине окончания демки
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    34
	'i'             статистика