It is currently Tue Jan 23, 2018 11:58 pm Advanced search

bot times out after 3ms, regardless of actual timeout set

Topics about starter packages, visualizer or any other third party tools.
Please submit new language requests in the Language Request Forum.

bot times out after 3ms, regardless of actual timeout set

Postby Parasprites » Wed Oct 26, 2011 1:09 am

When I use play_one_game.cmd, my bot always gets cut off after 3 or 4 ms, regardless of what the actual cutoff is (default is 1000ms!). I'm not sure if the bug is in the engine itself or the timer provided in the C++ starter package, but it's really annoying!


Edit: After more hours of debugging, I've determined that the problem is actually in a completely unrelated piece of code. Apparently, calling erase on set.end() will cause an infinite loop instead of throwing an exception or just failing like I expected.
Parasprites
Major-General
 
Posts: 224
Joined: Mon Oct 24, 2011 3:08 pm

Return to Starter Packages & Tools

Who is online

Users browsing this forum: Bing [Bot] and 3 guests

cron