Regards
----- Original Message -----From: SuyonoSent: Friday, October 14, 2005 4:46 PMSubject: Re: [LaserTank] LT Quiz 07.If the LaserTank's built-in editor sees
no tank on the board, it compulsorily
gives a tank on ground at H1. Therefore,
LaserTank.exe guarantees that there will
be one tank on the board.
If the level creator uses external
editor (such as Hex-Editor) to remove
the tank from the board, it's illegal
because the creator intentionally make
the situation that has been avoided by
the built-in editor.
(Similarly, if the creator uses
Hex-Editor to put more than one tank on
the board, the level is illegal,
although LaserTank.exe replaces all
tanks with ground tiles except the
rightmost one. If there are more than
one tank in the rightmost column,
LaserTank.exe keeps the lowest one.)
The best way to avoid the bug is by
verifying that every level should have
exactly ONE tank on the board, otherwise
the level is illegal. A very small
simple program will do it.
BTW, I have an unpublished illegal level
with the tank is initially sitting on a
single tunnel (black hole) at H1. It can
turn around and fire a few shots before
it leaves the tunnel.
Bye,
Suyono
Donald Drouin wrote:
>
> Thanks Suyono,
>
> Those are strange levels indeed.
>
> It's sad we don't have a programmer to
> get rid of some of the bugs in
> LaserTank.
>
> Donald
>