I made something.
Register

User Tag List

Results 1 to 17 of 17

Threaded View

  1. ISO #1

    I made something.

    Cleared the day to play just to find out that I was killed on N1 yet again. I was bored and wondering how many times that had happened, then thought that it'd be cool to have some sort of player's database.

    Long stroy short, I put together a script that adds an option to the player menu (the little popup you get when you click somebody's name), and when you click it you get some statistics of their game's history.



    Of course, I'm too lazy to build a database by myself, so the idea is that people interested in using the script submit their information and we build it together.

    The script doesn't need to be updated; all information submited will be available to everyone as soon as I update the data file.

    If you want to participate, just follow these steps:
    1.- Install the script (You need Greasemonkey, Tampermonkey or whatever your browser uses).

    2.- Upload a file like this with your information by replacing all the parts in all-caps and post it here.
    Here's an example with my information, and here's a clean version of the sample with no comments.

    3.- Wait for me to check the thread and update the file, and anyone with the script installed will be able to see your game history.

    Notes:
    - For the alignment field, use "Third" if you aren't Town or Mafia, no matter if you are a town-sided or scum-sided faction; only use "Town" and "Mafia" if you are precisely that.
    - Only include completed games. If you were replaced or modkilled, that doesn't count. Same for hosting; if you abandoned or cancelled the game, don't list it.
    - The alignment field must have a leading uppercase letter followed by lowercase ones. The fields that are filled with "true" and "false" are all lowercase. Size field goes capitalized. The rest don't matter.
    - I'm inebriated and I hate/don't know JS, HTML et al. The code is likely a horrid mess. Feel free to clean and/or fix it and upload an update.

    And that's it. I really hope someone likes the idea, else it'll be nothing but a glorified statistics page for me. >_>
    Last edited by Sen; April 12th, 2016 at 01:09 AM.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •