Skip to content
TORNLIFE More

[Script] Torn Leveling Helper

Started by RyanMundu [4309930] on in Tools & Userscripts.

9 replies · 283 views · thread synced · 7 days ago · View on torn.com
About this thread

Posts archived: 10 / 10 posts (100%) · the total is Torn's reply count + the opening post at the last fetch

Counted by TornLife from the archived posts.

Archived posts
10
Discussion span
→
People posting
6
Likes on archived posts
6
Authority score
37 / 100
Historical score
27 / 100
Story score
35 / 100
Engagement score
61 / 100
RyanMundu [4309930]

Made a compact Torn applet that combines:

 

  • Estimated Level Progress using HoF ranking

  • Live Baldr leveling targets

  • Alive/available target filtering

  • Automatic cleanup of hospitalised/dead targets

  • Animated heartbeat monitor

  • Smart refresh + caching to avoid API spam

 

 

The goal was basically to reduce Baldr clutter down to targets you can realistically beat right now instead of manually opening profiles.


Features

Level Progress Tracker

Uses your level HoF ranking to estimate progression through your current level bracket.

  • Cached locally

  • Updates automatically

  • Doesn’t reset to fake/default percentages while loading

  • Survives Torn page navigation


Live Baldr Target Scanner

Scans Baldr targets and filters them down using:

  • Total stats

  • Speed checks

  • Live status checks

  • Alive/available checks

Targets in hospital/jail/travel/dead are automatically removed automatically from the display.

 


Dynamic Target Cleanup

If you attack someone from the list and they are currently hospitalized:

  • They instantly disappear from the applet

  • The cache updates immediately

  • A fresh refresh cycle starts automatically

No more attacking someone then still seeing them listed for another minute.

 


Heartbeat Monitor

Added a small ECG-style heartbeat display because why not.

  • Green = live targets available

  • Red flatline = none available

  • Beats faster depending on how many targets are alive

Completely unnecessary feature but it fit the vibe nicely.

 


Smart Refresh System

Torn API likes has an aggressive rate limit that display “Too many requests” if it's called too frequently so the script:

  • Uses cached HoF data

  • Uses cached Baldr data

  • Rechecks displayed targets separately

  • Uses staggered live checks

  • Shows countdown until next refresh

So it stays responsive without hammering the API every few seconds.

 


 

Link: https://greasyfork.org/en/scripts/581083-torn-leveling-helper

Open to feedback, feature ideas, improvements, or bug reports since this is my first Torn script.

RyanMundu [4309930]

Haven’t tested PDA compatibility yet but I’m open to supporting it. If anyone tries it on PDA and reports what breaks, I can probably adapt it pretty quickly.

SyrupSplashin [4307675]

I input the wrong level API key when prompted, how do I correct this? I'm unable to see any way to do so? Maybe worthwhile to implement something similar to FFScouter where within tampermonkey there is a button to access the API key the script uses?

RyanMundu [4309930]

Hi all, I'm on holiday for the next couple of days so I don't have access to my PC with the code. Hopefully next week I'll push out an update that will allow you to change the API key and add more lists to pull targets from 😁😁

Glemmy [4419055]

I have a fix for if you accidentally put in the wrong api key

Replace this part 

      let key = GM_getValue('tornApiKey', '');

      if (!key) {
        key = prompt('Enter your Torn FULL ACCESS API key:');
        if (!key) return;
        GM_setValue('tornApiKey', key.trim());
      }

      activeApiKey = key;

With

      let key = 'your full access torn api key here';

      if (!key) {
        key = prompt('Enter your Torn FULL ACCESS API key:');
        if (!key) return;
        GM_setValue('tornApiKey', key.trim());
      }

      activeApiKey = key;

be sure to keep the semi colon and quotations.

happy leveling!