I have a user (u1) in a room, when a new user (u2) enters the room u1 calls u2.IsSpectator to determine how to deal with the new user. However u2.IsSpectator always returns 'TRUE'.
On u1's machine it works correctlly for u1.IsSpectator, however u2.IsSpectator is wrong.
On u2's machine both work ...
Search found 11 matches
- 09 Feb 2011, 22:17
- Forum: SFS2X C# API
- Topic: User.IsSpectator not working correctly.
- Replies: 1
- Views: 4889
- 30 Sep 2010, 23:51
- Forum: SFS2X Questions
- Topic: Guide: How to compile a .jar file for your extension
- Replies: 35
- Views: 83854
- 14 Sep 2010, 20:17
- Forum: SFS2X Questions
- Topic: Issues running multiple servers on the same machine
- Replies: 5
- Views: 10736
- 13 Sep 2010, 14:24
- Forum: SFS2X Questions
- Topic: Issues running multiple servers on the same machine
- Replies: 5
- Views: 10736
I have configured the two server instances separately. Both are set to use the same IPs however one is on port 9933 and the other is on port 9940, however I get the error reported. I have also configured the admin tool to use port 9940 however I still can't connect. After numerous tests it is my ...
- 10 Sep 2010, 20:10
- Forum: SFS2X Questions
- Topic: Issues running multiple servers on the same machine
- Replies: 5
- Views: 10736
Issues running multiple servers on the same machine
I'm trying to run 2 different servers on the same machine under different ports. This is necessary to simulate a development and production environment without increasing hardware costs. However I get the following error when the 2nd server is started. I should mention that the servers are running ...
- 25 Aug 2010, 16:10
- Forum: SFS2X Questions
- Topic: Problems with Zone.getRoomListFromGroup()
- Replies: 4
- Views: 8610
Actually I found the problem seems to be that if I set the room group within CreationSFSGameSettings for the room everything works fine. However if I call room.setGroupId( "Name" ) then nothing works. My guess is that you don't expect people to call setGroupId(). I really wish that there was better ...
- 24 Aug 2010, 15:26
- Forum: SFS2X Questions
- Topic: Problems with Zone.getRoomListFromGroup()
- Replies: 4
- Views: 8610
Problems with Zone.getRoomListFromGroup()
The method Zone.getRoomListFromGroup( string groupId ) does not seem to be working. I get an empty list however if I use the following code I find rooms:
List<Room> rooms = getParentExtension().getParentZone().getRoomListFromGroup( "General" );
// rooms is empty.
List<Room> roomLists ...
List<Room> rooms = getParentExtension().getParentZone().getRoomListFromGroup( "General" );
// rooms is empty.
List<Room> roomLists ...
- 20 Aug 2010, 20:22
- Forum: SFS2X Questions
- Topic: Guide: How to compile a .jar file for your extension
- Replies: 35
- Views: 83854
- 20 Aug 2010, 20:19
- Forum: SFS2X Questions
- Topic: User Variables set on the client
- Replies: 6
- Views: 13321
- 20 Aug 2010, 14:13
- Forum: SFS2X Questions
- Topic: User Variables set on the client
- Replies: 6
- Views: 13321
I guess where I'm confused is that I set the variable using the code snippet above and then use the admin tools to monitor the user. The user is definitely in the room before the variable is created however the admin tools don't show the user having any variables when I monitor him. Is the admin ...
- 20 Aug 2010, 00:52
- Forum: SFS2X Questions
- Topic: User Variables set on the client
- Replies: 6
- Views: 13321
User Variables set on the client
I'm trying to create a User variable on the client using the c# interface however I never see the value get broadcasted up to the server and other clients.
UserVariable var = new SFSUserVariable( "testVar", true );
m_smartFox.MySelf.SetVariable( var );
So my question is, are User and Room ...
UserVariable var = new SFSUserVariable( "testVar", true );
m_smartFox.MySelf.SetVariable( var );
So my question is, are User and Room ...