doc/protocol.txt
author unc0rr
Tue, 21 Oct 2008 13:36:59 +0000
changeset 1389 6e411559cc7b
parent 1351 aa7aefec5c1b
child 1639 89b536a3cf3c
permissions -rw-r--r--
Customize team select widget background
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1035
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
     1
	'?'             ping?
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
     2
	'!'             pong!
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
     3
	'l','L'         срабатывание команд     -left, +left
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
     4
	'r','R'                                 -right, +right
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
     5
	'u','U'                                 -up, +up
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
     6
	'd','D'                                 -down, +down
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
     7
	'N'             срабатывание команды /nextturn
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
     8
	'S'                                  /switch
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
     9
	's' + <текст>   /say
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    10
	'+'             пустой пакет для постоянности лага
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    11
	'1'..'5'        /timer 1..5
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    12
	chr(128+№)     /slot №
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    13
	'w'             /setweap
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    14
	'p'             /put
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    15
	'j'             /ljump
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    16
	'J'             /hjump
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    17
	'E' + <текст>   сообщение об ошибке
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    18
	','             /skip
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    19
	'K'             вывести сообщение из KB
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    20
	'Q'             выход через команду /quit
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    21
	'q'             выход по причине окончания игры
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    22
	't' + №        /taunt №
1351
aa7aefec5c1b Add partial implementation of handling disconnects while playing via network
unc0rr
parents: 1035
diff changeset
    23
	'F' + <team>    команда team вылетела в сетевой игре
1035
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    24
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    25
фронтенд клиенту:
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    26
	'e' + <команда> выполнить "/<команда>"
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    27
	'T' + {L,N,D}   тип игры (локальная, сетевая, просмотр демо)
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    28
	'W' + <текст>   сообщение о нефатальной ошибке
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    29
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    30
Клиент фронтенду:
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    31
	'C'             запрос текущего конфига игры
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    32
	'q'             выход по причине окончания демки
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    33
	'i'             статистика