smartfox server x2 config

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

User avatar
tiendao
Posts: 7
Joined: 18 Mar 2017, 06:28

smartfox server x2 config

Postby tiendao » 18 Mar 2017, 06:39

Hi guys,

i'm newbie, i'm interested to sfs x2, i have issues about the config file. how can i catch the event, which is called every the config file changed/modified.

nice to received responses from guys.

thanks
Tien Dao
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: smartfox server x2 config

Postby Lapo » 18 Mar 2017, 09:40

Hi,
we don't provide any event related to config changes.
What would be the use case of listening for config changes anyway?

In any case, if you really need this feature you could monitor the files using a file-monitoring API such as Apache Commons VFS which is already included in SFS2X
https://commons.apache.org/proper/commons-vfs/

Hope it helps
Lapo
--
gotoAndPlay()
...addicted to flash games
User avatar
tiendao
Posts: 7
Joined: 18 Mar 2017, 06:28

Re: smartfox server x2 config

Postby tiendao » 18 Mar 2017, 11:09

thanks Lapo,
that is good solution.

TienDao

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 55 guests