Search found 58 matches

by smilefr
11 May 2012, 12:24
Forum: SFS2X Questions
Topic: USER_VARIABLES_UPDATE not fired?
Replies: 3
Views: 1366

Re: USER_VARIABLES_UPDATE not fired?

Did you make sure the USER_VARIABLES_UPDATE_EVENT was added in your zone configuration file?
by smilefr
11 May 2012, 06:49
Forum: SFS2X Questions
Topic: The daemon wont start
Replies: 1
Views: 1868

The daemon wont start

Hi, I am using Debian 6 64bit I managed to make the server work by typing the option -Xmx256m with the command ./sfs2x.sh. Therefore, when i try to launch the daemon, it simply "freezes" at launching process, here are the logs: 11 May 2012 | 08:47:50,025 | INFO | main | smartfoxserver.v2.S...
by smilefr
10 May 2012, 09:47
Forum: SFS2X Questions
Topic: Unable to bind socket at 127.0.0.1
Replies: 1
Views: 2152

Re: Unable to bind socket at 127.0.0.1

EDIT: i fixed the problem, all i had to do was to specify my external ip adress instead of 127.0.0.1.
by smilefr
10 May 2012, 09:13
Forum: SFS2X Questions
Topic: Unable to bind socket at 127.0.0.1
Replies: 1
Views: 2152

Unable to bind socket at 127.0.0.1

Hi, I am using Debian 64bit. Every time i try to launch smartfoxserver recieve this message: Exception in thread "Reference Handler" java.lang.IllegalMonitorStateException at java.lang.Object.notifyAll(Native Method) at java.lang.ref.ReferenceQueue.enqueue(Unknown Source) at java.lang.ref....
by smilefr
13 Feb 2011, 06:03
Forum: SFS2X Questions
Topic: serialization of Map<Object, Object>
Replies: 10
Views: 4102

I don't really see where the problem is, you just have to convert your integer into a string.
by smilefr
13 Feb 2011, 06:00
Forum: SFS2X Questions
Topic: Hopefully my last issue... RequestHandler
Replies: 8
Views: 3240

Try this way:

Code: Select all

var params:ISFSObject = new SFSObject();
      sfs.send(new ExtensionRequest("getModel", params));
by smilefr
13 Feb 2011, 05:55
Forum: SFS2X Questions
Topic: Memory Management
Replies: 1
Views: 1207

Memory Management

I know java has a garbage collector, but i don't really know how it behaves; For example if i have an SFSObject A that contains an SFSObject B inside it, and a String "Hello" inside B, If i do: (we assume "key of B" is the index of B) A.removeElement("Key of B")...
by smilefr
07 Feb 2011, 10:25
Forum: SFS2X Questions
Topic: userLeaveEventHandler on server restart
Replies: 1
Views: 1280

userLeaveEventHandler on server restart

I was wondering if the userLeaveEventHandler was called on server restart or do i have to use the destroy() method to save my users on server restart.

Thank you,
Smilefr.
by smilefr
10 Jan 2011, 08:30
Forum: SFS2X Questions
Topic: Md5 from java to php
Replies: 3
Views: 1980

Thank you, i will give it a try.
by smilefr
10 Jan 2011, 07:52
Forum: SFS2X Questions
Topic: Md5 from java to php
Replies: 3
Views: 1980

Md5 from java to php

I am trying to generate the same MD5 code as the md5() function in php. Therefore when i use this code, the result is different: public static String md5(String input) throws NoSuchAlgorithmException { String result = input; if(input != null) { MessageDigest md = MessageDig...
by smilefr
04 Jan 2011, 08:31
Forum: SFS2X Questions
Topic: I´m about to but SFX 2 for 500 users but...
Replies: 4
Views: 5558

The serverside as3 api is not too different from sfs1, so it shouldnt take too much time to change this, therefore if you used an actionscript extension you will have to rewrite it in java.
by smilefr
04 Jan 2011, 08:26
Forum: SFS2X Questions
Topic: private user variables
Replies: 3
Views: 2177

For the first part i dont know but for the second i can help: You have to set the variable as hidden. Check the docs setHidden void setHidden(boolean flag) Set the variable as "hidden". When this flag is turned on the variable will be available exclusively on the server side and it will ne...
by smilefr
29 Dec 2010, 08:39
Forum: SFS2X Questions
Topic: Storing and retrieving users
Replies: 2
Views: 1805

from the docs: When working with asynchronous events such as USER_LOGIN and USER_JOIN_ZONE it's a bit more difficult to maintain the state of the current transaction/operation. A convenient way to maintain the state is to use the User Session object. In particular the Session object allows to store ...
by smilefr
27 Dec 2010, 12:19
Forum: SFS2X Questions
Topic: All messages dropped after a few moments.
Replies: 6
Views: 2721

rjgtav wrote:happy birthday ;-)

ty man =)
by smilefr
27 Dec 2010, 10:34
Forum: SFS2X Questions
Topic: All messages dropped after a few moments.
Replies: 6
Views: 2721

Lapo wrote:Bon anniversaire :)

haha merci!

Go to advanced search