A way to record all the in/out data from smartfox

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

Moderators: Lapo, Bax

andrew2110
Posts: 90
Joined: 28 May 2008, 13:36

A way to record all the in/out data from smartfox

Postby andrew2110 » 14 Aug 2018, 16:13

Hello!

As the subject implies, I'm trying to create an easy way that I can recreate all the data sent / received in a session (client side) so that I can recreate issues which appear to come up from time to time in very hard to recreate scenarios. Is there a "good" way to do this? It'll be something like storing every bit of data received with timing data so that in recreating the session I can just start a SmartFoxSimulated component and load up all the binary data and it will fire the data at the client the same way the actual server did, does this make sense?
User avatar
Lapo
Site Admin
Posts: 23026
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: A way to record all the in/out data from smartfox

Postby Lapo » 15 Aug 2018, 07:23

Hi,
no I don't think there's a good way to do this. I think it would be better to add debug information from either client or server (or both) so that you can pinpoint the problem you're looking for.

Then you can run a small local stress test and collect the logs to see what might be going on.
Info on how to build a stress test can be found here:
https://smartfoxserver.com/blog/buildin ... test-tool/

Hope it helps
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 104 guests