doc/protocol.txt
author nemo
Fri, 16 Oct 2009 11:58:28 +0000
changeset 2479 3d7b69dbf7b4
parent 1639 89b536a3cf3c
child 2497 29678306d4fb
permissions -rw-r--r--
fix Tiy typo
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
1639
89b536a3cf3c Implement precise aiming when pressing left shift
unc0rr
parents: 1351
diff changeset
     7
	'z', 'Z'                                -precise, +precise
1035
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
     8
	'N'             срабатывание команды /nextturn
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
     9
	'S'                                  /switch
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    10
	's' + <текст>   /say
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    11
	'+'             пустой пакет для постоянности лага
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    12
	'1'..'5'        /timer 1..5
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    13
	chr(128+№)     /slot №
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    14
	'w'             /setweap
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    15
	'p'             /put
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    16
	'j'             /ljump
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    17
	'J'             /hjump
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    18
	'E' + <текст>   сообщение об ошибке
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    19
	','             /skip
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    20
	'K'             вывести сообщение из KB
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    21
	'Q'             выход через команду /quit
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    22
	'q'             выход по причине окончания игры
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    23
	't' + №        /taunt №
1351
aa7aefec5c1b Add partial implementation of handling disconnects while playing via network
unc0rr
parents: 1035
diff changeset
    24
	'F' + <team>    команда team вылетела в сетевой игре
1035
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    25
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    26
фронтенд клиенту:
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    27
	'e' + <команда> выполнить "/<команда>"
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    28
	'T' + {L,N,D}   тип игры (локальная, сетевая, просмотр демо)
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    29
	'W' + <текст>   сообщение о нефатальной ошибке
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    30
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    31
Клиент фронтенду:
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    32
	'C'             запрос текущего конфига игры
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    33
	'q'             выход по причине окончания демки
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    34
	'i'             статистика