Search found 95 matches

by tpenn
28 Jun 2011, 21:13
Forum: SFS2X Questions
Topic: New force login
Replies: 6
Views: 9650

Yes, I saw the new parameter in the api login function. However, it is my understanding that we are not supposed to call sfsApi.login ourselves. The way it has worked up until now is if we do not trigger a SFSLoginException, the user is logged in by the server after the execution of our login event ...
by tpenn
28 Jun 2011, 20:23
Forum: SFS2X Questions
Topic: New force login
Replies: 6
Views: 9650

New force login

The notes for RC-3 contain this item: [NEW] Server-side "force login" system implemented: it allows a user to login from another client while a previous session is already active, closing the latter. I've been looking through the docs and api trying to find how this is done to no avail. An...
by tpenn
21 Jun 2011, 13:25
Forum: SFS2X Questions
Topic: Server dropping UDP packets
Replies: 112
Views: 875041

Thank you. We eagerly await the fix.

Do you have a general idea beyond "very soon" when we can expect the next release?
by tpenn
20 Jun 2011, 15:13
Forum: SFS2X Questions
Topic: Server dropping UDP packets
Replies: 112
Views: 875041

Server dropping UDP packets

We are experiencing an issue where the server will frequently begin dropping all UDP packets from most/all users. The users shutting down and restarting will allow it to work again, but the problem will occur again after a few minutes. The server log is filled with output like this: 15:10:22,464 WAR...
by tpenn
09 May 2011, 20:12
Forum: SFS2X C# API
Topic: Room.UserList only lists users that have seen each before?
Replies: 6
Views: 12220

You can find some good information on the concepts here , although you won't see much code there. You may subscribe to a room group by sending a SubscribeRoomGroupRequest. It should be pretty straightforward. I'm pretty sure setting a RoomVariable to be global must be done through a server extension...
by tpenn
09 May 2011, 16:14
Forum: SFS2X C# API
Topic: How to use user variables
Replies: 13
Views: 22886

If you ever remove variables, it is very important that you check that the variable exists. The same event is used to communicate removal of a UserVariable. If you get the name of a given variable in the list of changed vars but it doesn't exist, that's how you know it was removed. RoomVariables wor...
by tpenn
09 May 2011, 16:09
Forum: SFS2X C# API
Topic: Room.UserList only lists users that have seen each before?
Replies: 6
Views: 12220

RoomVariables set as global can be seen by other users subscribed to the room group the room is in. Otherwise, yes, non-global room variables can only be seen by users in the room.
by tpenn
06 May 2011, 13:55
Forum: SFS2X Questions
Topic: Dynamic room creation problem
Replies: 3
Views: 5983

You've posted this question on six threads. Please don't spam the forum. Posting this question on unrelated topics is not helpful to anyone. The error indicates you've already joined the room. Getting an error when you send another request to join it is normal and expected. If you don't think you sh...
by tpenn
05 May 2011, 15:58
Forum: SFS2X C# API
Topic: A UDP error
Replies: 6
Views: 8975

An update on this: Awhile back I spent some time looking at the FPS demo, comparing it to my code and trying to find anything I could be doing wrong. I noted that I was using SFSApi.sendExtensionResponse, while the example used BaseClientRequestHandler.send. I changed my code to use the same functio...
by tpenn
18 Apr 2011, 15:20
Forum: SFS2X Questions
Topic: Getting the SFSErrorCode when handling SFSJoinRoomException
Replies: 2
Views: 4926

Thank you very much.
by tpenn
15 Apr 2011, 15:34
Forum: SFS2X C# API
Topic: Problem with LeaveRoomRequest
Replies: 6
Views: 9178

Yes, it was definitely not null. That was the first thing I checked for the precise reason you mentioned. But thanks for bringing that up; it is the logical thing to check. I went ahead and wrote my own request to leave a room and invoked it from the same function in my code (so it had exactly the s...
by tpenn
14 Apr 2011, 21:37
Forum: SFS2X Questions
Topic: Problem with SFSRoom.isFull
Replies: 1
Views: 3342

Problem with SFSRoom.isFull

I noticed a problem with the isFull function that I would like to bring up. The isFull function does not perform as the documentation says it should in a game room. I have a room with the max players set to 2. One player and one spectator are in the room. calling isFull() returns true. The documenta...
by tpenn
14 Apr 2011, 19:51
Forum: SFS2X C# API
Topic: Problem with LeaveRoomRequest
Replies: 6
Views: 9178

Problem with LeaveRoomRequest

I'm not sure if this is an issue on the client side (could just as easy be on the server), but I'll post it here as I'm seeing it on the unity client. In cases where a user is in more than one room, sending a LeaveRoomRequest to the server will always make the user leave the last room joined, instea...
by tpenn
14 Apr 2011, 17:15
Forum: SFS2X C# API
Topic: Massive framedrops
Replies: 6
Views: 9375

Also, maybe a dumb question, but are you on the current version? Several months ago, the send was much slower than it is now. It seems to me that was quite awhile ago, though.

If you haven't updated for awhile, try that and see if you get an improvement.
by tpenn
13 Apr 2011, 19:50
Forum: SFS2X Questions
Topic: Detecting when a game has started....
Replies: 2
Views: 4759

A room variable marked as global will be sent to any users subscribed to the room group the room is in, including those not in the room. Check the constructor for SFSRoomVariable; there's a parameter for isGlobal. That should get you what you're looking for.

Go to advanced search