Build the best - destroy the rest!

Wednesday, 25 March 2009

Startup tips - harvesting from you

Hi All,

We plan to implement startup tips and we are looking for good ones. I mocked up pictures of solution. We would like to implement panel with multiple fonts and links to web. It will be probably driven by XML similar to HTML, we don't have it yet, so the final solution may look different.
startup tip
startup tip

Now you come, we need your help. Please share your best tips with us.

You could do it by commenting here or on ticket or just send us email.

We would like to see nice, well formed, short, informative TIPs about Robocode.

Thanks !
Pavel & Flemming

Tuesday, 24 March 2009

Robocode 1.7.1 (final)

Robocode 1.7.1 has now finally been released.

Beta releases prior to this final release:

Version 1.7.1


  • Bug [2643448] - Editor UNDO does delete the line when no is undo left.

  • Bug [2664844] - Editor: Find/replace dialog (set cursor position).

  • Bug [2699018] - and were broken.

  • Bug [2699028] - NullPointerException in BattlesRunner.runBattlesImpl.

  • Bug [2703301] - Custom event priority was broken.


  • The New Battle dialog is now larger per default.

  • The layout of the View Options and Sound Options tab in the Preferences has been improved. An error dialog is shown when the input field for the desired TPS is out of range.

Download Robocode 1.7.1 (final) from here

Wednesday, 11 March 2009

Robocode 1.7.1 Beta 2 - few bugs left?

We fixed more bugs for the version 1.7.1 Beta 2. There are a few bugs left that are not considered critical, and which will be available with the final 1.7.1 release. Please try out this version and try to find as many bugs you possible can and report issues on the tracker for Robocode.


  • Bug [2658090] - Typing to find bot no longer works.

  • Bug [2666598] - API: Typo in Documentation onBulletMissed(BulletMissedEvent).

  • Bug [2658167] - Put back setTime() method of Event, the security is now handled other way, not by hiding the field.

  • Fixed the problem with loading team robots from nested .jar files.

  • On Ubuntu (Linux) the "Default window size" did not work properly.

Internal Changes

  • On SUN's JVM enabled caching of .jar files opened thru URLConnection. Solved problem with closing such files by implementing URLJarCollector.

Download Robocode 1.7.1 Beta 2 from here

Monday, 2 March 2009

Robocode 1.7.1 Beta - lots of improvements

With this release we give BIG thanks to Nat Pavasant who have put in great effort in testing and finding as many bugs in Robocode as possible. He has been a great help with testing especially RoboRumble@Home functionality.

Currently, there is one known issue, which will be fixed with the next Beta or in the final release of version 1.7.1. This is critical for e.g. the TeamRumble, so please notice the known issue below.

Known issue

  • With this version Robocode cannot handle team packages containing robot .jar files, i.e. robot packages.


  • Bug [2626148] - Bots referencing robocode.robocodeGL broken. Now, we are now not following refrences to robocode packages.

  • Bug [2626164] - Don't ever punish robots in devel directories by removing from repository.

  • Bug [2634807], [2632874] - Robot console was wrongly synchronized with battle.

  • Bug [2634123] - Robot packager can be activated once per running.

  • Bug [2643395] - Development robots cause problems with data files.

  • Bug [2628346] - A battleview size exceed 800x600 filled with black.

  • Bug [2618169] - NullPointerException when using -battle option from the cmd-line.

  • Bug [2628217] - Robot Colors don't stick between rounds.

  • Bug [2649954] - Open battle menu dialog is not loading robots.

  • The command line usage of Robocode was not printed out at all when using the -? or -help option.

New features

  • Added getCurrentWorkingDir() + getRobotsDir() to the robocode.control.RobocodeEngine.

  • Request [2446276] - Ranking Panel should be visible when Robocode is minimized. This feature has been added and it is possible to control the behavior from Common Options in the Preferences with the "Don't hide Rankings when main window is minimized", which is enabled per default.

  • Request [2467545] - Command Line option for saving a battle record file. Two new command line options have been added for Robocode, i.e. - record and -recordXML . The -record option records the battle as a binary and zipped battle record. Here I propose that the specified filename should is something like The -recordXML does the same as the -record option, but saves the battle record as an XML file. Here I suggest that you use a filename like

  • Request [1749483] - Speedup time required for rebuilding robot database.

RoboRumble changes

  • Changed the link for into as the RoboRumble server fervir is down and with unstable ranking. The current ranking at Darkcanuck's server is alive. Almost all clients are point to Darkcanuck's now. Hence, it is updated now.

  • Update 3.3.2009: After discussion with both server owners we confirmed that old server will die soon. Big thanks to Pulsar for hosting it for us till now.

Internal Changes

  • The robot repository has been updated. It is no longer extracting .jar files.

  • It also remembers last timestamp on file so detection of the changes is really fast. Only data files are extracted now.

  • Data files for non-packed robots were moved to .robotcache as well.

  • VersionManager is now able to detect if the Robocode version was upgraded since last run.

  • Blocking security issue with relative path in getDataFile() method.

  • Improved security in RobotClassLoader.

  • Reimplemented RobotPackager.

  • BulletSnapshot has now method getBulletId which gives identity of bullet for UI.

Download Robocode 1.7.1 Beta from here