Search found 236 matches

by mhdside
08 Jul 2012, 14:50
Forum: SFS2X Questions
Topic: a fast question
Replies: 1
Views: 4250

a fast question

Hi, when I join a room, do I automatically subscribe the group that the room is part of?
by mhdside
03 Jul 2012, 15:20
Forum: SFS2X Questions
Topic: Room Removal detection
Replies: 1
Views: 4351

Room Removal detection

It may be easy but I`m not able to see it now. If I`m inside a room and that room is removed. How can I know in the client side that the room I`m in is removed and hence I`m out of the room (I`m joined in more than 1 room). I tried listening to SFSEvent.ROOM_REMOVE but unfortunately it didn`t fire.
by mhdside
25 Jun 2012, 17:13
Forum: SFS2X Questions
Topic: RoomRemoveMode 2 questions
Replies: 2
Views: 5293

Re: RoomRemoveMode 2 questions

I would love to see those autoremove modes: When_Empty: the Room is removed when it is empty When_Empty_And_Creator_OFFLINE: the Room is removed when empty and its creator goes offline When_Empty_And_Creator_LEAVE: the Room is removed when empty and its creator leaves it When_Creator_OFFLINE: the Ro...
by mhdside
25 Jun 2012, 17:02
Forum: SFS2X Questions
Topic: RoomRemoveMode 2 questions
Replies: 2
Views: 5293

RoomRemoveMode 2 questions

question 1: Why cannot I set the RoomRemoveMode from the client side (AS3)???????
question 2: I need a RoomRemoveMode that removes the room after its creator leaves it, even if there are other users inside. Is that possible? Or can you SFS team consider adding it?
by mhdside
03 Apr 2012, 12:29
Forum: SFS2X Questions
Topic: help: db connection refused!
Replies: 3
Views: 5871

Re: help: db connection refused!

You should make sure that the database server is configured to receive connections from the client or, since it runs on the localhost, check that the local firewall is not blocking communication. can you tell me steps to try? I`m not a good system guy. ie: how to know if the local firewall is block...
by mhdside
03 Apr 2012, 00:36
Forum: SFS2X Questions
Topic: help: db connection refused!
Replies: 3
Views: 5871

help: db connection refused!

I`m facing a strange connection refused message as show below although I`m sure I`m providing all the information successfully in the zone config as below: <databaseManager active="true"> <driverName>com.microsoft.sqlserver.jdbc.SQLServerDriver</driverName> <connectionString>jdbc:sqlserver...
by mhdside
07 Mar 2012, 15:57
Forum: SFS2X Questions
Topic: implementing add/remove buddy for offline user
Replies: 2
Views: 5046

Re: implementing add/remove buddy for offline user

Hmm... if he's not connected how can he operate on his buddy list? This is needed for the mutual add/remove. If a user removed a buddy, I want the buddy to also remove the user even if the buddy is offline and same for the "add". I`m lazy to use a custom persistence class so I`ll just wai...
by mhdside
07 Mar 2012, 10:18
Forum: SFS2X Questions
Topic: get the room group for a user
Replies: 1
Views: 3898

get the room group for a user

Is it possible to get the roomGroup a given user is part of?

ex:
sfs.userManager.getUserRoomGroup(user, group)
sfs.userManager.isUserInRoomGroup(user, group);
user.inRoomGroup(group)

of course non of the above exist, any alternatives?
by mhdside
07 Mar 2012, 09:15
Forum: SFS2X Questions
Topic: implementing add/remove buddy for offline user
Replies: 2
Views: 5046

implementing add/remove buddy for offline user

Any idea when will the methods to add and remove buddies for a user even when he is offline, be implemented? I need this feature.
by mhdside
02 Mar 2012, 11:42
Forum: SFS2X Questions
Topic: how to get buddylist limit in serverside?
Replies: 5
Views: 7849

Re: how to get buddylist limit in serverside?

Lapo wrote:But you can get the Buddy object related to the User via the username.
If your user is called "Animal" you can use BuddyListManager.getBuddyList( userName )


This does the trick. thanks.
by mhdside
01 Mar 2012, 18:28
Forum: SFS2X Questions
Topic: how to get buddylist limit in serverside?
Replies: 5
Views: 7849

Re: how to get buddylist limit in serverside?

2) <YourBuddyObj>.getBuddyList().getSize()


Anyway I can use the ".getBuddyList().getSize()" with User insread of Buddy? If not, is there anyway to convert from User to Buddy?
by mhdside
01 Mar 2012, 16:42
Forum: SFS2X Questions
Topic: how to get buddylist limit in serverside?
Replies: 5
Views: 7849

how to get buddylist limit in serverside?

How to get the following in the server side sfs2x:
1. the buddylist limit (as defined in the zone config)
2. the current buddies size (how many buddies are saved) in a user`s buddylist
by mhdside
01 Mar 2012, 11:59
Forum: SFS2X Questions
Topic: Handling invitation response in the serverside
Replies: 4
Views: 6604

Re: Handling invitation response in the serverside

I want to do mutual add/remove buddy mechanism. Now When John sends an invitation request to Tom to allow John to add Tom. When Tom accepts it, I want to make sure that the addbuddy() command be executed from the serverside and prevent the addBuddy() from the client side so no one can maliciously ad...

Go to advanced search