[SCRIPT] GymIQ - Ratio Helper (Baldr's & Hank's) …

[SCRIPT] GymIQ - Ratio Helper (Baldr's & Hank's)

​

    • ClasixTV [4084193]
    • Role: Civilian
    • Level: 28
    • Posts: 17
    • Karma: 7
    • Last Action: 31 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Thread created on 06:47:29 - 06/03/26 (6 months ago)
    |
    Last replied 21:40:49 - 29/08/26 (1 month ago)

     


        GymIQ v5.2.1

        Live gym ratio analysis, always on training guidance, and weekly energy tracking.

         Install GymIQ from Greasy Fork

         View source GymIQ on GitHub

     

     

     

    What is GymIQ?

     

    GymIQ is a lightweight Torn userscript that reads the four battle stats shown on the gym page and turns them into clear ratio health, specialist gym stat checks, and an always available Train Next recommendation.

     

     

    | Main features |


        •  Baldr, Hank, and custom ratio support.

        •  Preferred targets of Baldr 100:80:72:72 and Hank 100:80:80:28 maximum.

        •  Always on Train Next guidance whenever all four stats are available.

        •  A+ maintenance guidance, so the recommendation does not disappear when your build is balanced.

        •  Specialist gym stat rule checks with safety margin warnings.

        •  Persistent weekly gym energy counter.

        •  Automatic energy reset every Sunday at 18:00 Torn City Time.

        •  Automatic panel refresh after an observed gym train.

        •  Fixed period stat history, What If calculator, and plain text export.

        •  Dark and light themes with a compact responsive Overview.

        •  No API key required.
     

     

    | How Train Next works |


    GymIQ first protects specialist gym stat requirements, then handles target deficits and overages. When your build reaches A+, the recommendation remains visible:


     


        •  Baldr and Custom: train the selected high stat to begin the next ratio cycle.

        •  Hank: build a medium stat buffer before raising the high stat, helping protect the opposite combination gym ratio during the next cycle.
     

     

      If Torn has not loaded all four stats, GymIQ shows unavailable data instead of guessing.

     

     

    | Weekly energy tracker |

     

    GymIQ counts energy decreases it observes while the userscript is active on Torn's gym page. The total persists across reloads and resets automatically every Sunday at 18:00 TCT. A confirmation protected manual reset is available in Settings.


     The tracker is observational: it cannot reconstruct energy spent before installation, while inactive, or away from the gym page.

     

     

    | Important specialist gym note |

     

    GymIQ checks Torn's published battlestat ratio rules only. It cannot detect whether you unlocked the prerequisite gym or purchased the specialist gym membership. An Eligible result means your stats pass the rule; it does not confirm actual access.

     

     

     

    | Privacy and compatibility |


        •  Settings, history, and energy totals are stored locally in userscript or browser storage.

        •  GymIQ does not send your stat data to an external service.

        •  Runs only on https://www.torn.com/gym.php.

        •  TornPDA users should set injection time to END.
     

    Last edited by ClasixTV on 16:14:43 - 28/08/26 (1 month ago)
    • Wraith_Paradox [2453050]
    • Role: Civilian
    • Level: 60
    • Posts: 112
    • Karma: 52
    • Last Action: 2 months
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 08:13:04 - 10/03/26 (6 months ago)
    Post link copied to clipboard Copy post link

    Any reason why the Script seems to be stuck on only What-if mode? I can't change it back to see my current stats


    Nvm i don't know what changed but i just turned the script off and on, deleted it, reinstalled it, turned it off and on again, and now it works

    Edit: two seconds later i trained again and it broke LMAO

     

    Last edited by Wraith_Paradox on 08:17:13 - 10/03/26 (6 months ago)
    • ClasixTV [4084193]
    • Role: Civilian
    • Level: 28
    • Posts: 17
    • Karma: 7
    • Last Action: 31 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 22:36:35 - 12/03/26 (6 months ago)
    Post link copied to clipboard Copy post link

    Wraith_Paradox [2453050]

    Any reason why the Script seems to be stuck on only What-if mode? I can't change it back to see my current stats


    Nvm i don't know what changed but i just turned the script off and on, deleted it, reinstalled it, turned it off and on again, and now it works

    Edit: two seconds later i trained again and it broke LMAO

     

    Hey! 

     

    Thanks for letting me know! I believe I have found the issue and have just updated it!

    Let me know if you have any more issues!

     

    Thanks again!

    • Deegen [3596722]
    • Role: Civilian
    • Level: 61
    • Posts: 27
    • Karma: 2
    • Last Action: 1 hour
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 16:19:49 - 13/03/26 (6 months ago)
    Post link copied to clipboard Copy post link

    Unable to scroll to the side to change which ratio or high stat I want to focus on *on PDA*

    Last edited by Deegen on 16:20:06 - 13/03/26 (6 months ago)
    • Sidereus [4099739]
    • Role: Civilian
    • Level: 31
    • Posts: 9
    • Karma: 5
    • Last Action: 3 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 17:22:23 - 13/03/26 (6 months ago)
    Post link copied to clipboard Copy post link

    Deegen [3596722]

    Unable to scroll to the side to change which ratio or high stat I want to focus on *on PDA*

    As a temporary workaround, on line 20 you'll see:

     

      let highStat       = GM_getValue('trh_high', 'str');

     

    Change 'str' to 'spd', 'def', or 'dex' as appropriate. Similar deal for other variables in that section.

     

    Loving this script by the way. Thanks!

    Last edited by Sidereus on 17:23:29 - 13/03/26 (6 months ago)
    • ClasixTV [4084193]
    • Role: Civilian
    • Level: 28
    • Posts: 17
    • Karma: 7
    • Last Action: 31 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 22:07:25 - 14/03/26 (6 months ago)
    Post link copied to clipboard Copy post link

    Deegen [3596722]

    Unable to scroll to the side to change which ratio or high stat I want to focus on *on PDA*

    Hey thanks for letting me know! 

     

    I mistakenly gave the buttons fixed padding. Just updated, should work on smaller screens now!

     

    Thanks again!

    • ClasixTV [4084193]
    • Role: Civilian
    • Level: 28
    • Posts: 17
    • Karma: 7
    • Last Action: 31 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 22:09:32 - 14/03/26 (6 months ago)
    Post link copied to clipboard Copy post link

    Deegen [3596722]

    Unable to scroll to the side to change which ratio or high stat I want to focus on *on PDA*

    Sidereus [4099739]

    As a temporary workaround, on line 20 you'll see:

     

      let highStat       = GM_getValue('trh_high', 'str');

     

    Change 'str' to 'spd', 'def', or 'dex' as appropriate. Similar deal for other variables in that section.

     

    Loving this script by the way. Thanks!

    Hey, thanks for that! Glad you are liking the script!

    • Kaedynn [3253015]
    • Role: Civilian
    • Level: 74
    • Posts: 1,313
    • Karma: 1,535
    • Last Action: 3 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 03:46:22 - 16/03/26 (6 months ago)
    Post link copied to clipboard Copy post link

    ok I like this except for the  confusing part that makes me irationally frustrated. so after going to settings and setting the tertiary, secondary  etc at massive to small numbers, I FINALLY figured out which one is which stat and it makes NO sense at all. 

     

    okay, I guess I'm hanks. I have def as highest, str as second highest, speed as 3rd and dex is my ignored stat pretty much. 

     

    So for some reason that makes no sense to me, in the settings, I finally found out that the one you can't mess with is the whore stat. Tertiory below that will be the 2nd highest stat. Then secondary ( slot to the right of the whore stat slot) would be the lowest stat and tertiary 2 would be the third stat.

     

    How in what world does that make sense? Whore stat isn't messed with and that's fine. But SECONDARY should be the 2nd highest stat, Tertiary 1 would be the 3rd highest and tertiary 2 would be the lowest ignored stat in a perfect world. HOW is secondary the lowest ignored stat? I dislike that so much lol. I can only laugh in frustration and confusion. 

    • ClasixTV [4084193]
    • Role: Civilian
    • Level: 28
    • Posts: 17
    • Karma: 7
    • Last Action: 31 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 16:30:27 - 16/03/26 (6 months ago)
    Post link copied to clipboard Copy post link

    Kaedynn [3253015]

    ok I like this except for the  confusing part that makes me irationally frustrated. so after going to settings and setting the tertiary, secondary  etc at massive to small numbers, I FINALLY figured out which one is which stat and it makes NO sense at all. 

     

    okay, I guess I'm hanks. I have def as highest, str as second highest, speed as 3rd and dex is my ignored stat pretty much. 

     

    So for some reason that makes no sense to me, in the settings, I finally found out that the one you can't mess with is the whore stat. Tertiory below that will be the 2nd highest stat. Then secondary ( slot to the right of the whore stat slot) would be the lowest stat and tertiary 2 would be the third stat.

     

    How in what world does that make sense? Whore stat isn't messed with and that's fine. But SECONDARY should be the 2nd highest stat, Tertiary 1 would be the 3rd highest and tertiary 2 would be the lowest ignored stat in a perfect world. HOW is secondary the lowest ignored stat? I dislike that so much lol. I can only laugh in frustration and confusion. 

    Hey, you're totally right and that's a fair complaint! the labelling was confusing. v4.0 fixes this. The settings page now shows your actual stat names next to each slot (1st, 2nd, 3rd, 4th/Dump) and explains what each multiplier means. Should make a lot more sense now!

     

    Thanks for bringing this to my attention! 

     

    Last edited by ClasixTV on 16:47:59 - 16/03/26 (6 months ago)
    • Deegen [3596722]
    • Role: Civilian
    • Level: 61
    • Posts: 27
    • Karma: 2
    • Last Action: 1 hour
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 01:24:54 - 18/03/26 (6 months ago)
    Post link copied to clipboard Copy post link

    not sure if an update killed it but at first it was saying it couldnt find my stats and now its not showing up at all on either PC or Pda

    • GreasyDiddy [3455236]
    • Role: Civilian
    • Level: 83
    • Posts: 102
    • Karma: 157
    • Last Action: 29 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 15:01:41 - 18/03/26 (6 months ago)
    Post link copied to clipboard Copy post link

    da6e3b2b-e6ce-47b5-b4da-bb05790991d2-3455236.png

    I mean I would train it in Frontline Fitness if I could...

    • ClasixTV [4084193]
    • Role: Civilian
    • Level: 28
    • Posts: 17
    • Karma: 7
    • Last Action: 31 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 00:22:01 - 19/03/26 (6 months ago)
    Post link copied to clipboard Copy post link

    Deegen [3596722]

    not sure if an update killed it but at first it was saying it couldnt find my stats and now its not showing up at all on either PC or Pda

    Hey! 

     

    I did release an update yesterday that had a bug in it! My bad, still a newer dev for sure. The latest version is 4.2.0. just to confirm, you are still having issues with that version?

    • ClasixTV [4084193]
    • Role: Civilian
    • Level: 28
    • Posts: 17
    • Karma: 7
    • Last Action: 31 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 00:24:32 - 19/03/26 (6 months ago)
    Post link copied to clipboard Copy post link

    GreasyDiddy [3455236]

    da6e3b2b-e6ce-47b5-b4da-bb05790991d2-3455236.png

    I mean I would train it in Frontline Fitness if I could...

    Hey! I totally get it. Theres not really a way I can tell for sure what gyms you have unlocked. I could add some logic to guess, but for some people it would still be wrong. So, id rather just tell you what gym is the most optimal for what stat.

    • Sidereus [4099739]
    • Role: Civilian
    • Level: 31
    • Posts: 9
    • Karma: 5
    • Last Action: 3 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 11:41:48 - 19/03/26 (6 months ago)
    Post link copied to clipboard Copy post link

    Yoo, still loving this!

     

    I've been looking at different build settings though and just realised: I think Baldr's Def-High is configured wrong, no? It currently places Str as the secondary stat to Def, when I think it needs to be Dex to unlock Isoyama's (or Elites, when doing Dex high w/ Def secondary) + Balboa's – which is the whole point of the ratio, right?

     

    Going off my understanding of this thread, at least. I am but a n00b though; if there's another build/gym combo that works for Def-Str please let me know!

     

    Thanks again for the script & patches. Your chart makes training feel a lot more rewarding and tracking progress much clearer – I really like it 😃

    Last edited by Sidereus on 11:44:38 - 19/03/26 (6 months ago)
    • GreasyDiddy [3455236]
    • Role: Civilian
    • Level: 83
    • Posts: 102
    • Karma: 157
    • Last Action: 29 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 12:18:36 - 19/03/26 (6 months ago)
    Post link copied to clipboard Copy post link

    GreasyDiddy [3455236]

    da6e3b2b-e6ce-47b5-b4da-bb05790991d2-3455236.png

    I mean I would train it in Frontline Fitness if I could...

    ClasixTV [4084193]

    Hey! I totally get it. Theres not really a way I can tell for sure what gyms you have unlocked. I could add some logic to guess, but for some people it would still be wrong. So, id rather just tell you what gym is the most optimal for what stat.

    Bro the issue isn't that I don't have frontline unlocked its that you can't train defence there

    Also whats Bender's gym?

    https://wiki.torn.com/wiki/Gym#Specialist_Gyms_.26_Requirements 

    • ClasixTV [4084193]
    • Role: Civilian
    • Level: 28
    • Posts: 17
    • Karma: 7
    • Last Action: 31 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 14:16:45 - 19/03/26 (6 months ago)
    Post link copied to clipboard Copy post link

    GreasyDiddy [3455236]

    da6e3b2b-e6ce-47b5-b4da-bb05790991d2-3455236.png

    I mean I would train it in Frontline Fitness if I could...

    ClasixTV [4084193]

    Hey! I totally get it. Theres not really a way I can tell for sure what gyms you have unlocked. I could add some logic to guess, but for some people it would still be wrong. So, id rather just tell you what gym is the most optimal for what stat.

    GreasyDiddy [3455236]

    Bro the issue isn't that I don't have frontline unlocked its that you can't train defence there

    Also whats Bender's gym?

    https://wiki.torn.com/wiki/Gym#Specialist_Gyms_.26_Requirements 

    Ahhh, I see. I should have just used the wiki to see the all the gyms. I used an article that was clearly wrong or outdated. Ive just taken the tip out. thanks for letting me know!

    • ClasixTV [4084193]
    • Role: Civilian
    • Level: 28
    • Posts: 17
    • Karma: 7
    • Last Action: 31 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 14:18:12 - 19/03/26 (6 months ago)
    Post link copied to clipboard Copy post link

    Sidereus [4099739]

    Yoo, still loving this!

     

    I've been looking at different build settings though and just realised: I think Baldr's Def-High is configured wrong, no? It currently places Str as the secondary stat to Def, when I think it needs to be Dex to unlock Isoyama's (or Elites, when doing Dex high w/ Def secondary) + Balboa's – which is the whole point of the ratio, right?

     

    Going off my understanding of this thread, at least. I am but a n00b though; if there's another build/gym combo that works for Def-Str please let me know!

     

    Thanks again for the script & patches. Your chart makes training feel a lot more rewarding and tracking progress much clearer – I really like it 😃

    Hey hey! 

     

    thanks for letting me know, you are 100% right. Fixed in the upcoming patch. 

     

    and thanks for the kind words! I really appreciate it! This silly little script actually came a long way from what I originally was thinking! 

     

    thanks again!

    Last edited by ClasixTV on 14:27:12 - 19/03/26 (6 months ago)
    • Deegen [3596722]
    • Role: Civilian
    • Level: 61
    • Posts: 27
    • Karma: 2
    • Last Action: 1 hour
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 11:47:39 - 25/03/26 (6 months ago)
    Post link copied to clipboard Copy post link

    Deegen [3596722]

    not sure if an update killed it but at first it was saying it couldnt find my stats and now its not showing up at all on either PC or Pda

    ClasixTV [4084193]

    Hey! 

     

    I did release an update yesterday that had a bug in it! My bad, still a newer dev for sure. The latest version is 4.2.0. just to confirm, you are still having issues with that version?

    Hello!

     

    The update fixed my pc version, but pda version is back to unable to find my stats

    • ClasixTV [4084193]
    • Role: Civilian
    • Level: 28
    • Posts: 17
    • Karma: 7
    • Last Action: 31 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 19:57:17 - 25/03/26 (6 months ago)
    Post link copied to clipboard Copy post link

    Deegen [3596722]

    not sure if an update killed it but at first it was saying it couldnt find my stats and now its not showing up at all on either PC or Pda

    ClasixTV [4084193]

    Hey! 

     

    I did release an update yesterday that had a bug in it! My bad, still a newer dev for sure. The latest version is 4.2.0. just to confirm, you are still having issues with that version?

    Deegen [3596722]

    Hello!

     

    The update fixed my pc version, but pda version is back to unable to find my stats

    Hey! 

     

    Thanks for letting me know. Im not going to lie I have no clue why that is happening. Just to confirm you are on the latest version? 4.3.0

     

    Thanks again!

    • Deegen [3596722]
    • Role: Civilian
    • Level: 61
    • Posts: 27
    • Karma: 2
    • Last Action: 1 hour
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 15:53:48 - 26/03/26 (6 months ago)
    Post link copied to clipboard Copy post link

    Deegen [3596722]

    not sure if an update killed it but at first it was saying it couldnt find my stats and now its not showing up at all on either PC or Pda

    ClasixTV [4084193]

    Hey! 

     

    I did release an update yesterday that had a bug in it! My bad, still a newer dev for sure. The latest version is 4.2.0. just to confirm, you are still having issues with that version?

    Deegen [3596722]

    Hello!

     

    The update fixed my pc version, but pda version is back to unable to find my stats

    ClasixTV [4084193]

    Hey! 

     

    Thanks for letting me know. Im not going to lie I have no clue why that is happening. Just to confirm you are on the latest version? 4.3.0

     

    Thanks again!

    Yes, just checked and pda is using 4.3.0 version

Reply
Thread Title: