Weird Robocode Bug
I've been getting a weird bug in Robocode where it looks as though my bot does not run during a round once in a while. I'm getting no exceptions, no output.
In fact, Robocode itself is not even printing out the usual stuff. Any ideas? I've never caught this happening when I'm looking at battles run, I've only noticed it happening when its running fast minimized.
Here are the outputs from the bots. Notice that if a bot dies the system will output to that bot's log. But my bot is not getting output for that round, and none of my event handlers are getting run (so no profiling output from my bot for the end of the round)
Round 13 in these logs is the offender
My Bot:
=========================
Round 12 of 35
=========================
SYSTEM: Bonus for killing wiki.mc2k7.HawkOnFireOS MC2K7: 6
SYSTEM: rdt.AgentSmith.AgentSmithRedux* wins the round.
PROFILING:
Main Loop Avg 8.542780876159668 Min 6.333148956298828 Max 17.61117172241211 Total 41321.4296875
DangerPrediction:Update Avg 8.52608585357666 Min 6.329133033752441 Max 17.381799697875977 Total 41240.68359375
Evaulate Avg 0.004348999820649624 Min 0.0017849999712780118 Max 1.6774460077285767 Total 25665.873046875
Evaulate Targets Avg 6.150000263005495E-4 Min 0.0 Max 0.15083099901676178 Total 3632.769775390625
EvaluateBulletDistances Avg 0.0012880000285804272 Min 0.0 Max 0.19277900457382202 Total 7604.6123046875
GeneratePredictedPositionsAndAssociatedData Avg 0.0017930000321939588 Min 8.919999818317592E-4 Max 1.6698600053787231 Total 10582.779296875
=========================
Round 13 of 35
=========================
=========================
Round 14 of 35
=========================
SYSTEM: Bonus for killing wiki.mc2k7.HawkOnFireOS MC2K7: 7
SYSTEM: rdt.AgentSmith.AgentSmithRedux* wins the round.
PROFILING:
Main Loop Avg 8.541385650634766 Min 6.333148956298828 Max 17.61117172241211 Total 47353.4453125
DangerPrediction:Update Avg 8.525357246398926 Min 6.329133033752441 Max 17.381799697875977 Total 47264.58203125
Evaulate Avg 0.004350999835878611 Min 0.0017849999712780118 Max 1.6774460077285767 Total 29429.59375
Evaulate Targets Avg 6.270000012591481E-4 Min 0.0 Max 0.15083099901676178 Total 4240.9716796875
EvaluateBulletDistances Avg 0.0012890000361949205 Min 0.0 Max 0.19277900457382202 Total 8719.4609375
GeneratePredictedPositionsAndAssociatedData Avg 0.001782999956049025 Min 8.919999818317592E-4 Max 1.6698600053787231 Total 12063.5009765625
Notice no system output for round 13.
Opponent logs:
=========================
Round 12 of 35
=========================
SYSTEM: wiki.mc2k7.HawkOnFireOS MC2K7 has died
=========================
Round 13 of 35
=========================
SYSTEM: Bonus for killing rdt.AgentSmith.AgentSmithRedux*: 11
SYSTEM: wiki.mc2k7.HawkOnFireOS MC2K7 wins the round.
=========================
Round 14 of 35
=========================
SYSTEM: wiki.mc2k7.HawkOnFireOS MC2K7 has died
Can't understand the cause or reason for this. Is it my bot? Is there some robocode bug?
Any thoughts?
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
Return to Thread:User talk:Wolfman/Weird Robocode Bug/reply.