Skip to content
TORNLIFE More

[Script+PDA] OC Role Display

Started by Allenone [2033011] on in Tools & Userscripts.

20 replies · 2.42k views · thread synced · 5 days ago · View on torn.com
About this thread

Posts archived: 21 / 21 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
21
Discussion span
→
Authority score
39 / 100
Historical score
37 / 100
Story score
48 / 100
Engagement score
77 / 100

People posting, likes and official posts are not counted for this thread yet: on threads longer than one page they come from a periodic pass over the archive, which has not covered it.

Most-liked replies

Allenone [2033011]

This script displays role positions on the OC page. ( ie Muscle 1 vs Muscle 2 ).

 

Why? you may ask. every role has different responsibilities in a scenario, making some more important than others depending on how critical their checkpoints are. It's good to be able to identify the difference between Muscle 1 and Muscle 3 when making a decision on which position to join.

 

When someone joins a role it shifts their order on the UI so you can't always rely on the default order.

 

* Success chance's from my OC Success Chance script.

 

Script Download

Mentions: [Script+PDA] OC Success Chance

Fiernaq [2853517]

I hope this gets incorporated into the base game at some point soon; seems like an oversight, really. Until then, thank you very much!

Alacrity [2551084]

Fantastic! Thank you so much! No idea why this isn't included by Torn - it would have helped save the confusion that's had me messing up teams, as our management tries to set teams. Great work! 

Allenone [2033011]

Updated to fix loading issues when sitting on a page that wasn't the crimes page for longer than 60 seconds.

 

now also utilizes my API found here. This change is to prevent required monthly updates if we continue to get the promised 1 new OC every month.

Mentions: [API] OC Success Probability

Allenone [2033011]

It is not currently.

 

I thought i was going to be able to whip it together real quick before bed, but apparently adding support for tornPDA isn't as easy as just supporting mobile scaling.

I'll look into it later this week. it's 1am :)

 

Edit: almost 2am now- reading tornPDA FAQs and I see now it doesn't support GM framework which I'm using for my API calls. Should maybe be an easy thing to implement tomorrow? We'll see

Allenone [2033011]

It now supports tornPDA.

 

Thanks to Hesper in the Loot Rangers discord for the very simple 1 line of code to make it work :)

 

also shoutout to Kwack and Tenren for the advice and trying to help :)

Allenone [2033011]

Updated to improve performance and remove reliance on my API.

 

This script is now future proof and won't require any maintenance or future updates.

 

Enjoy!

Chuntttttt [2866489]

Trouble getting it to work on PDA for iOS. Copied source code into new script. Anyone have ideas as to what I’m doing wrong? Tried changing injection time from start to end and nothing. Thanks!

Allenone [2033011]

This is with v1.2.0 right? there shouldn't be any issues or conflicts. it no longer utilizes GM and supports desktop and mobile scaling.

 

What resolution is your phone screen? it could be an awkward resolution that changes the html unpredictably.

PERK_Ryan [3356606]

Maybe with the role importance from your success calculator you could add something to the names displayed to indicate their significance to the outcome?

Allenone [2033011]

Role importance is variable depending on the baseline and other members. its too dynamic.

 

Darrellia has a fork of this with some personal edits you could ask them for.