Search found 29 matches

by dieffe
01 Oct 2009, 13:12
Forum: Server Side Extension Development
Topic: how to add offline user as buddy
Replies: 5
Views: 10941

Actually i didnt.

I solved it by saving db side the pending request and as soon as the other user logs in i process this request.
by dieffe
23 Jun 2009, 08:53
Forum: SmartFoxServer 1.x Discussions and Help
Topic: 2 Istances on the same server. Is this possible?
Replies: 0
Views: 4122

2 Istances on the same server. Is this possible?

Hi,
i'm trying to create a pre-production and production environments on the same server. In the second instance config.xml i set the binding port and even the H2 port to avoid using the port used by the first but i'm getting this error log:


INFO | jvm 1 | 2009/06/22 18:01:35 |
INFO | jvm 1 ...
by dieffe
28 May 2009, 08:43
Forum: SmartFoxServer 1.x Discussions and Help
Topic: how to create sql backup of h2 database BuddyList 2.0
Replies: 10
Views: 22210

In order to inspect the database, simply run the adminDb script in you Server/ folder. This will run the DB admin tool which allows you to navigate the tables.
http://www.smartfoxserver.com/docs/docPages/sfsPro/embeddedDb.htm

Ok, i followed the tips above but all i can get is the Information ...
by dieffe
28 May 2009, 06:08
Forum: SmartFoxServer 1.x Discussions and Help
Topic: how to create sql backup of h2 database BuddyList 2.0
Replies: 10
Views: 22210

Take a look here:
http://www.h2database.com/html/tutorial.html?highlight=backup&search=backup#upgrade_backup_restore

Yea, i followed the hints on the H2 website and i successfully create a java class that backups a H2 db, the only problem is identifying the buddy db, every time i open/backup the ...
by dieffe
27 May 2009, 17:38
Forum: SmartFoxServer 1.x Discussions and Help
Topic: how to create sql backup of h2 database BuddyList 2.0
Replies: 10
Views: 22210

Hi,
I'm trying to accomplish the same.

Have you got any luck in backuping the H2 db?
by dieffe
26 May 2009, 07:43
Forum: SmartFoxServer 1.x Discussions and Help
Topic: autoReconnect=true
Replies: 3
Views: 7099

autoReconnect=true

I got this log:

MESSAGE: The last packet successfully received from the server was269336 seconds ago.The last packet sent successfully to the server was 269336 seconds ago, which is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing ...
by dieffe
27 Apr 2009, 09:04
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Access to BuddyList internal SB
Replies: 1
Views: 4247

Access to BuddyList internal SB

Hi,
is in some way possible to access directly the database where the buddylist are stored?

I'm developing a farly complex multiuser interface and i need to flush all the test buddylist i tried and i dont want to log with each user and clear his/her buddylist.

Thanks
by dieffe
20 Apr 2009, 13:18
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Two swf with socket connection on the same page
Replies: 1
Views: 4350

Two swf with socket connection on the same page

Hi,
i have a question.
Is teorically possible to have, on the same page, two swf connected to a different zone in the same smartfox server?
I mean:
SWF1: connected to server1:9339 to the zone named ZONE1
SWF2: connected to server1:9339 to the zone named ZONE2

Those two movies will be on the same ...
by dieffe
13 Mar 2009, 06:25
Forum: Server Side Extension Development
Topic: Send a message to a user using the username
Replies: 9
Views: 15276

Mmmm

TypeError: Cannot find function GetUserByName.
by dieffe
12 Mar 2009, 18:20
Forum: Server Side Extension Development
Topic: Send a message to a user using the username
Replies: 9
Views: 15276

Send a message to a user using the username

The only ways i found in the docs to send a message to a user are based on the CHANNEL or the ID.

Can i send a message using only the unique username? Something like:

_server.sendResponse(response,fromRoom,sender, recipient as String )

The only way i found is to get all the user in the room ...
by dieffe
11 Mar 2009, 08:43
Forum: Server Side Extension Development
Topic: how to add offline user as buddy
Replies: 5
Views: 10941

You can't ask the permission to a user that is not connected.
So if your system needs the permission from the target buddy it's not possible to do it when the user is off-line.

You could however intercept the add-buddy requests to offline users, store them in a database and when such user comes ...
by dieffe
30 Jan 2009, 14:16
Forum: Server Side Extension Development
Topic: Difference between addBuddy serverside and clientside
Replies: 1
Views: 4532

Difference between addBuddy serverside and clientside

Is there any reason why adding a buddy server side via:

_server.addBuddy

the user lose the buddy at the first relogin.
If i add the buddy clientSide

smartfox.addBuddy

the buddy is correctly saved and stored.

Thanks
by dieffe
22 Jan 2009, 20:18
Forum: SmartFoxServer 1.x Discussions and Help
Topic: Pre-populate Buddy List
Replies: 4
Views: 7100

Ok but this script is working only after the first time i load the extension from the admin interface, after the first reload the buddy lists are empty and stays this way till i reload the extension from the admin interface again.

Why?