Build the best - destroy the rest!

Monday, 25 May 2009

Robocode 1.7.1.2

With this release some additional bugs have been eliminated compared to the beta version.

Bugfixes


  • Bug [2791007] - FontMetrics StackOverflowError

  • Bug [2791010] - Graphics2D.setFont() has no effect

  • Bug [2793464] - setMaxVelocity(lower than current) + reverse direction bug

  • Bug [2785448] - Wrong file path used for development bots. Refixed.

  • Bug [2795854] - Installer says to run robocode.jar

  • Bug [2795883] - Nanobot rumble not sending melee or team parameters. Thanks goes to Jerome Lavigne aka. Darkcanuck for this fix.

  • Fixed three bugs introduced with the Beta version found using new test units:


    • One bug where the speed would immediately drop to max. velocity when calling setMaxVelocity() - disregarding the acceleration and deceleration rules.

    • Another bug where the turn rate was a bit wrong when moving back and turning left in the same time.

    • A third bug where the robot continued to move backwards when it should have stopped due to setAhead(0) or setBack(0).



Download Robocode 1.7.1.2 from here

Saturday, 9 May 2009

Robocode 1.7.1.2 Beta

With this beta, we corrected an old bug in Robocode with the robot speed and movement in some situations when a robot is decelerating. That is, a robot would only move 99% according to it's own rules. E.g. it could end with a distance remaining on -0.2 instead of 0, it could have a velocity higher than the set max. velocity, and it could take an extra turn to stop movement when decelerating. However, these 3 caveats does not occur that often. Hence, they should not have a big impact on the robot behavior and rankings on the RoboRumble etc.

If you do experience big differences since version 1.7.1.1, then don't hesitate with contacting us with detailed information about the scenario, so it is possible for us to reproduce and fix.

Bugfixes


  • Bug [2077512] - Bug in RobotPeer.updateMovement? Robocode was not moving 100% according to it's own rules. Now it is.

  • Bug [2740708] - Fair Play! With two identical robots in a battle against each other, the first robots was much more likely to win, which was not fair.

  • Bug [2779557] - Client tries to remove all participants. When RoboRumble, TeamRumble, and/or MeleeRumble downloaded the participants list and did not receive a HTTP_OK or an empty list, the participants list was emptied. This caused problems with the RoboRumble server.

  • Bug [2785448] - Wrong file path used for development bots. Added option -DALWAYSUSECACHEFORDATA for anyone who liked it better.

  • Bug [2785456] - Melee rumble doesn't use "smart battles" (aka. priority battles). Thanks goes to Jerome Lavigne aka. Darkcanuck for this fix.

  • Fixed several ArrayOutOfBoundsExceptions occurring when starting a battle with fewer robots than a battle just played with more robots.



Changes for RoboRumble


  • The participants URL for RoboRumble, MeleeRumble, and TeamRumble have been updated to use the participant lists from the new RoboWiki:


    • RoboRumble: http://robowiki.net/w/index.php?title=RoboRumble/Participants

    • MeleeRumble: http://robowiki.net/w/index.php?title=RoboRumble/Participants/Melee

    • TeamRumble: http://robowiki.net/w/index.php?title=RoboRumble/Participants/Teams



Other changes


  • Updated the Help menu to point at the new RoboWiki regarding the Online Help and FAQ.

  • RobocodeEngine control class: Added additional runBattle() method where it is possible to specify the initial positions of the robots when starting a battle.

  • The about box was updated, where contributors are now written in bold and in a green color.


  • Download Robocode 1.7.1.2 Beta from here

    Friday, 10 April 2009

    Robocode 1.7.1.1

    With this release we have focused on eliminating as many problems seen with RoboRumble as possible. Hence, this version should hopefully prove stable as the new RoboRumble client.

    Bugfixes for RoboRumble


    • Bug [2727675] - Meleerumble using 2 bots instead of 10. Now the MELEEBOTS (number of robots that participate in a melee battle) works as expected.

    • Bug [2742554] - TeamRumble uploading result for Robot instead of team.

    • Bug [2727667] - Not enough java memory allocated in launch scripts. The launch scripts for RoboRumble and TeamRumble were changed so it is allowed to use up to 512 MB heap memory, and MeleeRumble is allowed to use up to 1024 MB.

    • Bug [2740403] - EOFException during repository rebuild. Exception is now reported in a simplified way.

    • Bug [2742891] - JarJar multi-registration. RoboRumble was not reusing the same RobocodeEngine instance.



    Other bugfixes


    • Bug [2627698] - pe.SandboxDT_3.02 stoped working. We had broken semantics of getTeammates() to return empty array when there is no team.

    • Bug [2738985] - Robocode API: Cannot subclass Event in 1.7.1.

    • Bug [2738993] - Errors with some robot classes when rebuilding database.

    • Bug [2711605] - Webpage button lay over robot description.

    • Bug [2723228] - Round number set by user was not saved between run.



    JuniorRobot changes


    • Bug - The event variables scannedXXX and hitXXX on the JuniorRobot was not reset to -1 (or -99) when nothing was scanned or hit.

    • Bug/Req [2500129] - Prevent JuniorRobot to be unresponsive.

    • Change: JuniorRobot will now automatically scan for enemies when it is not moving.



    Download Robocode 1.7.1.1 from here

    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
    (24-Mar-2009)
    ---------------

    Bugfixes


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

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

    • Bug [2699018] - roborumble.sh and teamrumble.sh were broken.

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

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



    Changes


    • 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.

    Bugfixes


    • 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.



    Bugfixes


    • 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 record.br. 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 record.br.xml.

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



    RoboRumble changes


    • Changed the link for http://rumble.fervir.com/rumble into http://darkcanuck.net/rumble 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