Activity for Robocode

  • Flemming N. Larsen Flemming N. Larsen created a blog post

    Robocode 1.10.1 including Codesize 1.3.1 released

  • Robocode Robocode updated /robocode/1.10.1/README.md

  • Robocode Robocode released /robocode/1.10.1/robocode-1.10.1-setup.jar

  • Robocode Robocode released /robocode/1.10.1/README.md

  • Flemming N. Larsen Flemming N. Larsen modified a comment on ticket #169

    I am not sure what you are asking for? About Walls in Robocode Robocode does not have "custom walls". It only has the standard walls on the sides of the battlefield. Bullet Miss Events When a bullet gets outside of the battlefield, this is considered a "bullet miss". You can capture this event using: onBulletHitWall(BulletHitWallEvent event) Custom Events You can also create your own custom events using: onCustomEvent(CustomEvent event) How Custom Events Work You instantiate a CustomEvent that takes...

  • Flemming N. Larsen Flemming N. Larsen posted a comment on ticket #169

    I am not sure what you are asking for? Robocode does not have "custom walls". It only have the "wall" on the sides of the battle field. When a bullet gets outside of the battlefield, this is is a "bullet miss". You can get this event by onBulletHitBullet(BulletHitBulletEvent event) You can also create your own custom events using onCustomEvent(CustomEvent event). Here you instantiate a CustomEvent that takes Condition as input. The Condition is your own (inherited) class, where you need to implement...

  • Anonymous created ticket #169

    Custom walls avoid when hit to target enemy

  • Robocode Robocode released /robocode/1.10.0/README.md

  • Robocode Robocode released /robocode/1.10.0/robocode-1.10.0-setup.jar

  • Robocode Robocode released /robocode/1.10.0/ReadMe.md

  • Robocode Robocode released /robocode/1.10.1/ReadMe.md

  • Robocode Robocode released /robocode/1.10.1/robocode-1.10.0-setup.jar

  • Flemming N. Larsen Flemming N. Larsen created a blog post

    Robocode 1.10.0 released

  • Flemming N. Larsen Flemming N. Larsen created a blog post

    Robocode 1.9.5.6 released

  • Robocode Robocode updated /robocode/1.9.5.6/ReadMe.md

  • Robocode Robocode released /robocode/1.9.5.6/ReadMe.md

  • Robocode Robocode released /robocode/1.9.5.6/robocode-1.9.5.6-setup.jar

  • Flemming N. Larsen Flemming N. Larsen posted a comment on discussion Help

    Thank you for the follow-up. 👍 I am happy to hear that you got it up and running! 😊

  • ER Samson ER Samson modified a comment on discussion Help

    Actually, for some reason the install went wonky. I noticed several missing files. It is now working after a reinstall. Sorry for the false flag. Hope you had a wonderful weekend sir!

  • ER Samson ER Samson posted a comment on discussion Help

    Actually, for some reason the install went wonky. I noticed several missing files. It is now working. Sorry for the false flag. Hope you had a wonderful weekend sir!

  • Flemming N. Larsen Flemming N. Larsen posted a comment on discussion Help

    I have no idea what causes this issue. Robocode 1.9.4.2 is 4 years old. And LiteRumble might still be using this old version of the game. I guess it could be: - A configuration issue with Rumble - A networking issue, so one or more bots cannot be downloaded - An issue with the participant list

  • ER Samson ER Samson posted a comment on discussion Help

    Currently running this on Windows 11, using Robocode 1.9.4.2 for maximum compatibilty with literumble.appspot.com java -version openjdk version "17.0.15" 2025-04-15 OpenJDK Runtime Environment Temurin-17.0.15+6 (build 17.0.15+6) OpenJDK 64-Bit Server VM Temurin-17.0.15+6 (build 17.0.15+6, mixed mode, sharing) It seems stuck, not sure if it's the wiki formatting or roborumble itself ,,, Could not load properties file: ./roborumble/files/codesize1v1.txt Downloading participants list from https://robowiki.net/wiki/RoboRumble/Participants?action=raw...

  • Flemming N. Larsen Flemming N. Larsen created a blog post

    Robocode 1.9.5.5 released

  • Robocode Robocode released /robocode/1.9.5.5/robocode-1.9.5.5-setup.jar

  • Robocode Robocode released /robocode/1.9.5.5/ReadMe.md

  • Robocode Robocode released /robocode/1.9.5.5/robocode-1.9.5.4-setup.jar

  • Flemming N. Larsen Flemming N. Larsen posted a comment on discussion Help

    I am happy to hear that the problem with solved just be using the built-in compiler (Eclipse Compiler for Java). 😊 The 3 computers must have an very old version of Java 5.0 installed somewhere in the system.

  • P H P H posted a comment on discussion Help

    Hi, thank you for your quick response. We resolved the issue... java -version does return version 22... So we chose to use the compiler built into Robocode and under Compiler Preferences > Compiler Options it says "-source 1.5 -verbose -encoding UTF -8". So I just reset to compiler on the affected computers and chose the compiler already on the system instead and it works just fine. I have no idea why only 3 computers would have this issue. Hopefully this can help some poeple with the same issue...

  • Flemming N. Larsen Flemming N. Larsen modified a comment on discussion Help

    Looking at this line: source level should be in '1.8,'9'...'22' (or '8.0'..'22.0'): 1.5 It looks like the Java runtime is version 1.5 (Java 5.0). Robocode writes the Java version in the end of the line after the colon. Try to run this command from the same terminal running Java to see the version on the two computer that have the problem: java -version If the computers are running Windows, the issue can be "hidden" under the PATH environment variable for the System variables, which Microsoft tends...

  • Flemming N. Larsen Flemming N. Larsen modified a comment on discussion Help

    Looking at this line: source level should be in '1.8,'9'...'22' (or '8.0'..'22.0'): 1.5 It looks like the Java runtime is version 1.5 (Java 5.0). Robocode writes the Java version in the end of the line after the colon. Try to run this command from the same terminal running Java to see the version on the two computer that have the problem: java -version

  • Flemming N. Larsen Flemming N. Larsen modified a comment on discussion Help

    Looking at this line: source level should be in '1.8,'9'...'22' (or '8.0'..'22.0'): 1.5 It looks like the Java runtime is version 1.5 (Java 5.0). Robocode writes the Java version in the end of the line after the colon. Try to run this command from the same terminal running Java to see the version: java -version

  • Flemming N. Larsen Flemming N. Larsen modified a comment on discussion Help

    Looking at this line: source level should be in '1.8,'9'...'22' (or '8.0'..'22.0'): 1.5* It looks like the Java runtime is version 1.5 (Java 5.0). Robocode writes the Java version in the end of the line after the colon. Try to run this command from the same terminal running Java to see the version: java -version

  • Flemming N. Larsen Flemming N. Larsen modified a comment on discussion Help

    Looking at this line: source level should be in '1.8,'9'...'22' (or '8.0'..'22.0'): 1.5** It looks like the Java runtime is version 1.5 (Java 5.0). Robocode writes the Java version in the end of the line after the colon. Try to run this command from the same terminal running Java to see the version: java -version

  • Flemming N. Larsen Flemming N. Larsen posted a comment on discussion Help

    Looking at this line: source level should be in '1.8,'9'...'22' (or '8.0'..'22.0'): 1.5 It looks like the Java runtime is version 1.5 (Java 5.0). Try to run this command from the same terminal running Java to see the version: java -version

  • P H P H posted a comment on discussion Help

    I installed Robocode on the 24 computers in my classroom. 22 computers compile bots successfuly, but 2 of the computers get the error in the attached image: Picked up _JAVA_OPTIONS: "-Djava.security.manager=allow" source level should be in '1.8,'9'...'22' (or '8.0'..'22.0'): 1.5 Compile Failed (-1) What is this issue? It is odd that only 2 of the computers have this. I am not super technical/a Java expert, so please keep the issue/solution explanation simple! The computers are running JDK 22. Thank...

  • ER Samson ER Samson posted a comment on discussion Help

    It's working now. All good @fnl, thanks for maintaining the code. We appreciate your effort.

  • Flemming N. Larsen Flemming N. Larsen posted a comment on discussion Help

    I fixed this with the new version 1.9.5.4. 😊 Sorry for the inconvenience with version 1.9.5.3.

  • Flemming N. Larsen Flemming N. Larsen created a blog post

    Robocode 1.9.5.4 released

  • Robocode Robocode updated /robocode/1.9.5.4/ReadMe.md

  • Robocode Robocode released /robocode/1.9.5.4/ReadMe.md

  • Robocode Robocode released /robocode/1.9.5.4/robocode-1.9.5.4-setup.jar

  • Flemming N. Larsen Flemming N. Larsen posted a comment on discussion Help

    Thank you for letting me know about this issue. I will have a look ASAP. I did update the ECJ with the last version, so something must be off.

  • ER Samson ER Samson posted a comment on discussion Help

    robocode 1.9.5.3 internal ECJ compiler issue, as I usually use the internal compiler for Robocode. Resetting it doesn't work. I tried to do a clean install of a lower version (1.9.5.2) and the internal compiler worked as intended. Tested using Debian 12, Java Temurin 17 JDK.

  • Flemming N. Larsen Flemming N. Larsen posted a comment on discussion Help

    I created a new release 1.9.5.3 which fixes the issue.

  • Robocode Robocode updated /robocode/1.9.5.3/ReadMe.md

  • Robocode Robocode updated /robocode/1.9.5.3/ReadMe.md

  • Robocode Robocode released /robocode/1.9.5.3/robocode-1.9.5.3-setup.jar

  • Robocode Robocode released /robocode/1.9.5.3/ReadMe.md

  • Flemming N. Larsen Flemming N. Larsen posted a comment on discussion Help

    I am able to reproduce the issue under Ubuntu 22.04 running on OpenJDK 21. I will fix this issue.

  • Takhir Bairasheuski Takhir Bairasheuski modified a comment on discussion Help

    I had version 1.9.4.9 and everything worked. After installing 1.9.5.2 robocode does not start No robocode.properties. Using defaults. java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release my operating system is Linux Mint java version "19.0.2" 2023-01-17 I copied robocode.sh from version 1.9.4.9 and replaced it with robocode.sh in version 1.9.5.2 and the program worked. Not sure if this is the right decision

  • Takhir Bairasheuski Takhir Bairasheuski modified a comment on discussion Help

    I had version 1.9.4.9 and everything worked. After installing 1.9.5.2 robocode does not start No robocode.properties. Using defaults. java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release my operating system is Linux Mint java version "19.0.2" 2023-01-17

  • Takhir Bairasheuski Takhir Bairasheuski posted a comment on discussion Help

    I had version 1.9.4.9 and everything worked. After installing 1.9.5.2 robocode does not start

  • Flemming N. Larsen Flemming N. Larsen posted a comment on discussion Help

    You are welcome. I am happy that you got it up and running. 😊

  • jakeeee0 jakeeee0 posted a comment on discussion Help

    Your instruction worked! Thank you so much for your instructions!! 👍

  • Flemming N. Larsen Flemming N. Larsen posted a comment on discussion Help

    Okay. It seems that you have java up and running correctly. 😊 So you are close to being able to run the installer. You get the Unable to access jarfile" error, when Java cannot find the .jar file. So you need to provide the full file name or just ´cd´ your way to where this file is installed so the java command knows where the setup file is located. So if you e.g. have the robocode-1.9.5.2-setup.jar file under e.g. C:\robocode, you can call the java command like this: java -jar C:\robocode\robocode-1.9.5.2-setup.jar...

  • jakeeee0 jakeeee0 posted a comment on discussion Help

    I've double-checked my java, and there's no problem with it. (I am using adoptium Temurin, version 17.0.11. ) Also, I tried to run Robocode installer, but I still have a same comment. When I used your writing java -jar robocode-1.9.5.2-setup.jar on cmd, this came out-->"Unable to access jarfile robocode-1.9.5.2-setup.jar"

  • Flemming N. Larsen Flemming N. Larsen posted a comment on discussion Help

    Robocode has no message saying "cannot install java". Hence, it must be Java that has not been installed prior to running Robocode. Make sure that the Java Developer Kit (JDK) has been installed correct. You can check this from the command-line (terminal) by writting: java -version This should tell you, which Java version and vendor you are using. And you can check if the JDK compiler is installed by writting: javac -version When those commands have been installed on your system, you can run the...

  • jakeeee0 jakeeee0 posted a comment on discussion Help

    Hi, I have problem with robocode install. I have downloaded java, JDK, and checked my environment variable. But when I try to launch downloaded robocode file, it says "cannot install java."

  • Dominik Ertl Dominik Ertl posted a comment on discussion Help

    thanks for the reply, makes sense!

  • Flemming N. Larsen Flemming N. Larsen modified a comment on discussion Help

    The reason is that both can have shared 1st, 2nd, and 3rd places. For example, if two bots are left on the battlefield, shoot each other, and are defeated in the same turn, both robots get first place. From your screenshot it can be seen that there are 686 + 388 = 1074 1st places, meaning that 74 were shared 1st places out of 1000 rounds. Notice that this also means that there are 74 fewer 2nd places: 314 + 612 = 926, which is equal to 1000 - 74.

  • Flemming N. Larsen Flemming N. Larsen modified a comment on discussion Help

    The reason is that both can have shared 1st, 2nd, and 3rd places. For example, if two bots are left on the battlefield, shoot each other, and are defeated in the same turn, both robots get first place. From your screenshot it can be seen that there are 686 + 388 = 1074 1st places, meaning that 74 were shared 1st places out of 1000 rounds. Notice that this also means that there are 74 fewer 2nd places: 314 + 612 = 926, which is equal to 1000 - 74.

  • Flemming N. Larsen Flemming N. Larsen posted a comment on discussion Help

    The reason is that both can have shared 1st, 2nd, and 3rd places. For example, if two bots are left on the battlefield, and shot each other and is defeated in the same turn, both robots gets a first place. From your screenshot it can be seen that there are 686 + 388 = 1074 1st places, meaning that 74 were shared 1st places out of 1000 round. And notice that this also means that there are 74 less 2nd places: 314 + 612 = 926, which is equal to 1000 - 74.

  • Dominik Ertl Dominik Ertl posted a comment on discussion Help

    Hello! After 1000 rounds the #1st and 2nd places seems to be wrong. See pic attached. for one robot it equals 1000, but the sum of 1st places for both robots is > 1000... and so the num of 2nd places is < 1000. Parameters: 2 microbots, field size 800x600 (but also happens with 2000x2000) 1000 rounds, no changes in gun cooling rate etc. what could be a reason for this behaviour? br D

  • Flemming N. Larsen Flemming N. Larsen posted a comment on discussion Open Discussion

    The java.security.manager property must be set to true which can be achieved by setting _JAVA_OPTIONS="-Djava.security.manager=allow" with the Java command when starting Robocode. With newer versions of Robocode, e.g. 1.9.5.2, you should not need to set this as this is set automatically when starting Robocode with the robocode.sh script, which calls the set_java_options.sh script, which again sets the above command. So if this is not working, I recommend you hardcode this in the robocode.sh file...

  • David Debono David Debono posted a comment on discussion Open Discussion

    Hey Flemming! I just tried installing Robocode tonight. I am on Java SE 21.0.1. I did as much debugging regarding Java's Security Manager as I could, but I'm getting an UnsupportedOperationException. Not sure what else I can do, but I would appreciate any help if you are able to offer it. I'm on MacOS Catalina 10.15.5. Thank you!

  • Flemming N. Larsen Flemming N. Larsen posted a comment on discussion Help

    Normally, you need to install the Java Developer Kit (JDK), e.g. from Oracle from here: https://www.oracle.com/java/technologies/downloads/ Follow Internet tutorial for how to install your JDK properly so you can run e.g. "javac -version" from the command line. Alternatively, reset the compiler and choose the build-in compiler, Eclipse Compiler for Java.

  • JOAO VITOR OLIVEIRA JOAO VITOR OLIVEIRA posted a comment on discussion Open Discussion

    I'm trying to compile my robot, but it gives an error and says that I don't have a working compiler, when I close the window, it says that I don't have a compiler installed, how can I solve this?

  • JOAO VITOR OLIVEIRA JOAO VITOR OLIVEIRA posted a comment on discussion Help

    I'm trying to compile my robot, but it gives an error and says that I don't have a working compiler, when I close the window, it says that I don't have a compiler installed, how can I solve this?!

  • Flemming N. Larsen Flemming N. Larsen modified a blog post

    Version 1.9.5.2

  • Flemming N. Larsen Flemming N. Larsen created a blog post

    Version 1.9.5.2

  • Flemming N. Larsen Flemming N. Larsen posted a comment on ticket #37

    I have created a new release 1.9.5.2 just now. You can download it from here: https://sourceforge.net/projects/robocode/files/robocode/1.9.5.2/robocode-1.9.5.2-setup.jar

  • Robocode Robocode released /robocode/1.9.5.2/ReadMe.md

  • Robocode Robocode released /robocode/1.9.5.2/robocode-1.9.5.2-setup.jar

  • darren darren modified a comment on ticket #37

    @fnl Thank you for your quick response. I tried with the new alfa version and it works for me, when can we get the release version of 1.9.5.2?

  • darren darren posted a comment on ticket #37

    @fnl Thank you for you quick response, I will try it.

  • Flemming N. Larsen Flemming N. Larsen modified a comment on ticket #37

    @darren I have made a fix in the RobotClassLoader that works on my system, and I should like you to try it out with an alpha version of the next version 1.9.5.2: https://robocode.sourceforge.io/files/robocode-1.9.5.2-alfa-setup.jar If it works, I will make a release soon.

  • Flemming N. Larsen Flemming N. Larsen posted a comment on ticket #37

    I have made a fix in the RobotClassLoader that works on my system, and I should like you to try it out with an alpha version of the next version 1.9.5.2: https://robocode.sourceforge.io/files/robocode-1.9.5.2-alfa-setup.jar If it works, I will make a release soon.

  • Flemming N. Larsen Flemming N. Larsen posted a comment on ticket #37

    For now, a temporary fix is to set the -DNOSECURITY=true option on the command line. That is, put this line in the java command in the robocode.bat or robocode.sh file. This disables the security manager and changes the way the classes are loaded. I still work on a real fix. But it is not an easy one, and could take some time.

  • darren darren posted a comment on ticket #37

    @fnl Thanks you, looking forward your answer.

  • Flemming N. Larsen Flemming N. Larsen posted a comment on ticket #37

    I can reproduce the problem, and trying to find a prober fix for it.

  • Flemming N. Larsen Flemming N. Larsen posted a comment on ticket #37

    OK. I will have a look and see if I can reproduce it. And if so, I will figure out how it can be solved. 👍

  • darren darren modified a comment on ticket #37

    Hi @fnl, help! The problem still there, jdk 8, could you help take a look? voidious.Diamond 1.0: Throwable: java.lang.LinkageError: loader constraint violation: when resolving method "voidious.utils.MovementPredictor.nextLocation(Lvoidious/Diamond;)Ljava/awt/geom/Point2D$Double;" the class loader (instance of net/sf/robocode/host/security/RobotClassLoader) of the current class, voidious/radar/DiamondEyes, and the class loader (instance of sun/misc/Launcher$AppClassLoader) for the method's defining...

  • darren darren posted a comment on ticket #37

    Hi @fnl, help! The problem still there, could you help take a look. voidious.Diamond 1.0: Throwable: java.lang.LinkageError: loader constraint violation: when resolving method "voidious.utils.MovementPredictor.nextLocation(Lvoidious/Diamond;)Ljava/awt/geom/Point2D$Double;" the class loader (instance of net/sf/robocode/host/security/RobotClassLoader) of the current class, voidious/radar/DiamondEyes, and the class loader (instance of sun/misc/Launcher$AppClassLoader) for the method's defining class,...

  • darren darren posted a comment on ticket #37

    Hi Flemming, Yes I packed the jar file using "Robot/Package robot or team" menu. OK, let me try with java 8, thanks!

  • Flemming N. Larsen Flemming N. Larsen posted a comment on ticket #37

    Why there are two class loader for same class? Robocode is using its own class loader due to security reasons as it needs to put security restrictions on robots running within the same JVM. Regarding the import error. Did you use the Robot/team packager of Robocode? f not, make sure to use it: Call the packager from the menu: Robot -> Package robot or team If you did use the packager, I expect this to be a problem with never versions of Java making use of modules and putting more restrictions on...

  • darren darren modified a comment on ticket #37

    Why there are two class loader for same class? (RoboCode 1.9.5.1 and java 11)

  • Flemming N. Larsen Flemming N. Larsen posted a comment on discussion Help

    Hmm.. I need more information about which version of Java (and Robocode) you are using? But you can try to use the build-in compiler by doing the following from the menu.. Select this from the menu: Robot -> Source Editor In the Source Code editor, select: Compiler -> Options -> Reset Compiler Press Yes to reset the compiler.. Click "No" to use Eclipse Compiler for Java (ECJ) Try compiling again afterwards.

  • darren darren posted a comment on ticket #37

    Why there are two class loader for same class?

  • darren darren created ticket #37

    Robot imported based on a jar file cannot run due to error: loader constraint violation

  • Alexandra Gómez Alexandra Gómez posted a comment on discussion Help

    Hi, I just installed robocode and I am testing it for the first time. I can't compile anything either Compiling Could not set up a working compiler for Robocode.

  • Adri Adri posted a comment on discussion Help

    I see you're facing challenges setting up a compiler for Robocode, and the error messages suggest issues with both the Java Compiler (javac) and the Eclipse Compiler for Java (ECJ). To address these problems and support your rigid boxes packaging business, here are some steps you can take: Ensure Java Installation: Confirm that you have the Java Development Kit (JDK) installed on your system. Robocode requires JDK instead of just the Java Runtime Environment (JRE). You can download the latest JDK...

  • Flemming N. Larsen Flemming N. Larsen posted a comment on discussion Help

    Hi Talia, You find the compiler options in the menu for the Source Code editor. First open the Source Code editor using Ctrl+E or from the menu: Robot -> Source Editor In the menu for the Soure Editor you can find the compiler option by selecting: Compiler -> Options -> Preferences. In some cases, it might help to reset the compiler options by selection: Compiler -> Options -> Reset Compiler, and follow the instructions. If you still have issues, then tell my which Robocode version and Java version...

  • Talia Talia posted a comment on discussion Help

    Good day I am having similar problems to dimag0g. Where can I find compiler options?

  • Flemming N. Larsen Flemming N. Larsen created a blog post

    Version 1.9.5.1

  • Robocode Robocode released /robocode/1.9.5.1/robocode-1.9.5.1-setup.jar

  • Robocode Robocode released /robocode/1.9.5.1/ReadMe.md

  • CHANG CHUN TE CHANG CHUN TE modified a comment on discussion Help

    I have the same problem, and i solved this. If you are using windows and java 8 to run robocode, and the file to run is robocode.bat on windows, open that, and comment out line 47 set _JAVA_OPTIONS="-Djava.security.manager=allow", please add @rem infront of it, and done, and thanks to @fnl too!

1 >