- Updated Monday, July 13th 2015 @ 10:01:23
I've been working on a bot off of the C# starter bot sample. I'm pretty sure it is something I messed up because the sample on it's own works flawlessly (for a random bot anyways).
The bot does not recognize the "move" command for the first move, although it gets through the output test. I've tested this by adding a bool "firstMove = true", and then if it is true during the movement run it moves the block all the way to the left and drops it. It instead does this on the second turn, showing that it does not reach that point in the statement.
I was also wondering if it is because the program was taking far too long (allotted 10s timeout) to initialize all the objects. This does not make sense because it freezes in more than just the beginning.
For reference, I have piped the moves sent to the bots from these freezing battles into a version running on my machine and it runs flawlessly.
Valerion_Block: (similar symptoms) http://theaigames.com/competitions/ai-block-battle/games/55a3077435ec1d2169795f4c
Me: http://theaigames.com/competitions/ai-block-battle/games/55a2e97d35ec1d2169795dbc (http://pastebin.com/Mur94vcF output) http://theaigames.com/competitions/ai-block-battle/games/55a2dc7d35ec1d2169795d27 (http://pastebin.com/SajQ5XbV output) http://theaigames.com/competitions/ai-block-battle/games/55a2e4f435ec1d2169795d99 (http://pastebin.com/Jd7PLn0A output)
So, my question is: has anyone else had this happen to them? If so, how did you resolve it?
EDIT: Similar to http://theaigames.com/discussions/heads-up-omaha/54d557245d203ca8328b4569/bots-timing-out-when-they-shouldn-t-/1/show perhaps? http://theaigames.com/discussions/warlight-ai-challenge-2/5544996a5d203c4e668b456b/poor-servers-performance-on-some-games/1/show
- Created Monday, July 20th 2015 @ 17:22:19
I'm having the same problem with the C# starter bot, but only roughly half of the time.
My revisions will pass the input test and test match, but when matched against another bot, half of the time it will perform as expected, and the other half it will time out on the first round. (Response timed out (10000ms), let your bot return 'no_moves' instead of nothing or make it faster.)
I've also tried testing the bot locally with the same input as the problem round and it works just fine.
- Created Wednesday, July 22nd 2015 @ 02:39:32
I'm having same problem: First round I'm getting: Response timed out (10000ms), let your bot return 'no_moves' instead of nothing or make it faster.
Then on second round my output is actually are moves from first round. There fore Piece in the round 2 moving to the place where I intended to have Piece from round one. And so on
Sometimes it's recover by itself and start playing normally. Sometimes this happens in the middle of the game :(
Locally everything works as charm and way bellow time limits.
DeveloperCreated Wednesday, July 22nd 2015 @ 12:00:03
I'll have a look at what's going wrong. But does the starterbot have the same issues?
- Created Tuesday, August 4th 2015 @ 12:04:04
I'm having the same problem. Haven't figured it out yet.
- Updated Tuesday, August 4th 2015 @ 12:39:47
It's something to do with a bunch of whitespace being read by the parser just before the action moves command
- Updated Friday, August 7th 2015 @ 03:39:22
There seems to be a bug in the way the engine and the bot are communicating.
I ran this simple piece of code: http://pastebin.com/DACmvEZy
Which resulted in this output: http://pastebin.com/qEaWVPWC
The engine fails to read the console.write before it times out. I can't replicate the same bug locally.
This game is with the test bot if you can see it: http://theaigames.com/competitions/ai-block-battle/games/55c40a3635ec1d4702e4fe8a
- Updated Sunday, August 9th 2015 @ 16:59:15
I'm having the same problem, could someone please fix this asap?
I also have the problem that the moves my bot chose in round one are executed in round two. Moves chosen for round two are executed in round three. And so forth. This explains why the host tells that the bot times out in the first round.
- Created Monday, August 10th 2015 @ 11:48:30
Yeah, not sure what's going on. I haven't had the same problem with the other competitions.
- Updated Tuesday, August 11th 2015 @ 07:14:06
After switching from Python to C# I have the exact same problem, all moves are delayed. I use the "official" StarterBot..
It works as designed locally and in the Input Test, but even in the test match my first move isn't executed.
- Created Tuesday, August 11th 2015 @ 11:56:45
My test code: http://pastebin.com/DACmvEZy has the input buffer fix in it and it still fails on the first round.
- Updated Tuesday, August 11th 2015 @ 15:30:42
FWIW, reducing the buffer to 512 (compared to 8192) seems to work for the first few pieces, but drops everything after the initial 3 or 4.
Edit: My fault, I had an exception.
Works fine for me now.
- Created Wednesday, August 12th 2015 @ 06:56:05
Changing it to 512 seems to have fixed it for me too.
- Updated Sunday, August 16th 2015 @ 05:49:59
I have changed mine to 512, I will report back if it happens again.
EDIT: seems to work now... wow. I can finally do stuff like http://theaigames.com/competitions/ai-block-battle/games/55d0076c1c687b190a2b54d1 without breaking on the first turn