Page 1 of 1

Battlefarm example problem

Posted: 31 Mar 2012, 19:42
by ynkm169
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>

Re: Battlefarm example problem

Posted: 31 Mar 2012, 19:50
by rjgtav
Hello.
Well, it looks like you're having some playback security problems. I suggest you to go to Control Panel (Windows), and edit the Flash Player Settings. There, you go to the Advanced tab, click on the Trusted Location Settings and add the folder where the BattleFarm swf is located. Finally, save all those settings, and the example should start connecting successfully to the server.

Re: Battlefarm example problem

Posted: 31 Mar 2012, 20:03
by ynkm169
rjgtav wrote:Hello.
Well, it looks like you're having some playback security problems. I suggest you to go to Control Panel (Windows), and edit the Flash Player Settings. There, you go to the Advanced tab, click on the Trusted Location Settings and add the folder where the BattleFarm swf is located. Finally, save all those settings, and the example should start connecting successfully to the server.
Great! Thanks.