Bots starting position randomizing is not working
Guys,
Can you double check it for me. I just notice that 1on1 rounds seem to have the same bot starting location. I.e. in 35 rounds battle, every round start (at least bot positions) are identical.
I see it in robocode-1.9.2.5
I see randomized start positions working in Robocode. Watch some rounds between Tracker and SittingDuck; you will see it.
All random here also. Stupid question (but just to be safe): No fixed position set in the properties ?
Bingo! It apparently was set somehow for one of the bots.
But I cannot even find how to setup it in the GUI. I spotted it in the config after your hint.
Looks like I was right, robocode opens some secret to people with more than 10 years of experience :)
I've looked into the newest robocode source code, but couldn't find where the robot start position settings are — except for the tests used by robocode itself. Could you still remember what config it was to fix start positions?
Edit: got it, it just hides behind some direct access instead of accessors.
the config is "robocode.battle.initialPositions".
Thanks for mentioning that feature anyway!
It is good that you find it. I already forgot what it was. Strange thing I did not remember to set it up, so some bug triggered it back then.
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
Return to Thread:User talk:Beaming/Bots starting position randomizing is not working/reply (9).