doc/protocol.txt
author alfadur
Sat, 19 Jun 2021 17:48:10 +0300
changeset 15795 40929af15167
parent 10342 16122539d2ea
permissions -rw-r--r--
find excuses to use shiny new πŸ¦€ features
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8243
92a430205796 Stop syncing when recieved 'o' message
unc0rr
parents: 2497
diff changeset
     1
    '?'             ping?
92a430205796 Stop syncing when recieved 'o' message
unc0rr
parents: 2497
diff changeset
     2
    '!'             pong!
92a430205796 Stop syncing when recieved 'o' message
unc0rr
parents: 2497
diff changeset
     3
    'l','L'         срабатываниС ΠΊΠΎΠΌΠ°Π½Π΄     -left, +left
92a430205796 Stop syncing when recieved 'o' message
unc0rr
parents: 2497
diff changeset
     4
    'r','R'                                 -right, +right
92a430205796 Stop syncing when recieved 'o' message
unc0rr
parents: 2497
diff changeset
     5
    'u','U'                                 -up, +up
92a430205796 Stop syncing when recieved 'o' message
unc0rr
parents: 2497
diff changeset
     6
    'd','D'                                 -down, +down
92a430205796 Stop syncing when recieved 'o' message
unc0rr
parents: 2497
diff changeset
     7
    'z', 'Z'                                -precise, +precise
92a430205796 Stop syncing when recieved 'o' message
unc0rr
parents: 2497
diff changeset
     8
    'N'             срабатываниС ΠΊΠΎΠΌΠ°Π½Π΄Ρ‹ /nextturn
92a430205796 Stop syncing when recieved 'o' message
unc0rr
parents: 2497
diff changeset
     9
    'S'                                  /switch
92a430205796 Stop syncing when recieved 'o' message
unc0rr
parents: 2497
diff changeset
    10
    's' + <тСкст>   /say
92a430205796 Stop syncing when recieved 'o' message
unc0rr
parents: 2497
diff changeset
    11
    '+'             пустой ΠΏΠ°ΠΊΠ΅Ρ‚ для постоянности Π»Π°Π³Π°
92a430205796 Stop syncing when recieved 'o' message
unc0rr
parents: 2497
diff changeset
    12
    '1'..'5'        /timer 1..5
92a430205796 Stop syncing when recieved 'o' message
unc0rr
parents: 2497
diff changeset
    13
    chr(128+β„–)     /slot β„–
92a430205796 Stop syncing when recieved 'o' message
unc0rr
parents: 2497
diff changeset
    14
    'w'             /setweap
92a430205796 Stop syncing when recieved 'o' message
unc0rr
parents: 2497
diff changeset
    15
    'p'             /put
92a430205796 Stop syncing when recieved 'o' message
unc0rr
parents: 2497
diff changeset
    16
    'j'             /ljump
92a430205796 Stop syncing when recieved 'o' message
unc0rr
parents: 2497
diff changeset
    17
    'J'             /hjump
92a430205796 Stop syncing when recieved 'o' message
unc0rr
parents: 2497
diff changeset
    18
    'E' + <тСкст>   сообщСниС ΠΎΠ± ошибкС
92a430205796 Stop syncing when recieved 'o' message
unc0rr
parents: 2497
diff changeset
    19
    ','             /skip
92a430205796 Stop syncing when recieved 'o' message
unc0rr
parents: 2497
diff changeset
    20
    't' + β„–         /taunt β„–
10342
16122539d2ea Fix build, and also make protocol a bit more consistent and flexible (only in docs though, to be implemented)
unc0rr
parents: 10338
diff changeset
    21
    'f' + <team>    'team' is uncontrolled
16122539d2ea Fix build, and also make protocol a bit more consistent and flexible (only in docs though, to be implemented)
unc0rr
parents: 10338
diff changeset
    22
    'g' + <team>    'team' is controlled again (synced msg)
2497
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    23
29678306d4fb set svn:eol-style to native
unc0rr
parents: 1639
diff changeset
    24
Ρ„Ρ€ΠΎΠ½Ρ‚Π΅Π½Π΄ ΠΊΠ»ΠΈΠ΅Π½Ρ‚Ρƒ:
8243
92a430205796 Stop syncing when recieved 'o' message
unc0rr
parents: 2497
diff changeset
    25
    'e' + <ΠΊΠΎΠΌΠ°Π½Π΄Π°> Π²Ρ‹ΠΏΠΎΠ»Π½ΠΈΡ‚ΡŒ "/<ΠΊΠΎΠΌΠ°Π½Π΄Π°>"
92a430205796 Stop syncing when recieved 'o' message
unc0rr
parents: 2497
diff changeset
    26
    'T' + {L,N,D}   Ρ‚ΠΈΠΏ ΠΈΠ³Ρ€Ρ‹ (локальная, сСтСвая, просмотр Π΄Π΅ΠΌΠΎ)
92a430205796 Stop syncing when recieved 'o' message
unc0rr
parents: 2497
diff changeset
    27
    'W' + <тСкст>   сообщСниС ΠΎ Π½Π΅Ρ„Π°Ρ‚Π°Π»ΡŒΠ½ΠΎΠΉ ошибкС
92a430205796 Stop syncing when recieved 'o' message
unc0rr
parents: 2497
diff changeset
    28
    'F' + <team>    ΠΊΠΎΠΌΠ°Π½Π΄Π° team Π²Ρ‹Π»Π΅Ρ‚Π΅Π»Π° Π² сСтСвой ΠΈΠ³Ρ€Π΅
10342
16122539d2ea Fix build, and also make protocol a bit more consistent and flexible (only in docs though, to be implemented)
unc0rr
parents: 10338
diff changeset
    29
    'G' + <team>    'team' is back (unsynced msg)
8243
92a430205796 Stop syncing when recieved 'o' message
unc0rr
parents: 2497
diff changeset
    30
    'o'             stop syncing, game over!
2497
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
ΠšΠ»ΠΈΠ΅Π½Ρ‚ Ρ„Ρ€ΠΎΠ½Ρ‚Π΅Π½Π΄Ρƒ:
8243
92a430205796 Stop syncing when recieved 'o' message
unc0rr
parents: 2497
diff changeset
    33
    'C'             запрос Ρ‚Π΅ΠΊΡƒΡ‰Π΅Π³ΠΎ ΠΊΠΎΠ½Ρ„ΠΈΠ³Π° ΠΈΠ³Ρ€Ρ‹
92a430205796 Stop syncing when recieved 'o' message
unc0rr
parents: 2497
diff changeset
    34
    'q'             Π²Ρ‹Ρ…ΠΎΠ΄ ΠΏΠΎ ΠΏΡ€ΠΈΡ‡ΠΈΠ½Π΅ окончания Π΄Π΅ΠΌΠΊΠΈ
92a430205796 Stop syncing when recieved 'o' message
unc0rr
parents: 2497
diff changeset
    35
    'i'             статистика
92a430205796 Stop syncing when recieved 'o' message
unc0rr
parents: 2497
diff changeset
    36
    'K'             вывСсти сообщСниС ΠΈΠ· KB
92a430205796 Stop syncing when recieved 'o' message
unc0rr
parents: 2497
diff changeset
    37
    'Q'             Π²Ρ‹Ρ…ΠΎΠ΄ Ρ‡Π΅Ρ€Π΅Π· ΠΊΠΎΠΌΠ°Π½Π΄Ρƒ /quit
92a430205796 Stop syncing when recieved 'o' message
unc0rr
parents: 2497
diff changeset
    38
    'q'             Π²Ρ‹Ρ…ΠΎΠ΄ ΠΏΠΎ ΠΏΡ€ΠΈΡ‡ΠΈΠ½Π΅ окончания ΠΈΠ³Ρ€Ρ‹