Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Dates of Monk promotion

by u65 (Chaplain)
on Jun 16, 2015 at 10:20 UTC ( #1130582=monkdiscuss: print w/replies, xml ) Need Help??

Is there any way to determine the date a Monk reached a certain level?

Replies are listed 'Best First'.
Re: Dates of Monk promotion (covered)
by tye (Sage) on Jun 17, 2015 at 14:38 UTC

    You can actually view the times of some of your promotions that were tracked by the site by appending ";displaytype=xml" to the URL to your own "home node" and searching for "levelchange". For example, ?node=u65;displaytype=xml will show (only to u65) information that includes timestamps of level changes (that happened during the time window when that feature of the site was working).

    - tye        

      Thanks. That makes my script that extracted the information from the Wayback Machine useless.

      Interestingly, the outputs of the XML and my script are almost the same. Here's how I extracted the information from the XML (specify its filename as a parameter to the following script):

      #!/usr/bin/perl use warnings; use strict; use WWW::Mechanize; use HTML::TableExtract; use XML::XSH2; my $w = 'WWW::Mechanize'->new; $w->get('') +; my $te = 'HTML::TableExtract'->new( headers => [qw[ Level XP ]] ); $te->parse($w->content); my $table = ($te->tables)[0]->rows; package XML::XSH2::Map; our $string; package main; xsh << 'end.'; open {$ARGV[0]} ; $string = xsh:subst(normalize-space(//var[@name="levelchange"]), ';', +"\n", 'g') ; end. $string =~ s/^[0-9]+-//gm; $string =~ s/^([0-9]+)(.*)/$1$2 $table->[$1-1][1]/gm; print $string;

      You have to insert dashes into the dates to the output of the Wayback Machine to make it work:

      perl -pe 's/(....)(..)/$1-$2-/'

      I then used gnuplot to compare them:

      set term pngcairo size 1024, 800 set xdata time set timefmt "%Y-%m-%d" set format x '%Y/%m' plot 'pm-xp.txt' using 2:4 with lines title 'XP',\ '' using 2:($1*1000) with lines title 'Level',\ 'wayback.txt' using 1:2 with lines title 'Wayback Machine'

      Update: The image.

      لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
      Or QM's level history (<a href="/;displaytype=xml">QM's level history</a>), for those who have a unique page name as their username?

      Or perhaps more canonically QM's level history ([href://?node=QM;type=user;displaytype=xml|QM's level history]), for those who don't?

      But you still have to search for "levelchange".

      As stated earlier, this only works for the logged in user. Non-you targets get something, but not everything, and not the levelchange: Not tye's level history

      Quantum Mechanics: The dreams stuff is made of


      Is the x-y from x to y? The format seems to be: 1-2, 2-3, 3-4. 0-1 is listed in the normal details under "User since."


        echo "1-2 2009-08-29 08:54:42;2-3 2009-09-02 01:29:29;3-4 2009-09-03 0 +8:24:46;4-5 2009-09-10 08:50:28;5-6 2010-06-29 08:26:43;6-7 2010-09-0 +3 10:45:47;7-8 2012-04-01 23:00:22;8-9 2012-04-28 12:09:22;9-10 2012- +05-30 03:34:59;10-11 2014-11-30 09:34:57;11-12 2015-06-17 08:24:20" | + \ \ perl -nE '@a=split(/;/);for(@a){($a,$b)=split(/\s+(?=\d{4})/);say "$a: + $b";}' 1-2: 2009-08-29 08:54:42 2-3: 2009-09-02 01:29:29 3-4: 2009-09-03 08:24:46 4-5: 2009-09-10 08:50:28 5-6: 2010-06-29 08:26:43 6-7: 2010-09-03 10:45:47 7-8: 2012-04-01 23:00:22 8-9: 2012-04-28 12:09:22 9-10: 2012-05-30 03:34:59 10-11: 2014-11-30 09:34:57 11-12: 2015-06-17 08:24:20 # ^^^^^^^^^^ <- today of all days :)

      Just what I was looking for--thanks, tye!

      This is great, even for those who might not ever want such a thing. Thanks tye!


Re: Dates of Monk promotion
by chacham (Prior) on Jun 16, 2015 at 12:02 UTC

    <joke amount = "half">
    Between, Super Search, Levels of Monks, and by following the dates, it can be approximated. (Voting/Experience System explains how points are distributed.) Of course, you'll need to vote on each node, which might take a while and would have to be incorporated into the approximation. XML might make it a bit easier.

    Or, you you could use The Wayback Machine like eyepopslikeamosquito did, and check the users' pages, if available.

    For the older monks, don't forget to incorporate the old leveling system.

    I'm kind of interested in this. Specifically, to know what level a monk was at the time of a specific post. So many forums tell you what the user is now, which is redundant, misleading, and not applicable to the post being looked at...unless it's to say, "hey, look at where a post like this might lead." And, it has an extra cost on the system to keep it dynamic. So silly. :)

Re: Dates of Monk promotion
by GotToBTru (Prior) on Jun 16, 2015 at 19:57 UTC

    I don't believe there is a way to know; it might be possible to make good guesses. I'd be interested in chacham fleshing out his ideas.

    Recording my own progress is the reason I came up with this. Unfortunately, it can record only the current state, and won't help with history. The wayback machine should help with that, but I'm not familiar with it myself.

    Updated link and pleased to be proven wrong

    Dum Spiro Spero
Re: Dates of Monk promotion
by ambrus (Abbot) on Jun 17, 2015 at 05:44 UTC

    No, there is no way to tell experience level history.

Re: Dates of Monk promotion
by stevieb (Canon) on Jun 16, 2015 at 22:59 UTC

    You can mark me down... four XP to level 12, Deacon ;)


Re: Dates of Monk promotion
by Anonymous Monk on Jun 16, 2015 at 22:55 UTC

    It isn't tracked because its just a game

    Now it could have been tracked since the beginning , About the XP Nodelet knows about the changes, it could have /msg'ed or noted it somewhere ... but it didn't, and its been 15 years

A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: monkdiscuss [id://1130582]
Approved by Corion
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2020-12-02 06:21 GMT
Find Nodes?
    Voting Booth?
    How often do you use taint mode?

    Results (34 votes). Check out past polls.