View source for Talk:Tron

From Robowiki
Jump to navigation Jump to search

Contents

Thread titleRepliesLast modified
Tron 3.11 seems broken in current Robocode/Java versions?609:07, 19 June 2021
Diagonal Movement322:16, 1 August 2017

Tron 3.11 seems broken in current Robocode/Java versions?

I'm unsure why, but I'm noticing that Tron 3.11 is currently broken under Robocode 1.9.4.2 and OpenJDK 11. It seems to always start up in "Reference" or "Challenge" mode, never in "Normal" mode. This is the reason for Tron's recent underperformance against updated/new rumble entrants. Need to figure out the cause of this. There's a good chance this could point to a regression in Robocode.

UPDATE: Confirmed that Tron is working fine in 1.9.3.9 and 1.9.4.1, but not in Robocode 1.9.4.2. This is unfortunate and I doubt Tron is truly the only bot affected.

Rednaxela (talk)03:47, 19 June 2021

Looks like there's some incompatible change in the logic of robot name in 1.9.4.2, and anything depend on that is broken to some degree. This frequently happens to bots with Team capacity.

Xor (talk)08:23, 19 June 2021
Edited by author.
Last edit: 08:57, 19 June 2021

Every single bot now receives a "($i)" suffix where i is absolute index of all robots. The suffix was only added to bots with same name and was related to the specific bot. This change breaks the way some Team bots know which is leader (an example of depending on undocumented feature). Team battles should be partially broken now, so does some of the bots with Team capacity.

Xor (talk)08:30, 19 June 2021

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Users.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page.

Return to Thread:Talk:Tron/Tron 3.11 seems broken in current Robocode/Java versions?/reply (3).

I am using the bot name suffix to determine the position of current bot in the team, as well as switching colors. Not remembering where did I see someone using similar tricks. Anyway anything like this now breaks.

Xor (talk)08:54, 19 June 2021

I'm very strongly of the opinion the change to what getName() returns should be reversed. Even if the new numbering is used for display or internals, it just breaks too much to return to bots in getName(). It seems there are too many historic bots that are broken even in 1v1, that are more or less infeasible to update, and we may never really be certain if we've found all of them that may be affected. It's very possible some changes in bot behavior may not be immediately obvious.

Rednaxela (talk)09:03, 19 June 2021
 
 
 
 
 

Diagonal Movement

Why doesn't Tron use Diagonal Movement instead of Orthogonal Movement when doing so will multiply speed by the square root of 2

Tmservo (talk)23:23, 21 September 2015

It wouldn't speed Tron up. Robocode BattleField is not a Manhattan Space. It is not like in chess.

Dsekercioglu (talk)10:06, 29 April 2017

Actually it would slow him down because wall smoothing would become harder. That's why Trons uses Orthogonal Movement.

Dsekercioglu (talk)10:08, 29 April 2017
 

Sorry, Tron couldn't do a Diagonal Movement in a Manhattan space. It should be a Chebyshev Space.

Dsekercioglu (talk)22:16, 1 August 2017