Search found 4433 matches

by Bax
25 Feb 2019, 13:07
Forum: SFS2X HTML5 / JavaScript API
Topic: SFSDataType.UTF_STRING_ARRAY requires an array of string values
Replies: 7
Views: 123

Re: SFSDataType.UTF_STRING_ARRAY requires an array of string values

That error could be triggered by the first element in the array not being a string.
Make sure that "opponentId.toString()" actually returns a string and not a null value.
by Bax
25 Feb 2019, 12:19
Forum: SFS2X HTML5 / JavaScript API
Topic: SFSDataType.UTF_STRING_ARRAY requires an array of string values
Replies: 7
Views: 123

Re: SFSDataType.UTF_STRING_ARRAY requires an array of string values

A super fast test in the browser didn't show issues: > o = new SFS2X.SFSObject() Object { _dataHolder: Map(0), _serializer: {} } >o.putUtfStringArray('k', ['uno','due']) undefined >o.getDump() " (utf_string_array) k: uno,due " What version of the JavaScript API are you using? Make sure you...
by Bax
25 Feb 2019, 11:03
Forum: OpenSpace v2 discussions and help
Topic: Trouble building and running the example!!!
Replies: 1
Views: 384

Re: Trouble building and running the example!!!

We never used FlashDevelop, so it is hard to help. Indeed you should get an HTML file referencing the SWF file. Maybe it is just a matter of configuring FlashDevelop to create it? Otherwise you can just create your own manually, embedding the Main.swf file. Additionally, to make the client part of t...
by Bax
22 Feb 2019, 09:26
Forum: SFS2X HTML5 / JavaScript API
Topic: [SOLVED] WebSocket Connection Error
Replies: 6
Views: 748

Re: WebSocket Connection Error

We noticed that the connection url uses the unusual "blob" system. Is there a reason for that? Could it be interfering with the certificate?
I suggest to test with a plain url.
by Bax
20 Feb 2019, 08:13
Forum: SFS2X HTML5 / JavaScript API
Topic: Suggestion: Minimal API library version
Replies: 1
Views: 76

Re: Suggestion: Minimal API library version

Thank you for the suggestion.
It is not that easy to split the API into multiple files, and it can be harder to maintain everything.
We may look into it in the future, but no guarantees we can do it.
by Bax
13 Feb 2019, 10:22
Forum: SFS2X Questions
Topic: How to install/use SFS server with ReactJS
Replies: 3
Views: 85

Re: How to install/use SFS server with ReactJS

I think you can use our API with any framework. It is just a matter of understanding what framework is best for game development, but this goes beyond SmartFoxServer.
by Bax
13 Feb 2019, 08:23
Forum: SFS2X Questions
Topic: How to install/use SFS server with ReactJS
Replies: 3
Views: 85

Re: How to install/use SFS server with ReactJS

We strongly suggest NOT to use ReactJS for a gaming project. That framework was born to create RIAs (Rich Internet Applications) and it has very little to do with games. You will obtain a much heavier code to be executed in browsers. That said, this is up to you of course. About how to use our API, ...
by Bax
01 Feb 2019, 10:11
Forum: OpenSpace v2 discussions and help
Topic: setMyAvatarSkin functionality issues!
Replies: 1
Views: 269

Re: setMyAvatarSkin functionality issues!

I think this is the issue: After the skin is changed by what seems to be a direct call on the client side it is also effected by the setUserVariables broadcast and applies the change again. Actually you shouldn't change the skin directly. You just need to call the setMyAvatarSkin method. This will c...
by Bax
01 Feb 2019, 09:51
Forum: SFS2X C# API
Topic: Where is XML documentation of SmartFox2X.dll?
Replies: 6
Views: 191

Re: Where is XML documentation of SmartFox2X.dll?

sorencoder wrote:By the way I was going to ask for the the javadoc for server code so I can quickly see the docs with Intellij. Do you provide it?

Feature added!
Take a look at this document: http://docs2x.smartfoxserver.com/Extens ... ng-javadoc
by Bax
24 Jan 2019, 09:22
Forum: SFS2X C# API
Topic: Where is XML documentation of SmartFox2X.dll?
Replies: 6
Views: 191

Re: Where is XML documentation of SmartFox2X.dll?

sorencoder wrote:By the way I was going to ask for the the javadoc for server code so I can quickly see the docs with Intellij. Do you provide it?

Not at the moment. We will look into it, but it seems less easy to do.
by Bax
22 Jan 2019, 09:53
Forum: SFS2X C# API
Topic: Where is XML documentation of SmartFox2X.dll?
Replies: 6
Views: 191

Re: Where is XML documentation of SmartFox2X.dll?

Counter order... we just published a new zip file containing the xml.
You can get it at the usual url: https://www.smartfoxserver.com/download/sfs2x#p=client
Thank you for suggesting it.
by Bax
22 Jan 2019, 09:16
Forum: SFS2X C# API
Topic: Where is XML documentation of SmartFox2X.dll?
Replies: 6
Views: 191

Re: Where is XML documentation of SmartFox2X.dll?

Hello.
We are not distributing it, as we only use it to generate our online documentation.
What do you need it for? We can send it anyway, just send us an email.
by Bax
15 Jan 2019, 08:08
Forum: SFS2X Questions
Topic: C++ GAME DEVELOPERS WANTED
Replies: 26
Views: 100992

Re: C++ GAME DEVELOPERS WANTED

We are going to use the C++ API in our project (in fact, we are going to migrate from SFPro to 2X) for the following platforms:Windows, OSX, iOS and Android, but we cannot share the source code of our application. Is there any way we could adhere to this offer? The offer was meant to create a demo ...
by Bax
03 Jan 2019, 10:29
Forum: SFS2X Questions
Topic: SetUserVariables is Called before AddUser
Replies: 6
Views: 189

Re: SetUserVariables is Called before AddUser

We yet can't reproduce the issue. Can you please show how you execute the steps you described earlier? - We are doing custom login, reading some values from the DB and then we set them in the session object - later on JoinZoneEventHandler we add all values to a variables list and send use the API ob...
by Bax
24 Dec 2018, 10:06
Forum: SFS2X HTML5 / JavaScript API
Topic: 1.7.13 bug?
Replies: 1
Views: 472

Re: 1.7.13 bug?

Issue confirmed. We just published v1.7.14 which should fix it:
https://www.smartfoxserver.com/download/sfs2x#p=client
Thank you for reporting.

Go to advanced search