]> git.pond.sub.org Git - empserver/blob - tests/navi-march/01-navigate-1
navigate march: Fix use-after-free and other bugs
[empserver] / tests / navi-march / 01-navigate-1
1 || list, change leader, nonsense
2 navi 2/3/0 i
3 fi
4 X
5
6 || stuck in starting sector
7 | on sale/unremarkable/dead/foreign/crewless in 0,0
8 set s 12 500
9 navi 12/10/19/11/13
10 yh
11 | in harbor 1,1 2% and 3,1 1%
12 navi 20 yh
13 navi 21 h
14 | in bridge 2,0 60% and 6,0 59%
15 navi 22 uh
16 navi 23 h
17 | in canal 2,2 2% and 4,2 1%
18 navi 24/26 yh
19 navi 25 h
20 | landlocked in 1,-1
21 navi 27 h
22 | not with flagship
23 nav 28/10 yh
24 __cmd added 1 1 0
25 || get stuck on the way
26 | sink, by hitting mine in 11,-5
27 | #31 hits a mine, #30 doesn't
28 navi 31/30 jX
29 iyh
30 | lose crew, by hitting mines in 11,-5
31 | at least one hit must lose crew; use __cmd to force it if necessary
32 navi 32/33/34/35/36/37/38/39 jiyh
33 | TODO sink ship at navi prompt, changing leader
34 | TODO slap bridge onto ship at navi prompt
35 || sector entry
36 | enter harbor 1,1 2% and 3,1 1%
37 navi 50 nh
38 navi 51 bX
39 h
40 | enter bridge 2,0 60% and 6,0 59%
41 navi 52 gh
42 navi 53 jX
43 h
44 | enter canal 2,2 2%, not all capable
45 navi 54/55 n
46 iyyh
47 navi 57/56 n
48 iyyh
49 navi 58/59 nX
50 h
51 | enter canal 4,2 1%
52 navi 60 bX
53 h
54 | enter land 1,-1
55 navi 61 gX
56 h
57 | enter unowned harbor 11,1, friendly -7,1, unfriendly -9,1
58 navi 62 bh
59 navi 63 bh
60 navi 64 bX
61 h
62 | enter unfriendly canal -10,2
63 navi 65 bX
64 h
65 | enter unowned bridge 10,0, friendly -6,0, unfriendly bridge -10,0
66 navi 70 gh
67 navi 71 gh
68 navi 72 gX
69 h
70 | run out of mob, change leader
71 navi 84/83/80/81/82
72 yyyy
73 h
74 || path finding
75 | to sea, sea, land
76 navi 90 -3,-3
77 0,-4
78 1,-1
79 navi 90 1,-1
80 h
81 | odd: unreachable dest at prompt stops, argument doesn't
82 | to allied harbor 2%
83 navi 91 -3,1
84 h
85 | to canal 2%
86 navi 92 2,2
87 h
88 | BUG: can't find path to / through canal
89 || lookout, mapping, radar, sonar
90 navi 102/101/100
91 v
92 B
93 l
94 l 0
95 ygg
96 B 0
97 M *
98 r
99 r 100
100 s
101 s 100
102 f
103 r
104 h
105 || mining
106 navi 110/111 d
107 d 12
108 nd 111/110 3
109 h
110 || sweeping
111 | no sweepers
112 navi 0/1 mh
113 | not at sea
114 navi 5 mh
115 | implicit sweep
116 navi 121/122/128 j
117 | explicit sweep, out of mob
118 imjh
119 | magazine full
120 | mess with the dice to avoid hitting one
121 __cmd added -1 0 0
122 navi 129 nmh
123 | implicit sweep in dense minefield, not all capable
124 navi 135/130/131/136/137/138/139
125 j
126 | implicit sweep, not all capable
127 mmmh
128 || TODO interdiction