Robocode Editor/Compiler troubles?

Jump to navigation Jump to search

I finally figured it out!

I had been copying the .jar files directly into the robots folder, when I should have been using the Import Downloaded Robot tool. I guess the tool tells Robocode to treat bots differently from just .jar files.

Would this be something of interest to fnl or any of the other Robocode developers?

Sheldor (talk)21:05, 27 May 2013

Nice! If you can reproduce it, I'd definitely report it. I can't imagine it's intentional those two operations would take different code paths. I've only ever copied JARs into the robots directory.

Voidious (talk)21:08, 27 May 2013

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Users.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page.

Return to Thread:User talk:Sheldor/Robocode Editor/Compiler troubles?/reply (17).

I think you are confusing the Import downloaded robot tool with the Extract downloaded robot for editing tool.

Anyway, yeah, it seems I'll have to import each robot individually from now on.

Sheldor (talk)21:24, 27 May 2013

Ahh, you're right of course. I thought those were both options, but I launched Robocode and only saw the one and thought it had just been renamed. But "Extract..." is only offered in the Editor.

Voidious (talk)21:26, 27 May 2013
 
 
 

Is it giving you trouble with the compiler when you just copy in the .jars? Because if so, that is very strange...

I've always just copied the .jars, but then I don't use the built in editor, I use jGrasp.

Skilgannon (talk)21:09, 27 May 2013

Actually, I don't think it has anything to do with the compiler. That was just an early hypothesis I had because every time I compiled, it said it was "Updating classpath: [...]\robots," and it got all the errors.

Sheldor (talk)21:21, 27 May 2013