Difference between revisions of "RoboRumble/Contributing to RoboRumble"
Lestofante (talk | contribs) (layout update and little change) |
|||
Line 1: | Line 1: | ||
{{:RoboRumble/Navigation}} | {{:RoboRumble/Navigation}} | ||
− | <b>To collaborate with RR@H</b> | + | == <b>To collaborate with RR@H</b> == |
If you entered a bot into the competition, you could consider to collaborate running the competition by using your computer to execute battles and upload results (similar to Seti@home project). The process is fully automated, so there is no pain on doing it. | If you entered a bot into the competition, you could consider to collaborate running the competition by using your computer to execute battles and upload results (similar to Seti@home project). The process is fully automated, so there is no pain on doing it. | ||
Line 12: | Line 12: | ||
# Run it as much time as you can. The more you run it, the more you contribute. It is fully automated, so you don't have to care at all. | # Run it as much time as you can. The more you run it, the more you contribute. It is fully automated, so you don't have to care at all. | ||
# If you find problems, refer to RoboRumble related pages, or post your issue and we will try to solve it. | # If you find problems, refer to RoboRumble related pages, or post your issue and we will try to solve it. | ||
− | + | ||
− | To get a reasonably up-to-date set of robots for the rumble to start with, grab the following zip file and | + | === Get robot database === |
+ | To get a reasonably up-to-date set of robots for the rumble to start with, grab the following zip file and extract the .jar file to your RR@H robots directory: | ||
+ | |||
+ | ==== 1vs1 database ==== | ||
+ | get the 300 updates since ? till 20041017: | ||
* http://robowiki.net/robocode/rrath_participants.zip | * http://robowiki.net/robocode/rrath_participants.zip | ||
− | * http://www.krillrfiles.com/robocode/rrath_participants.zip | + | * http://www.krillrfiles.com/robocode/rrath_participants.zip <-- not working |
And get the 308 updates since 20041017 till 20070929: | And get the 308 updates since 20041017 till 20070929: | ||
* http://home.versatel.nl/gheijenk/robocode/things/rrath_add_20070929.zip | * http://home.versatel.nl/gheijenk/robocode/things/rrath_add_20070929.zip | ||
Line 21: | Line 25: | ||
* http://home.versatel.nl/gheijenk/robocode/things/rrath_add_20080711.zip | * http://home.versatel.nl/gheijenk/robocode/things/rrath_add_20080711.zip | ||
− | + | ==== Melee database ==== | |
* http://home.versatel.nl/gheijenk/robocode/things/ParticipantsMelee_20080726.zip | * http://home.versatel.nl/gheijenk/robocode/things/ParticipantsMelee_20080726.zip | ||
− | + | ==== Team database ==== | |
* http://home.versatel.nl/gheijenk/robocode/things/ParticipantsTeam_20080726.zip | * http://home.versatel.nl/gheijenk/robocode/things/ParticipantsTeam_20080726.zip | ||
− | + | == Problem reporting == | |
Issues on starting off with RoboRumble can be discussed on the [[Talk:RoboRumble/Starting With RoboRumble|talk page]].<br> | Issues on starting off with RoboRumble can be discussed on the [[Talk:RoboRumble/Starting With RoboRumble|talk page]].<br> | ||
Old issues are archived at [[RoboRumble/StartingWithRoboRumbleOld]]. | Old issues are archived at [[RoboRumble/StartingWithRoboRumbleOld]]. | ||
− | |||
− | |||
== Useful options in roborumble.txt == | == Useful options in roborumble.txt == | ||
Line 39: | Line 41: | ||
** If you want the roborumble client to run battles indefinitely, use one of the following scripts. | ** If you want the roborumble client to run battles indefinitely, use one of the following scripts. | ||
− | == | + | == Script == |
− | + | Those scripts will be good for roborumbler. They run battles forever, catching standard and error stream and put it to a file in the directory ./log/tempNUMBER_OF_BATTLE.txt (the script have to be in the roborumble directory), the scripts will not work without the "log" directory | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | === Batch script for Windows users === | |
+ | Save this script to a file in the roborumble directory in a file with ".bat" extension, create a directory called "log", then run the script with double click: | ||
<pre> | <pre> | ||
@echo off | @echo off | ||
title RoboRumble@Home Client | title RoboRumble@Home Client | ||
+ | set count=1 | ||
:run | :run | ||
− | java -Xmx512M -Dsun.io.useCanonCaches=false -cp libs/robocode.jar;libs/codesize.jar;libs/roborumble.jar roborumble.RoboRumbleAtHome ./roborumble/roborumble.txt | + | echo "Iteration number: %count%" |
+ | java -Xmx512M -Dsun.io.useCanonCaches=false -cp libs/robocode.jar;libs/codesize.jar;libs/roborumble.jar roborumble.RoboRumbleAtHome ./roborumble/roborumble.txt >> ./log/temp%count%.txt | ||
echo --- | echo --- | ||
+ | set /a count+=1 | ||
goto run | goto run | ||
</pre> | </pre> | ||
− | |||
− | |||
− | == Bash script for *nix users == | + | === Bash script for *nix users === |
− | + | Save this script to a file in the roborumble directory, right click and set the file executable, create a directory called "log", then run the script from shell: | |
<pre> | <pre> | ||
#!/bin/bash | #!/bin/bash |
Revision as of 22:37, 9 January 2009
|
Contents
To collaborate with RR@H
If you entered a bot into the competition, you could consider to collaborate running the competition by using your computer to execute battles and upload results (similar to Seti@home project). The process is fully automated, so there is no pain on doing it.
- Make a separate installation of Robocode in a different directory (like c:\robohome), so running the client will not influence your own development and vice versa. Please only use versions 1.5.4 or 1.6.0, as they are proven stable.
- Edit "roborumble\roborumble.txt" file and change the Put_Your_Name_Here to your nick.
- Extract all the zip-files below into the "robots" directory
- Start the client using roborumble.bat or roborumble.sh (depending on the OS). The first time it can take more than 15 minutes before all jar-files are examined!
- Or, on your first time you can start robocode with robocode.bat or robocode.sh (depending on OS), wait for the robocode database to be updated, then close robocode and run roborumble.bat/roborumble.sh normally.
- Run it as much time as you can. The more you run it, the more you contribute. It is fully automated, so you don't have to care at all.
- If you find problems, refer to RoboRumble related pages, or post your issue and we will try to solve it.
Get robot database
To get a reasonably up-to-date set of robots for the rumble to start with, grab the following zip file and extract the .jar file to your RR@H robots directory:
1vs1 database
get the 300 updates since ? till 20041017:
- http://robowiki.net/robocode/rrath_participants.zip
- http://www.krillrfiles.com/robocode/rrath_participants.zip <-- not working
And get the 308 updates since 20041017 till 20070929:
And get the 117 updates since 20070929 till 20080711:
Melee database
Team database
Problem reporting
Issues on starting off with RoboRumble can be discussed on the talk page.
Old issues are archived at RoboRumble/StartingWithRoboRumbleOld.
Useful options in roborumble.txt
- "USER": Your name/handle, used for identification of your roborumble client.
- "BATTLESPERBOT" is the minimum number of battles a bot needs before it stops getting priority.
- "NUMBATTLES", the number of battles fought on each run of roborumble.
- If you want the roborumble client to run battles indefinitely, use one of the following scripts.
Script
Those scripts will be good for roborumbler. They run battles forever, catching standard and error stream and put it to a file in the directory ./log/tempNUMBER_OF_BATTLE.txt (the script have to be in the roborumble directory), the scripts will not work without the "log" directory
Batch script for Windows users
Save this script to a file in the roborumble directory in a file with ".bat" extension, create a directory called "log", then run the script with double click:
@echo off title RoboRumble@Home Client set count=1 :run echo "Iteration number: %count%" java -Xmx512M -Dsun.io.useCanonCaches=false -cp libs/robocode.jar;libs/codesize.jar;libs/roborumble.jar roborumble.RoboRumbleAtHome ./roborumble/roborumble.txt >> ./log/temp%count%.txt echo --- set /a count+=1 goto run
Bash script for *nix users
Save this script to a file in the roborumble directory, right click and set the file executable, create a directory called "log", then run the script from shell:
#!/bin/bash echo # new line count=0 while [ "$var1" != "fine" ] # forever do let "count=count+1" echo "battle n: " $count sh roborumble.sh &> ./log/temp$count.txt echo done exit 0