]> git.pond.sub.org Git - empserver/blob - tests/retreat/01-retreat-1
retreat: Fix stack smash in land unit group retreat
[empserver] / tests / retreat / 01-retreat-1
1 ||| Commands
2 || retreat command
3 | garbage path
4 retr 0 garbage i
5 | condition help, then junk conditions
6 retr 1 g
7 ?
8 junk
9 | long path, all conditions
10 retr 2/3 bgyujnbgyujnbgyujn itshbdu
11 | clear retreat order
12 retr 3 ignored c
13 | group retreat order
14 retr a ?uid=4 b h
15 | show retreat orders
16 retr
17 0/1/2/3/4
18 || lretreat command
19 | garbage path
20 lret 0 garbage i
21 | condition help, then junk conditions
22 lret 1 g
23 ?
24 junk
25 | long path, all conditions
26 lret 2/3 yujnbgyujnbgyujnbg ihb
27 | clear retreat order
28 lret 3 ignored c
29 | group retreat order
30 lret a ?uid=4 b h
31 | show retreat orders
32 lret
33 0/1/2/3/4
34 ||| Ships
35 || ships failing to retreat
36 | sunk
37 fire se -2,2 30
38 | sailing
39 fire se -2,2 31
40 | crewless
41 fire se -2,2 32
42 | construction zone
43 fire se -2,2 33
44 | landlocked
45 fire se -2,2 34
46 | no mobility
47 fire se -2,2 35
48 || ships having difficulties during retreat
49 | out of mobility after n
50 fire se -2,2 40
51 | into non-navigable sector after n
52 fire se -2,2 41
53 | into unfriendly sector right away
54 fire se -2,2 42
55 | gg with 43, sweeping and hitting mines
56 fire se -2,2 44
57 || ships retreating fully
58 | nh
59 fire se -2,2 10
60 | h
61 fire se -2,2 10
62 | nj into friendly harbor
63 fire se -2,2 10
64 || own ship
65 fire se -2,2 2
66 || ships retreating from gun fire
67 | injured covered above
68 | helpless
69 fire se -2,2 11
70 | not helpless
71 fire se -2,-2 20
72 || ships retreating from depth charges
73 | depth-charged
74 fire sh 5 50
75 fire sh 5 51
76 | helpless
77 fire sh 5 52
78 | not helpless
79 navi 5 gyuh
80 fire sh 5 53
81 || ships retreating from bombs
82 | injured
83 bomb 0/1/2/3/4 . p -2,2 jh
84 s
85 60
86 61
87 62
88 63
89 64
90 | bombed
91 bomb 0/1/2/3/4 . p -2,2 jh
92 s
93 65
94 66
95 67
96 68
97 69
98 | helpless is not implemented
99 || ships retreating from missiles
100 | injured
101 launch 10 80
102 launch 11 81
103 launch 12 82
104 launch 13 83
105 launch 14 84
106 | bombed and helpless doesn't apply to missiles (I guess they should)
107 || ships retreating from torpedoes
108 | torpedoed
109 torp 6 100
110 torp 6 101
111 torp 6 102
112 torp 6 103
113 torp 6 104
114 | BUG: retreats only when hit
115 | injured is not implemented
116 | helpless is not implemented
117 || ships retreating from sonar pings
118 | naval sonar
119 navi 5 bsh
120 | retreat on plane sonar is not implemented
121 || ships retreating from unsuccessful boarding
122 navi 5 nh
123 board 130 5
124 1
125 ||| Land units
126 | only retreat on p-bombing is implemented
127 | BUG: condition b triggers only on hit
128 || land units failing to retreat
129 | these bombing runs must hit; if they don't, use __cmd to make them
130 | destroyed
131 bomb 30 . p -2,2 ujh
132 l
133 30
134 | loaded, but there's no way to trigger a retreat then
135 | crewless
136 __cmd added -1 0 0
137 bomb 30 . p -2,2 ujh
138 l
139 32
140 | BUG: retreats anyway
141 | kidnapped
142 bomb 30 . p -2,2 uh
143 l
144 33
145 | BUG: retreats anyway
146 | no mobility
147 bomb 30 . p -2,2 ujh
148 l
149 35
150 || land units having difficulties during retreat
151 | these bombing runs must hit; if they don't, use __cmd to make them
152 | out of mobility after n
153 __cmd added -1 0 0
154 bomb 30 . p -2,2 ujh
155 l
156 40
157 | into mountain after j
158 bomb 30 . p -2,2 ujh
159 l
160 41
161 | into foreign sector right away
162 __cmd added -1 0 0
163 bomb 30 . p -2,2 ujh
164 l
165 42
166 | yu with 43, sweeping and hitting mines
167 __cmd added -1 0 0
168 bomb 30 . p -2,2 ujh
169 l
170 44
171 | BUG: sweeps silently
172 || land units retreating fully
173 | jh
174 bomb 30 . p -2,2 ujh
175 l
176 10
177 | h
178 __cmd added -1 0 0
179 bomb 30 . p -2,2 ujjh
180 l
181 10
182 | uy into allied sector
183 __cmd added -1 0 0
184 bomb 30 . p -2,2 ujjh
185 l
186 10
187 | BUG: can't enter allied sector
188 | own land unit
189 bomb 30 . p -3,1 h
190 l
191 2
192 | injured
193 bomb 20/21/22/23/24 . p -2,2 uuh
194 l
195 60
196 61
197 62
198 63
199 64
200 | bombed covered above