Re: Adding robots .jar file to /robocode/robots does not add robot to list
Fu Yong Quah <[email protected]> Wed, 23 Nov 2016 09:32:55 +0000
| Newsgroups | gmane.comp.java.robocode |
|---|---|
| Message-ID | <CA++qu_GhoFN5vfOQVObRcf60QTGQnwxF2kG4ZEOi+sPL_MpSeQ@mail.gmail.com> |
That solves the problem - I can now access the robot if I use it from the robocode interface. However, I still can't access it programmatically using robocodeengine, unless I put my class file in the robots/sample directory (which means my robot has to fall under the sample package). Is there anyway to get around this? On Nov 20, 2016 8:42 PM, "fnl" <[email protected]> wrote: > Did you use the robot packager in Robocode or create the package on your > own? You need to package your robot with Robocode (Robot -> Package robot > or team), as it will create various .properties files inside the .jar > archive. > > If you did package your robot using Robocode, then try the clean the robot > cache using Options -> Clean robot cache. > > Cheers, > - Flemming > > I have created a robot and packaged it as a .jar file. I moved the .jar >> file into /robocode/robots , but on running robocode, my robot doens't show >> up in the list of robots. How would I make it work? >> >> I am on Ubuntu Linux LTS 14.04 >> > -- You received this message because you are subscribed to the Google Groups "robocode" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.