any car racing example?

Post here your questions about the Flash / Flex / Air API for SFS2X

Moderators: Lapo, Bax

hassanayoub85
Posts: 21
Joined: 17 Jan 2012, 17:50

Re: any car racing example?

Post by hassanayoub85 »

Still waiting u sir, to test and by then talking further.
A51Integrated
Posts: 240
Joined: 03 Jan 2012, 19:55
Location: Toronto, Canada
Contact:

Re: any car racing example?

Post 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?
A51 Integrated
http://a51integrated.com / +1 416-703-2300
hassanayoub85
Posts: 21
Joined: 17 Jan 2012, 17:50

Re: any car racing example?

Post by hassanayoub85 »

SFS2X 2.0.1
Windows 7 on both server and client.
Adobe AIR 3.1

All SFS examples are working perfectly.
A51Integrated
Posts: 240
Joined: 03 Jan 2012, 19:55
Location: Toronto, Canada
Contact:

Re: any car racing example?

Post 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.
A51 Integrated
http://a51integrated.com / +1 416-703-2300
hassanayoub85
Posts: 21
Joined: 17 Jan 2012, 17:50

Re: any car racing example?

Post 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.
A51Integrated
Posts: 240
Joined: 03 Jan 2012, 19:55
Location: Toronto, Canada
Contact:

Re: any car racing example?

Post 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.
A51 Integrated
http://a51integrated.com / +1 416-703-2300
hassanayoub85
Posts: 21
Joined: 17 Jan 2012, 17:50

Re: any car racing example?

Post by hassanayoub85 »

I contacted u through the website contact form and waiting
hassanayoub85
Posts: 21
Joined: 17 Jan 2012, 17:50

Re: any car racing example?

Post by hassanayoub85 »

Hello, sir,
Any updates with the working version of the space race?
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Re: any car racing example?

Post 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.
Paolo Bax
The SmartFoxServer Team
hassanayoub85
Posts: 21
Joined: 17 Jan 2012, 17:50

Re: any car racing example?

Post by hassanayoub85 »

thx, worked perfectly now. will test the udp performance now
Post Reply