Neverending EMP

Hi.
Another bug :sweat_smile:

It seems that quite frequently the emp powerup is not reduced or removed after using it.

I posted an example below.
I had to stop this race after 300 rounds because my bot was just emp’ing continuously at the end preventing the opponent from finishing the race.

Starting round: 12
Player A - LCubed: Map View

round:12
player: id:1 position: y:4 x:70 speed:8 state:TURNING_RIGHT statesThatOccurredThisRound:TURNING_RIGHT boosting:false boost-counter:0 damage:1 score:29 powerups: BOOST:3, LIZARD:1, EMP:1, TWEET:3
opponent: id:2 position: y:4 x:110 speed:9

[β–“β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘Ξ¦β–‘β–‘β–‘β–‘β–‘]
[β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘]
[β–‘Ξ¦β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘]
[βˆ±β–‘β–‘Tβ–‘1Cβ–‘β–‘β–‘β–‘β–“β–‘β–‘#▓Φ»░░▓Tβ–‘β–‘β–‘β–‘]

Received command C;12;EMP
Player B - LCubedBB: Map View

round:12
player: id:2 position: y:4 x:110 speed:9 state:TURNING_RIGHT statesThatOccurredThisRound:TURNING_RIGHT boosting:false boost-counter:0 damage:1 score:53 powerups: OIL:1, BOOST:5, LIZARD:1, EMP:1
opponent: id:1 position: y:4 x:70 speed:8

[β–‘Ξ¦β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘]
[*β–‘β–‘β–‘β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘]
[β–‘β–‘β–‘β–‘β–‘β–“β–“β–‘β–‘β–‘β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘βˆ±β–‘β–‘β–‘β–‘β–‘]
[β–‘β–‘β–‘β–‘Β»2β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘Β»β–‘β–‘β–‘β–‘β–‘β–‘]

Received command C;12;FIX
Completed round: 12


Starting round: 13
Player A - LCubed: Map View

round:13
player: id:1 position: y:4 x:70 speed:3 state:HIT_CYBER_TRUCK statesThatOccurredThisRound:NOTHING, HIT_CYBER_TRUCK boosting:false boost-counter:0 damage:3 score:22 powerups: BOOST:3, LIZARD:1, EMP:1, TWEET:3
opponent: id:2 position: y:4 x:110 speed:9

[β–“β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘Ξ¦β–‘β–‘β–‘β–‘β–‘]
[β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘]
[β–‘Ξ¦β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘]
[βˆ±β–‘β–‘Tβ–‘1Β»β–‘β–‘β–‘β–‘β–“β–‘β–‘#▓Φ»░░▓Tβ–‘β–‘β–‘β–‘]

Received command C;13;EMP
Player B - LCubedBB: Map View

round:13
player: id:2 position: y:4 x:110 speed:9 state:FIXED_CAR statesThatOccurredThisRound:FIXED_CAR boosting:false boost-counter:0 damage:0 score:53 powerups: OIL:1, BOOST:5, LIZARD:1, EMP:1
opponent: id:1 position: y:4 x:70 speed:3

[β–‘Ξ¦β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘]
[*β–‘β–‘β–‘β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘]
[β–‘β–‘β–‘β–‘β–‘β–“β–“β–‘β–‘β–‘β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘βˆ±β–‘β–‘β–‘β–‘β–‘]
[β–‘β–‘β–‘β–‘Β»2β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘Β»β–‘β–‘β–‘β–‘β–‘β–‘]

Received command C;13;USE_BOOST
Completed round: 13


Starting round: 14
Player A - LCubed: Map View

round:14
player: id:1 position: y:4 x:73 speed:3 state:NOTHING statesThatOccurredThisRound:NOTHING boosting:false boost-counter:0 damage:3 score:26 powerups: BOOST:4, LIZARD:1, EMP:1, TWEET:3
opponent: id:2 position: y:4 x:125 speed:15

[β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘Ξ¦β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘]
[β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘#]
[β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘Β»β–‘]
[Tβ–‘β–‘Β»β–‘1β–‘β–‘β–“β–‘β–‘#▓Φ»░░▓Tβ–‘β–‘β–‘β–‘β–‘β–‘β–‘]

Received command C;14;EMP
Player B - LCubedBB: Map View

round:14
player: id:2 position: y:4 x:125 speed:15 state:USED_BOOST statesThatOccurredThisRound:USED_BOOST boosting:true boost-counter:5 damage:0 score:61 powerups: OIL:1, BOOST:5, LIZARD:1, EMP:1
opponent: id:1 position: y:4 x:73 speed:3

[β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘#β–‘β–‘]
[β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘Tβ–‘β–‘β–‘β–‘β–‘β–‘]
[β–‘β–‘β–‘β–‘β–‘βˆ±β–‘β–‘β–‘β–‘β–‘β–“β–‘#β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘##]
[β–‘β–‘β–‘β–‘Β»2β–‘β–‘β–‘β–‘β–‘β–“β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘]

Received command C;14;USE_LIZARD
Completed round: 14


Starting round: 15
Player A - LCubed: Map View

1 Like

Thank you @LouisLotter for bringing this to our attention. I will inform the team about it and get back to you.

Isn’t the command for the EMP β€œUSE_EMP” rather than just β€œEMP”? I’m not sure an EMP is being fired here at all. Maybe the opponent is stuck due to one of the other bugs?

2 Likes

Good catch - the correct command is USE_EMP, so player A’s commands would then resolve to a NOTHING command (so emps are not decremented) and that would result in player A’s displayed movement. Player B just goes on as normal (opponent isn’t stuck in the above example) and they also never goes into the HIT_EMP state

1 Like

Haha that is embarrassing. Thanks.