Take in consideration that usually multiplayer apps send small bits of data in contrast with http-server that transfer entire documents or files. A default 4Kb limit for request is a good one :)
In general I would avoid allowing more than 64Kb for client requests as this is also a "shield" againts ...
Search found 7 matches
- 14 Dec 2009, 17:53
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Message exceed allowed max length!
- Replies: 5
- Views: 8859
- 13 Dec 2009, 15:15
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Message exceed allowed max length!
- Replies: 5
- Views: 8859
- 11 Dec 2009, 15:31
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Message exceed allowed max length!
- Replies: 5
- Views: 8859
Message exceed allowed max length!
I'm currently sending objects that have 3 arrays. And at some point when there are around 20 to 30 of those objects on screen. I exceed the max allowed length. Now I heard that sending objects is bigger then arrays. So would sending one array with 3 arrays be better? Or 1 string with all those ...
- 09 Dec 2009, 11:46
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Rhino Usage Warning: Missed Context.javaToJS() conversion
- Replies: 4
- Views: 14246
- 08 Dec 2009, 10:26
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Rhino Usage Warning: Missed Context.javaToJS() conversion
- Replies: 4
- Views: 14246
Hi,
it looks like you are passing the wrong object in a function call. Probably a User object instead of a userId which is expected as a number.
If you also have the line number of the error please double check your code to make sure you are passing the right arguments.
The warning seems to appear ...
it looks like you are passing the wrong object in a function call. Probably a User object instead of a userId which is expected as a number.
If you also have the line number of the error please double check your code to make sure you are passing the right arguments.
The warning seems to appear ...
- 07 Dec 2009, 09:23
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Rhino Usage Warning: Missed Context.javaToJS() conversion
- Replies: 4
- Views: 14246
Rhino Usage Warning: Missed Context.javaToJS() conversion
I keep getting this warning:
RHINO USAGE WARNING: Missed Context.javaToJS() conversion:
Rhino runtime detected object it.gotoandplay.smartfoxserver.data.User@12fb62c of
class it.gotoandplay.smartfoxserver.data.User where it expected String, Number,
Boolean or Scriptable instance. Please check ...
RHINO USAGE WARNING: Missed Context.javaToJS() conversion:
Rhino runtime detected object it.gotoandplay.smartfoxserver.data.User@12fb62c of
class it.gotoandplay.smartfoxserver.data.User where it expected String, Number,
Boolean or Scriptable instance. Please check ...
- 04 Dec 2009, 15:36
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: Best way to send and receive data in Smartfox?
- Replies: 0
- Views: 3170
Best way to send and receive data in Smartfox?
I'm working on the multiplayer for my Asteroids game. The idea of the multiplayer is that you and a someone else can play co-op. So togather you shoot on Asteroids, Aliens, etc.
What I got working so far is:
*Players sending and receiving each other's coordinates, rotation.
*Players sending and ...
What I got working so far is:
*Players sending and receiving each other's coordinates, rotation.
*Players sending and ...