Menu

I cannot find my robot

Help
Long
2019-04-14
2019-04-16
  • Long

    Long - 2019-04-14

    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
    • Flemming N. Larsen

      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,

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

      Please help me, Thanks

      I cannot find my robot
      https://sourceforge.net/p/robocode/discussion/116459/thread/42c9c3d5cd/?limit=25#8004


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/robocode/discussion/116459/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       
  • Long

    Long - 2019-04-14

    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

     
  • Long

    Long - 2019-04-14

    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

     
  • Long

    Long - 2019-04-14

    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

     

Log in to post a comment.