Search found 24 matches

by Rob
19 Mar 2019, 16:20
Forum: SFS2X Questions
Topic: [NEW] SFS2X 2.13.5 available!
Replies: 1
Views: 333

Re: [NEW] SFS2X 2.13.5 available!

The AdminTool alerts me that 2.13.5 is available even though I successfully installed it. It thinks my installed version is 2.13.3.

Edit: It fixed itself if I restarted the AdminTool. I guess it only checks the version when the app starts up, not when it connects to the server...
by Rob
06 Mar 2019, 22:07
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Limit of 3541 sockets/users
Replies: 2
Views: 201

Re: Limit of 3541 sockets/users

Probably a file descriptor limit issue. Check that you used ulimit as described in the docs.

Also see this topic for further gotchas.
by Rob
28 Feb 2019, 20:58
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Too many connections
Replies: 2
Views: 81

Re: Too many connections

FYI, that error message is misspelled. "Retrive" -> "retrieve".
by Rob
19 Feb 2019, 18:13
Forum: SFS2X HTML5 / JavaScript API
Topic: Suggestion: Minimal API library version
Replies: 1
Views: 76

Suggestion: Minimal API library version

Since the SmartFox javascript library is rather big I think it would be useful to have a minimal version with just the core features in addition to the full package. Currently the library is about 350kB minified . Larger javascript libraries often have multiple versions available, usually a "mi...
by Rob
13 Feb 2019, 12:34
Forum: SFS2X C++ API
Topic: SFS2X can't raise Onconnection success
Replies: 4
Views: 510

Re: SFS2X can't raise Onconnection success

developer.kus wrote:If I want to increase keep time out of connection lost( before send login request), what is config should I have change?

That's the "Session maximum idle time" setting. In the admin tool it's located under Server Configurator > General.
by Rob
22 Dec 2018, 11:51
Forum: SFS2X HTML5 / JavaScript API
Topic: 1.7.13 bug?
Replies: 1
Views: 472

1.7.13 bug?

I updated to the 1.7.13 api from 1.7.12 and always get following error: TypeError: this._sfs.roomManager.addGroup is not a function. (In 'this._sfs.roomManager.addGroup(n)', 'this._sfs.roomManager.addGroup' is undefined) column: 75684 line: 7 message: "this._sfs.roomManager.addGroup is not a fu...
by Rob
05 Dec 2018, 07:16
Forum: SFS2X Questions
Topic: private user variables
Replies: 3
Views: 170

Re: private user variables

There are two possible ways to deny changes: 1) Use a SystemController filter: http://docs2x.smartfoxserver.com/AdvancedTopics/system-controller-filters 2) Use an Extension instead. This way you can initialize Users with certain game values that will be read-only on the client side. A third alterna...
by Rob
12 Nov 2018, 14:09
Forum: SFS2X HTML5 / JavaScript API
Topic: WebAssembly module?
Replies: 2
Views: 135

Re: WebAssembly module?

we'll look into the WASM format as it becomes more prevalent and supported on various devices. WebAssembly is available on all major browsers today. Including the mobile ones. This is why I have started experimenting with it, since it has great potential for more advanced gaming being possible now....
by Rob
12 Nov 2018, 09:11
Forum: SFS2X HTML5 / JavaScript API
Topic: WebAssembly module?
Replies: 2
Views: 135

WebAssembly module?

Any plans on publishing a wasm version of the api? I have started experimenting with WebAssembly and it would be neat to integrate SFS directly.

Since there's a C++ api, it could probably be used as a basis for a wasm recompile.
by Rob
25 Oct 2018, 18:42
Forum: SFS2X Questions
Topic: WebSocket binary message max size
Replies: 11
Views: 448

Re: WebSocket binary message max size

Lapo wrote:UTF is not supported for SFSObject keys.

Aha, maybe this limitation should be documented. I haven't seen any mention of this before.
by Rob
25 Oct 2018, 12:41
Forum: SFS2X Questions
Topic: WebSocket binary message max size
Replies: 11
Views: 448

Re: WebSocket binary message max size

I suspect the cause of the problem is that a null value is added to the SFSArray while cycling through the database result. I would suggest to add null checks to avoid potential runtime serialization issues. I added checks for everything added to the SFSObject and it turns out the cause of the prob...
by Rob
24 Oct 2018, 15:24
Forum: SFS2X Questions
Topic: WebSocket binary message max size
Replies: 11
Views: 448

Re: WebSocket binary message max size

Can you show me exactly how this problem can be reproduced? I assume it's just the size of the message since it works up to a certain number of keys in the SFSObject. But in my particular case I'm looping over a database result with 350 records and adding SFSArrays to an SFSObject like: SFSObject l...
by Rob
24 Oct 2018, 13:26
Forum: SFS2X Questions
Topic: WebSocket binary message max size
Replies: 11
Views: 448

Re: WebSocket binary message max size

Not sure if this is related but I'm also running into message size problems when sending larger messages. Getting a BufferOverflowException when sending a SFSObject with 350 keys. Sending a message with half of those keys works. (I tried changing the maxWriteBufferSize but that didn't help) ::::::::...
by Rob
23 Oct 2018, 18:54
Forum: SFS2X Questions
Topic: Javascript cross domain protection
Replies: 4
Views: 220

Re: Javascript cross domain protection

I hope this can get added since html5 seems to be what most are turning to now that Flash is getting phased out. It's trivially easy with the "open-source" nature of javascript for a script-kid to clone a website and make any changes he likes to the client behaviour. Having a Origin check ...
by Rob
20 Oct 2018, 00:53
Forum: SFS2X Questions
Topic: Javascript cross domain protection
Replies: 4
Views: 220

Javascript cross domain protection

How can we make sure only clients coming from specific domains are allowed to connect when using a javascript client? When using Flash we have the crossdomain.xml to configure, is there something similar for javascript clients? I primarily want to prevent users from running a modified client from lo...

Go to advanced search