[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/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 - Unrecognized command-line option: `--optimize=all'

It is currently Wed Aug 23, 2017 10:11 am Advanced search

Unrecognized command-line option: `--optimize=all'

New Language? Want more libraries? Post Here.

C# submission compiler error CS2007 (optimize)

Postby TeamUnknown » Wed Dec 07, 2011 2:43 am

I am seeing a compile error when the server compiles my C# submission. I'm using the same submission that worked last night and the server is now saying the following:

Error CS2007: Unrecognized command-line option: `--optimize=all'

I joined IRC and found out that I'm not the only one seeing this issue. Sounds like the server compiler is broken...

Sounds like there may be an issue with the latest c# optimizations added: https://github.com/aichallenge/aichalle ... 36300ecb87

Can somebody fix this?
TeamUnknown
Cadet
 
Posts: 2
Joined: Wed Nov 02, 2011 2:43 am

Unrecognized command-line option: `--optimize=all'

Postby Tully » Wed Dec 07, 2011 3:35 am

Found on my page:

Version Submission Time Status Skill Games Game Rate Language
28 Dec 6th 5:37am Compile Error: error while compiling submission - 4 207 C#
error CS2007: Unrecognized command-line option: `--optimize=all'

As you can see this bot played 4 games without compilation problems.
But now I have "Rank: Not Ranked Skill: No Skillz"

How to fix this problem?
Tully
Cadet
 
Posts: 3
Joined: Tue Nov 15, 2011 2:09 am

Re: Unrecognized command-line option: `--optimize=all'

Postby Lithel » Wed Dec 07, 2011 3:58 am

I have the same error on my C# bot. I'm guessing that all C# bots currently have this issue. See the related C# thread about making C# bots faster. =)
Lithel
Cadet
 
Posts: 2
Joined: Wed Dec 07, 2011 3:45 am

Re: Unrecognized command-line option: `--optimize=all'

Postby amstan » Wed Dec 07, 2011 5:05 am

Sorry about this. I did a change earlier today to enable optimizations. But the person requesting this gave me the wrong command. They workers should update(with the fix) within an hour.
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: Unrecognized command-line option: `--optimize=all'

Postby zoat » Wed Dec 07, 2011 7:07 am

Just I was on a winning streak! Darn! :)

My bot is still off-line with the "optimize=all" compile error. Will it start playing again automatically or do I have to upload a new version once the workers are up to speed?
zoat
Cadet
 
Posts: 6
Joined: Fri Nov 04, 2011 9:50 am

You guys broke C#

Postby frobalt » Wed Dec 07, 2011 7:17 am

Apparently I'm not ranked and have No Skillz, and I get this message with my bot:


23 Nov 15th 6:16pm Compile Error: error while compiling submission - 125 241 C#
error CS2007: Unrecognized command-line option: `--optimize=all'

I've not uploaded a new version for a while now, so it shouldn't just break.

Can i recommend testing this sort of change before making it?
frobalt
Colonel
 
Posts: 53
Joined: Mon Oct 31, 2011 9:42 pm

Re: Unrecognized command-line option: `--optimize=all'

Postby cheeser » Wed Dec 07, 2011 7:31 am

cheeser
Cadet
 
Posts: 8
Joined: Tue Oct 18, 2011 2:15 am

Re: Unrecognized command-line option: `--optimize=all'

Postby Tully » Wed Dec 07, 2011 7:45 am

Have uploaded the code again.
Same result :evil:
Tully
Cadet
 
Posts: 3
Joined: Tue Nov 15, 2011 2:09 am

All C# bots are suddenly broken?

Postby runevision » Wed Dec 07, 2011 8:03 am

What just happened?

Version 10 of my bot (C#) has worked fine for weeks and been in 67 games, but suddenly when I log in today I see it has no skill or rank and the status for the bot has this underneath:

error CS2007: Unrecognized command-line option: `--optimize=all'

Image

I did NOT upload a new version and the bot that now fails clearly shows it's been in those 67 games. How can it work fine and then suddenly not work anymore? What am I supposed to do about this?

My bot: http://aichallenge.org/profile.php?user=9661

Looking at the list of top C# bots they ALL happen to be deactivated. My guess is that all the ones that were not deactivated have encountered the same problem as mine and are now out of the rankings.

Could whoever introduced this optimize=all flag maybe have tested it before rolling it out on all bots and breaking them? When will this be fixed?
Last edited by runevision on Wed Dec 07, 2011 8:37 am, edited 2 times in total.
runevision
Cadet
 
Posts: 7
Joined: Sun Nov 06, 2011 1:20 pm

Re: Unrecognized command-line option: `--optimize=all'

Postby cheeser » Wed Dec 07, 2011 8:29 am

New version of bots has compiled successfully :ugeek: Thanks ^)
cheeser
Cadet
 
Posts: 8
Joined: Tue Oct 18, 2011 2:15 am

Next

Return to Language Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron