Page 1 of 1

Client Receive repeat data from server

Posted: 06 Mar 2015, 10:53
by brownjay
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).

Re: Client Receive repeat data from server

Posted: 10 Mar 2015, 10:04
by Lapo
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

Re: Client Receive repeat data from server

Posted: 11 Mar 2015, 09:20
by brownjay
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

Re: Client Receive repeat data from server

Posted: 11 Mar 2015, 13:45
by Lapo
{ 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