[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 - compiling&running my program

It is currently Tue Jan 16, 2018 9:21 pm Advanced search

compiling&running my program

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

compiling&running my program

Postby kronos » Sat Feb 06, 2010 12:56 am

Also, sorry to be bothering you, I was having trouble with having my program play a bot. At school, I created a batch file that implements the command given on the website under 'compile&run'. However, this doesn't work at home anymore...

So, should I run the cmd line, go to the same directory as my .exe, and type the whole thing into the cmd line?

Thanks
Last edited by kronos on Sat Feb 06, 2010 1:01 am, edited 2 times in total.
kronos
Lieutenant
 
Posts: 18
Joined: Fri Feb 05, 2010 5:41 am

Re: Floodfill strategy

Postby amstan » Sat Feb 06, 2010 1:00 am

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: Floodfill strategy

Postby kronos » Sat Feb 06, 2010 1:02 am

Well, I mean that when I run the batch file, it sort of just closes immediately (well, within 1s of me opening it).
Last edited by kronos on Sat Feb 06, 2010 1:19 am, edited 2 times in total.
kronos
Lieutenant
 
Posts: 18
Joined: Fri Feb 05, 2010 5:41 am

Floodfill strategy

Postby amstan » Sat Feb 06, 2010 1:03 am

Sigh...

You have to run it from cmd so you can see the error.

Also, you'll find this topic under technical issues, has nothing to do with strategies.
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: compiling&running my program

Postby kronos » Sat Feb 06, 2010 1:18 am

Ah, I added 'PAUSE' to make it stop after outputting the errors, and this is what it output:
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file at....and there are a bunch of lines say where all this error occurs (about 10 of them in total)
kronos
Lieutenant
 
Posts: 18
Joined: Fri Feb 05, 2010 5:41 am

Re: compiling&running my program

Postby kronos » Sat Feb 06, 2010 1:36 am

I even tried downloading the starter pack again...still same error though.

Any ideas on how to go about this?
kronos
Lieutenant
 
Posts: 18
Joined: Fri Feb 05, 2010 5:41 am

Re: compiling&running my program

Postby amstan » Sat Feb 06, 2010 1:38 am

What error?
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: compiling&running my program

Postby kronos » Sat Feb 06, 2010 2:00 am

"Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file at....and there are a bunch of lines say where all this error occurs (about 10 of them in total)"
kronos
Lieutenant
 
Posts: 18
Joined: Fri Feb 05, 2010 5:41 am

Re: compiling&running my program

Postby kronos » Sat Feb 06, 2010 2:32 am

Ok, this is really getting annoying...hmm, damn java errors :lol: :lol:

Is there any other way to run that command? Although I believe that will result in the same error (that I posted in the previous post)
kronos
Lieutenant
 
Posts: 18
Joined: Fri Feb 05, 2010 5:41 am

Re: compiling&running my program

Postby amstan » Sat Feb 06, 2010 3:00 am

Could you be more detailed please? What command are you running and your whole output in a [code] tag.
Alexandru M. Stan
Contest Organizer
User avatar
amstan
Contest Organizer
 
Posts: 691
Joined: Sun Jan 31, 2010 4:02 am
Location: Stoney Creek, Ontario

Next

Return to Technical Issues

Who is online

Users browsing this forum: No registered users and 2 guests

cron