I think I got it now. The error message was due to switching UDP on involuntarily.
I guess it was a bit late when I started coding that bit.
Search found 115 matches
- 12 Jun 2012, 19:04
- Forum: SFS2X Questions
- Topic: Sending custom data
- Replies: 6
- Views: 8228
- 12 Jun 2012, 12:11
- Forum: SFS2X Questions
- Topic: Sending custom data
- Replies: 6
- Views: 8228
Re: Sending custom data
You can use the sendExtensionResponse() method whenever you want to, you don't need to wait for a client request before sending it. Weird. When I tried that I had an error message on the server. I have already implemented the object message so I will have to revert back to try it again with Extensi...
- 11 Jun 2012, 13:36
- Forum: SFS2X Questions
- Topic: Sending custom data
- Replies: 6
- Views: 8228
Re: Sending custom data
Thanks for your reply. Yes I am aware of the need to check all data coming from client for validity. So am I right: Object message for server -> client and object or extension response for client->server. For me it seems that extension response cannot be initiated server side ist that correct? Edit:...
- 11 Jun 2012, 09:06
- Forum: SFS2X Questions
- Topic: Sending custom data
- Replies: 6
- Views: 8228
Sending custom data
What would be the best way to send some custom room data to a specific client from server and keep data in sync without other users seeing this data? I am keeping track some information per room serverside. This could be done via a hidden room var. Data must be bound to room. However I specific clie...
- 04 Jun 2012, 08:17
- Forum: SFS2X Questions
- Topic: Different methods to calculate users?
- Replies: 9
- Views: 10620
Re: Different methods to calculate users?
@Lapo Here are some more of my findings and a quick solution that I came up with: 1. As reported and further investigated, it seemed that only a serverside userlist count would reveal the correct user number. I checked this numerous times against all other client events and it seems that all of them...
- 04 Jun 2012, 08:04
- Forum: SFS2X Questions
- Topic: Sfs2x server side Security
- Replies: 6
- Views: 8657
Re: Sfs2x server side Security
@rjgtav I think he is more concerned about the fact that not only anyone can connect to the server but also that anyone can access and download the Smartfoxserver resources, code a swf file and access his server with that. So users could access the service with their own coded swf files which of cou...
- 01 Jun 2012, 09:02
- Forum: SFS2X ActionScript 3 API
- Topic: Force new user list
- Replies: 2
- Views: 5565
Re: Force new user list
Bax wrote:This is not available.
Thanks.
- 31 May 2012, 20:47
- Forum: SFS2X ActionScript 3 API
- Topic: Force new user list
- Replies: 2
- Views: 5565
Force new user list
I don´t see any function to force a retrieval of a fresh userlist from the server? I have reported the local user list problems already. Switching rooms does help as this refershes the userlist and syncs it again with the server. However I could not find an API method that retrieves a fresh user lis...
- 30 May 2012, 10:44
- Forum: SFS2X Questions
- Topic: Java extension and USER_DISCONNECT event help
- Replies: 5
- Views: 8033
Re: Java extension and USER_DISCONNECT event help
Your variable user seems to contain only the user who has been disconnected. Therfor the response gets sent back to him. So you need to build the list of all users who should receive that message. Also you should use the SFS api to send the extension response http://docs2x.smartfoxserver.com/api-doc...
- 29 May 2012, 22:18
- Forum: SFS2X Questions
- Topic: Java extension and USER_DISCONNECT event help
- Replies: 5
- Views: 8033
Re: Java extension and USER_DISCONNECT event help
I don´t know what you are trying to achieve. But for me it looks like you are trying to send an extension response to the user that has already disconnected. This cannot work.
- 29 May 2012, 14:16
- Forum: SFS2X Questions
- Topic: Different methods to calculate users?
- Replies: 9
- Views: 10620
Re: Different methods to calculate users?
By referencing I mean "allude to" or "mention", not referencing in a programmer's way. :-) Yes, I know. :wink: In any case I have already tested your code and explained what we have found, if you insist firing continuos connections and disconnections with the forceLogout option ...
- 28 May 2012, 15:54
- Forum: SFS2X Questions
- Topic: Different methods to calculate users?
- Replies: 9
- Views: 10620
Re: Different methods to calculate users?
Until we learn more about this test that you are doing I have no idea how to help. The fact that you keep referencing the Room's private _userCount property is even more confusing. Send the test files and we'll take a closer look. thanks Lapo, I am still doing the test mentioned numerous times alre...
- 28 May 2012, 11:42
- Forum: SFS2X Questions
- Topic: Different methods to calculate users?
- Replies: 9
- Views: 10620
Re: Different methods to calculate users?
Lapo, when I posted this thread the issues did not seem to be related somehow. Only further investigation revealed that they might have the same problem. So please forgive me. In any case this was also to get a workaround. It really riles me that the value I need is there (_userCount) but it seems I...
- 28 May 2012, 06:46
- Forum: SFS2X Questions
- Topic: Different methods to calculate users?
- Replies: 9
- Views: 10620
Re: Different methods to calculate users?
Hi, yes this is happening with the latest API. However http://smartfoxserver.com/download/sfs2x#p=updates reports the latest as 1.0.3. And I have double checked this is the version I am using. Here is what I am currently testing: 1. Still doing connects and disconnects with my testusers at a high ra...
- 27 May 2012, 16:40
- Forum: SFS2X Questions
- Topic: How to troubleshoot login problem?
- Replies: 9
- Views: 11621
Re: How to troubleshoot login problem?
Since you did not post any code nobody here will be able to help you. All I can suggest is that you go through your code step by step using the breakpoints.