Page 1 of 1

Auto reload room-level extension?

Posted: 19 Feb 2007, 02:35
by endquote
I'm working on an app which uses a zone-level extension and a room-level extension. The config looks like this:

Code: Select all

<Zone name="slasher">

	<AutoReloadExtensions>true</AutoReloadExtensions>

	<Extensions>
		<extension name="slasher" className="slasher.as" type="script" />
	</Extensions>

	<Rooms>
		<Room name="lobby" isPrivate="false" isTemp="false" autoJoin="true">
			<Extensions>
				<extension name="slasherGame" className="slasherGame.as" type="script" />
			</Extensions>
		</Room>
	</Rooms>
	
	<DatabaseManager active="true">
		<Driver>com.mysql.jdbc.Driver</Driver>
		<ConnectionString>jdbc:mysql://localhost:3306/slasher</ConnectionString>
		<UserName>root</UserName>
		<Password></Password>
		<TestSQL><![CDATA[SELECT id FROM game LIMIT 1]]></TestSQL>
		<MaxActive>10</MaxActive>
		<MaxIdle>10</MaxIdle>
		<OnExhaustedPool>grow</OnExhaustedPool>
		<BlockTime>5000</BlockTime>
	</DatabaseManager>

</Zone>
If I modify the zone-level extension, it gets reloaded. If I modify the room-level one, it does not.

If I reload it from the admin console it works, but it doesn't so automatically like the zone-level one does.

Is there a fix for this?

Posted: 25 Sep 2010, 12:39
by rjgtav
Hi guys. I'm experiencing the same problem. Is there a solution for this?

Posted: 25 Sep 2010, 20:35
by BigFIsh
See --> http://forums.smartfoxserver.com/viewtopic.php?t=4117

I also would recommend turning off auto-reload extension during production.