View source for User talk:R063R

From Robowiki
Jump to navigation Jump to search

Contents

Thread titleRepliesLast modified
Broken Bot702:17, 28 July 2012

Broken Bot

Hi, your bot pac.acb is broken. To package it properly open Robocode and use Robot --> Package Robot for Upload. Also, make sure you are using Java 6 compatibility in your compilation.

Skilgannon13:03, 23 July 2012

hi,

Thank you by the information! I had packaged it in the right way but I notice that my compiler is setted to -source 1.5, and I changed it (1.6). I hope at this time everything is right!

Best regards, Rogério Costa

R063R22:17, 23 July 2012
 

You also need to use the correct package for the robot. So for you the source should be placed in a folder called "pac" (in the robots directory) and "package pac;" should be at the top of your ABC.java. Then when you package the robot and robocode asks where to save the file you should use the file name robocode provides. This is important, as the file name must match the name of the robot and package.

I hope this helps.

Skilgannon22:30, 23 July 2012
 

OK :) seems I had missed the last one!

Thanks for your help!

one more thing? here we have restrictions about the functions we use or it is free for all? I mean the Robot class fight against the Advanced Robot class?

If I can help with something where, say it!

R063R02:16, 24 July 2012
 

In general, there are no restrictions. Yes, Robots are at a disadvantage against AdvancedRobots in the RoboRumble, but most people use AdvancedRobots anyway. If there were more interest in Robots, we might have a separate competition for them - and some people have done that in the past (oldwiki:ExtendsRobotCompetition).There are also Code Size divisions, like Category:MiniBots, if that interests you.

Voidious02:54, 24 July 2012
 

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:R063R/Broken Bot/reply (5).

 

Sorry, but my robot still broken? How I can check this as my own without bother you?

R063R00:59, 28 July 2012

Bot name in participants list must match name in properties file.

Try testing the bot with a client to see if everything is ok.

MN02:16, 28 July 2012