Build the best - destroy the rest!

Thursday, 19 February 2009

Robocode 1.7.0.2 - fixes yet another compiler path problem

Robocode 1.7.0.2 fixes a new major bug introduced with version 1.7.0.1 when trying to get rid of Bug 2597046.

Bugfixes



  • The fix for "Bug [2597046] Compiler classpath not quoted" backfired, as the entire text field in the window with the compiler properties would now be quoted. Hence, the compiler would not be able to compile, and it was not possible to cheage the compiler preferences from the GUI.



Download Robocode 1.7.0.2 from here

Saturday, 14 February 2009

Robocode 1.7.0.1 - fixes major bug with starting Robocode

Robocode 1.7.0.1 fixes a major bug that some users have experienced when trying to start Robocode.

Bugfixes



  • Bug [2596947] Fix needed to Robocode.bat: Some users experienced problems with starting Robocode. Hence, all startup batch and shell files for Windows, Linux, Mac OS X etc. have been corrected.

  • Bug [2597046] Compiler classpath not quoted: When running Robocode in a folder with spaces, the compiler classpath was not quoted. Hence, the compiler would not work.



Download Robocode 1.7.0.1 from here

Monday, 26 January 2009

Robocode 1.7 Beta 2

This version contains bugfixes for bugs found in the previous 1.7 Beta.

Bugfixes


  • Bugfix [2527112] Ubuntu throws NullPointerException in main when trying to startup Robocode.

  • Bugfix [2528467] Installation fail on windows if directory contain space(s).


Changes


  • Improved the version checking for new Robocode versions available for download.



Download 1.7 Beta from here

Tuesday, 20 January 2009

Robocode 1.7 Beta - modularization

This version represents a completely new infrastructure of Robocode making it easier to extend and maintain for the future, while staying 100% backward compatible. The goal of this release has been to introduce the new platform for Robocode and getting it tested carefully by the community before we add features to it for version 1.7.1 and newer.

By omitting new features, we hope that we'll be faster in locating and fixing any issues introduced with this version compared to the previous version 1.6.2. When such issues have been eliminated, we will concentrate on the new features, which includes support for more programming languages and also some of the pending feature requests reported on the SourceForge site for Robocode

Bugfixes


  • Bug [2497164] Spammy output on robot console windows.


Internal changes


  • Robocode was modularized using the dependency injection framework PicoContainer. This work includes introduction of many interfaces to existing components.

  • Introduced Maven2 as build setup where the whole directory layout is based on the standard Maven structure.

  • Rewritten the RobotClassLoader so it is able to load .jar file in the future.

  • Rewritten security layer to use AccessController and CodeSource for detection of trusted code.

  • Redesigned RobocodeProperties to SettingsManager and introduced ISettingsListener.

  • Implemented RbSerializer to be able to implement IPC (Inter-Process Communication) in future. This should make it possible to extend Robocode for more platforms like e.g. Microsoft .NET.

  • Redesigned RepositoryManager and nearby to hide implementation details.

  • Moved all implementation of Robocode to the package 'net.sf.robocode'. The old package 'robocode' is now used only for API to outer world in order to keep backwards compability.


Download 1.7 Beta from here

Monday, 5 January 2009

Robocode 1.6.2

This is the final release of Robocode 1.6.2, which contains 3 bugfixes compared to the recent Beta 4 version.

Bugfixes


  • Bug [2467536] Robot name was missing when replaying XML record.

  • Bug [2465580] Junior Robot turnAheadRight() bug. When a JuniorRobot was calling turnAheadRight(), turnAheadLeft(), turnBackRight(), or turnBackLeft() - the following exception occurred causing the robot to be terminated: java.lang.ClassCastException: robocode.peer.proxies.StandardRobotProxy

  • Bug [2449081] Exception when changing between Robot to AdvancedRobot. When a robot was changed from a Robot into an AdvancedRobot and recompiled, the game would cast a ClassCastException if a battle was started or restarted including that particular robot. However, this bug did not occur with new battles where the list of robots was refreshed (by pressing Ctrl+R).



Download 1.6.2 (final) from here

Tuesday, 23 December 2008

Robocode 1.6.2 Beta 4

With this release 5 more bugs have been fixed compared to the 1.6.2 Beta 3.

Bugfixes


  • Fixed the Open Battle dialog, where the robots were not being loaded, but which instead behaved the same way as the New Battle dialog.

  • Fixed NullPointerException with the new Record and Playback (Replay) feature, when trying to play a recorded battle.

  • Fixed serialization problems with scan arcs (Arc2D), when robot paintings with scan arcs are being recorded.

  • Fixed problem with reloading robot repository on each next battle dialog. Now the user must press Ctrl+R in order to refresh the robot repository as this is not done automatically anymore.

  • Fixed two ArrayIndexOutOfBoundsExceptions occurring when opening a new battle with fewer robots, when a battle with more robots are ongoing.



Download 1.6.2 Beta 4 from here

Thursday, 18 December 2008

Robocode 1.6.2 Beta 3 - more bugfixes

With this release 5 bugs have been fixed compared to the 1.6.2 Beta 2. In addition, new battle events and battle snapshots in the Control API have been published, i.e. in the robocode.control package, and we added missing javadocs (HTML documentation) to public Robocode API classes.

Changes


  • Published new battle events and battle snapshots in the Control API, i.e. in the robocode.control package.

  • Added missing javadocs (HTML documentation) to public Robocode API classes.



Bugfixes


  • The current scoring (not the total scoring) was calculated wrong from version 1.6.1. The current Ramming Kill Bonus was set to current bullet kill bonus, which gave wrong ranking in the Ranking Panel.

  • Bug [2410856]: wrong bullet power could be reported back from Bullet.getPower(), which could be > Rules.MAX_BULLET_POWER or < Rules.MIN_BULLET_POWER.

  • Bug [2405844]: gunHeat could be negative, which should never occur.

  • Bug [2412707]: Replay exception, where an ArrayIndexOutOfBoundsException occurred in some situations.

  • Fixed problem with RobocodeEngine.setVisible(true), where the RobocodeEngine would hang forever.



Download 1.6.2 Beta 3 from here