Search found 11 matches

by peter.dalton
09 Feb 2011, 22:17
Forum: SFS2X C# API
Topic: User.IsSpectator not working correctly.
Replies: 1
Views: 4327

User.IsSpectator not working correctly.

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 corr...
by peter.dalton
30 Sep 2010, 23:51
Forum: SFS2X Questions
Topic: Guide: How to compile a .jar file for your extension
Replies: 35
Views: 74830

I have found documentation on how to debug SFS1: http://www.smartfoxserver.com/forums/viewtopic.php?t=1872 However it makes references to a file: Server\conf\wrapper.conf that I can't find anywhere or any file that seems to contain the referenced parameters. Where would I find this information for S...
by peter.dalton
14 Sep 2010, 20:17
Forum: SFS2X Questions
Topic: Issues running multiple servers on the same machine
Replies: 5
Views: 9310

The Jetty server was the problem, thanks a lot. Note that I still have issues trying to connect the admin tool to any server not using the default port of 9933.
by peter.dalton
13 Sep 2010, 14:24
Forum: SFS2X Questions
Topic: Issues running multiple servers on the same machine
Replies: 5
Views: 9310

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 bel...
by peter.dalton
10 Sep 2010, 20:10
Forum: SFS2X Questions
Topic: Issues running multiple servers on the same machine
Replies: 5
Views: 9310

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 o...
by peter.dalton
25 Aug 2010, 16:10
Forum: SFS2X Questions
Topic: Problems with Zone.getRoomListFromGroup()
Replies: 4
Views: 7450

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 w...
by peter.dalton
24 Aug 2010, 15:26
Forum: SFS2X Questions
Topic: Problems with Zone.getRoomListFromGroup()
Replies: 4
Views: 7450

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. Li...
by peter.dalton
20 Aug 2010, 20:22
Forum: SFS2X Questions
Topic: Guide: How to compile a .jar file for your extension
Replies: 35
Views: 74830

Does anyone know how to debug the java server extensions? I found some help for SFS 1.6, however 2x doesn't seem to be the same.

Thanks,

- Peter
by peter.dalton
20 Aug 2010, 20:19
Forum: SFS2X Questions
Topic: User Variables set on the client
Replies: 6
Views: 11469

Thanks, that fixed my problem.

- Peter
by peter.dalton
20 Aug 2010, 14:13
Forum: SFS2X Questions
Topic: User Variables set on the client
Replies: 6
Views: 11469

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 too...
by peter.dalton
20 Aug 2010, 00:52
Forum: SFS2X Questions
Topic: User Variables set on the client
Replies: 6
Views: 11469

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, ar...

Go to advanced search