Search found 6 matches

by mjforever111
01 Jul 2008, 13:31
Forum: SmartFoxServer 1.x Discussions and Help
Topic: setUserVariable cannot send complex Object type
Replies: 0
Views: 3805

setUserVariable cannot send complex Object type

Hi,
Just found out this. The code in SmartFoxClient.setUserVariable obviously ignores any property that is of complex object type. It basically only accepts number, string. I am wondering what is the reason behind this.

I am currently hoping to use user variables to send custom user information ...
by mjforever111
30 Apr 2008, 07:39
Forum: SmartFoxServer 1.x Discussions and Help
Topic: addbuddy while both user are offline
Replies: 6
Views: 9846

Or wait, do you mean to actually extend the _server.addBuddy? I would love to do that, I guess i need to know
1. how to store to the internal friend list
2. what notifications need to be sent to either user
Does that make sense?

Thanks!
by mjforever111
30 Apr 2008, 07:37
Forum: SmartFoxServer 1.x Discussions and Help
Topic: addbuddy while both user are offline
Replies: 6
Views: 9846

Hi Lapo,
THaks for the quick response. As for your suggestion, yes I am trying to process "AddBuddy" event by myself. The problem is, that I guess the friend list is maintained internally in the h2 db. And the system call _server.addBuddy() need to be invoked to add to that..
When I tried to call it ...
by mjforever111
30 Apr 2008, 03:44
Forum: SmartFoxServer 1.x Discussions and Help
Topic: addbuddy while both user are offline
Replies: 6
Views: 9846

Also, to prevent malicious user addition, can you check against the internal db for the valid user names and add those valid users? This way, we can add valid buddies when users are offline2.

Is there a way to change this behavior?

Thanks!
by mjforever111
27 Apr 2008, 18:44
Forum: SmartFoxServer 1.x Discussions and Help
Topic: addbuddy while both user are offline
Replies: 6
Views: 9846

addbuddy while both user are offline

Hi,
I tried to use the advanced buddylist 2.0. It works perfectly when both users are online. But I want user A to be able to add user B as a buddy even while B is offline.

So I implement a offline messaging system. i.e., when A requests a addbuddy, it is stored in a db and send to B when B is ...
by mjforever111
01 Jan 2008, 15:58
Forum: SmartFoxServer 1.x Discussions and Help
Topic: TheoChat and SmartFoxServer 1.5
Replies: 6
Views: 17171

Hi,
I am in the process of deciding whether to use SFS Pro or ES4. One of the deciding factor is a good Isometric engine. So far I have only found TheoSDK
to be a viable solution.

But this is really a stinker -- does this mean that to use TheoChat I have to stick to old version of SFS?

And what ...