doc/protocol.txt
author unc0rr
Tue, 08 Jul 2008 16:49:51 +0000
changeset 1072 6bc4389344c7
parent 1035 6f5842bc481b
child 1351 aa7aefec5c1b
permissions -rw-r--r--
Show picked up ammo in demo playing mode
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 №
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    23
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    24
фронтенд клиенту:
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    25
	'e' + <команда> выполнить "/<команда>"
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    26
	'T' + {L,N,D}   тип игры (локальная, сетевая, просмотр демо)
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    27
	'W' + <текст>   сообщение о нефатальной ошибке
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    28
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    29
Клиент фронтенду:
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    30
	'C'             запрос текущего конфига игры
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    31
	'q'             выход по причине окончания демки
6f5842bc481b Hopefully done taunts implementation
unc0rr
parents: 783
diff changeset
    32
	'i'             статистика