[0.6] {
method relative_tos() where it wasn't working
parse_live_server_players() where it would return the wrong team for the players
"rank" data inside of the arrays returned in parse_userstats()
}
[0.5] {
what we've been missing all along.
StatsExtract->parse_live_server_players($ip, $port)
fetches the list of players from the server. Credits to Kemine for allowing me to use his code for converting the recieved data into readable form! (
http://unrealsoftware.de/files_show.php?file=7549)
}
[0.4] {
Refactored
parse_htmlstats
& lots of code
StatsExtract->parse_htmlstats()['stats']['version']
added which returns cs2d dedicated version
StatsExtract->parse_htmlstats()['stats']['graph']
now returns 2 arrays which have today's & yesterday's (if available) graph.
StatsExtract->parse_userstats()
now has a second argument
$orderBy
which can order the returning array by USGN or by join date. This was already provided by MikuAuahDark more than a year ago. No idea why I haven't implemented it yet. o.O
Functions now log time taken to execute
Logs are now accurate to microseconds
More & clearer documentation
Less Code Cluster
Very fast now even with bigger files!
some bugs
}
[0.3] {
many bugs
top 30 user extracts from serverstats.html (You have userstats.dat extraction for that)
SimpleHTMLDOM Dependacy
Optimized the code
defined constants to prevent namespace collisions (defines now start with SE_)
some returning array key names
parse_live_server_stats is now
parse_live_server_info
Re-wrote
parse_live_server_info
unnecessary code
If there's an error, the script won't stop (die()) and instead will now return FALSE
User array index (parse_userstats) starts from 1; NOT FROM 0
}
[0.2c] {
'rank' in parsed html stats. You can get the ranks on your own based on the arrangement of the array.
util method [calc_kpd($frags,$deaths)] to calculate the kills per death ratio. 2 obvious parameters.
[usgn_avatar($usgn)]; gets the usgn's avatar link from usgn.de. Returns empty if he has no avatar of his own.
[usgn_name($usgn)]; gets the usgn owner's name from usgn.de.
Updated Documentation
[INFO]A bit of more efficiency with extraction algorithm.
file check for the simple_html_dom library (dependacy), you can turn this filecheck off in the preload defines!
}
[0.2b] {
extracted and sorted serverstats user ranks
}
[0.2a] {
fclose issue.
}
[0.2] {
Retrieving server stats via PHP sockets
Re-did the whole damn lib
No more token temp files!
No more extra configuration files!
A shit ton more efficient. And there should be an increase in speed as well. ;0
That's pretty much it, I suppose?
}