[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
AI Challenge Forums • View topic - Is this intentional?

It is currently Sat Jan 20, 2018 8:50 pm Advanced search

Is this intentional?

Code won't compile? Found a bug? Post here!

Is this intentional?

Postby Experiment Garden » Tue Feb 16, 2010 12:17 am

Experiment Garden
Cadet
 
Posts: 9
Joined: Fri Feb 05, 2010 5:26 pm

Re: Is this intentional?

Postby amstan » Tue Feb 16, 2010 1:27 am

Yeah, that's a bug. The game engine/starter packages don't consider the enemy location as a wall.
This has been fixed on the main tournament engine from the website though.
Alexandru M. Stan
Contest Organizer
User avatar
amstan
Contest Organizer
 
Posts: 691
Joined: Sun Jan 31, 2010 4:02 am
Location: Stoney Creek, Ontario

Re: Is this intentional?

Postby Experiment Garden » Thu Feb 18, 2010 3:10 am

Will there be an updated code package so that we can test our bots under the proper conditions?
Experiment Garden
Cadet
 
Posts: 9
Joined: Fri Feb 05, 2010 5:26 pm

Re: Is this intentional?

Postby amstan » Thu Feb 18, 2010 3:13 am

It's an easy fix, go in Map.cc/Map.java find the case '1' and case '2' and there needs to be a line that sets the wall for that position, same as '#'
Alexandru M. Stan
Contest Organizer
User avatar
amstan
Contest Organizer
 
Posts: 691
Joined: Sun Jan 31, 2010 4:02 am
Location: Stoney Creek, Ontario

Re: Is this intentional?

Postby GarySWest » Thu Feb 18, 2010 3:19 am

It works correctly in the Python engine, no? I say this because I noticed this very same bug a few days ago in my AI when one of my bots would bash into where my opponent 'was' (and lose) for no good reason. :oops: So if nothing else, you could just use that.
GarySWest
Major
 
Posts: 34
Joined: Mon Feb 15, 2010 3:45 pm

Re: Is this intentional?

Postby amstan » Thu Feb 18, 2010 3:19 am

Yeah, use the python engine, it should work perfectly there.
Alexandru M. Stan
Contest Organizer
User avatar
amstan
Contest Organizer
 
Posts: 691
Joined: Sun Jan 31, 2010 4:02 am
Location: Stoney Creek, Ontario


Return to Technical Issues

Who is online

Users browsing this forum: No registered users and 1 guest

cron