[Home]TeamRobot

Robo Home | Changes | Preferences | AllPages

Showing revision 12
An advanced type of Robot that supports messages between teammates. (Derived from AdvancedRobot.)


Does anyone recall what the maximum message size is? I am throwing java.io.EOFException when trying to broadcast or send individual messages, even though it's just a single object with 5 doubles and 2 longs. Later it starts throwing java.io.StreamCorruptedException?. -- Martin

According to Florent (from GamePhysics page) it's 32768 bytes. -- Voidious

I dunno why it was failing. I ended up converting everything to a delimited string and parsing it on the other end. It's working now. -- Martin

Gah, the same thing is happening to me... and I only have about the same amount as Martin... :| --Bayen

Hmm.. I could be a bug in Robocode. I will look into this one. --Fnl


Robo Home | Changes | Preferences | AllPages
Edit revision 12 of this page | View other revisions | View current revision
Edited November 26, 2007 9:48 EST by Fnl (diff)
Search: