Restart Extensions in One Instance

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

Moderators: Lapo, Bax

AhmedEzz
Posts: 8
Joined: 30 Jun 2015, 20:49

Restart Extensions in One Instance

Postby AhmedEzz » 01 Jul 2015, 07:54

Hi all,
I develop two extensions for two games, and i put this two extensions into one instance in smartfox, my question is when i want to upload new update for any extension of both, it must restart the instance with two Extensions ?, OR there are a way to restart only updated One ?

Thanks
User avatar
Lapo
Site Admin
Posts: 22999
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Restart Extensions in One Instance

Postby Lapo » 01 Jul 2015, 08:32

Hello,
you can reload extensions individually.

See the documentation here:
www.smartfoxserver.com/docs/1x/docPages ... anager.htm

hope it helps
Lapo
--
gotoAndPlay()
...addicted to flash games
AhmedEzz
Posts: 8
Joined: 30 Jun 2015, 20:49

Re: Restart Extensions in One Instance

Postby AhmedEzz » 01 Jul 2015, 10:22

Thanks Lapo for your Answer, but this article for SmartFoxServer PRO, and i'm sorry i must said that i use SmartFoxServer 2X not PRO,
User avatar
Lapo
Site Admin
Posts: 22999
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Restart Extensions in One Instance

Postby Lapo » 01 Jul 2015, 13:28

You posted int SmartFoxServer 1.x :)
No prob, I have moved the discussion under the SmartFoxServer 2X section.

In any case the same reply applies for SFS2X. You can restart each Extension individually via the Admin Tool > Zone Manager > Zone Extension

If you're working with a remote server make sure to configure the Reload Mode of your Extension to Manual. When the upload is finished you can reload it as explained in the line above.

More details how to configure Extension reload modes is found here:
http://docs2x.smartfoxserver.com/Gettin ... rator-zone

See the "Zone Extension Tab" section.

cheers
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 40 guests