- Created Wednesday, January 20th 2016 @ 01:39:13
Hey guys i need some help. I've been trying to get my new bot to work for days and cant seem to get it to work. On my PC it works great and i have no issues outputting, but on the site i keep getting
"Running testcase /opt/aigames/etc/testsfourinarow/testfourinarow.txt... Testing Bot with setup input... ... finished testcase in 0.120000001043 seconds Test failed: no output"
No idea what is causing this. At first i thought my code might be too slow but after improving it, it still wont work. Anyone have any tips for a noobie?
- Created Wednesday, January 20th 2016 @ 01:56:49
Well now its passing the test, but now my bot outputs crazy numbers online (ie 196), but the right numbers on my PC. What gives?
DeveloperCreated Wednesday, January 20th 2016 @ 08:45:38
I honestly have no idea, the bot should just run as normal. Try using the Error dump to debug. Let me know if you still can't fix it.
- Updated Sunday, March 27th 2016 @ 18:05:21
Instead of :
cout << "place_disc " << i << endl;
cout << "place_disc " << i << endl << flush;
Reason: I think that server is not able to read buffered output; so flush it out of buffer into the server. Let me know if this helped.
Expl0itCreated Monday, February 12th 2018 @ 23:06:45