User talk:DavidR
Bem-vindo ao Robocode! Não tinha reparado que havia um novo membro português por aqui, espero que tenhas sucesso por estes lados. Cuidado é com o vício, isto come tempo como tudo ;). Btw, swarm intelligence? a teamrumble é capaz de dar para testar uma ou outra teoria disso... --ABC 00:12, 3 December 2009 (UTC)
Bem, no tempo passado, nós costumávamos usar Babelfish para traduzir o seu Português. Hoje em dia, eu pensei que usando o Google Translate é uma idéia melhor. Além disso, como lembrou ABC tem muitos falantes de Português no passado, que a língua principal do wiki é o Inglês, então não escreva Português muito. Ou teremos de usar Bebelfish ou o Google Translate para cada mensagem que você fez. Parece que somente Inglês e Português tem sido falado sobre o wiki, talvez porque o ABC é muito influência Robocoder. Enfim, eu não conheço nenhum Português e esta mensagem foi escrita usando o Google Translate ... --Nat Pavasant 00:30, 3 December 2009 (UTC)
Obrigado ABC / Thank You ABC.
I just started playing with robocode, but have already been infected with the bug... and I still have lot's of things to learn before I can have a competitive bot. For now I'm just starting to get the fundamentals and probably during 2010 I'll move to the TeamRumble competition to test those ideas from my PhD.--DavidR 08:54, 3 December 2009 (UTC)
Melee client problem?
DavidR, I'm seeing some very strange results from your melee client... See User_talk:CrazyBassoonist and I've been trying to figure out how B26354 dropped from the top-15 to below 80 and all the battles I've found so far are from your client? Did you use the superpack? How much memory did you set and are you running other programs at the same time? --Darkcanuck 05:42, 3 December 2009 (UTC)
Hi, Yes, I am using the superpack. The only change I did was to increase the memory from 512 to 768 with
java -Xmx768M -Dsun.io.useCanonCaches=false -cp libs/robocode.jar (...)
This was done because I was getting some Out of Memory errors stopping the client almost every 24h.
Also I tried to understand what was happening with the oog.melee.Capulet bot this morning and when running it against MiniR101 v0.4 in v.1.6.1.4, Capulet gets disabled always because of a SetColor out of place... At least that's what the clint prints out:
My Java:
$ java -version java version "1.6.0_15" Java(TM) SE Runtime Environment (build 1.6.0_15-b03-226) Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-92, mixed mode)
The output from the client:
oog.melee.Capulet 0.1: Throwable: robocode.exception.RobotException: You cannot call the setColors() method before your run() method is called, or you are using a Robot object that the game doesn't know about. oog.melee.Capulet 0.1 still has not started after 16947 ms... giving up.
I also tried Capulet 0.1 against other bots and the result is the same, so its not something my MiniR101 is doing :)
On the B26354 Problem I did the same thing and run it against some other bots and he is getting disabled in my client with the message:
darkcanuck.B26354 1.04: Throwable: robocode.exception.RobotException: You cannot call the getDataDirectory() method before your run() method is called, or you are using a Robot object that the game doesn't know about. darkcanuck.B26354 1.04 still has not started after 16947 ms... giving up.
So in this case it is the getDataDirectory method that is giving the error.
Hope this helps debug the problem. Do you have any ideas? --DavidR 08:50, 3 December 2009 (UTC)
Ok, this is odd. Both of those bots have been in the rumble for months without issues and it's not a java compilation problem this time. I also see strange results for justin.Mallais [1], YersiniaPestis [2] and there are likely others... Your client seemed fine before yesterday -- has anything changed? --Darkcanuck 15:43, 3 December 2009 (UTC)
- A correction on my last comment: the suspect battles go back to at least 20Nov. PallasHawk [3] is another affected bot. Also, I've checked my source code and getDataDirectory() is only called from within the run() method for B26354. --Darkcanuck 16:22, 3 December 2009 (UTC)
Perhaps the problem is:
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-92, mixed mode)
? Because I use
java version "1.6.0_15" Java(TM) SE Runtime Environment (build 1.6.0_15-b03) Java HotSpot(TM) Client VM (build 14.1-b02, mixed mode, sharing)
and everything work fine. --Nat Pavasant 16:51, 3 December 2009 (UTC)
I just tried with java 1.5 32bits
java version "1.5.0_20" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_20-b02-315) Java HotSpot(TM) Client VM (build 1.5.0_20-141, mixed mode, sharing)
And got the same problem At the Terminal:
darkcanuck.B26354 1.04 still has not started after 16947 ms... giving up. oog.melee.Capulet 0.1 still has not started after 16947 ms... giving up.
And at the console of each robot:
SYSTEM: Skipping robot: xxx....
Next Step: I'm going back to 64Bit mode and I'll redownload the Super Pack and see if it works from there. I'll try to report back during this night... --DavidR 17:15, 3 December 2009 (UTC)
- New report: There was some problem with my previous install... I re-downloaded the super pack and now both bots work as they should. Possibly something got corrupted in my previous install. I'll try to run it for a while with upoads OFF to see what happens. --DavidR 17:33, 3 December 2009 (UTC)
- [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.