EXAPUNKS

EXAPUNKS

View Stats:
KILL instruction
I'm having a little trouble understanding exactly how the KILL instruction works. I'm on Unknown Network 1. I get through the first iteration fine, but in the second iteration the kill command is killing my bot instead of the enemy. The manual says it picks randomly if there are multiple bots, is there any way to control this to make it kill the other bot always?
< >
Showing 1-5 of 5 comments
The manual also explicitly says that your own EXAs will always be prioritized if possible. The only way to target a bot that isn't your own is to have no other targets available.
But when would that ever be the case? The only 2 bots in the room are the one executing the kill and the enemy.
The most likely case is that the EXA is dying from being unable to grab anything, rather than the kill.
Originally posted by Beef:
But when would that ever be the case? The only 2 bots in the room are the one executing the kill and the enemy.

You misunderstood. The bot that issues the kill command is not targeted. Any other bot that belongs to you is targeted first. So if you have 2 bots and the enemy has one, your own one will be killed. If you have both 1, the enemy will be.

To terminate the bot that issues the command you need to use HALT, not KILL.
If you have one bot of your own and one enemy one and your own dies, it's not from your kill command. At least that's how it should be.
If you don't know why an EXA is dying, step through cycle by cycle. You can visually see it shaking and sparking on the cycle before it dies, and it will have an error message explaining what went wrong displayed for this cycle. EXAs die when they run out of instructions or hit any sort of runtime error (generally an instruction that is impossible to execute, with the exception of blocking instead if unable to replicate or read from the M register, and I think dropping files with no space available too).
< >
Showing 1-5 of 5 comments
Per page: 1530 50