[site] Torn Log Viewer | Tools & Userscripts | TORN
[site] Torn Log Viewer
    • Antimeme [864898]
    • Role: Civilian
    • Level: 70
    • Posts: 191
    • Karma: 258
    • Last Action: 6 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
    Thread created on 16:02:45 - 25/06/22 (1 month ago)
    Last replied 23:18:12 - 25/06/22 (1 month ago)
    I threw this together in a hurry, some time ago, and recently swept away some of the bugs so I thought I'd share it. It's a web app which downloads a complete copy of your torn city log, and allows you to browse and analyze the events.

    So far it has the following features:
    • Estimate your CE gain/loss based on your crime events, includes a graph
    • Filter logs by date, category, & player ID
    • View your gym stats history, includes a graph.
    • See a list of every player you've ever interacted with, and what those interactions were.
    It does require an API key with full access to your log, but you have my assurance that all downloaded data is stored locally, and never leaves your browser.

    Some caveats as this tool isn't really end-user-ready:
    • Since all data is stored in your browser, the app will use quite a lot storage, more so the more pages of events there are to download. I think each page of 100 events takes about 5KB of data.
    • You can interrupt the initial download at any time by refreshing the page and that would set the last event downloaded as the 'first' event in your history, beyond which no more logs will be downloaded. This can't be undone except by deleting all data and starting again. Naturally, an incomplete dataset won't give you an accurate CE estimate.
    • The initial download could take anywhere from 10 minutes to a couple hours depending on how many single actions you've made in the game. For me, an active player for 1.5y, it takes about 30 minutes.
    • The app uses a lot of ram.
    • The event download will fire 1 API request every 600 milliseconds. That doesn't leave much any room for other apps, so it would be wise to limit your API use during the initial download.
    • Maybe don't use it on your phone.
    • You must press the button to fetch all players, before visiting the Players section.

    Here's a link: https://torn-log-viewer.netlify.app
    Last edited by Antimeme on 23:56:46 - 27/06/22
    • Null [2042113]
    • Role: Civilian
    • Level: 15
    • Posts: 103
    • Karma: 72
    • Last Action: 6 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
    Posted on 23:18:12 - 25/06/22 (1 month ago)
    Post link copied to clipboard Copy post link
    Awesome project.
Thread Title: