You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MalmoMessage.toBytes() uses ByteBufOutputStream.writeUTF() to encode message data.
From the docs:
First, the total number of bytes needed to represent all the characters of s is calculated. If this number is larger than 65535, then a UTFDataFormatException is thrown.
Alas, the limit of 65535 can easily be surpassed by requesting a large grid observation (21x21x21 will do it, depending on the blocktypes of the terrain). The effect in this case is that the observations never reach the agent.
The text was updated successfully, but these errors were encountered:
MalmoMessage.toBytes() uses ByteBufOutputStream.writeUTF() to encode message data.
From the docs:
Alas, the limit of 65535 can easily be surpassed by requesting a large grid observation (21x21x21 will do it, depending on the blocktypes of the terrain). The effect in this case is that the observations never reach the agent.
The text was updated successfully, but these errors were encountered: