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>
Battlefarm example problem
Battlefarm example problem
Last edited by ynkm169 on 31 Mar 2012, 19:53, edited 1 time in total.
Re: Battlefarm example problem
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.
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.
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Re: Battlefarm example problem
Great! Thanks.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.