Doesn't spot routesearch dying
-http://localhost/cgi-bin/mason/yarrg/lookup?islandstring=eta%2C+cnossos%2C+alpha%2C+turtle%2C+luthien%2C+xi%2C+delta&capacitystring=sloop-30rum&capitalstring=&lossperleague=0.05%25&distance=30&submit=Go&query=routesearch&routestring=&debug=1
- mysteriously gives only 9 abs routes
-
UPLOADER
--------
int midarch= route2midarch(ports,nports);
fprintf(output,
" @%2d %c#%2d | start%3d mid%d:%3d f%d:%3d | %5d %5d %4d |",
- pos, "ap"[ap], nhighscores[granui][ap] - 1 - pos,
+ pos, "ap"[ap], nhighscores[granui][ap] - pos,
ports[0], midarch,midisle, finarch,finisle,
(int)hs->value, (int)pr->value[A], (int)pr->value[P]);
for (i=0; i<nports; i++) fprintf(output," %d",ports[i]);
found:
for (;;) {
pos++;
- if (pos >= nscores-1) break; /* new top */
+ if (pos >= nscores) break; /* new top */
if (scores[pos].value >= value[ap]) break; /* found spot */
if (pos>0)
scores[pos-1]= scores[pos];