I realized that the moves & shots counters can only reach 65,535. They reset to zero after that. The highest number om the display is not erased and is overwritten by the new numbers, so when the new number is 987, the counter shows 69875 (centered).
The highest score is the same with the new number (= 987 in the above example, not 66,523). Number_of_moves field in the GHS file has only two characters. The right character (the most significant digit, base 256) has value 0-255, similarly the left character (least significant digit, base 256) has value 0-255. So the highest number can be recorded is 256x256-1 = 65,535.
Playback (.lpb) file is made step-by-step (turn, move, or shoot), nothing to do with the M (moves) and S (shots) counters. However, if we expect the playback file works fine regardless of the large size of the file, we will be disappointed. There is another counter, step counter. It is T (Number_of_turns) + M (Number_of_moves) + S (Number_of_shots), which never exceed 65,500. (The program needs 35 characters for something else.) The step counter has only four digits, so you can only see '5500', not '65500'.
Assume, our tank reaches the flag at M=53,427, S=5,291 (M+S=58,718). It looks OK, but the tank changes direction (T = Number_of_turns), say, 7,805 times. In this case T+M+S = 66,523 > 65,500. Then we save the recording (F6). When we play back the game (F7), we see number of steps to be played is 5500 (which means 65,500). The play stops at, say, M=52,605 and S=5,210; far from reaching the flag. (T = 65,500 � M � S = 7,685.) Apparently, our playback file was chopped off while we recorded it.
(It�s possible the tank never moves [M=0] or shoots [S=0], but it has Number_of_turns = 1,000,000. It just turns around stupidly without moving forward.)
My suggestion is, �If you want to break the largest GHS world record, don�t let T+M+S >65,500�.
So far (as far as I know), the longest playback files are:
1. LaserTank.lvl #1025
�Rush Hour V� by Mikulka 42,878/156
(GHS: VVI)
2. LaserTank.lvl #1986
�Big Time� by Kheper 31,841/1,880
(GHS: Ivan)
3. LaserTank.lvl #1024
�Rush Hour IV� by Mikulka 25,185/3,716
(GHS: VVI)
4. LaserTank.lvl #411
�Finger Erosion� by Kheper 22,049/2,351
(GHS: Mau)
5. LaserTank.lvl #816
�Hypnos� by Kheper 12,564/931
(GHS: rpr)
6. LaserTank.lvl #400
�For Mr Kheper & Mikulka� by Ivosh
10,683/1,280 (GHS: Seo)
Have you tried them all? Alternatively, do you want to create the longest one?
Regards,
Suyono H. Yaphar