Client Receive repeat data from server

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

brownjay
Posts: 5
Joined: 07 Dec 2014, 08:34

Client Receive repeat data from server

Postby brownjay » 06 Mar 2015, 10:53

Hi i force client connect with bluebox

mean i set socket port = 0 then client always used bluebox connect to server

when my game start i found i client receive the same data at about 500ms

so i write some log to record this , then the log file display this phenomenon is very frequent.

my question is what causes the problem.

1. Client network connection quality is poor.
2. Server setting wrong or my code is not right ( but i also have server log , it's can be check server side only send once data to client).
User avatar
Lapo
Site Admin
Posts: 19098
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Client Receive repeat data from server

Postby Lapo » 10 Mar 2015, 10:04

Hi,
I have no idea. You should turn on the debug flag in the SmartFoxClient class and inspect the client logs. For example by running the client in the Flash Editor (if you're using Flash)

If you want you can post the logs here so that we can take a look.
Please also add the SmartFoxServer version and the API version and type (AS2, AS3, Java etc...)

thanks
Lapo
--
gotoAndPlay()
...addicted to flash games
brownjay
Posts: 5
Joined: 07 Dec 2014, 08:34

Re: Client Receive repeat data from server

Postby brownjay » 11 Mar 2015, 09:20

Hi Lapo:

My SmartfoxServer version is 2.9.0

Client side , used java coding, version is 1.3.4

and this error log please reference line 645

this line already received cmdSeq=8

but line 691 repeat received the same data

also ask i noticed line 691 > Handling Data: 227, previous state: 124/124 it represents what meaning ??

It looks different from others
Attachments
error.zip
my error code
(7.39 KiB) Downloaded 385 times
User avatar
Lapo
Site Admin
Posts: 19098
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Client Receive repeat data from server

Postby Lapo » 11 Mar 2015, 13:45

{ Then you have posted in the wrong section :) I have moved your post under the SmartFoxServer 2X section of the forum. }
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------

Thanks,
I see what you mean. It look strange.

I've noticed that you're not connected via socket, but via HTTP. I would like you to test both modalities and report if the problem is reproducible in both cases or if it's reproducible at all.

Cheers
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 2 guests