Search found 6 matches

by Super420
19 Feb 2017, 21:17
Forum: SFS2X C# API
Topic: Unity WebGL issue : Fails to create thread
Replies: 3
Views: 7865

Re: Unity WebGL issue : Fails to create thread

Hi, please specify which version of Unity you're running, what platform you're exporting to, which SFS2X API version you're using and what browser you're testing with. Also is this an example from our tutorials or your code? Also, have you changed the SmartFox.ThreadSafeMode property? Thanks Unity ...
by Super420
14 Feb 2017, 18:44
Forum: SFS2X C# API
Topic: Unity WebGL issue : Fails to create thread
Replies: 3
Views: 7865

Unity WebGL issue : Fails to create thread

SystemException: Thread creation failed. at System.Threading.Thread.Start () [0x00000] in <filename unknown>:0 at Sfs2X.Core.ThreadManager.Start () [0x00000] in <filename unknown>:0 at Sfs2X.Bitswarm.BitSwarmClient.Connect (System.String host, Int32 port) [0x00000] in <filename unknown>:0 at Sfs2X....
by Super420
29 Jan 2017, 15:02
Forum: SFS2X C# API
Topic: ROOM_JOIN event listener not working?
Replies: 5
Views: 8204

Re: ROOM_JOIN event listener not working?

Haha, i was being dumb. Sorry. I had used the connection script in multiple classes and i used the wrong one. Now it works. Sorry for everything :oops:
by Super420
20 Jan 2017, 22:39
Forum: SFS2X C# API
Topic: ROOM_JOIN event listener not working?
Replies: 5
Views: 8204

Re: ROOM_JOIN event listener not working?

Post by Lapo » 16 Jan 2017, 10:02 It's very strange indeed, i've somehow gotten it to work with ThreadSafeMode = true But right i now i have this issue, i made a function for joining a room, however server does not process it at all : void JoinPool() { sfs.Send (new JoinRoomRequest (Pool)); SceneMa...
by Super420
15 Jan 2017, 20:40
Forum: SFS2X C# API
Topic: ROOM_JOIN event listener not working?
Replies: 5
Views: 8204

Re: ROOM_JOIN event listener not working?

Hi, the event will trigger when the client joins a Room, are you sending a JoinRoomRequest? Also I would highly recommend to check for server side errors, maybe there's something else going on. Thanks I am indeed using a JoinRoomRequest, serverside doesn't give me an error. When i set sfs.ThreadSaf...
by Super420
10 Jan 2017, 19:55
Forum: SFS2X C# API
Topic: ROOM_JOIN event listener not working?
Replies: 5
Views: 8204

ROOM_JOIN event listener not working?

So i am working on an online mmorpg with Unity and SFS2X for educational purposes, and i found out that it just straight up doesn't work for me. sfs.AddEventListener(SFSEvent.ROOM_JOIN, OnJoinRoom); void OnJoinRoom(BaseEvent e) { Debug.Log("Entered:" + e.Params["room"]); } They v...

Go to advanced search