Page 1 of 1

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

Posted: 14 Aug 2018, 16:13
by andrew2110
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?

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

Posted: 15 Aug 2018, 07:23
by Lapo
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