Talk:RoboRumble
Sub-pages: /Archive20130317
RoboRumble history
April 27 2005 - The RoboRumble@Home server is now moved to Pulsar's machine. See /TemporaryServerUp for the RR@H settings files to use and some more details. The only difference you should note is that the flag-less bots no longer have the Jolly Roger flag. This is temporary and will be fixed soon. Huge thanks to Pulsar for carrying the burden (reponsibility-wise) a while with this. I'll sleep tighter now when I don't need to worry if my WinXP Home PC (yes, it was hosted in such an environment before!) is awake and responsive. -- PEZ
October 28 2005 - The RoboRumble@Home server will be down for several hours for upgrades tomorrow (Saturday Octber 29). As a side effect this will solve the issues some people have with port 8080. --Pulsar
October 29 2005 - The RoboRumble@Home server is going down shortly and will be up and running again within 12hours hopefully. -- Pulsar
October 29 2005 - The RoboRumble@Home server is up and running. Updates are needed for RoboRumble@Home clients. -- Pulsar
February 18 2006 - The RoboRumble@Home server connection might experience some downtime the following hours as I will reorganize the firewall setup. --Pulsar
March 7 2006 - The firewall switch over has now finally been done, and everything seems to be working. Some people might experience a short delay until DNS records have been updated around the world (though they were and are set to a very short "time to live" to minimize this). RoboRumble@Home clients need to be restarted as Java by default caches DNS lookups. --Pulsar
- [View source↑]
- [History↑]
You cannot post new threads to this discussion page because it has been protected from new threads, or you do not currently have permission to edit.
Contents
Thread title | Replies | Last modified |
---|---|---|
Superpack | 1 | 13:56, 2 June 2013 |
Robot Count | 10 | 15:54, 16 April 2013 |
RoboRumble Rules | 12 | 20:34, 14 April 2013 |
Darkcanuck's server down | 5 | 23:52, 16 March 2013 |
Uploads for retired robots | 2 | 15:24, 16 February 2013 |
30 day battle records | 49 | 15:13, 14 February 2013 |
Darkcanuck.net down? | 3 | 00:37, 14 February 2013 |
Version 1.7.3.6? | 6 | 15:05, 15 October 2012 |
Rumble Client 1.7.3.2 vs 1.7.3.0 | 4 | 16:45, 26 June 2012 |
1.7.3.6 | 1 | 11:43, 1 May 2012 |
Use POST instead of GET for uploading rankings | 3 | 04:09, 1 April 2012 |
http://www.robocoderepository.com/ domain name expired on 03/05/2012 and is pending renewal or deletion | 6 | 16:14, 27 March 2012 |
Melee ranking ... | 17 | 18:24, 18 March 2012 |
SQL error | 1 | 19:04, 7 December 2011 |
Remove some of my battle contributions | 2 | 07:48, 23 November 2011 |
Improve RR Battle management. | 4 | 06:02, 9 September 2011 |
First page |
Previous page |
Next page |
Last page |
Could someone please explain me what the difference between the normal client (found in robocode/robocode.bat ) and the Roborumble Superpack (found at http://robowiki.net/wiki/RoboRumble/Starting_With_RoboRumble#With_the_Roborumble_Superpack ) are. Is the second one better ,faster? Everytime I try to download the superpack from the wiki I get a Dropbox 404 error ,so I downloaded it somewhere else, but after I unzipped it , I only found roborumble.sh and twinduel.sh. I have some Linux distrutions installed on my system, but I almost never use them. So where can I get a superpack for Windows? Thank you.
You can just use a normal Robocode install, then copy all of the bots from [1] into the robots directory.
I just did a head-count on the number of robots in each rumble (of only that weight class).
Which comes to this: 458 megabots 132 minibots 170 microbots 229 nanobots
I found that interesting, that there we're fewer mini and microbots then nanobots. Maybe a microbot (>250 + <750) only or minibot only (>750 + <1500) rumble would make those robots more interesting to develop.
Thats interesting indeed, the 'Do the best you can with the least possible code' paradigm is challenging to a lot of people. My vote for an extra rumble would go to 'ExtendsRobot', although I know the winner will be kawigi.robot.Girl. I am not sure if such a rumble is possible, because I don't know if it can be (automatically) detected which base class is used.
Yeah, that should be fine. And LiteRumble makes it super easy to start new rumbles. I'd also be a little interested in a perceptual rumble. I think RetroGirl would have a good chance at #1.
I noticed this a while ago.
I don't think that it's a very big deal. After all, the minirumble is for all robots that have a codesize of less than 1500 bytes, the microrumble is for all robots with a codesize less than 750 bytes, and the nanorumble is for all robots with a codesize less than 250 bytes. So, nanos and micros fit into the minirumble because, well, they are minis in the sense that they are all under 1500 bytes.
To say that minis and micros could could have their own exclusive rumbles would require different definitions of the weight classes. And, if you're going to all that trouble, you might consider more consistent brackets, like 250, 500, 1000, 2000.
While technically true they fit multiple ranges, I don't really consider nanobots to be micro or minibots, even thought they are. In my mind they are separate.
I only mention possible minibot and microbot only categories because setting them up would be relatively easy and painless. We already have all the battles for those robots done, they just need to be arranged differently. This would hopefully stimulate more interest in microbot and minibot development.
As for other rumbles. I think they would need enough interest to really justify a rumble for them. Though a Robot only one is probably a bit overdue.
It is indeed an interesting observation. Especially since I'm used to thinking of NanoBots as the fewest, since they're always calculated as a strict subset.
But I'm not sure I see the benefit of excluding smaller bots from the bigger rumbles? How would it stimulate interest? It kind of makes sense Nanos and Megas would be the most popular. If squeezing bots down to tiny sizes interests you, NanoBots are kind of the optimal version of that. If you're not, you might stick to MegaBots. I'm not sure why it's worth Wallaby losing his MiniMeleeRumble title, or LittleBlackBook not being allowed to take pride in crushing most MicroBots.
Precisely. I don't see how it would be a more interesting rumble if GlowBlowMelee wasn't beaten by a bot literally half its size.
I wasn't saying removing/replacing the current rumbles, that would be silly. I apologize if that is how it sounded.
Ah, gotcha. I'm still not sure it would change much... But I do think any kind of new competition can be a great/fun way to spur some interest. The Twin Duel was a ton of fun when a few people were actively contributing. But it's hard to gain traction, maybe since anyone who's actively Robocoding is usually already busy with a bot in one of the existing formats. And coding something for a new rule set is just harder.
Where can i find the rules for roborumble?
Or aren't there any limitation what my robot is allowed todo? (e.g. reflection, sockets, file-operations, etc.)
sorry if this is a repost. i'm new in this forum
Welcome! I don't think there are any rules like what you're looking for, except for what is allowed by Robocode itself. Reflection, network access, and general filesystem access are all disabled by Robocode's security manager, and your CPU time is limited to a few milliseconds per turn. You do have a small amount of controlled disk access - see AdvancedRobot.getDataFile. As for CPU time, if you use more than the amount Robocode calibrated for your system, your bot will skip some turns to make up for it.
Hope that helps and let us know if you still have questions.
But as for rules, anything in the spirit of the game is generally okay. That means anything that strictly uses the robocode API within the game. Anything that tries to attack the robot from outside the game is disabled, forbidden, or frowned upon. Examples of that are things like killing the enemy robot thread, or altering/reading internal robocode classes, etc.
Ah, yeah, I think the only "unwritten rule" is that people will get mad if you use multiple threads. This is an exploitable aspect of Robocode, since Robocode only tracks CPU time in the main thread, and you could theoretically steal CPU power from the opponent in your alternate threads.
In Twin Duel, disk access is disallowed despite the engine allowing it. It is written in the page there.
And the ban on multiple threads is written in a discussion page somewhere I can´t find anymore.
Those 2 are the only house rules not enforced by the engine that I can remember.
There is also a limit of 512MB heap space. You can see it in the client´s initialization scripts.
There was a great discussion on the old-wiki that started-off talking about multi-threading, but quickly digressed into deep philosophy.
It depends how different they are. If it's just an improvement on an old one, then rather remove the old one, but if it's entirely new and different then it's fine keeping the old one in. It's usually better to give it a new name as well, if you're going to do that.
Yeah, submit as many as you want, but replace previous versions. If you add DrussGT 2.9.1, remove DrussGT 2.9.0 - you can revert if 2.9.1 is worse. And it's ok to have multiple bots that share some code, even though that's kind of like "different versions".
There's no guideline that it "should be just 1". I have 5, Kawigi has 15, and Stelokim has 20.
okay thanks guys :-) i hope i am able to upload one soon... i'm not very into robocode yet but i'm making progress
Just noticed Darkcanuck's RoboRumble server is down. Anyone know how long it's been down? Without any response from him in so long, I think it's probably the right time to transition to a new server, either a LiteRumble instance or setting up Darkcanuck's code on a new server.
Skilgannon, is it worth even trying to just transition our full load to your LiteRumble instance? Or would we need to upgrade to/setup a new one in a paid tier first? I don't think robowiki.net could handle a copy of Darkcanuck's server running but I could setup a new server somewhere if that's what we want. The query API that powers @roborumble is the thing I'd miss most. Though I could hack it to just parse LiteRumble pages (the first implementation did that on Darkcanuck's).
What do you mean by "complete"? If you mean all the requests have been filled on Darkcanuck's server, the answer is no. And also no if you mean any kind of automated flag system like the participants list.
By complete I mean if all flags used in Darkcanuck's server are registered as requests in the discussion page.
It would be "incomplete" if someone asked for a flag request without using the discussion page.
Ah, ok. I think he started off with all the same flags as the old server, so some of us never requested one, and I remember one unfulfilled request on his talk page. I think the list Chase posted + any outstanding requests on that page would be sufficient to get started though.
It will be really easy for me to set up another query API, I could even just make it an argument that gets added to the regular page request and it returns in JSON or something similar.
I think we see how it handles, and if it is constantly hitting the quota. If it is, upgrading should let it expand pretty much as far as we want, although the minimum for paid tier is $2.10/week.
A lot of times, when I stop my rumble client there will be several battles completed that just stay on my machine until the next time I start my rumble client. I've always thought this was fine in the past, but if one of those battles is for a robot who is retired before the next time I start my client, it seems like when it is uploaded the retired robot reappears in the rankings. Should I be trying to avoid this? And if so, how do I clean out the stored battles before starting the rumble client?
It wouldn't hurt. I personally try and shut down my client after it has finished uploading but before the first battle has finished. So there won't be a to upload log.
I always clear out roborumble/files/* and roborumble/temp/* before starting up my client, that clears out any cached results from last time. Would be nice (and not hard) to protect against that case somehow though.
I know I can't compete with giant clusters like bwbaugh, and it's not that scientific since it depends on what bots are submitted, but in case anyone's curious.. In September, I ran my i7 with 4 clients all month to see what I could max out at for battles contributed. Best I saw in "last 30 days" was 1,269,511.
I know my client spends more time on the upload than running battles, not sure if it's due to the extra latency from South Africa or just Darkcanuck's delays. That slow upload was one of my motivations for writing Literumble.
I built a custom results uploader which uploads battle results in parallel. Up to 15 simultaneous connections (configurable) are made to the server to work around latency issues. It makes a huge difference in melee, and also helps in 1v1.
As a side effect, priority battles are downloaded in parallel, and they are grouped together before writing them in the priority battles file.
If anyone is interested I can put it in the tools page.
I think it would be better to just allow both the server and the client to upload them in bulk, rather then one at a time.
It would be a lot more efficient to have batch uploads, but the work around above at least keeps backward compatibility.
Keep in mind that the delays in uploading to Darkcanuck's server were added intentionally because the server couldn't handle the load otherwise. So it might not be a great idea to circumvent them. But I do agree that they take a lot of time and it would be great to have a system with faster up loads.
On that note, maybe we should finally accept that Darkcanuck's server is "orphaned" and we need to setup a new one where we can update country flags / give people API access and so forth.
I think the biggest problem with Darkcanuck´s server right now is the admin, Darkcanuck, not being around. If the server suddenly goes offline for any reason, no one will be there to look after it.
That might be an idea, and while we are at it we can add support for bulk transfers at least to the server. Perhaps a modified url for bulk download of robot pairings as well. This should cut off considerable time required to run the rumble, as sometimes the uploading can take as long as just running the battles.
My feelings are split on if we should use the normal rumble or the lite rumble codebase. I like the idea behind the lite rumble, but python leaves much to be desired in the area of performance.
I have never really used Java EE. But for web applications I still think that languages like PHP are best.
Java EE has features to ease web development while still allowing you to fallback to plain Java with all its features and libraries when needed.
But there are a lot more clouds supporting PHP than Java EE.
Google App Engine (where I've got LiteRumble) supports a subset of Java EE.
I'm not sure we really need any special casing of bulk uploads. The uploads already fly with LiteRumble with whatever he's doing now.
I'm also torn, as Darkcanuck's server has a pretty robust feature set and is time tested with the huge load of a real rumble server. But I don't think it would be hard for LiteRumble to gain the new stuff we want and I love how lean and flexible it is. It's also a code base someone active is familiar with. And I'm happy to pitch in for resources if we need anything to support "rumble scale".
Bulk uploads would be particularly nice for melee, because it would mean I wouldn't have to do as many database writes. But as far as upload speeds go, Literumble is way, way, way faster than Darkcanuck's server. Looking in his code, he has a 1 second wait hardcoded into each pairing upload, which is kind of ridiculous. That means that for each melee battle it takes a minute to upload once you count processing and connection overheads.
Finally a supporter!
I'll look into what would need to be done to do it later. I assume very little, since most of the system is already in place for it. But for reverse compatibility I will also see about adding an option to the roborumble configuration as well.
If you are going to change the protocol, a nice improvement would be to upload melee battle participants in a single group, so the server can keep track of full melee battles instead of pairings.
I am not sure. I would need a deeper look at the format of the results files, both for the normal rumble and for melee rumble.
The roborumble library is a bit of a mess. It also likes to use File IO. It writes and reads things a lot. I now want to fix that, but I know better then to fiddle with things beyond my (current) understanding.
It seems to upload each result individually. It then checks for an OK being returned and updates battlesnum. After it is done uploading all the results, it then sends this battlesnum to the server to update ratings. This seems like it would be better done all on the server when you upload the results.
So unless we want to get rid of that weird mechanic, I need to get the server to return a string of OK/NOT to the client so I can update this battlesnum.
Otherwise it is a simple matter of slightly restructuring the way it uploads battles.
Isn't the server which sends battlesnum back to the client? Which is deprecated with the improved priority battles list we have now.
How I think a good rumble protocol would work:
- Client requests and downloads the participants list from the wiki server.
- Client uploads participants list to rating server.
- Client uploads number of battles per iteration and downloads priority battles list from rating server. (can be done in the same request which uploads participants)
- Client downloads missing participants.
Run battles. If there is any error downloading priority battles list, fallback to random battle generation.
- Client uploads all battle results at once, keeping data structure as close as possible to how it is returned from the API. Server returns an OK or ERROR after the upload. If an ERROR occurs, keep the results for next iteration.
2 main differences are bulk uploads in the end and priority battles download in the beginning.
I am fully in favor of setting up a new rumble server, though I am fairly new to programming so I doubt I would be able to help much. Perhaps, if we are starting from scratch, we could go ahead with the Roborumble.org project that has been talked about for many years.
Would the entire ~1000 bot participants list move over to the new server, or would we start over fresh with active participants and a stable of "classic" bots that have historical/otherwise significance?
The answer to that question may decide who ends up with the #1 spot on the new rumble server. ;)
I think it´s better to keep them all. For me, as long as the server can handle, the more participants the better.
If you want a smaller rumble, we can create another division.
About who ends up #1 being affected by others below it, we will end up ressurrecting the king maker discussion started a long time ago.
The "should we make another rumble" or "should we restart the rumble" was something that has been tossed around for years. Generally the answers have been no. Mostly since there was no very good reason to do so.
Perhaps when we get obstacles into the game, we can get a new rumble going with a special arena, or urban combat robots.
Also BerryBots has obstacles in a very robust / configurable fashion, as opposed to tacked onto a game not designed for it. =)
(I think you're both on Windows, though, and it's not on Windows yet. Very soon though. I bought Windows 8 and got BerryBots running on it, but there's some more stuff to be done before releasing.)
Pretty confident that won't be a problem. I'm using MinGW, and the graphics libraries are wxWidgets and SFML, both of which are cross-platform and I'm compiling them from source too. But I'm not going out and buying any more friggin' copies of Windows =), so hopefully I can get someone to test it out.
I have Windows 7 and I am very excited about trying BerryBots.
Just out of curiosity, is 8 really as bad as they say?
I haven't really used Windows since XP, and I haven't played with 8 much yet. So far my impression is mainly that the UI has some nice little things, isn't much better or worse than XP, but definitely a lot weirder. I like that they're at least trying something different but I expected it to like it a little more than I do.
I'm turned off by Windows 8, myself. I like Windows 7, but I don't use it. I'm still using XP, primarily because copies of Windows are always about twice as expensive as I am willing to pay. I'm kind of hoping once Windows 8 is going full steam, that copies of Windows 7 might get discounted to a price I am actually willing to play.
You know what -- I make decent pay at my job, but I'm still not willing to pay what Microsoft wants for copies of Windows. I have to think that very very few people actually buy copies of Windows, if I'm not willing to. I would guess most people just use whatever comes on whatever machine they buy. I build my own computers, so that is not really an option for me. If I could get games to run under Linux, I would probably switch. Games are the only thing really holding me to Windows at this point.
Back a little closer to on topic, if there were to be a new Rumble, I would want the full list of robots in it. I probably would not participate in a combat with obstacles, just due to lack of spare time for play. If I had more time, I would get into the existing melee first.
Prompted by some interest from Chase, I posted the current in-development version of BerryBots, compiled for Windows (on Windows 8/MinGW): berrybots_wintest1.zip (~20 MB). You should be able to just unzip and run berrybots.bat. If anyone wants to test it out, I'd love to hear if/how well it works on other Windows's - I haven't tested anywhere beyond my own Windows 8 install.
One thing I'd be curious to hear is if tab navigation in the dialogs works - it's not working for me on Win8, but does on other platforms. Trying to figure out if I need to hand-code that for Windows.
I'm getting an error when I try to run on Win7: "The program can't start because libgcc_s_dw2-1.dll is missing from your computer. Try reinstalling the program to fix this problem".
Ok, much thanks for testing it out. Chase got something similar, so I guess I have some research to do. Maybe it is depending on having MinGW installed or something.
I'm able to duplicate this by removing MinGW stuff from my path. I just need to straighten out static linking and/or including the .dll's for a couple things. Hope to have another test version posted soon for anyone still willing to help.
Well, the simplest solution is apparently to just include the MinGW DLL's I depend on. I've put them here (just drop them in berrybots/), and the updated zip with them is here.
I'd rather not be distributing all these DLLs so I'm going to look into statically linking against them. But since I'm also dynamically linking to wxWidgets, which links to these, I have to switch to statically linking against that first. I guess there's also debate about how dynamic vs static vs any linking at all relates to the GPL terms, but I'm already using a more permissive license than that, anyway.
If nothing else, this whole "build a cross-platform / native desktop GUI app" has been a pretty educational experience. :-)
That is understandable. In that case it should be fine. As long as you are not using the Windows 8 only apis (which do exist!). But from the soudns of it, you're not. Since I don't think MinGW supports any of that yet.
In december I ran my i7 with one client continuously, it delivered 280k battles in 31 days. It also depends a bit on the priority battles to do, a new micro usually is faster and delivers more battles than f.e. a new XanderCat. I was proud on my 9000 battles a day, I remember the time when only David Alves could deliver more battles per month.
I can't reach it, and my GTStats just failed so the wiki can't reach it either...
Yep, down for me. I definitely saw some RoboRumble uploads time out in the last day or so, too. Hopefully it comes back, but we can always make an emergency migration to LiteRumble... =)
Down for me too. Just wanted to know against which bots GeomancyBS is better than DrussGT ;-) (and also against who GresSuffurd is better than DrussGT. Out of 970 opponents there should be at least one)
Anyone object to having Robocode 1.7.3.6 as a rumble-approved version? There have been a number of bug fixes over time, no changes I'd expect to introduce issues, and additionally 1.7.3.2 and 1.7.3.0 can't actually be downloaded from sourceforge anymore apparently.
I actually emailed Darkcanuck about this... he said he's been busy but he'll get on to this when he has time. Until 1.7.3.6 I can't really contribute to rumble as my client keeps hanging during upload - especially once all 4 clients try to upload at once.
Any update on this? I was looking to start setting up Robocode again, preferably a version that can be used for the rumble. I'm going to hold off until I know what version to use and where I can get it.
We haven't heard from Darkcanuck in quite a while, so as far as I know we're still at a max of 1.7.3.2 on his server. Skilgannon has been playing with his LiteRumble at literumble.appspot.com, and he's using 1.7.4.x, but I don't think it can handle the load we put on Darkcanuck's. Not sure how long we should wait before considering moving to a new server. We could setup a new instance of Darkcanuck's code elsewhere. (I hope everything's ok with Darkcanuck, just speaking personally.)
If someone builds a new server, I would ask to not restrict it to only a few versions (i.e. 1.7.3.0, 1.7.3.2). Doing the opposite, banning only specific versions, with the latest versions being allowed by default, would work a lot better.
If we set up a new server I have some changes which will need to be made to the melee priorities battles. The current system sends back a priority battle for each pairing, and the client just runs the first N.
Very well. I'm going to check my backups and see if I have a copy 1.7.3.2 to use. I'm pretty sure I have a copy of 1.7.3.0, but I would rather not use that version due to the bullet bug in that version (http://sourceforge.net/p/robocode/bugs/303/). But if it's all I got, I'll go ahead and use it.
Hi mates. I recently spotted some robots that might only work well under 1.7.3.2 (Wolverine, Tachikoma) and i'm not sure how to deal with it. By now the score of these bots are dependent of the contribution version and this inflicts the overall score i guess. I'm running on 1.7.3.2 and mainly contributed to MeleeRumble so i guess all my results vs those bots are ok. On the other hand KID_RINZLER (the new main contributor, great job btw.) is running 1.7.3.0 and now these bots get worse. So the overall ranking now depends a little on how many games vs those bots my client (MN as well) picks and i'm quite unhappy with it. What do you think is the best way to handle this. I guess the best solution would be to change the RumbleServer to 1.7.3.6 but until Darkcanuck find the time to do this could we maybe think of a quick fix somehow.
Take Care
The quick fix would be making bots compatible with Robocode 1.7.3.0 and Java 1.5.
Usually, bots which are incompatible with the official versions in the rumble are removed from the participants list.
I dont think the rules are 1.7.3.0 only. Or did i miss something? Otherwise this would be a big surprise to me because i build my bots on 1.7.3.6 and have no idea what methods 1.7.3.0 supports and what not.
It seems very strange, especially considering Wolverine is an ancient bot. There should be no rule or API changes between those versions. If those bots are unstable, I guess I'd vote to remove them, at least temporarily until we can figure out what's up.
For some open source bots like SilverSurfer, people have fixed issues introduced by new versions of Robocode and posted the fix to the rumble, which is a cool solution when possible.
Wolverine is open source and he uses get...Events() to utilize his bot instead of overloaded eventMethods. My guess is, this is the issue somewhere between the versions. I only can say that every result uploaded by an 1.7.3.2 client leads to good behavior and 1.7.3.0 leads to "sitting duck" the bot.
Its up to you Voidious to remove the bots, i think it concerns you the most. Because Diamond would jump up and down his rankings. I personally don't care that much for now - they are not my weight class.
Hi darkcanuck Can you add 1.7.3.6 to the list of allowable upload clients? It's fixed a bug with upload timeouts so that they don't hang the rumble client, which has been holding me back from uploading at home.
Thank you!
Hi Skilgannon. You can take the 1.7.3.6 copy of "../libs/roborumble.jar" and copy it to your 1.7.3.[0|2] version. There you have the new rumble client with the fixed timeout.
Edit: Ahh i think i missread the question. You probably know that already.
I would also like to see 1.7.3.6 as new upload client.
Some slight modification will need to be made to both the server and the client. But the only excuse I can really think against it is that 'it works as is'. But post is faster, and not really hard to do on either side.
How to use post on the serverside.
<?php
$postTotal = $_POST['total'];
for($i=0;$i<$postTotal;$i++) {
handleUpload($_POST['r'.$i]);
}
?>
Wooo done, barring some parsing that should be already written.
How to use post in Java
public static final String sendPostAndGetReply(final URL url, final String post) throws IOException {
URLConnection conn = url.openConnection();
conn.setDoInput(true);
conn.setDoOutput(true);
conn.setUseCaches(false);
conn.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
DataOutputStream out = new DataOutputStream(conn.getOutputStream());
out.writeBytes(post);
out.flush();
out.close();
//IOToolkit.getAndClose just gets all the bytes from a stream then closes it
return new String(IOToolkit.getAndClose(conn.getInputStream()),"UTF-8");
}
Barring some encoding which is also already done.
I know the encoded string looks something like this, except URL encoded.
- roborumble,1,800x800,Chase,1326909734701,SERVER;cs.pm.Pytko 1.1,119,49,1;cs.ExclusionNano 1.1,19,19,0
Practically, is this going to make any difference? I think the slowest part of processing a result is by far the database activity. "It works as is" is a pretty good reason up against virtually no impact. :-)
Also, I did some quick Googling to see how much faster it is, and it seems like everyone says they're the same or GET is faster.
(If we are going to change the protocol, maybe we should go with SPDY. ;) jk)
I remember POST already being used for uploads the last time I checked the client code. And the main difference between GET and POST is not raw performance, but how proxy servers deal with them. GET is usually cached while POST isn´t.
To increase upload speed, batch uploads (everything in a single request) and batch inserts in the database (everything in a single commit) would do a better job.
http://www.robocoderepository.com/ domain name expired on 03/05/2012 and is pending renewal or deletion
My RR-client cannot download some robots:
Iteration number 0 Downloading rating files ... Downloading participants list ... Downloading missing bots ... java.util.zip.ZipException: error in opening zip file Downloaded file is wrong or corrupted:com.cohesiva.robocode.ManOwaR_1.0.jar Could not download com.cohesiva.robocode.ManOwaR_1.0.jar java.util.zip.ZipException: error in opening zip file Downloaded file is wrong or corrupted:FatalFlaw.FatalFlaw_1.0.5.jar Could not download FatalFlaw.FatalFlaw_1.0.5.jar Downloaded lxx.Tomcat 3.57 into ./robots/lxx.Tomcat_3.57.jar java.util.zip.ZipException: error in opening zip file Downloaded file is wrong or corrupted:SFS.SamsSecondRobot_1.0.jar Could not download SFS.SamsSecondRobot_1.0.jar java.util.zip.ZipException: error in opening zip file Downloaded file is wrong or corrupted:sp.Megas.AGravitatorExcel_1.0.jar Could not download sp.Megas.AGravitatorExcel_1.0.jar java.util.zip.ZipException: error in opening zip file Downloaded file is wrong or corrupted:sp.Megas.AGravitatorExcel_1.4.jar Could not download sp.Megas.AGravitatorExcel_1.4.jar java.util.zip.ZipException: error in opening zip file Downloaded file is wrong or corrupted:sp.Megas.Trident_1.0.jar Could not download sp.Megas.Trident_1.0.jar java.util.zip.ZipException: error in opening zip file Downloaded file is wrong or corrupted:sp.Micros.LCreeper_1.0.jar Could not download sp.Micros.LCreeper_1.0.jar java.util.zip.ZipException: error in opening zip file Downloaded file is wrong or corrupted:sp.Micros.LExtermination_1.0.jar Could not download sp.Micros.LExtermination_1.0.jar java.util.zip.ZipException: error in opening zip file Downloaded file is wrong or corrupted:sp.Minis.LNightHawk_1.2.jar Could not download sp.Minis.LNightHawk_1.2.jar java.util.zip.ZipException: error in opening zip file Downloaded file is wrong or corrupted:sp.Nanos.CopyMachine_1.0.jar Could not download sp.Nanos.CopyMachine_1.0.jar Removing old participants from server ... Removing entry ... lxx.Tomcat_3.56 from roborumble OK. Removed bot lxx.Tomcat 3.56 Preparing battles list using smart battles...Prioritary battles file not found . .. Executing battles ...
Can anyone share this robots? Or, maybe, we should remove them?
I updated the robots database pack in the Starting With RoboRumble page. It was after robocoderepository went down, and was complete at the time.
Do we have access to the last sources and data somehow? If so, i could try to set up a temporary repository on my server.
I think the repository need a major rewrite anyway. (Even the redirect has serious bug that prevent it from working in some browser. It returns non-standard HTTP header [302 Temporarily Redirect]). The data could be re-uploaded from RoboRubmble Starter kit.
As for the source code, it seems that neither of us has hold of it.
Well, rewrite would be a little to much for me by now. I wrote an email to the repository maker once but didn't get an response (probably to dated) but i'm sure one of the veterans have a current email address of him.
What do you mean with the data could be re-uploaded from Roborumble starter kit? Do ypu mean the current robots who are registered at the competitions? Not every robot package includes the sources, most of the old robots had his sources published over the repository. And it would be a great pitty to loose the comments of the authors as well.
Has someone an idear how to handle this issue?
The RoboRumble starter kit is enough to keep RoboRumble alive for now.
But contacting the Robocode Repository admin somehow would be best. So we could recover all that robot archive and mirror it somewhere else.
Hi mates... (sorry for my bad english) Can i suggest a discussion about the melee ranking in mini, micro, nano weight? Maybe i don't fully understand how the ranking is working, please correct me if i'm wrong.
To me it looks like, that the lower weight classes are influenced by the battles against the higher weights. Lets say we have a nano bot who is specialized on close combat. Against the own class bots it could survive very well because the other bots are also limited and you can put more code in the gun than the movement. If it now comes to pairings against the, lets say mega bots, it has to die very quickly because it goes still close to the enemy (not the best idear against a heavy gun). This is just an example. What it shows, is that you have to deal with the mega bots and there is only one option - improve the avoid movement. If you improve the movement you have no codesize left for a competitive gun against your own class and so on. I think the current ranking system fafors the movement more than it should. One more point is that the current ranking favors mega weight (more bots) and so you get way more battles where you are paired against bots of other classes (it looks like 3:1 battles against higher classes). My suggest is to make the weight classes indepentend. I think you can still be paired against the higher classes but it shoul'nd count for your current class if there is another bot of your class within this pairing.
I hope it is clear what i meant and you should see what i want to say. My english writing isn't that good and i wished i could explain it a little more ... but well you know:)
Wompi
You want nanobot rankings to use battles with nanobots only.
I think it is not being done mostly because of historical reasons. 10 years ago there was barely enough CPU to process a single melee league, much less 4 independent melee leagues.
Today it might be viable. But the client needs to be modified and the melee rankings in the server needs a reset.
Yes this is what i want. Aswell mini and micro. Hmm are you sure about the historical reasons? Because the single bot weight classes are independent as far as i can see this. My thought was that the battle pairing script isn't capable of matching the bots on weight classes for melee.
I'm not sure if the client has to be changed, would'nt it be the same logic just with other battle pairings? I mean if the client is ready to run shuffled melee it should be ready to run weight class battles just as good. I think there might be some work on server side to bring the right battlepairings up, but i could be wrong. About the reset of the current ranking results, well i have'nt thougt about this. I'm not sure how big the influence would be on the current results. On the other hand, maybe a reset brings back some vets to work on there bots again - who knows.
All in all i really would like to see a ranking by classes. I find it very educational to start with the lower classes, because there is plenty to learn from.
Sidenote: MN can you do something with your mn.SuperSittingDuck 1.0 it says on both (1.7.3.0 and 1.7.3.2) clients that i cannot handle this bot. It is something around version minor/major. (not quit sure i can recheck this if you want) ... no offense. It would just be nice.
Did someone find a bug in my single-line-of-code bot?
That bot was generated with the internal Robocode IDE. The only causes I can think of are Java 1.5 incompatibility, or corrupted downloads.
Todays download (1.7.3.4 client) .. rebuild database Got an error with mn.SuperSittingDuck: java.lang.ClassNotFoundException: mn/SuperSittingDuck : Unsupported major.minor version 51.0
I think there are quite a few bots compiled with Java 6. Any chance you can upgrade? Java 5's pretty old. Even us Mac users have Java 6 now. =)
Hmmm .... i got:
Terminal: java -version java version "1.6.0_29" Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-10M3527) Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)
Robocode About: Running on Java 1.6.0_29 (64-bit) by Apple Inc.
So i'm almost half sure :) that i'm runing on 1.6 ... i will recheck this. And SuperSittingDuck is the only bot who gives me this exception.
Edit: looks like you used 1.7 ... according to wiki - class version 51 is 1.7.
One thing to be clear about: while a battle containing MegaBots is not ignored in the NanoBot rankings, only the relative score of two NanoBots in that battle is contributed to NanoMeleeRumble. If NanoBot A gets 9th with 500 points and NanoBot B gets 10th with 300 points, what's logged to the NanoMeleeRumble is A winning over B with 62.5%. NanoBots that do particularly well or poorly against MegaBots will still have their rumble score impacted by how many NanoBot-only battles they get, though.
Since most bots in a weight class have similar weaknesses against bigger bots, I don't think it's having a huge effect, but it isn't zero either. I've seen MicroBots have their MicroMeleeRumble score change by maybe 0.5 APS from the time they have 2000 Mega-battles to the time they have 2000 Micro-battles.
I agree counting only all-NanoBot battles for NanoMeleeRumble would be better, and that the CPU load is probably not a huge issue. (Non-MegaBots tend to be so much faster, Melee rumbles have less activity than 1v1, and our CPUs have gotten much faster, too.) I think the biggest hurdle is how much work it would take to implement vs how much it would really change scores. I think it would require client changes, too, because the client is what decides which pairing data gets uploaded to which rumble.
Those 2000 Micro-battles all have megabots in them.
In a nanobot only league, nanobots will be killed by other nanobots. Simple targeting against simple movement. It might completely change survival scores and rankings. If you watch a samplebot only melee battle, Walls usually survives last. Add a single megabot and Crazy tends to survive longer. (flatter movement profiles tends to be ignored by top bots in melee)
I could volunteer to update the client, although there are other things in the rumble bothering me more, like slow client uploads. I would prefer to fix those first.
What do you mean? As far as I know, it works like this:
- MegaBot battles until 2000 battles in MeleeRumble.
- Battles against lowest weight class bots only until 2000 battles in lowest weight class.
It used to go MiniBots until 2k in MiniMeleeRumble, then Micros, then Nanos, but it was changed to result in less overall battles for Nanos/Micros, since they're already getting so many extra before they've stabilized in every weight class.
Currently, all melee battles mix all weight classes.
All bots battles until there are 2000 battles in megabot ranking. 2000 is the sum of all pairings against nanobots to megabots.
But in nanobot rankings the sum of all nanobot pairings is still lower than 2000. Then all bots battles until there are 2000 battles in nanobot rankings. Which means the sum of all nanobot pairings is 2000, but all those battles in nanorumble still include megabots.
Almost no battles have 10 nanobots. A battle with 2 nanobots and 8 megabots also counts for nanorumble. And those 8 megabots affect the APS between the 2 nanos. Those 2 will be crushed before having the chance to interact with each other, the nano with worse movement profile being crushed first.
I was very strongly under the impression "but all those battles in nanorumble still include megabots" is not the way it is. Yes, the battles from when megabots are getting to 2000 score *are* still counted, but new battles made specially for the smaller league only include smaller league bots. At very least, that's how it used to be I believe.
Really? Definitely not how it used to work, and sounds like it could even be a bug in the client. Maybe Darkcanuck can comment.
I had a look at the client source and to me it looks that the battle generator works a little bit different. As allways i might be wrong with that but to me it looks that the client pairs allways first the bots out of the "prioritymelee.txt" (send by the server) against the whole competition. If the server sends no priority file (does that ever happen?) the client checks the bots current battles against the BATTLESPERBOT property. The client checks this property from top down GENERAL,MINI,MICRO,NANO. If you have the standard property of 2000 battles this means by the way you come to the nano class you have 2000 general (all bots) 2000 mini (mini,micro,nano) and so on battles until you reach your own class weight. Til then it it is very possible that you have the 2000 battles reached in your own class and you never come against your own class only. You can recheck this by having a look at the "PrepareBattles.java" class.
Beside the battlegeneration i still find there is another reason while we should think about weight class only competitions. Voidious stated above with his example of bot A and bot B only the relation between this two bots. But if you take all bots of your weight class into account you see that bot a might be better in this particular battle and might be the best bot in his class. But if bot B has an overall better movement he will sum up scorepoints against all weaker bots of his class and so in the end he will be better than A. Maybe the example is'nt so good but i would just show that you have to look on the influence on the whole weight class. If a bot has a stronger movement it is most likely that he will gain an overall more score than one bot with a weaker movement but a strong class releated gun. Moreover, how the client picks the opponents is very random and it can be that bot B allways (or at least more) become weaker mega bots then bot A and this can generate another influence on the overall scoring.
Please feel free to correct me if i'm wrong. I'm still very new to robocode/roborumble and it might be this lack of experience that took me the wrong way.
Slow upload isn't client problem; it's the server. I believe darkcanuck is throttling the upload on the server because the server can't handle the load,
Although if we do this we should clear all the battle data from nano/micro/minimeleerumble, too.
Its how the protocol works which slows down uploads. According to Bwbaugh, the server can handle about 30 clients. Or can handle 30 times what a single client uploads.
The ideal would be to adapt the protocol for batch uploads, but it is also possible to achieve a similar speed up changing the client alone.
Faster uploads would benefit all leagues, melee leagues even more, since a single melee battle generates about 45 to 180 pairings.
Hi mates.. I had today another closer look at the meleeranking and it turned out there is a kind of a bug in the prepare battle behaivior. The client, as i somewhat above stated, takes allways the "prioritymelee.txt" entrys first and then pairs it against the whole competition field. The prioritymelee file contains single competition bots as well what is not much of a problem because these bots will be filtered and the pairing will be rejected. On the other hand, there are alot of bots who take place in both competitions. This has an influence on the meleebattle generation.
Example: Bot A registers for melee and single competition. The server sends from now all priority pairings for this bot. Now, everytime the server sends a priority pairing for A and B (aswell registered for both - melee/single ) it comes to a meleebattle generation against the whole meleefield. Despite the fact that there are alot of bots registered for both competitions it is almost impossible for bot A to get ever a battle against his own class only, atleast until the single competition pairings are finished.
With this in mind you can see the melee compatition as one big competition only. Bots who are registered for melee only have a slight advantage over her classmates :) because they get more class specific battles if they reach the BATTLESPERBOT property.
Maybe someone can recheck this and if it works like this, maybe we can discuss how we could give the melee rumble a makeover.
Take care
Getting this error when I try to access any of the rankings: ERROR: connection failed to server localhost user rumbleuser-darkcanuck (mysql error: Access denied for user 'rumbleuser-darkcanuck'@'localhost' (using password: YES)).
It seems a recent backup restore may have selectively reverted my robocode roborumble config file, dramatically decreasing the cpu constant I use in my rumble configuration. Since I run many concurrently this `could have had` considerable negative rating for some robots.
So I ask you remove my contribs from the 15th onward. I apologize for not noticing this sooner.
Have the server run the main rumble against robots like it does now, with the following addition.
First give option of running a random battles a lower chance (say 20% to 40% area).
After it has gotten the most critical robots stabilized (current behavior).
Find the pairing that has the lowest number of battles run, and run that. If there is a tie, run the robot that has the lowest number of battles. If there is a tie of that, just use the first one that comes up in the query (less server work then random).
That way even old robots with tons of battles are still considered for more battles and it helps overall stabilization.
The optimal criteria for prioritizing battles depends on the ranking system, although aiming for equal number of battles per pairing works well for most systems. Old robots with tons of battles are still considered whenever a new competitor enters the rumble.
Old robots don´t really need more battles on old pairings except with incremental Elo rating system. Incremental Elo works better with random pairings (equal frequency instead of equal quantity).
Not old battles on old pairings. But rather battles on low number of battles for a pairing. Even if a robot has hundreds of thousands of battles. Those battles were selected randomly before, meaning there may be pairings that only have 2 or 3 battles (possibly, I cannot name any, but it is within the realm of possibility). Which is why I stated select those pairings that have low number of battles, regardless of number of battles the given robot has.
That's how the current system already works: it seeks out pairings with low battle counts, regardless of either bot's total battle count. The tie-breaking you've proposed is unecessary, although perhaps the random % could be reduced. Try finding a pairing with less than 7 battles now; before the change it was common for ancient bots to have some 2- or 3-battle pairings, now they're extinct.
First page |
Previous page |
Next page |
Last page |