Search found 4471 matches

by Bax
20 Nov 2018, 17:33
Forum: SFS2X HTML5 / JavaScript API
Topic: ReferenceError: DataStream is not defined in wechat
Replies: 3
Views: 744

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: 403

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: 1468

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: 3788

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: 3788

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: 3788

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: 3788

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: 3788

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: 316

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
by Bax
10 Oct 2018, 08:35
Forum: SFS2X HTML5 / JavaScript API
Topic: [NEW] API v1.7.12 released
Replies: 0
Views: 773

[NEW] API v1.7.12 released

We just released v1.7.12 of the SFS2X JavaScript client API. In this release we changed the behavior of putByteArray() / addByteArray() and getByteArray() on both SFSObject and SFSArray. Now the methods accept and return a more appropriate Uint8Array, instead of an array of integer numbers. You can ...
by Bax
08 Oct 2018, 15:01
Forum: SFS2X C# API
Topic: New C# API v1.7.9 released
Replies: 3
Views: 809

New C# API v1.7.9 released

We just released v1.7.9 of the SFS2X C# client API for Unity / .Net / Mono / Universal Windows Platform. What's new: ⋅  Rewritten BlueBox client, using .Net 4.5.x classes. ⋅  Added support for BlueBox (tunneled) connection over HTTPS. ⋅  Added support for proxy settings...
by Bax
19 Sep 2018, 14:31
Forum: SFS2X C# API
Topic: Problem with event handling in Unity
Replies: 2
Views: 500

Re: Problem with event handling in Unity

ThreadSafeMode must always be "true".
Also, make sure you always call the sfs.ProcessEvents() method in the MonoBehaviour.Update method, like this:

Code: Select all

   void Update() {
      if (sfs != null)
         sfs.ProcessEvents();
   }
by Bax
10 Sep 2018, 07:40
Forum: SFS2X Questions
Topic: socket closed , gave me a hand
Replies: 7
Views: 1987

Re: socket closed , gave me a hand

I have this problem for 1 week. all things was good but i get Session removed and Socket closed error. Please check attached fire for errors. How can i fix that? Thanks This thread is very old. Please start a new thread providing all necessary informations on your setup (server version, client type...
by Bax
30 Jul 2018, 16:12
Forum: SFS2X Questions
Topic: Joining MMORoom & Room causing mmoItems to disappear
Replies: 10
Views: 900

Re: Joining MMORoom & Room causing mmoItems to disappear

I just tested this "multi-room-join" scenario using the MMORoom Demo project available in the Unity examples. After joining the MMO Room, I joined a non-mmo lobby Room. Everything works as expected, the position of all objects is updated and view behaves accordingly. So I believe something...
by Bax
25 Jul 2018, 09:50
Forum: SFS2X Questions
Topic: CONNECTION_LOST event isn't always fired for websockets
Replies: 4
Views: 535

Re: CONNECTION_LOST event isn't always fired for websockets

We confirm the issue. We just released an updated version of the API ( v1.7.8 ) containing the modified SFSWebSockets.jslib file.
Again, thank you for reporting.

Go to advanced search