Search found 28 matches

by seeingrain
08 Aug 2014, 08:09
Forum: SFS2X Questions
Topic: set user's buddy offline variable when he's not online
Replies: 4
Views: 6847

Re: set user's buddy offline variable when he's not online

Well, I understand you.
We allow user to change his nickname from our website or somewhere else. So we have to think of another solution now.
by seeingrain
07 Aug 2014, 08:39
Forum: SFS2X Questions
Topic: set user's buddy offline variable when he's not online
Replies: 4
Views: 6847

set user's buddy offline variable when he's not online

Hi, I investigated the server API, void setBuddyVariables( User owner, java.util.List<BuddyVariable> buddyVariables, boolean fireClientEvent, boolean fireServerEvent) As we can see, the "User" object requires the user to be operated must be login. So, the server can only set buddy's offlin...
by seeingrain
29 Jul 2014, 08:51
Forum: SFS2X C++ API
Topic: C++ API cannot release resource
Replies: 1
Views: 5398

C++ API cannot release resource

Description: Call the below code for about 120 times, the system resource used up: lg_ptrSmartFox=boost::shared_ptr<SmartFox> (new SmartFox()); lg_ptrSmartFox->Version(); Why I create the SmartFox instance for so many times? --- Because when a connection attempt failed or lost, I will automatically ...
by seeingrain
08 Jul 2014, 10:40
Forum: SFS2X Questions
Topic: Buddy offline variables across zone?
Replies: 6
Views: 7654

Re: Buddy offline variables across zone?

Now I have a substitute idea... I found FSBuddyStorage.java in ur offical document, I can remove the directory "ZONE" of the user varaible's location, let all zones share same user variable set.
Do you think it's ok?
by seeingrain
08 Jul 2014, 10:38
Forum: SFS2X Questions
Topic: Buddy offline variables across zone?
Replies: 6
Views: 7654

Re: Buddy offline variables across zone?

If I am right, then you don't need cross-zone Buddy Lists. Let's say Zone A is for registering a new account and Zone B is for all active members. People registering their account will temporarily land in Zone A only for the signup process, after which they will be joined in Zone B where all people...
by seeingrain
08 Jul 2014, 01:46
Forum: SFS2X Questions
Topic: Buddy offline variables across zone?
Replies: 6
Views: 7654

Re: Buddy offline variables across zone?

The scope of visibility of the Buddy List is the Zone, so buddies in separate Zones will not be able to interact. It's not clear how the two Zones are used. If one is just for registering then I suppose that as soon as the signup is complete they will be logged out that Zone and join the applicatio...
by seeingrain
07 Jul 2014, 10:18
Forum: SFS2X Questions
Topic: Buddy offline variables across zone?
Replies: 6
Views: 7654

Buddy offline variables across zone?

We now have two zones, first zone is for new user registration, second zone is for normal login. I expect: as soon as when new user register, the "$DataBaseId" and "$__BV_NICKNAME__" to be set for use of buddy list display in normal login zone. The current situation is: different...
by seeingrain
24 Jun 2014, 09:22
Forum: SFS2X Questions
Topic: Easy way to implement security link using SSL technology
Replies: 3
Views: 7133

Re: Easy way to implement security link using SSL technology

This will require end user to setup ssl proxy which effectively kills the only real advantage of using Flash - 0 efforts install. This could work if you can package the ssl proxy into your client app somehow (you definitely can do it if client is Java based, not sure about Flash) Oh, you right~ I'm...
by seeingrain
24 Jun 2014, 09:08
Forum: SFS2X Questions
Topic: Connection encryption
Replies: 57
Views: 113322

Re: Connection encryption

I've posted my solution in a new thread: viewtopic.php?f=18&t=17244
In my transparant solution, no source code is touched
by seeingrain
24 Jun 2014, 09:05
Forum: SFS2X C++ API
Topic: Volume test using C++ API
Replies: 2
Views: 5871

Re: Volume test using C++ API

Well, gonna change a language, thanks a lot!
by seeingrain
24 Jun 2014, 08:59
Forum: SFS2X Questions
Topic: Easy way to implement security link using SSL technology
Replies: 3
Views: 7133

Easy way to implement security link using SSL technology

Our current mode is: [CLIENT] ----internet---> [SERVER] The data between client and server is unprotected. My suggest mode is: [CLIENT] --> [SSL PROXY] ----internet---> [SSL GATEWAY] --> [SERVER] CLIENT and SSL PROXY running on same client PC. SSL GATEWAY and SERVER can be on same server PC or diffe...
by seeingrain
24 Jun 2014, 08:45
Forum: SFS2X C++ API
Topic: Volume test using C++ API
Replies: 2
Views: 5871

Volume test using C++ API

I'm creating an application to do volume test, to test how much simultaneous connections per second (TPS). My method is: pre-create hundreds of SmartFox instance, then call Connect(), send LoginRequest, send LogoutRequest, finnaly Disconnect(). But, unexpected thing is: the boost failed to create ne...
by seeingrain
24 Jun 2014, 08:38
Forum: SFS2X C++ API
Topic: C++ API works with unreal engine 3
Replies: 3
Views: 17676

C++ API works with unreal engine 3

I have struggled several weeks to make C++ API DLL to work with unreal engine 3 source code. Here are my modification to C++ API: 1. because UE3 uses customized new/delete operator, so transfer parameter using std::string causes crash. So, I changed all std::string parameter to ByReference or char *...

Go to advanced search