Version 1.9.2.2 (03-Sep-2014)
Bug fix
- Bug-373: Wrong robot size calculation in version 1.9.0 - 1.9.2.
Download Robocode .NET plug-in 1.9.2.2 from here
Download Robot testing plug-in 1.9.2.2 from here
-DNOSECURITY=true is enabled - java.lang.IllegalAccessError.BattleSpecification for the RobocodeEngine so that it is possible to set the initial position and heading of each participant robot. This new constructor takes an additional parameter named initialSetups that is an array of RobotSetup instances.RobotSetup is a new class introduced with this version that contains the initial position and heading for an individual robot.robocode.battle.sentryBorderSize has now been added to the .battle file format.getNumSentries() for Java and a NumSentries read-only property for .NET was added to the Robot and RobotStatus classes, and to the IBasicRobotPeer interface as well.getSentryBorderSize() has been added to the Robot classes that returns the size / attack range from the edge of the borders, where BorderSentry robots are able to hit other robot types.isSentryRobot() has been added to the ScannedRobotEvent event class.samplesentry.BorderGuard. Try it out against your robot(s) or e.g. sample.Corners and sample.Walls.robot.codesize which will be set to the value calculated by the built-in Codesize tool when compiling the robot and/or team. The Codesize value is the effective code size measured in bytes which is used by e.g. the RoboRumble to categorize robots into MicroBot, MiniBot and MegaBot etc.samplesentry.BorderGuard against sample.Corners and sample.Walls.
getSentryBorderSize() has been added to the Robot classes that returns the size / attack range from the edge of the borders, where BorderSentry robots are able to hit other robot types.isSentryRobot() has been added to the ScannedRobotEvent event class.samplesentry.Guard. Try it out againt your robot(s).samplesentry.BorderGuard. Try it out against your robot(s) or e.g. sample.Corners and sample.Walls.