Auto Reload isn't working.

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
holyfiregames
Posts: 19
Joined: 16 Jul 2019, 19:11

Auto Reload isn't working.

Postby holyfiregames » 07 Jul 2020, 17:49

Hi there,

I'm trying to figure out how to use the auto-reload option for my room extension so I don't have to keep stopping the server every time I need to test something new. I have a room that never goes away with an extension on it, that is set to AUTO for the reload option.

When I upload a new file and overwrite it, nothing happens.

https://holyfiregames.gyazo.com/bceaff0 ... 06e8b171a7

Here is my directory structure: https://holyfiregames.gyazo.com/75415db ... 81e52bbc8b

Am I not understanding how the AUTO reload should work? I was hoping I can just make changes to my extension and upload the new version, and it would reload itself?

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

Re: Auto Reload isn't working.

Postby Lapo » 08 Jul 2020, 09:08

Only Zones can auto-reload Extensions, Rooms can't.
This is because with hundreds or thousands of Rooms auto-reloading a new Extensions for each Rooms would kill most servers. It's just too expensive.

If you re-deploy a Room-level Extensions current Rooms will continue with the old code but will eventually be replaced by new Rooms with the new Extension code.

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games
User avatar
holyfiregames
Posts: 19
Joined: 16 Jul 2019, 19:11

Re: Auto Reload isn't working.

Postby holyfiregames » 08 Jul 2020, 17:34

Ok thanks, any reason it shows up in the admin area for rooms then?
User avatar
Lapo
Site Admin
Posts: 23026
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Auto Reload isn't working.

Postby Lapo » 09 Jul 2020, 07:42

What are you referring to exactly?
Thanks
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 49 guests