Search found 68 matches
- 01 Jul 2011, 07:29
- Forum: SFS2X Questions
- Topic: How can I send message from server to all users?
- Replies: 10
- Views: 18322
How can I send message from server to all users?
I'm trying to send message from server to users which has to be originated from the server. I need this because I would like to have some objects in the game that are controlled only by the server. My idea is to use: public void sendObjectMessage(Room targetRoom, User sender, ISFSObject message,...
- 20 Jun 2011, 17:34
- Forum: SFS2X C# API
- Topic: Clearing user variable
- Replies: 8
- Views: 13045
- 20 Jun 2011, 09:45
- Forum: SFS2X C# API
- Topic: Clearing user variable
- Replies: 8
- Views: 13045
- 20 Jun 2011, 05:16
- Forum: SFS2X C# API
- Topic: Clearing user variable
- Replies: 8
- Views: 13045
Clearing user variable
I'm trying to clear some user variable with such code: List<UserVariable> userVars = new List<UserVariable>(); userVars.Add( new SFSUserVariable("localRobotId",null)); smartFox.Send ( new SetUserVariablesRequest(userVars) ); However, I don't observe ...
- 18 May 2011, 04:29
- Forum: SFS2X Questions
- Topic: userVariablesUpdate docs
- Replies: 7
- Views: 9335
- 16 May 2011, 19:00
- Forum: SFS2X C# API
- Topic: How to use user variables
- Replies: 13
- Views: 23043
This code is taken from different scripts and indeed, there is some inconsistency in naming of variable that represents smartfox connection. As you said code seemed not to work at the beginning and I am observing now probably similar thing. I use Unity editor (lets name it User A) and WebPlayer (Use...
- 16 May 2011, 16:34
- Forum: SFS2X Questions
- Topic: Custom login issue
- Replies: 7
- Views: 9678
- 16 May 2011, 16:15
- Forum: SFS2X Questions
- Topic: userVariablesUpdate docs
- Replies: 7
- Views: 9335
- 16 May 2011, 15:25
- Forum: SFS2X C# API
- Topic: How to use user variables
- Replies: 13
- Views: 23043
- 16 May 2011, 13:09
- Forum: SFS2X C# API
- Topic: How to use user variables
- Replies: 13
- Views: 23043
- 16 May 2011, 12:06
- Forum: SFS2X Questions
- Topic: Custom login issue
- Replies: 7
- Views: 9678
At the moment we have only:
Are you saying that we should also add:
?
Code: Select all
void OnApplicationQuit() {
smartFox.Disconnect();
}
Are you saying that we should also add:
Code: Select all
smartFox.Send(new LogoutRequest());
- 14 May 2011, 08:18
- Forum: SFS2X Questions
- Topic: SmartFoxServer 2X Release Candidate 2
- Replies: 50
- Views: 75884
- 14 May 2011, 08:10
- Forum: SFS2X Questions
- Topic: Custom login issue
- Replies: 7
- Views: 9678
- 12 May 2011, 10:16
- Forum: SFS2X Questions
- Topic: Custom login issue
- Replies: 7
- Views: 9678
Custom login issue
After a few minutes/hours of running SFS a Custom Login Extension (this one from doc) is stuck. Since that time other users cannot login to the zone. Other extension works fine. Error appears much later - on the image. What might be causing this error? Greetings, Adam. http://img20.imageshack.us/img...
- 10 May 2011, 14:59
- Forum: SFS2X C# API
- Topic: SFS Islands demo - is there a bug?
- Replies: 0
- Views: 3387
SFS Islands demo - is there a bug?
I use SFS Islands scripts as a base for the network communication in my project. Some time ago I have migrated to SFS2X. Now my NetworkTransformReceiver looks like this: using UnityEngine; using System.Collections; using System; using Sfs2X; using Sfs2X.Core; using Sfs2X.Entities; using Sfs2X.Entiti...