Game Server's Packet to XonStats - Printable Version +- Xonotic Forums (https://forums.xonotic.org) +-- Forum: Creating & Contributing (https://forums.xonotic.org/forumdisplay.php?fid=10) +--- Forum: Xonotic - Development (https://forums.xonotic.org/forumdisplay.php?fid=12) +--- Thread: Game Server's Packet to XonStats (/showthread.php?tid=7380) |
Game Server's Packet to XonStats - Antares* - 04-29-2017 Quote:<[-z-]> servers send a UDP packet to the stats serverDone over UDP or TCP? RE: Game Server's Packet to XonStats - -z- - 04-30-2017 Here's how I went about tracing the code, if you're interested. I still don't have a definite answer for you, but maybe someone can take it from here. Game code side: http://xonotic.org/tools/cacs/#0a/0/stats.xon Code: grep -R "g_playerstats_gamereport_uri" **/*.qc -B 2 Code: grep -R "url_multi_fopen" **/*.qc Code: grep -R "void url_single_fopen" **/*.qc -n XonStat Side: (accepting a POST request). https://github.com/antzucaro/XonStat/blob/master/xonstat/views/submission.py#L1047 RE: Game Server's Packet to XonStats - Antibody - 04-30-2017 Stats are sent over TCP. There is no redundancy, though that would be nice. At best retry logic on the server-side could be implemented. |