User talk:AWOL

From Robowiki
Jump to navigation Jump to search

Welcome!

Hello, AWOL, and welcome to RoboWiki! This place contains a wealth information about Robocode, from basic to more advanced. I hope you enjoy creating robots and being a robocoder!

If you are posting a comment on this wiki, please sign your messages using four tildes (--~~~~); this will automatically insert your username and the date stamp. If you are not familiar with MediaWiki, these links might help you out:

If you need help, check out the frequently asked questions or ask it on this page. Again, welcome!

—— Nat Pavasant 12:04, 17 September 2010 (UTC)

Welcome to RoboWiki! Good luck with your robot. --Nat Pavasant 12:04, 17 September 2010 (UTC)

Welcome! Don't be frightened that you can't compete yet with the top-bots. Only a few gifted ones enter high in the ranking. Most of us started rather low and rise as they get the hang of this 'game'. --GrubbmGait 18:30, 17 September 2010 (UTC)

Haha, hey, thanks for the welcome party guys. Maybe someone can point me to a few bots useful for testing targeting and dodging? Thanks :D For now, I think I'll just make some random bots to mess around with the more 'advanced' methods and things, like making accurate Point2Ds and pointing the gun at them, and Painting methods and saving data. By the way, for some reason the application codesize.jar just doesn't work. I copied what the website says you can do with it, but I always get 'Unable to find codesize.jar' or something like that. Have any ideas on how to make it work? I'm just curious how large OMT_HO is, thanks :) --AWOL 20:25, 17 September 2010 (UTC)

Hello, Robocoders. I've got a new question: I saw a robot a long time ago that had multiple files and could use them accordingly, ex. Movement.java, CircleGun.java, SuperGun.java, MeleeMovement.java, etc., and it would use them all to great effect. What I want to know is, how do you do that? I can't find the bot again, but I definitely want to know how it did that. Thanks. --AWOL 19:45, 14 June 2011 (UTC)

If you have multiple java files in one folder, I think javac will automatically link them when compiling. As far as I know, most megabots make use of this. If you are wondering how to separate parts of your robot into different files, you could try looking at an open source megabot, for example Diamond. You can import the source into eclipse using file -> import : archive file. Enter the path to the Diamond jar and it will create the necessary folders for you. Of course Diamond is pretty complicated, but hopefully you can understand how you could write a gun that is in a separate file. Does anyone know of a simpler but easy to read bot for an example.--AW 20:16, 14 June 2011 (UTC)

Well, there's nothing Robocode-specific about how this works, so you may be better served by searching for general Java info about how classes / files / packages / imports all relate. That said, CassiusClay, Chalk, or GresSuffurd are cleanly coded MegaBots on the smaller side, so might make easier examples. Is there a specific issue you're running into? (Like maybe this is really a Robocode editor question...) --Voidious 20:39, 14 June 2011 (UTC)

There are no threads on this page yet.