Search found 116 matches

by grhwood
30 May 2012, 08:24
Forum: Job offers and requests
Topic: SamrtFoxServer Assistance {PAID}
Replies: 1
Views: 4732

Re: SamrtFoxServer Assistance {PAID}

Hi,

I just sent you an email. Please check your inbox for information.

Thanks
by grhwood
06 May 2012, 00:35
Forum: SFS2X Questions
Topic: custom userid generator
Replies: 7
Views: 8567

Re: custom userid generator

The problem is these services need to send back to SFS a response that contain a SFS user identifier (sfs userid or sfs username). For now, I used sfs username (map to database username) but it has a cost: username is a string with 30 char long.
by grhwood
05 May 2012, 09:32
Forum: SFS2X Questions
Topic: custom userid generator
Replies: 7
Views: 8567

Re: custom userid generator

Hi, Because i use a lot of external services to process asynchronously, currently these services send back a response that contains username for sfs to send notification to User ( use IUserManager#getUserByName ) but the username is up to 30 characters long so i want to take advantage of IUserManage...
by grhwood
05 May 2012, 06:33
Forum: SFS2X Questions
Topic: custom userid generator
Replies: 7
Views: 8567

Re: custom userid generator

Hi, i need to map the sfs userid to database userid. Since it's not possible with the api to change the sfs userid, my thought is to change it by reflection once the user logged in and remove the old User object with IUserManager and add the new one. Does it have any side effect ?

Thank you.
by grhwood
28 Apr 2012, 19:42
Forum: SFS2X Questions
Topic: custom userid generator
Replies: 7
Views: 8567

custom userid generator

Hi,

Is it possible to programmatically set the userid once user logged in ?

Thank you.
by grhwood
28 Feb 2012, 17:11
Forum: Job offers and requests
Topic: [Paid] MMO Programmer
Replies: 1
Views: 5322

Re: [Paid] MMO Programmer

Hi,

Does this job require Unity3D knowledge ? I have experience with the stuff on the service side: SFS2x, MySQL ... but have no experience with client side.
by grhwood
17 Dec 2011, 10:23
Forum: SFS2X Questions
Topic: Reuse ISFSObject to send data
Replies: 3
Views: 4705

Now, i refactor it to be like that:

Code: Select all

ISFSObject params= new SFSObject();
//put public info  to params ...
send(command, params, users);

//put private info to params ...
send(command, params , someUsers);


:)
by grhwood
16 Dec 2011, 17:00
Forum: SFS2X Questions
Topic: Reuse ISFSObject to send data
Replies: 3
Views: 4705

I made some tests and seem that it passed. Just put here for the confirmation.

Thanks.
by grhwood
16 Dec 2011, 16:54
Forum: SFS2X Questions
Topic: Using Scala?
Replies: 20
Views: 25578

I vote for the transition to scala 2.9.1 too.
by grhwood
16 Dec 2011, 07:37
Forum: SFS2X Questions
Topic: Reuse ISFSObject to send data
Replies: 3
Views: 4705

Reuse ISFSObject to send data

In my app, I have a use-case of sending some public info to all users in a room and also some private info to some users. Right now I do like this: ISFSObject publicParams = new SFSObject(); //put public info to publicParams send(command, publicParams, users); ISFSObject privateParam...
by grhwood
25 Nov 2011, 18:52
Forum: SFS2X Questions
Topic: Event and Extension response ordering
Replies: 3
Views: 5027

Yes, I send the extension response after a event. For example: user join a room => JoinRoom event will be fired on both client side and server side, on the server side, i handle the JoinRoom event and send out an extension. So client side will be received 2 message: JoinRoom event message and my ext...
by grhwood
25 Nov 2011, 13:58
Forum: SFS2X Questions
Topic: Event and Extension response ordering
Replies: 3
Views: 5027

Event and Extension response ordering

I use SFSEventType.USER_JOIN_ROOM to send out a extension. Can i assume that the JoinRoom event reaches clients before the extension ?

Thank you.
by grhwood
24 Nov 2011, 17:50
Forum: SFS2X ActionScript 3 API
Topic: How to get RoomId from Extension response
Replies: 1
Views: 4534

How to get RoomId from Extension response

Hi,

Is is possible to get the Room Id in extension response ? In the message dump, i see that there is a param called (int) r but i cannot get that.

Thank you.
by grhwood
21 Nov 2011, 21:55
Forum: SFS2X Questions
Topic: Room#setOwner, Room#getOwner threadsafe ?
Replies: 1
Views: 3541

Room#setOwner, Room#getOwner threadsafe ?

Hi,

In my app, I have some logic depends on the Room's owner, and as users move in and out, i change the room owner accordingly so room always has an owner. My question:

Does Room#setOwner, Room#getOwner threadsafe ?

Thank you.
by grhwood
09 Nov 2011, 18:59
Forum: Job offers and requests
Topic: [PAID] Need to List Users in a Room from Lobby
Replies: 6
Views: 10332

Yes, this is applicable for both dynamic and static room. You can do like this: When you create a room, you attach to it a global RoomVariable named like "users" with the type of Array. When any user join that room, you update the var and since it is global room var, it can be seen in lobb...

Go to advanced search