Mattle Posted March 9, 2011 Share Posted March 9, 2011 Hey peepz, A couple months ago I made this: http://www.mattle.nl/etstats/?Server=178.63.72.133&Port=27960 It's just a PHP script to show the current players and their xp and ping. Are there any ways to improve it? Quote Link to comment Share on other sites More sharing options...
Chuckun Posted March 9, 2011 Share Posted March 9, 2011 Your host seems unresponsive - I cannot connect, I get a bad gateway / timeout. Chuck Quote Link to comment Share on other sites More sharing options...
Mattle Posted March 9, 2011 Author Share Posted March 9, 2011 Hmm, strange. Indeed. Seems he doesn't get the information of the F|A server. A couple of hours he worked. Nevertheless, I can also get another server to show as an example. http://mattle.nl/etstats/?Server=216.155.146.19&Port=27960 Quote Link to comment Share on other sites More sharing options...
Krauersaut Posted March 9, 2011 Share Posted March 9, 2011 It is... simplistic. The only improvement I could think of while staying at that level of complexity is probably categorizing Allies, Axis and Spectators. Quote Link to comment Share on other sites More sharing options...
ohurcool Posted March 9, 2011 Share Posted March 9, 2011 It is... simplistic. The only improvement I could think of while staying at that level of complexity is probably categorizing Allies, Axis and Spectators. he's already done that... the flags to the left of the player names Quote Link to comment Share on other sites More sharing options...
Krauersaut Posted March 10, 2011 Share Posted March 10, 2011 he's already done that... the flags to the left of the player names Categorizing as in sorting by team. Quote Link to comment Share on other sites More sharing options...
Mattle Posted March 10, 2011 Author Share Posted March 10, 2011 Your host seems unresponsive - I cannot connect, I get a bad gateway / timeout. Chuck The problem is when there are too much players on the server, I can't get the information. I'm looking for an alternative way to fetch that information. Categorizing as in sorting by team. I'll try to create that. Thanks for your input Quote Link to comment Share on other sites More sharing options...
Xander Posted November 26, 2012 Share Posted November 26, 2012 (edited) I once made an ET tracker aswell, one of the things you need to pay attention to is, some servers use the 'P' variable to show players/teams, etc.. others (some silent servers can be configured otherwise I believe) do not always do this. As for the sorting and such, I'd suggest running a background cron - to fetch the information from servers, then just throw it into a database (just let it sort via the cron script) - and fetch it. This'll reduce server load and it'd allow you to use cache and such. edit: hmm just noticed I revived an old post, sorry! Edited November 26, 2012 by Xander Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.