User Pass
Home Sign Up Contact Log In
Forum > Goal Line Blitz > Greasemonkey Scripts > Slight tweak to fix BT remaining on S100 VPB script
Micheal Hobbs
offline
Link
 
1) Open the VPB script for edits in Tamper/ViolentMonkey, whichever you're using.

2) Hit Control-F to search, put in light training BTs

3) The following line should be highlighted:
currentBTDiv.innerHTML = "Bonus Tokens: "+getBonusTokens()+" Light training BTs >>"+(maxPossible);

4) Add 108 to the last function like this:
currentBTDiv.innerHTML = "Bonus Tokens: "+getBonusTokens()+" Light training BTs >>"+(maxPossible+108);

5) Save the changes.

That will add in the final offseason training points, without screwing up the functionality of the set Desired BT button from the original script.

You could always see the correct # under the Desired BT pop up, but this way the display on the main screen will be correct as well.
 
Brewnoe
offline
Link
 
This works DURING the regular season only. During the preseason, this will show up as 108 BTs too high.

I'm no coder, so I don't have a fix for it. But hopefully no one bricked a build following this and spending past their gear.

I'd suggest just using the desired BTs button. It's one click, and it's safer.
 


You are not logged in. Please log in if you want to post a reply.