Bug in Game? (Does not end when Outbox is completed)

2 replies [Last post]
Joined: 01/02/2016

Hi

I might have found a bug in level 22 (Fibonacci Visitor) in the game Human Resource Machine.
Could someone confirm this?
I am trying to write a size optimizes version for this level, code shown below.
As far as I can see, the outbox is filled correctly, but the program doesn't stop then and continues to add another value to the outbox!
In my understanding, the program should (will) stop, once the outbox is filled as expected.

Code:

-- HUMAN RESOURCE MACHINE PROGRAM --
 
BUMPUP 9
a:
COPYFROM 9
COPYTO 2
OUTBOX
INBOX
COPYTO 0
COMMENT 0
COPYFROM 9
COPYTO 1
OUTBOX
b:
c:
COPYFROM 1
ADD 2
COMMENT 1
COPYTO 3
OUTBOX
COPYFROM 1
SUB 2
JUMPN d
COPYFROM 3
COPYTO 2
ADD 1
JUMP e
d:
COPYFROM 3
COPYTO 1
ADD 2
e:
COMMENT 2
SUB 0
JUMPN c
JUMPZ b
JUMP a
 
 
DEFINE COMMENT 0
eJwTYGBgmK2R0LrUZnbwHu81hmsCEzSzgmLUXge6u270N0op9fuTtd1XsGqPt2JbrbdWz0FPs6mtHicX
nXdZsUPMKeAqwygYBaNgSAMAovUabw;
 
DEFINE COMMENT 1
eJzzYGBguGPv7KRpXWdnY/LHpk/3j81sDQaHZSpd7jlKPJ6VsooR9dJ6ifXSVZm/ZZwLfsiyFL5VFK1N
UY1p2mGq1vneQqsn28p6xhvLmA2WpmWHPPUPnpqm1XS6XK7pNLMUwylWyb3HLwvvPQ60huFxyF7bpNAV
O+aFsZwF8Zs8u0pdErpKQew7bf0VX2r7K35Wh9R4lsU0CRandqjkSK5Tz16xQz17y8HrBfYnvUubTn+s
azqd3bj3eHbjj8NybScX3Ww3mjS9I6Zpeod9bkTHmt0gs1RnOxcsnn3w1OLZnyclzsnt818cUW+zCmLP
noPXFPccdF/IeGDFDsYD1sesD7Gc1TvOcSH1FMcFhTPOZ0BqxHYUJn85Upj88PSWVIZRMAqGOQAAbhR7
QQ;
 
DEFINE COMMENT 2
eJzTY2BguKRdanFJ2/qYk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zIjM8+yhFbBYu8lkgXOZ2bnX7vJMApGwSgYdgAA5HMQ
zg;

Joined: 01/14/2016

The string ends when there are no more commands to do, with no loops causing repeats, or when inbox is requested from an empty inbox.

Joined: 01/14/2016

The string ends when there are no more commands to do, with no loops causing repeats, or when inbox is requested from an empty inbox.