Search found 19 matches
- 30 Nov 2010, 08:57
- Forum: SFS2X Questions
- Topic: Setting RoomVariable from server - client doesn't see
- Replies: 1
- Views: 4391
- 30 Nov 2010, 08:35
- Forum: SFS2X Questions
- Topic: Setting RoomVariable from server - client doesn't see
- Replies: 1
- Views: 4391
Setting RoomVariable from server - client doesn't see
Hello I have a question on how to set the room variable from server, so it's accessible by client. I tried different code on server side and ended up with this: RoomVariable someVar = new SFSRoomVariable("myId", 10, false, true, false); List<RoomVariable> roomVariables = new ArrayL...
- 30 Nov 2010, 06:13
- Forum: SFS2X Questions
- Topic: addEventHandler behaviour
- Replies: 4
- Views: 6635
- 29 Nov 2010, 10:30
- Forum: SFS2X Questions
- Topic: addEventHandler behaviour
- Replies: 4
- Views: 6635
- 29 Nov 2010, 10:10
- Forum: SFS2X Questions
- Topic: addEventHandler behaviour
- Replies: 4
- Views: 6635
addEventHandler behaviour
Hello I have the following code in a zone-level extension: addEventHandler(SFSEventType.USER_LOGOUT, OnServerStatusChangedHandler.class); ... addEventHandler(SFSEventType.USER_LOGOUT, OnUserGoneFromRoomHandler.class); I noticed that only the second handler works in this case (OnUserG...
- 21 Apr 2010, 06:01
- Forum: .Net / Unity3D API
- Topic: LitJson JSONArray equivalent ?
- Replies: 3
- Views: 10496
- 08 Dec 2008, 06:35
- Forum: .Net / Unity3D API
- Topic: [.NET] Found issues and fixes
- Replies: 33
- Views: 53618
OK - a really annoying one showed up today. Neither room variables or user variables seem to work! So while I did fix it in my local devel copy, I just wanted to confirm that none of you have used these and gotten them working, right? Hi! I use user variables and they work fine for me. Concerning r...
- 01 Dec 2008, 08:56
- Forum: .Net / Unity3D API
- Topic: [.NET] Found issues and fixes
- Replies: 33
- Views: 53618
- 01 Dec 2008, 08:18
- Forum: .Net / Unity3D API
- Topic: [.NET] Found issues and fixes
- Replies: 33
- Views: 53618
- 01 Dec 2008, 07:45
- Forum: .Net / Unity3D API
- Topic: [.NET] Found issues and fixes
- Replies: 33
- Views: 53618
Been looking a bit more at the reconnect issue, and have a hunch that its a socket problem. Looking at the SFS console, you actually never see a real socket disconnection happen. Using netstat also shows the socket in TIME_WAIT. Hi, Thomas On my sfs console I always see such messages on disconnecti...
- 11 Nov 2008, 11:18
- Forum: .Net / Unity3D API
- Topic: [.NET] Found issues and fixes
- Replies: 33
- Views: 53618
First of all, thanks ThomasLund for the great work! Beta 2 is really cool! So let's continue to report found problems here to approach the day of Beta 3 release :) In the new version I found a serious issue with writing data to sockets. When I start my Unity-based game I receive randomly many except...
- 06 Nov 2008, 08:45
- Forum: .Net / Unity3D API
- Topic: [.NET] Found issues and fixes
- Replies: 33
- Views: 53618
Hi. I have renamed this topic, as we post here information about different issues. I have corrected a bit SendXtMessage method in SmartFoxClient class. If I need send message without any parameters I want just to pass null as paramObj. But it causes NullReferenceException. So I added this string in ...
- 05 Nov 2008, 11:17
- Forum: .Net / Unity3D API
- Topic: [.NET] Found issues and fixes
- Replies: 33
- Views: 53618
Yet another issue connected with the previous one. On the server-side we can send 3 types of user variables: numbers, strings, and booleans. But numbers can be not only integer, they can be floating-point. So I set some floating-point values on the server-side as user variables. They are normally tr...
- 05 Nov 2008, 09:46
- Forum: .Net / Unity3D API
- Topic: [.NET] Found issues and fixes
- Replies: 33
- Views: 53618
Hi again. I haven't time to try your test version yet, but my collegue has the described problem with crashes in Unity with the current version of SFS client. It's nice that threaded sockets solved the problem though, in my opinion, asynchronious sockets are more convenient. Here I would like to rep...
- 30 Oct 2008, 07:57
- Forum: .Net / Unity3D API
- Topic: [.NET] Found issues and fixes
- Replies: 33
- Views: 53618