Note for you, Horizon Component System broke in 1.7. It cannot perform a radar lock so it can't dodge/fire effectively. Try robocode 1.6.0 or 1.6.1 and let see can you get score at this rate high? » Nat | Talk » 02:28, 13 March 2009 (UTC)
Shoot, 1.6.1 doesn't work on my computer. Strange...Awesomeness 02:52, 13 March 2009 (UTC)
Welcome to the wiki indeed! About Horizon, maybe Horizon is fixed as of 1.7.1 Beta2? I haven't tested 1.7.1 Beta2 yet. And Nat, any reason you haven't made a bug report for it or is it the same bug as one already reported? --Rednaxela 03:21, 13 March 2009 (UTC)
- I haven't download the 1.7beta2 yet. But, about bug report, I completely forget! Thanks for remind. I think there isn't anyone know this except me. » Nat | Talk » 11:25, 13 March 2009 (UTC)
Um... I do have one problem. Whenever I try to use things such as GF targeting, Surfing, etc. The tutorials never use the methods properly or something. It gives a can't find symbol error for every custom method in the code. =/ -- Awesomeness
Er, what method are you using to compile it? The tutorials are using methods just fine. --Rednaxela 03:45, 13 March 2009 (UTC)
The compiler ALWAYS gives me errors unless I set it to "-classpath /Users/student/Documents/Robocode/libs/robocode.jar". Maybe that's cuz I use a mac. Awesomeness 14:36, 13 March 2009 (UTC)
Er, you always need to include the classpath if you're compiling from the command line normally. It has nothing to do with using a mac. The only way to go without it is either by including it in the CLASSPATH environment variable, or using an IDE like Eclipse --Rednaxela 17:16, 13 March 2009 (UTC)
I'm not using a terminal to compile, I'm just changing the compiler settings for the classpath. I really need GF or PM targeting for my bot! =( Awesomeness 19:01, 13 March 2009 (UTC)
So what are you using? The editor/compiler built into Robocode? It should work straight out the box... --Skilgannon 19:25, 13 March 2009 (UTC)
I use the Javac thingy, not Jikes. It doesn't matter which I use, I'm pretty sure, I seem to get the same output for them no matter which compiler I use. Same errors with the default classpath.
NEVERMIND!!! YEEEAAAHHH! I got GuessFactor targeting to work perfectly! And with my already good movement strategy, it's awesome! I'm so proud of myself because I thought up this movement concept myself, and I checked, no one else uses it! It's a truly original strategy! I think...
Umm... I just had a thought... If two robots battle each other and use static variables with the same name(s), will the robots mess up? --Awesomeness
Nope, they won't. Robocode loads each robot with a seperate classloader, which makes it so individual robots in battle keep completely seperated static data. --Rednaxela 02:23, 14 March 2009 (UTC)
Okay. Can someone take a look at my page, Fission? I need help making it into a jar.
For Elite: Have you try just 35 rounds? Many of nanobot's pattern matcher get stuck exactly after round 35... And I think I look correct, but
Hmm... You're right. Either way, I easily beat the 29th bot so I'm happy =D
Hi, good luck for the rumble! If you have any questions about nanos, I'm a nano-freak. ;) Looking for strong nano-dodgers try the Neophyte series, Freddie, Mosquito series, AceSurf, Acero, RaikoNano. --HUNRobar 20:54, 18 March 2009 (UTC)
- I think the strong of Neophyte is not for movement, at least not a dodge, but it come from its distance control (180px) and good gun. That why PRAL and SRAL perform so good per LT. » Nat | Talk » 03:29, 19 March 2009 (UTC)
Ok, this is kind of unrelated, but all you guys here are experts at trigonometry,and although I go to a VERY advanced school, I'm only 13, and I have a limited understanding. I am making a java application totally unrelated to Robocode. Say I have this scenario:
I've made a dot that moves around with the arrow keys, but I want another dot to follow it. I've made the first dot move according to the arrow keys, and I could make the follower dot's movement simple, but I want it to move DIRECTLY towards the arrow key mover dot. To do this I need two things:
-A method returning a double and taking parameters x, y, x2, and y2 giving the angle in radians between them in comparison to vertical. For example, if x and y are 0, 0 and x1 and y2 are 2, 2, then the angle you'd get is 2.35619449, or 135 degrees in radians.
-A way to get the change in x and y when given an angle. It returns x and y and takes a double called angle. For example, if the angle was 90 degrees, (in radians, though, of course) then it would return 1, 0, if it was 180 degrees, it'd return 0, 1, and if it was 270 degrees it'd be -1, 0.