realXtend/naali — Issue #245: Entity-action string attribute data has 255 character limit
Author: jonnenauha
Created: 2011-10-11 16:06:50+00:00
State: open
Labels: Tundra 2.1 release

If you send more data in the entity action parameter than 255 characters over the network the receiving end of that will not get the full data but its cut "randomly".

1. Make script that has logic to send entity action "xyz" to peers and receive them and print the in parameter.
2. Send the "xyz" entity action on one client with string parameter that has over 255 characters.
3. See the receiving client print a broken string.

Note: This will probably work ok if sent local only as its not put into kNet packages. I would think that is what breaks it. Not really sure if this is intentional feature (to limit stuff you can send over entity actions) or a bug and not sure where to look myself atm so making a issue out of it.

This bug effectively breaks applications that need to move around large (well not sure if >255 chars is that large) amounts of data via JSON or similar. Would be really handy to get fixed so would not have to hack around and trying to make the data that you are passing around shorter.