Discovery Gaming Community
Write some PHP - Printable Version

+- Discovery Gaming Community (https://discoverygc.com/forums)
+-- Forum: Discovery General (https://discoverygc.com/forums/forumdisplay.php?fid=3)
+--- Forum: Discovery RP 24/7 General Discussions (https://discoverygc.com/forums/forumdisplay.php?fid=23)
+--- Thread: Write some PHP (/showthread.php?tid=66510)



Write some PHP - Cannon - 09-20-2011

See this: http://discoverygc.com/server/players_online.html

It would be neat if a php hacker could write a script or three to record and process the data in this list so that we could see statistics for lag and loss over time and put this on a pretty graph.

I'm thinking that the following stats would be interesting:
- av loss
- av lag
- av loss of the 5% worst players
- av lag of the 5% worst players

The scripts can run on the forum server and mysql db is available to record the data.

anybody keen?


Write some PHP - SeaFalcon - 09-20-2011

I forwarded the link to a friend, if he has time/the will/ability to make something out of it.

Should hear from him this afternoon somewhere.


Write some PHP - Blodo - 09-20-2011

I'll have a wee look at it. But would be nice to get by PM the database layout and maybe a test data dump so I can test stuff. Also some general idea of how the PHP script gets the data from freelancer.


Write some PHP - KAWISH-ALI - 09-20-2011

ehhhh after this gets done.
admins may ban players with high lags or loss parmenetly???


Write some PHP - Fletcher - 09-20-2011

Nah likely just looking at how to improve things and stats in general.


Write some PHP - KAWISH-ALI - 09-20-2011

' Wrote:Nah likely just looking at how to improve things and stats in general.


Right. Hope i prove wrong:)


Write some PHP - Alex. - 09-20-2011

I did something like this in java a while back. Will have a go at this though.

Edit: < and similar HTML entities shouldn't be showing on the page.


Write some PHP - Cannon - 09-20-2011

The intention is so that people (and me) can see if there is a network connection issue to the server or if it is a only a single person's connection.

I would like to be able to see this over time on a pretty graph.

I can install graphing packages on the forum server if needed. There are some on it already although I can't remember the names.

The list information is not in a database. It needs to be parsed from the file *but* I can provide a database connection for the parsed information.


Write some PHP - Discovery UK - 09-20-2011

How long were you planning to store the historical information?


Write some PHP - Discovery UK - 09-23-2011

Submitted in Skype PM :3