I am using the 32bit version of SFS2X with the RC2 patch applied. I am trying to connect with the FPS demo which was upgraded to Unity 3.0, exported as assets, imported into a fresh project, and has the security policy thing applied.
The SFS2X log has this looping when I try to start a game in the demo :
Code: Select all
17 Mar 2011 19:30:07,655 WARN [com.smartfoxserver.v2.controllers.ExtensionController-1] v2.controllers.ExtensionController -
com.smartfoxserver.v2.exceptions.SFSExtensionException: No extensions can be invoked: { Zone: SimpleChat }, RoomId: 4
com.smartfoxserver.v2.controllers.ExtensionController.processRequest(ExtensionController.java:120)
com.smartfoxserver.bitswarm.controllers.AbstractController.run(AbstractController.java:96)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
My server.xml file is as follows :
Code: Select all
<serverSettings>
<socketAddresses>
<socket address="127.0.0.1" port="9933" type="TCP"/>
<socket address="127.0.0.1" port="9339" type="TCP"/>
<socket address="127.0.0.1" port="9933" type="UDP"/>
</socketAddresses>
<ipFilter>
<addressBlackList>
<string>100.101.102.103</string>
</addressBlackList>
<addressWhiteList>
<string>192.168.0.16</string>
</addressWhiteList>
<maxConnectionsPerAddress>9999999</maxConnectionsPerAddress>
</ipFilter>
<flashCrossdomainPolicy>
<useMasterSocketPolicy>true</useMasterSocketPolicy>
<policyXmlFile>crossdomain.xml</policyXmlFile>
</flashCrossdomainPolicy>
<systemControllerThreadPoolSize>1</systemControllerThreadPoolSize>
<extensionControllerThreadPoolSize>1</extensionControllerThreadPoolSize>
<systemControllerRequestQueueSize>20000</systemControllerRequestQueueSize>
<extensionControllerRequestQueueSize>20000</extensionControllerRequestQueueSize>
<schedulerThreadPoolSize>1</schedulerThreadPoolSize>
<protocolCompressionThreshold>1024</protocolCompressionThreshold>
<protocolMode>BINARY</protocolMode>
<remoteAdmin>
<administrators>
<adminUser>
<login>sfsadmin</login>
<password>sfsadmin</password>
</adminUser>
</administrators>
<allowedRemoteAddresses>
<string>127.0.0.1</string>
<string>192.168.0.7</string>
<string>10.0.0.1</string>
</allowedRemoteAddresses>
<adminTcpPort>9933</adminTcpPort>
</remoteAdmin>
<bannedUserManager>
<isAutoRemove>true</isAutoRemove>
<isPersistent>true</isPersistent>
<customPersistenceClass></customPersistenceClass>
</bannedUserManager>
<extensionRemoteDebug>true</extensionRemoteDebug>
<useFriendlyExceptions>false</useFriendlyExceptions>
<mailer>
<mailHost>test.mail.com</mailHost>
<mailUser>foo</mailUser>
<mailPass>pippo</mailPass>
<smtpPort>25</smtpPort>
<workerThreads>1</workerThreads>
</mailer>
<webServer>
<isActive>true</isActive>
<cfgFile>config/jetty/jetty.xml</cfgFile>
</webServer>
<startExtensionFileMonitor>true</startExtensionFileMonitor>
<useFriendlyLogging>true</useFriendlyLogging>
<useDebugMode>true</useDebugMode>
<sessionMaxIdleTime>20</sessionMaxIdleTime>
<userMaxIdleTime>300</userMaxIdleTime>
</serverSettings>
I have not changed any code in the demo. Nor have I changed anything else on the Server, aside from the above file.