Thread history
Viewing a history listing
Time | User | Activity | Comment |
---|---|---|---|
20:29, 30 September 2012 | Voidious (talk | contribs) | New reply created | (Reply to Support for team battles) |
19:59, 30 September 2012 | Voidious (talk | contribs) | New reply created | (Reply to Support for team battles) |
19:29, 30 September 2012 | Voidious (talk | contribs) | New reply created | (Reply to Support for team battles) |
19:10, 30 September 2012 | Voidious (talk | contribs) | New reply created | (Reply to Support for team battles) |
18:59, 30 September 2012 | MN (talk | contribs) | New thread created |
Does RoboRunner support team battles (1200x1200 battlefield)? Or does it support custom battlefield sizes?
Trying RoboResearch I noticed battlefield sizes are hard-coded at 800x600 or 1000x1000, and there is no place to configure battlefield sizes in .rrc files.
Yep, both work fine. To modify battle field size, just add width and height on their own lines after the "num rounds" line in the challenge file. And if your team JARs are in the bots/ dir, just specify them like you would a bot in the challenge file. So e.g.:
My Teams Test Bed PERCENT_SCORE 35 1200 1200 abc.ShadowTeam 3.83 gimp.GimpTeam 0.1
Ouch, I may have spoken too soon. I'm seeing an exception when I try to run a team battle right now. I'll try and see if I can figure that out, I don't think I needed to do anything special originally to support teams.
Ok, figured it out. Turns out Robocode is a bit confused between getRobotNameAndVersion() vs getTeamLeaderName() in results of a team battle. So I need to use getTeamLeaderName() instead (and for non-teams they return the same). I'll post a fix now.