Page 1 of 1

Where is the default server config.xml?

Posted: 13 Mar 2010, 07:00
by Soleil
According to the docs:

Code: Select all

The server configuration is saved in an XML file called "config.xml", located in the Server/ folder.
My client config is set to zone simpleChat, and when I log in, I am auto-joined into "The Hall" (running the server locally because I still can't get it working online - see my other thread). I tried changing the name of the room in Server/config.xml, but it had no effect. In fact, I can delete the config.xml file entirely from the /Server folder, and I'm still auto-joined into "The Hall". Obviously the config settings are getting pulled from somewhere... where could this be?

EDIT:
After many hours of banging my head against this I'm still baffled. Editing the config.xml file has absolutely no effect on anything, and therefore I can't add any extensions, etc. I really need to know where Smartfox is looking for the server config.xml file, because it's obviously not looking at /Server/config.xml.

Posted: 14 Mar 2010, 11:24
by Lapo
Maybe you are expecting that the server reconfigures itself as soon as you apply changes to the config? If so, it is not.

Although certain changes don't require a restart when you are in a dev environment it's just quicker to start/stop the server.

Posted: 15 Mar 2010, 00:33
by Soleil
Thanks, I started to figure that out when I saw that you can reload extensions in the admin tool. Restarting the server from the admin tool doesn't work quite as well though... started a new thread for that.