Search found 17 matches

by ktamlyn
14 Nov 2014, 23:58
Forum: SFS2X Questions
Topic: After 2.9.0 upgrade: IllegalStateException: AsyncContext
Replies: 36
Views: 41554

Re: After 2.9.0 upgrade: IllegalStateException: AsyncContext

Can you provide a link to version 2.7? I am unsure if this is a good temporary fix, but like the user who started this tread I am getting disconnect issues that I'm trying to resolve.
by ktamlyn
13 Nov 2014, 19:29
Forum: SFS2X Questions
Topic: After 2.9.0 upgrade: IllegalStateException: AsyncContext
Replies: 36
Views: 41554

Re: After 2.9.0 upgrade: IllegalStateException: AsyncContext

I am encountering a similar issue to the original poster. 1) I am receiving the same async error on a regular basis 2) "Bluebox" does not seem to be a consideration though I have not elimintated this completely as the cause of the error 3) I am having specific users encounter connection pr...
by ktamlyn
20 Jun 2014, 21:58
Forum: SFS2X Questions
Topic: iPad Adobe Air Port
Replies: 3
Views: 5371

Re: iPad Adobe Air Port

I have made much progress on this topic though suspension of the app is not perfect. Your advice helped! Thank you.
by ktamlyn
02 Apr 2014, 20:02
Forum: SFS2X Questions
Topic: iPad Adobe Air Port
Replies: 3
Views: 5371

iPad Adobe Air Port

I have a game that works for desktop, as well as the iPad. The problem I'm trying to tackle however on the iPad is the scenario when a user leaves the game app with the home button, then allows the iPad screen to timeout within an app I have no control over. The problem is that upon return to the ga...
by ktamlyn
25 Sep 2013, 21:03
Forum: SFS2X Questions
Topic: Room Creation Threads Overlapping
Replies: 16
Views: 16945

Re: Room Creation Threads Overlapping

Still getting two rooms. This is what my code looks like now: @Instantiation(Instantiation.InstantiationMode.SINGLE_INSTANCE) public class EnterSessionRoomRequestHandler extends BaseClientRequestHandler { public ZoneExtension parentEx; @Override public void handleClientRequest(User user, ISFSObject ...
by ktamlyn
25 Sep 2013, 20:59
Forum: SFS2X Questions
Topic: Room Creation Threads Overlapping
Replies: 16
Views: 16945

Re: Room Creation Threads Overlapping

Thank you, but when I placed @Instantiation(SINGLE_INSTANCE) above the class declaration, I got "cannot resolve class". From another post I found out that I had to place

Code: Select all

@Instantiation(Instantiation.InstantiationMode.SINGLE_INSTANCE)
by ktamlyn
24 Sep 2013, 16:07
Forum: SFS2X Questions
Topic: Room Creation Threads Overlapping
Replies: 16
Views: 16945

Re: Room Creation Threads Overlapping

The code that creates rooms is exclusive to the code you see here (clients don't make room creation requests). I apologize for the confusing terminology. A "session" is a term used in the product I'm developing. In my previous post I am not using both meanings, just the one for my applicat...
by ktamlyn
24 Sep 2013, 13:32
Forum: SFS2X Questions
Topic: Room Creation Threads Overlapping
Replies: 16
Views: 16945

Re: Room Creation Threads Overlapping

P.S. the "proper way" to create user variables via getAPI() vs "improper" is a trap that appears to catch many newbies to SFS. It got me, wasted at least 3 hours of my time before I discovered that the getApi method specifically addressed whether clients received events. It shoul...
by ktamlyn
24 Sep 2013, 13:27
Forum: SFS2X Questions
Topic: Room Creation Threads Overlapping
Replies: 16
Views: 16945

Re: Room Creation Threads Overlapping

Synchronizing the code separately is what I understand I am doing. The room variables and user variables are not needed on the client side. I'm passing data to the new room via a room variable. Is there a preferred method? Those red herrings aside, my problem is that when two users make a request to...
by ktamlyn
24 Sep 2013, 01:59
Forum: SFS2X Questions
Topic: Room Creation Threads Overlapping
Replies: 16
Views: 16945

Re: Room Creation Threads Overlapping

What I'm doing doesn't feel right. Here are the two relevant handlers. Users login and are sent to the lobby. Once there they poll the extension to find the proper "sessionId". With a chosen sessionId the extension knows which room to place the user into, but if that room doesn't exist yet...
by ktamlyn
23 Sep 2013, 19:35
Forum: SFS2X Questions
Topic: JoinRoom Event Not fired
Replies: 1
Views: 3294

JoinRoom Event Not fired

I am creating a room, then joining it immediately. Sometimes when a user enters the room, a JOIN_ROOM event is fired, other times it is not. It is never fired by the creator of the room entering the room. I need to respond to users entering the room to initialize data. The room in question is dynami...
by ktamlyn
23 Sep 2013, 19:18
Forum: SFS2X Questions
Topic: Room Creation Threads Overlapping
Replies: 16
Views: 16945

Re: Room Creation Threads Overlapping

This is distinctly not what I am experiencing. RoomVariables are not available about 1/3 of the time when I synchronize the code. So, Synchronizing improved things, but didn't make them perfect. In the end I Synchronized the code so that I could detect if a room was in the process of being created. ...
by ktamlyn
22 Sep 2013, 15:41
Forum: SFS2X Questions
Topic: Room Creation Threads Overlapping
Replies: 16
Views: 16945

Re: Room Creation Threads Overlapping

Thanks for the help. Synchronizing the code didn't seem to do the trick because I was looking for the rooms existence as my test on whether a new one should be created. Since room creation seems to work asynchronously, I had to track that if the room creation process was started withing a Concurrent...
by ktamlyn
21 Sep 2013, 22:25
Forum: SFS2X Questions
Topic: Room Creation Threads Overlapping
Replies: 16
Views: 16945

Room Creation Threads Overlapping

There is a rare situation where two rooms with the same name are getting created with my Zone extension but when it does, it creates confusion. There are groups of people that get invitations to join a "session". The first person to login triggers the creation of a room just for this group...
by ktamlyn
05 Sep 2013, 20:13
Forum: SFS2X Questions
Topic: Room Extension and USER_VARIABLES_UPDATE Events
Replies: 15
Views: 19131

Re: Room Extension and USER_VARIABLES_UPDATE Events

Thanks! Next question, related. If I use a room variable instead of a User Variable, when do I know that events will fire? For example using the following code doesn't result in any user getting an update event: RoomVariable rv = new SFSRoomVariable(RoomVariables.ALL_PARTICIPANTS_READY, false); rv.s...

Go to advanced search