Battlefarm example problem
Posted: 31 Mar 2012, 19:42
I open index.html to test Battlefarm. It doesn't work. It shows "Not connected". Server log does not show any client connection attempts.
When I build the client and open the swf file, it doesn't work. It shows "Not connected". Server log does not show any client connection attempts.
However, when I test movie by running the game in flash IDE, it works.
What might be the problem?
Also, how do I test multiple clients? Because I can only debug one flash movie at a time, when I test a second client in browser, I can't potentially see any problems because it is not in debug mode and I can't see any trace printout. I don't have access to source code so there seems to be no way for me to debug it.
Help?
//my config file:
<SmartFoxConfig>
<!-- Mandatory Settings -->
<ip>127.0.0.1</ip>
<port>9933</port>
<zone>BattleFarm</zone>
<!-- End Mandatory Settings -->
<debug>false</debug>
<httpPort>8080</httpPort>
<useBlueBox>true</useBlueBox>
<blueBoxPollingRate>200</blueBoxPollingRate>
</SmartFoxConfig>
When I build the client and open the swf file, it doesn't work. It shows "Not connected". Server log does not show any client connection attempts.
However, when I test movie by running the game in flash IDE, it works.
What might be the problem?
Also, how do I test multiple clients? Because I can only debug one flash movie at a time, when I test a second client in browser, I can't potentially see any problems because it is not in debug mode and I can't see any trace printout. I don't have access to source code so there seems to be no way for me to debug it.
Help?
//my config file:
<SmartFoxConfig>
<!-- Mandatory Settings -->
<ip>127.0.0.1</ip>
<port>9933</port>
<zone>BattleFarm</zone>
<!-- End Mandatory Settings -->
<debug>false</debug>
<httpPort>8080</httpPort>
<useBlueBox>true</useBlueBox>
<blueBoxPollingRate>200</blueBoxPollingRate>
</SmartFoxConfig>