Search found 4402 matches

by Bax
19 Dec 2018, 08:39
Forum: SFS2X HTML5 / JavaScript API
Topic: Getting Error while sending ExtensionRequest
Replies: 6
Views: 37

Re: Getting Error while sending ExtensionRequest

Out of curiosity, how did you achieve that?
Maybe using window.opener to access the main application window from secondary ones?
by Bax
18 Dec 2018, 15:20
Forum: SFS2X HTML5 / JavaScript API
Topic: Getting Error while sending ExtensionRequest
Replies: 6
Views: 37

Re: Getting Error while sending ExtensionRequest

Can you please explain what was the issue and how you fixed? Thanks.
by Bax
18 Dec 2018, 11:01
Forum: SFS2X HTML5 / JavaScript API
Topic: Getting Error while sending ExtensionRequest
Replies: 6
Views: 37

Re: Getting Error while sending ExtensionRequest

As the API code is minified, the error you reported is impossible to decipher.
Could you please add the .js.map file to your project, and try again? The browser console should then report a better stack trace.
Thanks.
by Bax
22 Nov 2018, 13:51
Forum: SFS2X C# API
Topic: New C# API v1.7.11 released
Replies: 0
Views: 416

New C# API v1.7.11 released

We just released v1.7.11 of the SFS2X C# client API for Unity / .Net / Mono / Universal Windows Platform.
This new version, together with the previous 1.7.10, fixes a few minor inconsistencies.
You can get it at this url: https://www.smartfoxserver.com/download/sfs2x#p=client
by Bax
22 Nov 2018, 10:10
Forum: SFS2X HTML5 / JavaScript API
Topic: ReferenceError: DataStream is not defined in wechat
Replies: 3
Views: 326

Re: ReferenceError: DataStream is not defined in wechat

We sent you an email yesterday, did you get it?
by Bax
22 Nov 2018, 09:39
Forum: SFS2X Questions
Topic: UDP on Unity
Replies: 4
Views: 108

Re: UDP on Unity

Hi. I confirm we have an issue with that UdpAvailable flag, which always returns false. We will fix this in a future API update. Anyway, this doesn't prevent the UDP connection to be established when you call the InitUDP method after a successful login. Are you sure this doesn't work? Do you add the...
by Bax
20 Nov 2018, 17:33
Forum: SFS2X HTML5 / JavaScript API
Topic: ReferenceError: DataStream is not defined in wechat
Replies: 3
Views: 326

Re: ReferenceError: DataStream is not defined in wechat

I'm sorry, but this is not something we can do. The reason is that the final API js file is generated using Webpack, so we have a very little control over the final output. Additionally, DataStream is a library class we import, but we didn't develop it. What we can do is to send you the source code ...
by Bax
15 Nov 2018, 10:48
Forum: SFS2X C# API
Topic: SFSX WebGL - Websocket connexion blocked on "connecting"
Replies: 2
Views: 84

Re: SFSX WebGL - Websocket connexion blocked on "connecting"

Hello. We created an empty project in Unity v2018.2.10 with our C# API v1.7.10 to test your exact same code (of course disabling those lines referencing objects we don't have). Everything works as expected both in the Editor and the browser, both in localhost and using the server installed at 37.187...
by Bax
12 Nov 2018, 13:47
Forum: SFS2X HTML5 / JavaScript API
Topic: SFS2X.LoginRequest is not a constructor.
Replies: 9
Views: 498

Re: SFS2X.LoginRequest is not a constructor.

Sorry, we had to edit your message because pasting the entire API code wasn't helpful.
In any case you are using version 1.7.1, which 1 year and a half old.
We strongly recommend that you download the latest version (1.7.12) and test again.
by Bax
06 Nov 2018, 08:21
Forum: SFS2X Questions
Topic: Tic Tac Toe Cant Start Game
Replies: 31
Views: 2043

Re: Tic Tac Toe Cant Start Game

So, the Extension can't be invoked even if you have the TrisExtension.jar file under the /extensions/Tris folder?
Maybe you deleted it too? This is really weird because my colleague tried again yesterday, and everything works as expected.
by Bax
06 Nov 2018, 07:50
Forum: SFS2X Questions
Topic: Tic Tac Toe Cant Start Game
Replies: 31
Views: 2043

Re: Tic Tac Toe Cant Start Game

I'm not sure why you had to create the "BasicExamples" Zone. It already exists when you install SFS, unless you deleted it. Anyway, the "group id" must be set to the "default" string, and "is game" must be set to false. In fact this is room is the lobby where ...
by Bax
05 Nov 2018, 15:43
Forum: SFS2X Questions
Topic: Tic Tac Toe Cant Start Game
Replies: 31
Views: 2043

Re: Tic Tac Toe Cant Start Game

Sorry, I'm not following you entirely. First of all let me clarify this: we have an examples pack available on your website (and the one you linked is one of the tutorials) and then we have the asset store package. Let's discuss them separately. Examples pack I believe you initially installed SmartF...
by Bax
05 Nov 2018, 15:02
Forum: SFS2X Questions
Topic: Tic Tac Toe Cant Start Game
Replies: 31
Views: 2043

Re: Tic Tac Toe Cant Start Game

That's really weird!
What about the other examples using Extensions? Is everything working fine?
Also, did you try creating the Tris folder manually and just unzip the TrisExtension.jar file to it?
by Bax
05 Nov 2018, 10:20
Forum: SFS2X Questions
Topic: Tic Tac Toe Cant Start Game
Replies: 31
Views: 2043

Re: Tic Tac Toe Cant Start Game

First of all you should check the server log: there's a chance an error occurred for some reason, and you should find it there after the second player joined the same game Room of the first one.
If you find it, can you please report it here? Thanks.
by Bax
24 Oct 2018, 07:55
Forum: SFS2X Questions
Topic: old smartfox2x
Replies: 1
Views: 101

Re: old smartfox2x

At this url you can get v1.7.8 of the C# API, which doesn't require .NET4 compatibility:
https://www.smartfoxserver.com/download/get/240

Go to advanced search