[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[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
[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
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4586: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4588: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4589: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
[phpBB Debug] PHP Warning: in file /includes/functions.php on line 4590: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3765)
AI Challenge Forums • View topic - could not be parsed

It is currently Fri Jul 20, 2018 8:13 am Advanced search

could not be parsed

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

could not be parsed

Postby Coaxecva » Sat Nov 13, 2010 7:56 am

I don't know this bug, compile okie, many battle I won but it marks I loss due to : "issued an order that could not be parsed" :|
http://ai-contest.com/visualizer.php?game_id=7131371
http://ai-contest.com/visualizer.php?game_id=7129832
.....
Thank you.
Coaxecva
Cadet
 
Posts: 3
Joined: Sat Nov 13, 2010 7:52 am

Re: could not be parsed

Postby amstan » Sat Nov 13, 2010 8:01 am

It means you issued an invalid order. Make sure you're not outputting anything other than orders for the game.
Also, you haven't won the battle, there are still enemy fleets in motion.
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: could not be parsed

Postby Coaxecva » Sat Nov 13, 2010 4:39 pm

:shock: I mean I wil definitely WIN :!:
However, I dont know how to fix it??? If not appear error, I win :D ; otherwise loss :idea:
Coaxecva
Cadet
 
Posts: 3
Joined: Sat Nov 13, 2010 7:52 am

Re: could not be parsed

Postby glevee » Sat Nov 13, 2010 6:05 pm

glevee
Colonel
 
Posts: 68
Joined: Tue Sep 28, 2010 1:11 am

Re: could not be parsed

Postby Coaxecva » Wed Nov 24, 2010 6:24 am

Thank you; so the demo code should be inputed those things as you mentioned, i think.
Coaxecva
Cadet
 
Posts: 3
Joined: Sat Nov 13, 2010 7:52 am

Re: could not be parsed

Postby Corvidae » Wed Nov 24, 2010 3:29 pm

Your code is freaking out because your opponent has 0 planets. Personally I just put my entire bot inside an if statement that makes sure both the enemy and I have more than 0 planets. Mainly because in either case when you or your opponent has no planets, there's nothing for you to really do.
User avatar
Corvidae
Cadet
 
Posts: 8
Joined: Thu Nov 11, 2010 4:01 pm

Re: could not be parsed

Postby glevee » Wed Nov 24, 2010 8:57 pm

true if your enemy has zero planets, there is only on thing to do...

Make sure the planet their fleet is attacking is well defended.
(or failing that, that it gets pulverized on the following turn) :D
glevee
Colonel
 
Posts: 68
Joined: Tue Sep 28, 2010 1:11 am


Return to Technical Issues

Who is online

Users browsing this forum: No registered users and 2 guests

cron