Search found 41 matches

by Devon
31 Dec 2012, 13:52
Forum: SFS2X Questions
Topic: Avoid idle disconnects, keep-alive...
Replies: 2
Views: 1098

Re: Avoid idle disconnects, keep-alive...

Bahaha, it's all good. :) Thanks for the response.
by Devon
30 Dec 2012, 15:12
Forum: SFS2X Questions
Topic: Avoid idle disconnects, keep-alive...
Replies: 2
Views: 1098

Avoid idle disconnects, keep-alive...

Does the extension have to actually exist for this to work? What are some other ways of keeping the connection alive?

Yes it does, otherwise every request will cause a server side errors. Check your logs to see that in action.
Sending the keep alive message is a good way to go.
by Devon
15 Jul 2012, 07:01
Forum: SFS2X Questions
Topic: Admin Overriding Room Capacity?
Replies: 4
Views: 1577

Re: Admin Overriding Room Capacity?

Sorry, by "Admin" I meant Admin/Moderator... Basically, I want moderators to be able to enter a room without actually affecting the room count, and to have the ability to Ghost (SFS term Spectate? Meaning I'd have to make the chat room an SFS Game room?). Do Spectators go against the max c...
by Devon
14 Jul 2012, 17:30
Forum: SFS2X Questions
Topic: Dynamic room removal by group?
Replies: 10
Views: 2887

Re: Dynamic room removal by group?

Ahh, ok. I see the problem. In that case, I'd be debating between doing the loop on all users or keeping track of users using my external database. If you have a lot of users, it may be more efficient to throw their usernames or id's into a database table associated with a group name when they conne...
by Devon
14 Jul 2012, 16:37
Forum: SFS2X Questions
Topic: Dynamic room removal by group?
Replies: 10
Views: 2887

Re: Dynamic room removal by group?

I've not worked with room groups but it would be a long task to loop through each user and see if they're subscribed to a group if you have a lot of users logged in. It may be more effecient (and how I'd probably end up doing it) to getSubscribedGroups() from the user on USER_DISCONNECT and then cre...
by Devon
14 Jul 2012, 14:25
Forum: SFS2X Questions
Topic: Admin Overriding Room Capacity?
Replies: 4
Views: 1577

Admin Overriding Room Capacity?

Simple question but I'm unable to find anything surrounding the topic...

Is there a way to allow an admin to enter a Zone/Room regardless of rather or not that entity is at its Max Capacity?
by Devon
14 Jul 2012, 04:28
Forum: SFS2X Questions
Topic: Dynamic room removal by group?
Replies: 10
Views: 2887

Re: Dynamic room removal by group?

Based on their names, I'd make the assumption that USER_DISCONNECT is an expected disconnect from the server. Likewise, USER_LOGOUT would be an expected logout (while maintaining a connection). USER_LOST however, sounds like an event that fires when the user disappears, such as an unexpected disconn...
by Devon
14 Jul 2012, 04:00
Forum: SFS2X Questions
Topic: Auto reload .jar extension make some io exception?
Replies: 1
Views: 950

Re: Auto reload .jar extension make some io exception?

What error/exception does it give you?
by Devon
14 Jul 2012, 03:53
Forum: SFS2X Questions
Topic: Static Variables (Shared Between Extensions)
Replies: 2
Views: 1197

Re: Static Variables (Shared Between Extensions)

Not sure if this is what you're looking for but you may look into: [ handelInternalMessage() ]
by Devon
13 Jul 2012, 10:53
Forum: SFS2X ActionScript 3 API
Topic: MD5 included?
Replies: 3
Views: 2865

Re: MD5 included?

Thanks, but that's a lot more than I really need. I just want a simple MD5, no need for a key... I found this class, imported it, then ran two lines of code. :) Class to repackage and import: package // Give me a home! { /* Notes: * A conversion of the JavaScript implementation of the RSA Data Secur...
by Devon
13 Jul 2012, 10:36
Forum: SFS2X ActionScript 3 API
Topic: Permission Flags...
Replies: 2
Views: 2970

Re: Permission Flags...

Alrighty, I figured it was restricted to default flags only but I wanted to make sure I wasn't wasting time or doing things the hard way. :P

Thanks :)
by Devon
13 Jul 2012, 01:13
Forum: SFS2X ActionScript 3 API
Topic: Permission Flags...
Replies: 2
Views: 2970

Permission Flags...

Is it possible to create custom permission flags or is everything else meant to be coded into the extension after manually checking the users privileges?
by Devon
12 Jul 2012, 23:27
Forum: SFS2X ActionScript 3 API
Topic: MD5 included?
Replies: 3
Views: 2865

MD5 included?

Is there an included MD5 algorithm or would I have to import my own?

I found com.hurlant.crypto.hash.MD5, but I can't figure out how to use it. I keep getting something like éÀüâES:A%Aš¢£˜óû back from it...
by Devon
11 Jul 2012, 17:22
Forum: SFS2X ActionScript 3 API
Topic: ActionScript Event Management...
Replies: 5
Views: 2826

Re: ActionScript Event Management...

Oh, I would have thought that the SFSUser object would have kept track of rooms a user is currently in - apparently it doesn't from what I can find in the ASDocs... Could getUserRooms() not have been used to accomplish the same effect?
by Devon
11 Jul 2012, 10:08
Forum: SFS2X ActionScript 3 API
Topic: ActionScript Event Management...
Replies: 5
Views: 2826

Re: ActionScript Event Management...

Awesome, makes sense! I'm planning/working-on a multi-user web-based application, rather than a game. Basically, the user will be able to maintain a position in the lobby - but also, they'll be able to join multiple rooms to chat and what-not. What specifically was the purpose of having a GAME_STATU...

Go to advanced search