Hello,
I use actionscript to develop my server side extension and use Array[] to collect users in special sequence.
How I use the array:
After some actions I delete an user from the array and add it again to the end of the array in a some time.
The problem:
When the server do it for 2000 users ...
Search found 37 matches
- 28 Oct 2010, 05:28
- Forum: Server Side Extension Development
- Topic: Problem with native actionscript Array
- Replies: 1
- Views: 5068
- 27 Oct 2010, 07:24
- Forum: Server Side Extension Development
- Topic: StringIndexOutOfBoundsException: String index out of range
- Replies: 3
- Views: 8352
- 27 Oct 2010, 05:48
- Forum: Server Side Extension Development
- Topic: StringIndexOutOfBoundsException: String index out of range
- Replies: 3
- Views: 8352
StringIndexOutOfBoundsException: String index out of range
Hello,
I have the error. Could you clarify me what it means?
P.S. After this, nothing is working in my server side extension
I have the error. Could you clarify me what it means?
Code: Select all
(ExtensionHandler.processEvent): Exception in ExtensionHandler: java.lang.StringIndexOutOfBoundsException: String index out of range: 90864- 19 Oct 2010, 09:06
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: _server.leaveRoom cause of Client API error
- Replies: 5
- Views: 8764
_server.createRoom(roomObj, user, sendUpdate, broadcastEvt, roomVars, varsOwner, setOwnership)
you need to specify true for sendUpdate - then the clients will receive the newly created room.
As far I understand if I specify true for sendUpdate, then all clients will recieve notifications about it ...
you need to specify true for sendUpdate - then the clients will receive the newly created room.
As far I understand if I specify true for sendUpdate, then all clients will recieve notifications about it ...
- 19 Oct 2010, 06:43
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: _server.leaveRoom cause of Client API error
- Replies: 5
- Views: 8764
- 18 Oct 2010, 12:04
- Forum: SmartFoxServer 1.x Discussions and Help
- Topic: _server.leaveRoom cause of Client API error
- Replies: 5
- Views: 8764
_server.leaveRoom cause of Client API error
Hello,
I need to create a room and join users to it without update sending to other clients.
For this goal I do following:
//sendUpdate property = false
_server.createRoom(roomObj, null, false, false);
then I call "joinRoom":
//sendUpdate property = false
_server.joinRoom(user1, -1, false ...
I need to create a room and join users to it without update sending to other clients.
For this goal I do following:
//sendUpdate property = false
_server.createRoom(roomObj, null, false, false);
then I call "joinRoom":
//sendUpdate property = false
_server.joinRoom(user1, -1, false ...
- 13 Oct 2010, 07:01
- Forum: Server Side Extension Development
- Topic: Too much Dropped message after 500 connections
- Replies: 27
- Views: 34991
- 06 Oct 2010, 07:55
- Forum: Server Side Extension Development
- Topic: Too much Dropped message after 500 connections
- Replies: 27
- Views: 34991
- 06 Oct 2010, 07:53
- Forum: Server Side Extension Development
- Topic: Too much Dropped message after 500 connections
- Replies: 27
- Views: 34991
You mean it is called once every 2 hours?
Can you explain what it does in short?
Yes, it is called once every 2 hours. Our chat application have few game features (gifts, carma) which can be used in chat several times, then features are blocked. The code I sent restores these features in course of ...
Can you explain what it does in short?
Yes, it is called once every 2 hours. Our chat application have few game features (gifts, carma) which can be used in chat several times, then features are blocked. The code I sent restores these features in course of ...
- 06 Oct 2010, 06:23
- Forum: Server Side Extension Development
- Topic: Too much Dropped message after 500 connections
- Replies: 27
- Views: 34991
- 05 Oct 2010, 11:21
- Forum: Server Side Extension Development
- Topic: Too much Dropped message after 500 connections
- Replies: 27
- Views: 34991
- 04 Oct 2010, 05:27
- Forum: Server Side Extension Development
- Topic: Too much Dropped message after 500 connections
- Replies: 27
- Views: 34991
- 01 Oct 2010, 13:34
- Forum: Server Side Extension Development
- Topic: Too much Dropped message after 500 connections
- Replies: 27
- Views: 34991
- 01 Oct 2010, 07:10
- Forum: Server Side Extension Development
- Topic: Too much Dropped message after 500 connections
- Replies: 27
- Views: 34991
One more question that I forgot to ask - in your AdminTool.swf, was it the dropped incoming messages or dropped outgoing messages in which the values are high?
It was outgoing dropped messages - 2-3k. The value of incoming dropped messages is 0.
Additionally, did you get any warnings in your log ...
It was outgoing dropped messages - 2-3k. The value of incoming dropped messages is 0.
Additionally, did you get any warnings in your log ...
- 30 Sep 2010, 10:26
- Forum: Server Side Extension Development
- Topic: Too much Dropped message after 500 connections
- Replies: 27
- Views: 34991
Yes, that's correct. Clients (that has slow internet connection) are getting dropped due to the fact that they can't keep up with the incoming messages from the server. The max allowed drop messages is defined in the config.xml file. A tight max allowed drop message value keeps all clients in sync ...