[Userscript] Armoury Monitor 1.0.1 | Graveyard | TORN

[Userscript] Armoury Monitor 1.0.1

​

    • Vinkuun [1791283]
    • Role: Civilian
    • Level: 100
    • Posts: 1,466
    • Karma: 1,690
    • Last Action: 10 hours
      • 1
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Thread created on 19:26:11 - 10/02/15 (11 years ago)
    |
    Last replied 18:48:49 - 23/03/18 (8 years ago)
    Discontinued: this script is no longer being developed.




    What is this userscript about?


    This script makes it possible to review the usage of the armoury for a specific period of time.

    There are no special permissions needed to use this script thus anyone in a faction can use it to analyse the usage of the items in the armoury.

    Installation:

    Install Greasemonkey if you are using Firefox: Greasemonkey Addon for Firefox
    Install Tampermonkey if you are using Chrome: Tampermonkey Extension for Chrome

    Finally install the userscript: Torn Armoury Monitor

    Changelog:

    • 1.0.0: Initial version
    • 1.0.1: Fixed an issue with the calendar
    Last edited by Vinkuun on 15:12:04 - 30/01/16 (10 years ago)
    Why attack when you can slack 
     
    • Judgement [1728095]
    • Role: Civilian
    • Level: 37
    • Posts: 1,352
    • Karma: 545
    • Last Action: 9 years
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 19:30:02 - 10/02/15 (11 years ago)
    Post link copied to clipboard Copy post link
    Does it tell who uses what?
    Last edited by Judgement on 19:33:35 - 10/02/15 (11 years ago)

    • Vinkuun [1791283]
    • Role: Civilian
    • Level: 100
    • Posts: 1,466
    • Karma: 1,690
    • Last Action: 10 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 19:43:56 - 10/02/15 (11 years ago)
    Post link copied to clipboard Copy post link

    Judgement [1728095]

    Does it tell who uses what?
    Exactly. I updated the first post with a screenshot of how a report looks like.
    Why attack when you can slack 
     
    • ColdStranger [1863269]
    • Role: Civilian
    • Level: 85
    • Posts: 1,367
    • Karma: 437
    • Last Action: 3 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 19:48:27 - 10/02/15 (11 years ago)
    Post link copied to clipboard Copy post link
    Who can use this script.

    Anyone? Or just the faction leaders?
    • Vinkuun [1791283]
    • Role: Civilian
    • Level: 100
    • Posts: 1,466
    • Karma: 1,690
    • Last Action: 10 hours
      • 1
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 20:02:09 - 10/02/15 (11 years ago)
    Post link copied to clipboard Copy post link

    ColdStranger [1863269]

    Who can use this script. Anyone? Or just the faction leaders?
    Anyone can use this script. You don't need special permissions to view the armoury logs.
    Why attack when you can slack 
     
    • PsycWard [1579270]
    • Role: Civilian
    • Level: 100
    • Posts: 2,359
    • Karma: 2,575
    • Last Action: 2 months
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 20:04:11 - 10/02/15 (11 years ago)
    Post link copied to clipboard Copy post link

    ColdStranger [1863269]

    Who can use this script. Anyone? Or just the faction leaders?
    It works the same as the other version, anyone in the faction should be able to use it to get a break down of who used what in a given time frame even if members have left the faction since the usage occurred. The previous version was awesome for tracking faction item usage.
    Last edited by PsycWard on 20:15:03 - 10/02/15 (11 years ago)
    • Muttley_616 [1712182]
    • Role: Civilian
    • Level: 100
    • Posts: 1,191
    • Karma: 1,656
    • Last Action: 47 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 20:14:04 - 10/02/15 (11 years ago)
    Post link copied to clipboard Copy post link
    thank youuuuuuuuu, I have been waiting for this....awesome job as always!

     

    • Dexter [1381769]
    • Role: Civilian
    • Level: 100
    • Posts: 1,522
    • Karma: 1,594
    • Last Action: 1 year
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 20:18:59 - 10/02/15 (11 years ago)
    Post link copied to clipboard Copy post link
    Great Work Vinkuun!

    R+

     

                                                                          
    • Proxima [1879587]
    • Role: Wiki Editor
    • Level: 100
    • Posts: 26,407
    • Karma: 124,010
    • Last Action: 2 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 20:41:52 - 10/02/15 (11 years ago)
    Post link copied to clipboard Copy post link
    Really cool! +

    78c41759-afd6-42ea-b8f7-73d1019c15a0-1564719.gif

    • Stretch [1846075]
    • Role: Officer
    • Level: 100
    • Posts: 2,737
    • Karma: 10,437
    • Last Action: 1 hour
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 20:47:10 - 10/02/15 (11 years ago)
    Post link copied to clipboard Copy post link
    Very cool indeed vinkuun

    SVg9hNL.gif

    • Blexi [1458703]
    • Role: Civilian
    • Level: 100
    • Posts: 3,772
    • Karma: 3,570
    • Last Action: 3 months
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 21:04:26 - 10/02/15 (11 years ago)
    Post link copied to clipboard Copy post link
    Wow this looks great.

    Will be very useful for factions for sure!

    • Ravenhunter [1625417]
    • Role: Civilian
    • Level: 99
    • Posts: 904
    • Karma: 587
    • Last Action: 3 years
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 22:13:41 - 10/02/15 (11 years ago)
    Post link copied to clipboard Copy post link
    Great work like always. Now we will know who the freeloaders are. :p
     
    • Valaskjalf [1503919]
    • Role: Civilian
    • Level: 100
    • Posts: 464
    • Karma: 352
    • Last Action: 40 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 02:24:16 - 11/02/15 (11 years ago)
    Post link copied to clipboard Copy post link
    Well I tried to break it and it wouldn't. Ran it for December, only thing I noticed is it started gathering data from now idk if that can be helped.

    Export to xlsx or ods etc button?

    Is the sleep coding different from the attack logs? Seems to work much better for the armory logs, I usually hit the request limit and it breaks if I try to pull a week of attack logs.
    Last edited by Valaskjalf on 05:50:06 - 11/02/15 (11 years ago)
    • BraveKath [1815519]
    • Role: Civilian
    • Level: 100
    • Posts: 4,693
    • Karma: 5,448
    • Last Action: 1 hour
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 04:47:35 - 11/02/15 (11 years ago)
    Post link copied to clipboard Copy post link
    Does anyone know of any scripts that track member's private (non faction) use of drugs and refills

    Brave-Kath.gif

     

     

    • ColdStranger [1863269]
    • Role: Civilian
    • Level: 85
    • Posts: 1,367
    • Karma: 437
    • Last Action: 3 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 05:00:37 - 11/02/15 (11 years ago)
    Post link copied to clipboard Copy post link

    Help?

    • Valaskjalf [1503919]
    • Role: Civilian
    • Level: 100
    • Posts: 464
    • Karma: 352
    • Last Action: 40 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 05:47:29 - 11/02/15 (11 years ago)
    Post link copied to clipboard Copy post link

    BraveKath [1815519]

    Does anyone know of any scripts that track member's private (non faction) use of drugs and refills
    Subtract the armory results from their stats....?
    • ColdStranger [1863269]
    • Role: Civilian
    • Level: 85
    • Posts: 1,367
    • Karma: 437
    • Last Action: 3 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 06:45:43 - 11/02/15 (11 years ago)
    Post link copied to clipboard Copy post link
    Vinkuun spent around 30 Mins chatting with me to get the issue resolved. Unfortunately it still remains an issue. I'll try again tomorrow and see if the issue fixes its-self.

    thank you Vinkuun!
    • Valaskjalf [1503919]
    • Role: Civilian
    • Level: 100
    • Posts: 464
    • Karma: 352
    • Last Action: 40 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 06:59:44 - 11/02/15 (11 years ago)
    Post link copied to clipboard Copy post link

    ColdStranger [1863269]

    Vinkuun spent around 30 Mins chatting with me to get the issue resolved. Unfortunately it still remains an issue. I'll try again tomorrow and see if the issue fixes its-self. thank you Vinkuun!
    Did you try it in chrome or firefox also? Which ever isnt your regular browser?

    Wondering if it is/was browser related.
    Last edited by Valaskjalf on 14:02:36 - 11/02/15 (11 years ago)
    • Vinkuun [1791283]
    • Role: Civilian
    • Level: 100
    • Posts: 1,466
    • Karma: 1,690
    • Last Action: 10 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 09:46:47 - 11/02/15 (11 years ago)
    Post link copied to clipboard Copy post link

    Valaskjalf [1503919]

    Well I tried to break it and it wouldn't. Ran it for December, only thing I noticed is it started gathering data from now idk if that can be helped. Export to xlsx or ods etc button? Is the sleep coding different from the attack logs? Seems to work much better for the armory logs, I usually hit the request limit and it breaks if I try to pull a week of attack logs.
    Exporting is as easy as copy/pasting the report into excel or something similar. I don't think it would be necessary to add an export button.

    The underlying code is very similar to the one used to retrieving the attack logs. Hence it should work in the same way. You may experience different behaviour because there are usually a lot more attack logs than armoury logs.
    Last edited by Vinkuun on 09:47:46 - 11/02/15 (11 years ago)
    Why attack when you can slack 
     
    • Valaskjalf [1503919]
    • Role: Civilian
    • Level: 100
    • Posts: 464
    • Karma: 352
    • Last Action: 40 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 14:01:50 - 11/02/15 (11 years ago)
    Post link copied to clipboard Copy post link

    Valaskjalf [1503919]

    Well I tried to break it and it wouldn't. Ran it for December, only thing I noticed is it started gathering data from now idk if that can be helped. Export to xlsx or ods etc button? Is the sleep coding different from the attack logs? Seems to work much better for the armory logs, I usually hit the request limit and it breaks if I try to pull a week of attack logs.

    Vinkuun [1791283]

    Exporting is as easy as copy/pasting the report into excel or something similar. I don't think it would be necessary to add an export button. The underlying code is very similar to the one used to retrieving the attack logs. Hence it should work in the same way. You may experience different behaviour because there are usually a lot more attack logs than armoury logs.
    Yeah I found out this is a lot easier to copy now with the scroll bars :D

    Make sense, was curious because it seemed to gather 2+ months of data first. Thanks again.
Reply
Thread Title: