Forum Multiplayer Limit on messages

Discussion and help relating to the PlayerIO Multiplayer API.

Limit on messages

Postby BigJKO » February 4th, 2010, 5:19 pm

I can't find it in the documentation, what is the limit on messages? Say I have a randomly generated terrain, with 850 heightpoints. Is it possible to broadcast all points as ints? Is that excessive, considering it's only broadcast every round (when a new map is generated)?

Or should I be finding more exciting ways to transmit the info?
BigJKO
 
Posts: 11
Joined: February 2nd, 2010, 1:13 am

Re: Limit on messages

Postby Benjaminsen » February 4th, 2010, 5:28 pm

There is no build in data limit; or rather the system starts breaking down around 4GB due to the data model.
Additionally 850 int's is at worst represented with 3.3kb of data so should be no problem at all.
Benjaminsen
.IO
 
Posts: 1444
Joined: January 12th, 2010, 11:54 am
Location: Denmark

Re: Limit on messages

Postby Oliver » February 4th, 2010, 6:58 pm

If the ints are in the range 0-64, then it will only be 850 bytes.

Send as much data as you want -- the only thing to consider is that your players are waiting for the data. For instance, you might not want to send 300kb out everytime a match starts. And if you do, you'll probably want a short "please wait while loading map" message in the game.
User avatar
Oliver
.IO
 
Posts: 1159
Joined: January 12th, 2010, 8:29 am


Return to Multiplayer



cron