Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Web Site Functionality _ JavaScript data

Posted by: walduxas Jul 14 2022, 08:31 AM

Hi, there's online game "Forge of empires". I use Google chrome network inspector to record network activity when I browse in the game. Network inspector allows me to copy various responses which I then copy paste into Excel and view various game stats in a way, that I prefer. The game itself provides vary poor stats info.
However, I'm more interested in particular case. There's battle map where various guilds fight there. I can see data loaded via network inspector when I enter the map. However, after the map is loaded, network inspector doesn't show any more data beeing loaded, no more network responses are being received. But the map still keeps updating, I can see various guilds fighting. I'm wondering, why network inspector doesn't capture any more network responses after map is loaded? Is it related to JavaScript? Is it posible to capture data (for instance response texts) after map is loaded?


Attached thumbnail(s)
Attached Image

Posted by: Christian J Jul 14 2022, 06:35 PM

QUOTE(walduxas @ Jul 14 2022, 03:31 PM) *

But the map still keeps updating, I can see various guilds fighting. I'm wondering, why network inspector doesn't capture any more network responses after map is loaded? Is it related to JavaScript?

If the game changes are only caused by javascript running in your own browser you may not see any new network traffic, but I think the Inspector's Element view (where the page's HTML is shown) would reveal such changes. You just need to find where in the HTML structure they occur.

Javascript can also send or retrieve data from the game's web server (XHR/Ajax), but then I think it would be visible in the Inspector's Network view.





Posted by: Sophieelliott Aug 8 2023, 01:14 AM

Network inspectors primarily capture traditional HTTP requests and responses, which could explain the lack of captured data post-load. Real-time updates often rely on persistent connections, bypassing standard HTTP interactions. To capture this dynamic data, consider using browser developer tools' "Console" or "WebSocket" tab, or external tools designed for WebSocket monitoring.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)