Problems with Playerstats for Different Players

Everything technical and nerdy stuff here plz !

Problems with Playerstats for Different Players

Postby Pirat » 06.04.12

It seems the set of information shown in someone's
playerstats page is not always the same:

UCF: week-bargraph
natirips: week-bargraph + month-table
Zottel: NOTHING
Pirat: week-bargraph + month-table

Zottel said his playerstats page showed both
week-bargraph and month-table yesterday.

Note that the graphics themselves seem to be
accessible: Zottel's month-table
Pirat
Godlike
 
Posts: 1447
Joined: 03.29.10
-----tdm:  
nick: Pirat
skill: 507.365
kills: 402
deaths: 636
ratio: 0.63

Re: Problems with Playerstats for Different Players

Postby Samtron » 06.04.12

As far as i know the bargraph only appears when there was some activity in last month.
That Zottel has no images at all is a bit surprising... Are there any other players with the same phenomenon?

PS: There are still a few small bugs in the bargraph... Shame on my programming skills.
Image
User avatar
Samtron
Godlike
 
Posts: 1296
Joined: 01.08.09
Location: Berlin, Germany
-----tdm:  
nick: Samtron
skill: 584.92
kills: 316
deaths: 269
ratio: 1.17

Re: Problems with Playerstats for Different Players

Postby Pirat » 06.04.12

Samtron wrote:As far as i know the bargraph only appears when there was some activity in last month.
That Zottel has no images at all is a bit surprising... Are there any other players with the same phenomenon?

SKracht has only the bargraph,
but interestingly enough, the web page claims
his last time in game was in December 2011.

Samtron wrote:PS: There are still a few small bugs in the bargraph... Shame on my programming skills.

You could make up for this shame by supplying
a text mode interface, so that I could do sth. like

Code: Select all
  stats=$(wget -O- http://www.dswp.de/old/images tdm-textstats/922)
  # - calculate current ratio with n digits accuracy
  #   and output it in a transparent rxvt/xterm that
  #   hovers over the UrT window.
  # - make some nice gnuplot/ascii arts graphics showing
  #   ratio development
  # - Say BEEP when I reach ratio of 2.0 :-)
  # - ...


Pirat, who cannot really demand anything before the
map database project is at least half-way finished. :-}
Pirat
Godlike
 
Posts: 1447
Joined: 03.29.10
-----tdm:  
nick: Pirat
skill: 507.365
kills: 402
deaths: 636
ratio: 0.63

Re: Problems with Playerstats for Different Players

Postby JRandomNoob » 06.04.12

Lemme guess — Samtron thinks the “bargraph” is what Pirat called the “monthly table”? In this case, what he said true, table is only shown if there has been activity in a month, and it is a bit buggy.
User avatar
JRandomNoob
DSWP Meme Artist
 
Posts: 1852
Joined: 12.05.10
Location: Estonia
-----tdm:  
nick: WidespreadPanic
skill: 618.539
kills: 12260
deaths: 10971
ratio: 1.11
-----bomb:  
nick: SelfRescuingPrincess
skill: 254.796
kills: 219
deaths: 202
ratio: 1.08

Re: Problems with Playerstats for Different Players

Postby Unclefragger » 06.05.12

ye qkey for stats is used when I connect through vpn, still can't reach the gameserver there
so last connect is a little old (not that I have been playing a lot with other keys)

if you guys want to make the buggy codes accessible (dswp only or general), git is still around and maybe someone is able to spot a little troublemaker for you ;)
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
- Martin Golding
User avatar
Unclefragger
Godlike
 
Posts: 2006
Joined: 10.14.08
Location: rooftops
-----tdm:  
nick: [dswp]ucf
skill: 472.479
kills: 532
deaths: 332
ratio: 1.60

Re: Problems with Playerstats for Different Players

Postby Samtron » 06.05.12

JRandomNoob wrote:Lemme guess — Samtron thinks the “bargraph” is what Pirat called the “monthly table”? In this case, what he said true, table is only shown if there has been activity in a month, and it is a bit buggy.
Perfectly noticed - seems like I didn't read Priats entry carefully enough. Of course I mean the monthly table, and it is only shown when there was any activity in the last month.
The bugs I know: Sometimes the color or data for the current day aren't computed correctly, it looks like the code (written by myself) mixes up the last days then... Also days with ingame time but without any kill or death lead to unexpected behaviour/appearance.

Unclefragger wrote:if you guys want to make the buggy codes accessible (dswp only or general), git is still around and maybe someone is able to spot a little troublemaker for you ;)
Installing git is on my Todo-List, it's a shame that the last change on the Firefox bar is from November 2009. Let's change that!
Image
User avatar
Samtron
Godlike
 
Posts: 1296
Joined: 01.08.09
Location: Berlin, Germany
-----tdm:  
nick: Samtron
skill: 584.92
kills: 316
deaths: 269
ratio: 1.17


Who is online

Users browsing this forum: No registered users and 38 guests

Misc