Page 2 of 2
Re: any car racing example?
Posted: 25 Feb 2012, 18:40
by hassanayoub85
Still waiting u sir, to test and by then talking further.
Re: any car racing example?
Posted: 25 Feb 2012, 19:24
by A51Integrated
We are unable to replicate this scenario. Can you confirm SFS API version, SFS server version, server java version, server OS, client OS, and client AIR runtime version?
Re: any car racing example?
Posted: 25 Feb 2012, 19:33
by hassanayoub85
SFS2X 2.0.1
Windows 7 on both server and client.
Adobe AIR 3.1
All SFS examples are working perfectly.
Re: any car racing example?
Posted: 25 Feb 2012, 20:15
by A51Integrated
Since we're unable to replicate this, you're going to have to debug the client and server and see what may be the root cause of the issue.
In the client, in the GameController.as file on line 1421
Code: Select all
else if(cmd == Settings.EXT_INIT_COUNTDOWN)
This is where the client listens for a response from the server when ALL players in the room have clicked on the ready button. An extension response should be received and then the WinPreGame gets destroyed and the Countdown starts. Put some traces in and around the onExtensionResp (line 1196) method.
Also, on the server, put some traces in the Java extension. In the OnUserVarChange.java handler, the checkStartGate method gets called every time a user var is received. That method loops through the players in the room and if everyone is ready, sets a global RoomVariable and sends the Countdown command to the clients in the room. Put some trace statements around those methods to see if they are being called properly.
Also, be sure to compile the client with the latest SWC file from the latest server release.
Re: any car racing example?
Posted: 25 Feb 2012, 21:27
by hassanayoub85
Sir, I am not aan experiienced user to be able too do that.
I havee a project which i want to deveop with a professioal studioand using sfs, and all what i am searching for is a showcase to be comfortablee with that company./
Annd as ur demo is not working, soI think I haave to search n anther place.
Re: any car racing example?
Posted: 25 Feb 2012, 21:41
by A51Integrated
The samples provided are developer samples, they are not intended as showcase examples. Can you compile the app at all? or do you not have FlashBuilder. If you can't compile the app, then most certainly there will be issues with it since AIR executable included in the samples download uses the client API for SFS2X RC1. There have been substantial updates since then and it is recommended to compile a new app to run.
We will get around to distributing an updated version, however, it will take some time since SFS2X final release just came out.
If you are interested in licensing, please send an email to info _at_ smartfoxserver.com. We can guarantee that we will get the game working and customized for you.
Re: any car racing example?
Posted: 25 Feb 2012, 21:54
by hassanayoub85
I contacted u through the website contact form and waiting
Re: any car racing example?
Posted: 13 Mar 2012, 09:19
by hassanayoub85
Hello, sir,
Any updates with the working version of the space race?
Re: any car racing example?
Posted: 13 Mar 2012, 15:07
by Bax
We've found an issue with the game Zone configuration file provided in the examples package. Now it is updated and everything should work as expected.
Re: any car racing example?
Posted: 13 Mar 2012, 15:27
by hassanayoub85
thx, worked perfectly now. will test the udp performance now