Try to change the compiler options in Robocode from "-version" into:
-encoding UTF-8
... and recompile your robot.
if this does not work, then try and recompile your robot:
-g -encoding UTF-8
if this does not work, then finally try:
-deprecation -g -encoding UTF-8
Please tell me if it works. If it does, then tell me exactly what worked.
Then I will update Robocode to use those options because lots of other
people experience the same issue.
Best regards,
Flemming
Den søn. 14. apr. 2019 kl. 09.05 skrev Long <louiema9@users.sourceforge.net
:
First, I'm not good at English so I'm sorry if you cannot understand, but
please help me
I'm a student and I need to make a robot to fight against my teacher robot.
I have made a robot and complied succesfully but when I try to test my
robot in a battle. I can't find it.
I'm using Robocode source editor to build my robot.
In my package, It already has my robot java file and class file.
I have also dowload my teacher robot to test and I can find my teacher
robot in the list but I can't find mine.
O wait, I try to just put my teacher robot in the battle and fight. No robot show up and the result show there are no robot fighting. And then I cannot find my teacher robot in the list again. I try to use sample robot to fight and it work well.
Sorry for my poor language
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
First, I'm not good at English so I'm sorry if you cannot understand, but please help me
I'm a student and I need to make a robot to fight against my teacher robot.
I have made a robot and complied succesfully but when I try to test my robot in a battle. I can't find it.
I'm using Robocode source editor to build my robot.
In my package, It already has my robot java file and class file.
I have also download my teacher robot to test and I can find my teacher robot in the list but I can't find mine.
Please help me, Thanks
Last edit: Long 2019-04-14
Hi Long,
Try to change the compiler options in Robocode from "-version" into:
-encoding UTF-8
... and recompile your robot.
if this does not work, then try and recompile your robot:
-g -encoding UTF-8
if this does not work, then finally try:
-deprecation -g -encoding UTF-8
Please tell me if it works. If it does, then tell me exactly what worked.
Then I will update Robocode to use those options because lots of other
people experience the same issue.
Best regards,
Den søn. 14. apr. 2019 kl. 09.05 skrev Long <louiema9@users.sourceforge.net
Thanks for reply!
I changed the compiler options with that three code and recompile but it still not work.
I only find my teacher robot is the list. I'm using Win10 and using jdk-12, jre1.8.0_201
O wait, I try to just put my teacher robot in the battle and fight. No robot show up and the result show there are no robot fighting. And then I cannot find my teacher robot in the list again. I try to use sample robot to fight and it work well.
Sorry for my poor language
I think I had found the problem.
It is because my jdk didn't match my jre which mean my version didn't match in javac.
Very Stupid isn't it? but thanks for helping me
Thank you for following up on this issue. :-)
It is beneficial for other Robocoders as well, as lots of people have
problems with this currently.
Cheers,
Den søn. 14. apr. 2019 kl. 19.13 skrev Long <louiema9@users.sourceforge.net