19 replies · 907 views · thread synced · 10 days ago
· View on torn.com
About this thread
Posts archived:20 / 20 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
20
Discussion span
→
People posting
6
Likes on archived posts
27
Posts by staff, officers and moderators
3
Authority score
57 / 100
Historical score
17 / 100
Story score
37 / 100
Engagement score
67 / 100
Most-liked replies
Xiphias[187717]
· 9 likes · Here's a dirty fix for now: https://greasyfork.org/en/scripts/371252-special-gym-ratios Some of the css selectors are hardcoded and will break eventually. I might get around to generalizing those later. But it seems to work for now. I don't know what it looked like …
RGiskard[1953860]
· 1 likes · I didn't copy-paste the whole thing, just found the differences and integrated them. I added you as a credit too, Xiphias. One thing I changed from the old script was to remove the % of total display for each stat. …
Shindig[865748]Officer
· 1 likes · Thanks! You can't mouseover for percent of total when you're in a special gym btw as those are greyed out atm.
Some of the css selectors are hardcoded and will break eventually. I might get around to generalizing those later. But it seems to work for now. I don't know what it looked like before so there might be some features missing that I haven't realized yet.
I changed the title, so you should change it back to your original title where ever yours is hosted. Otherwise I think they will have 2 scripts installed.
I didn't copy-paste the whole thing, just found the differences and integrated them. I added you as a credit too, Xiphias.
One thing I changed from the old script was to remove the % of total display for each stat. Looks like Ched's dev added that themselves if you hover over the stat value. Otherwise it was wrapping to the next line, which looked silly. If anybody was depending on that info, that's where you can find it now.
I see that. The code for the mouseover that handles the other two stats is not immediately obvious to me, especially as I'm not a web developer.
It would be nice if hover worked on all stats without the need of a script. I don't see why it should be disabled for stats you can't train in that gym, as it's just informational.
Another option would be to stick it somewhere else that wouldn't interfere with what's already there.
I've updated the code a bit to use more generalized css selectors. It should work the same as before, but in case the auto generated class names change the script shouldn't break.
Lol, I noticed you used my name as a class name for simplification.
Thanks again for more fixes. I took your generic stuff and other new code, plus I fixed an apparent issue where switching gyms would cause the text regarding how far away you were from the limits to disappear.
My version is now at 2.3.1 and hopefully has everything you've done.