Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2] 3 4

Author Topic: [UTIL] The LurkerTracker (version updated)  (Read 12092 times)

Argembarger

  • Bay Watcher
    • View Profile
    • Not quite yet
Re: [UTIL] The LurkerTracker
« Reply #15 on: November 22, 2010, 06:55:36 pm »

Yeah, you have a point about it not translating well between different moniters and browsers, and text wrapping concerns.

Ooh, instead, could you color-code the data within it to help out my poor, weak eyes?

Something like:


LurkerTracker

Argembarger has posted 9 times; the last on: 2010/11/22 02:14, 3 hours ago. Latest red text: MBP
Criptfeind: dead, town medium has posted 28 times; the last on: 2010/11/17 18:26, 107 hours ago. Latest red text: SHADOWdump
JanusTwoface has posted 35 times; the last on: 2010/11/19 13:28, 64 hours ago. Latest red text: vote Pandarsenic
Jim Groovester has posted 70 times; the last on: 2010/11/22 04:01, 1 hours ago. Latest red text: Pandarsenic
KaminaSquirtle has posted 60 times; the last on: 2010/11/20 23:39, 30 hours ago. Latest red text: Unvote.  Vote Pandarsenic.
Leafsnail has posted 20 times; the last on: 2010/11/20 23:23, 30 hours ago. Latest red text: Unvote.  Vote Pandarsenic.
Mish has posted 15 times; the last on: 2010/11/18 22:29, 79 hours ago. Latest red text: MBP
Moderator has posted 28 times; the last on: 2010/11/20 15:44, 37 hours ago. Latest red text: ToonyMan
Mr.Person has posted 16 times; the last on: 2010/11/22 00:28, 5 hours ago. Latest red text: Pandarsenic
Mysteriousbluepuppet has posted 9 times; the last on: 2010/11/18 10:20, 91 hours ago. Latest red text: Ottofar
Nonplayer has posted 2 times; the last on: 2010/11/10 23:21, 270 hours ago.
Org: dead, town medium has posted 18 times; the last on: 2010/11/12 20:21, 225 hours ago. Latest red text: Kaminasquirtle
Ottofar has posted 12 times; the last on: 2010/11/22 03:50, 1 hours ago. Latest red text: Kamina
Pandarsenic has posted 26 times; the last on: 2010/11/20 12:01, 41 hours ago. Latest red text: unvote KaminaSquirtle and vote Zathras
SHAD0Wdump: dead, town telepath has posted 48 times; the last on: 2010/11/17 18:15, 107 hours ago. Latest red text: Janus
Toaster has posted 23 times; the last on: 2010/11/20 22:27, 31 hours ago. Latest red text: Unvote.  Vote Pandarsenic
Zathras has posted 32 times; the last on: 2010/11/20 03:55, 49 hours ago. Latest red text: <strong>Pandarsenic</strong>
webadict has posted 22 times; the last on: 2010/11/18 20:01, 81 hours ago. Latest red text: OFFLINE

Replacements considered: Eduren => Argembarger; Solifuge => Mish.
The Morgue: Criptfeind: dead, town medium; Org: dead, town medium; SHAD0Wdump: dead, town telepath.

Moderator: please prod JanusTwoface, Mish, Mysteriousbluepuppet, Zathras, webadict.


Ok well I was too lazy to format the whole thing but the top part is what I was generally thinking.

The name color-codes could be like, Unknown (still alive) orange, Town (obviously dead) limegreen, Mafia/Third-Party (also dead, duh) red, Moderator (blue), Other/Nonplayer (black)

Or, you know, whatever you think is best.

Help make the LurkerTracker to be useful AND easier on the eyes!

Great job though, I appreciate your efforts :D
« Last Edit: November 22, 2010, 06:59:07 pm by Argembarger »
Logged
Quote from: penguinofhonor
Quote from: miauw62
This guy needs to write a biography about Columbus. I would totally buy it.
I can see it now.

trying to make a different's: the life of Columbus

Zathras

  • Bay Watcher
  • Boogie thinks you being confoosed.
    • View Profile
Re: [UTIL] The LurkerTracker
« Reply #16 on: November 22, 2010, 07:08:58 pm »

I can highlight the post count/hours ago bits, no problem. The colour coding is a bit inconvenient in the current incarnation, I'll see if I can incorporate something like that in the next one. But thank you for the ideas and discussion, it will only make it better.

Now if only I could find a way to get the pages in realtime instead of having to muck around with temporary files and preprocessing, I'd be very happy.


Here's what it looks like right now (urls are empty):


LurkerTracker

Argembarger has 9 posts; last on: 2010/11/22 02:14, 15 hours ago. Red text: MBP. Posts: [1][2][3][4][5][6][7][8][9]
Criptfeind: dead, town medium has 28 posts; last on: 2010/11/17 18:26, 119 hours ago.  Posts: [1][2][3][4][5][6][7][8][9][10][11][12][13][14][15][16][17][18][19][20][21][22][23][24][25][26][27][28]
JanusTwoface has 35 posts; last on: 2010/11/19 13:28, 76 hours ago. Red text: vote Pandarsenic. Posts: [1][2][3][4][5][6][7][8][9][10][11][12][13][14][15][16][17][18][19][20][21][22][23][24][25][26][27][28][29][30][31][32][33][34][35]
[...]
Toaster has 23 posts; last on: 2010/11/20 22:27, 43 hours ago. Red text: Unvote. Vote Pandarsenic. Posts: [1][2][3][4][5][6][7][8][9][10][11][12][13][14][15][16][17][18][19][20][21][22][23]
Zathras has 32 posts; last on: 2010/11/20 03:55, 62 hours ago. Red text: Pandarsenic. Posts: [1][2][3][4][5][6][7][8][9][10][11][12][13][14][15][16][17][18][19][20][21][22][23][24][25][26][27][28][29][30][31][32]
webadict has 22 posts; last on: 2010/11/18 20:01, 94 hours ago. Red text: Ottofar. Posts: [1][2][3][4][5][6][7][8][9][10][11][12][13][14][15][16][17][18][19][20][21][22]

Replacements considered: Eduren => Argembarger; Solifuge => Mish.
The Morgue: Criptfeind: dead, town medium; Org: dead, town medium; SHAD0Wdump: dead, town telepath.

Moderator: please prod JanusTwoface, Mish, Mysteriousbluepuppet, Pandarsenic, Zathras, webadict. They haven't posted in over 48 hours.

Logged
My soul has been freed by the King of the Mafia.

Zai

  • Bay Watcher
  • Elmo? Is that a SIMPLE UTENSIL?
    • View Profile
Re: [UTIL] The LurkerTracker
« Reply #17 on: November 22, 2010, 07:26:19 pm »

I like this incarnation.
Logged
DEATH has been waiting for you. He has poured you some TEA.

Ottofar

  • Bay Watcher
  • Wait, spinning?
    • View Profile
Re: [UTIL] The LurkerTracker
« Reply #18 on: November 23, 2010, 08:28:38 am »

'Tis great.

Toaster

  • Bay Watcher
  • Appliance
    • View Profile
Re: [UTIL] The LurkerTracker
« Reply #19 on: November 23, 2010, 04:32:53 pm »

In the main post list, I would suggest reordering Moderator and Nonplayer to the bottom two spots, ideally with a linebreak between them and the player base. Possibly make a third section for dead players?

Example:

Alpha: posts
Baker: posts
Delta: posts
Echo: posts
Golf: posts

Charlie, dead: posts
Foxtrot, dead: posts

Moderator: posts
Nonplayer: posts
Logged
HMR stands for Hazardous Materials Requisition, not Horrible Massive Ruination, though I can understand how one could get confused.
God help us if we have to agree on pizza toppings at some point. There will be no survivors.

Zathras

  • Bay Watcher
  • Boogie thinks you being confoosed.
    • View Profile
Re: [UTIL] The LurkerTracker
« Reply #20 on: November 23, 2010, 04:39:24 pm »

This is a good idea; it currently just sorts them alphabetically using the native sort (which incidentally sorts uppercase first, then lowercase, so it looks weird). I'll see if I can add that custom sort into the next iteration.
Logged
My soul has been freed by the King of the Mafia.

ExKirby

  • Bay Watcher
  • A Jump On The Daily Comic Bandwagon.
    • View Profile
    • ExKirby's Generic Randomness
Re: [UTIL] The LurkerTracker
« Reply #21 on: November 23, 2010, 04:44:30 pm »

...This could come in very handy for GMs hosting non-mafia games like RTDs or something... just a very quick two cents.
Logged
Derm would be a Half-Minute Hero boss. YOU HAVE 30 SECONDS TO FUCK HIM UP OR HE DOES IT TO THE ENTIRE WORLD!

Leafsnail

  • Bay Watcher
  • A single snail can make a world go extinct.
    • View Profile
Re: [UTIL] The LurkerTracker
« Reply #22 on: November 23, 2010, 04:52:39 pm »

I may try screwing with the red text finder.
Logged

Org

  • Bay Watcher
  • Daring Hero
    • View Profile
Re: [UTIL] The LurkerTracker
« Reply #23 on: November 23, 2010, 04:59:18 pm »

Havin' a hard time try'na find the lurkin' scum?
Searchin' through the thread seems really dumb?
Well, come here partner, I got the thing for you.
It's the LurkerTracker, all shiny and new!

No longer do ya have to search the entire thread,
Just to remember that some guy is dead.
The LurkerTracker can do it for you, no need to look.
Now you can go an' do other things, like learn to cook!
Logged

Leafsnail

  • Bay Watcher
  • A single snail can make a world go extinct.
    • View Profile
Re: [UTIL] The LurkerTracker
« Reply #24 on: November 23, 2010, 05:00:39 pm »

To remember someone's dead, you can usually check the OP :x.
Logged

Vector

  • Bay Watcher
    • View Profile
Re: [UTIL] The LurkerTracker
« Reply #25 on: November 23, 2010, 05:04:49 pm »

The red text problem can be fixed by more strictly enforcing the "unvote x" rule.  Search for "unvote name" in red text, or "name"--because you already have a list of viable names, right?

Though, on the other hand, this would have problems with nicknames... hurm.
Logged
"The question of the usefulness of poetry arises only in periods of its decline, while in periods of its flowering, no one doubts its total uselessness." - Boris Pasternak

nonbinary/genderfluid/genderqueer renegade mathematician and mafia subforum limpet. please avoid quoting me.

pronouns: prefer neutral ones, others are fine. height: 5'3".

Zathras

  • Bay Watcher
  • Boogie thinks you being confoosed.
    • View Profile
Re: [UTIL] The LurkerTracker
« Reply #26 on: November 23, 2010, 05:20:41 pm »

Org, that was brilliant! I'll have to use it some time.

Messing with the redtextfinder is easier than you'd think, but not Leaf's way: it will just report his red text as: ec, at the moment, which is fine given its purpose. It just finds the last time you used red colouring. What really messes it up is quotes... it was really hard not to count this as a Zathras self-vote:

Quote from: someone
Zathras, he sucks!
I do not!


The second solution stripped quotes out, but was vulnerable to things like:

Quote from: so and so
scummy post
Ha! vote So and so!

Quote from: someone else
Other stuff
Yeah.

...because the finder strips quotes, it would be overeager and strip the text between two quotes, missing the vote for So and so altogether. The current solution is a compromise, and catches pretty much everything, but I think it still misses one once in a while. This is part of the reason I want to try it on more games: more sample data will help nailing the problems down.


Also, no, there's no preexisting list of viable names, nor the unvote rule would really help. The only preexisting names that exist are those that track replacements, deaths and moderators/nonplayers, but do not affect the redtext at all. If, say, Vector were to post in paranormal, a line with her name would show up until I added her to the "Nonplayer" list, at which point her posts would be merged with ToonyMan's.


It's just trying to find whatever is posted in red, but given the way the html is constructed, with deeply nested <div>s and <span>s, it gets confused easily... The main point of confusion is with nested quotes, it has trouble matching the beginning and end of quote blocks, and may lose track of who posted the actual vote, or be overeager and miss the vote altogether.

Edited to add: Exkirby, good idea; the source is up on the OP, free for the taking, hope someone else finds it useful. I'll update it to the new version once the redtext finder is smarter.

Edit2: more detail...
« Last Edit: November 23, 2010, 05:49:45 pm by Zathras »
Logged
My soul has been freed by the King of the Mafia.

Toaster

  • Bay Watcher
  • Appliance
    • View Profile
Re: [UTIL] The LurkerTracker
« Reply #27 on: November 24, 2010, 08:56:37 am »

Just keep a running tally of quotes- have a counter that increments on every {quote} and decrements on every {/quote} (except square brackets, obviously).  If the counter isn't 0, ignore the red text.
Logged
HMR stands for Hazardous Materials Requisition, not Horrible Massive Ruination, though I can understand how one could get confused.
God help us if we have to agree on pizza toppings at some point. There will be no survivors.

webadict

  • Bay Watcher
  • Former King of the Mafia
    • View Profile
Re: [UTIL] The LurkerTracker
« Reply #28 on: November 24, 2010, 09:20:47 am »

Just keep a running tally of quotes- have a counter that increments on every {quote} and decrements on every {/quote} (except square brackets, obviously).  If the counter isn't 0, ignore the red text.
What about quote fails? It can't really catch those.
Logged

Toaster

  • Bay Watcher
  • Appliance
    • View Profile
Re: [UTIL] The LurkerTracker
« Reply #29 on: November 24, 2010, 09:44:51 am »

Not much you can do about that, really.  Just hope the player fixes it- I probably wouldn't count a quote-fail vote anyway, because I doubt I'd notice it.
Logged
HMR stands for Hazardous Materials Requisition, not Horrible Massive Ruination, though I can understand how one could get confused.
God help us if we have to agree on pizza toppings at some point. There will be no survivors.
Pages: 1 [2] 3 4