[Userscript] OC 2.0 overview (PDA compatible) - Page 4 | Tools…

[Userscript] OC 2.0 overview (PDA compatible)

    • 1337 [3255379]
    • Role: Civilian
    • Level: 49
    • Posts: 12
    • Karma: 1
    • Last Action: 29 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 06:51:15 - 22/02/25 (1 month ago)
    Post link copied to clipboard Copy post link

    SquatCobbla [2654399]

    I'm getting this error. I've probably done something wrong

    • Minimal Key (or higher) OK
      /v2/factions/basic OK
      /v2/factions/crimes X
      /v2/factions/members X
      /v1/torn/items OK
      API Key not usable!

    SquatCobbla [2654399]

    Faction perms sorted it out

    sorry didnt see this! 

    • callmericky [3299880]
    • Role: Civilian
    • Level: 57
    • Posts: 13
    • Karma: 98
    • Last Action: 3 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 10:11:23 - 05/03/25 (1 month ago)
    Post link copied to clipboard Copy post link

    Thank you for your patience everyone! It's been a while since the last update due to IRL interfering with my torn life. 

    There's a few requested features and bugfixes in this update - I hope this will make continue to help you yell at manage your OC 2.0 members :)

     

     

    Update 5.2.0

    • Added a button to toggle open/shut all crimes in that sub-section
    • Added an option to allow the timer to continue counting down after reaching 0. After reaching 0, the timer will turn red and start counting up. This can be used to see how long a crime has been waiting for a player to join, or to be executed. 
      • Enable this option in the settings page!
      • I have not had a chance to bugtest this as much as I'd like, so please let me know if it breaks!
    • Added the option to view the crime preparation status of each member in a crime. It is written as a percentage, in parenthesis after the member's name. 
      • Enable this option in the settings page.
    • Added indicators to crimes if members are either missing an item, or are below a user-set success chance. 
      • This success chance is set in the settings page.
      • By default, user success chances are yellow at 51% - 75%, and red for under 50%
      • Setting a minimum success chance will also force-color the members' success chance as red if they are under your set chance. 
      • Set this the value to 0 to disable the success chance indicator
    • Changed the API test wording to better explain when the user does not have access to faction API
    • Removed the 'user inactive' icon (looks like a person) next to member names, as this was not very useful.
      • Instead, member names will turn red if they are inactive for longer than your set threshold (set in settings)
      • This will hopefully stop longer names from being misaligned in small screens. 
    • Members in federal will now correctly have their status shown as red. Additionally, fedded members' names will turn red and have a strikethrough in the member list.
    • Fixed a bug where changing the display window of the browser (resizing your browser window, or swapping from portrait to landscape mode) will cause all crimes to be shown. Resizing the window now maintains your previous view.
    • Fixed a bug where the buttons on the settings page are sometimes rendered too far to the right of the screen in certain viewport sizes.
    • Fixed a bug where some browsers display a big fat ugly square next to the crime slot number, instead of the beautiful triangles that I hoped people saw.

     

     

    Roadblocks

    Unfortunately, I have not been able to implement a way to check the online status of members. Although Torn does send a request to https://www.torn.com/chat/online-status at regular intervals, this is surprisingly difficult to intercept. 

    I am able to easily intercept XMLHttpRequests fairly easily (as is done for what I believe is the chat), but the online-status endpoint uses fetch - which is harder to intercept. I have tried implementing something like previously shown, and it works for small scripts. However I can't get it to work with this script. I haven't had the time to dig further into investigating what the root cause of it not working in this script is. I may look into this further, but no promises at this point in time.

     

     

    What next:

    I'd love to get Allenone's OC Success Chance API integrated into this script, so you are able to view a full crime's success chance. Shoutout to Allenone in reaching out and letting me know it's a thing! Can't wait to play around with it. 

     

    In regards to changing the order of the members being shown - from a left, right, left, right to down the left column and down the right column: 

    This is more difficult to implement then I thought. The list uses a flexbox that flexes in a row direction to create two columns. Swapping it to flex in the column direction will require a fair bit of changes to the table structure. 

    It is still very much on the table for a future update, but I wanted to get the above changes out first before I started tackling this in earnest.

     

    Please feel free to contact me via in-game chat, message, or even by slowly sending a message word-by-word through a bunch of bounties. I may not respond quickly due to IRL being an unpredictable mess, but I will read everything that is sent. 

     

     

    Screenshots

    2e04214d-a40f-4df8-9c24-6ef716f1ecd8-3299880.png

    033e9b25-c9a8-4049-a383-54f75b66b488-3299880.png

    20ecb1df-7ff7-416e-be09-67ef5ee777ec-3299880.png

    Last edited by callmericky on 10:19:38 - 05/03/25 (1 month ago)
    • masheen [2625139]
    • Role: Civilian
    • Level: 100
    • Posts: 5,455
    • Karma: 7,136
    • Last Action: 5 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 12:10:06 - 05/03/25 (1 month ago)
    Post link copied to clipboard Copy post link

    R+ Added an option to allow the timer to continue counting down after reaching 0. After reaching 0, the timer will turn red and start counting up. This can be used to see how long a crime has been waiting for a player to join, or to be executed. 

    Last edited by masheen on 12:10:18 - 05/03/25 (1 month ago)

    ◉_◉

    • Zitrone [2873961]
    • Role: Civilian
    • Level: 54
    • Posts: 16
    • Karma: 3
    • Last Action: Now
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 14:07:56 - 10/03/25 (1 month ago)
    Post link copied to clipboard Copy post link

    Top! is it possible to add a Button to copy the names from members who arent in a crime? Or maybe create an automatic faction message including there names? right now its not easy to copy the names on my Smartphone!

    • Viciously_Grim [2752611]
    • Role: Civilian
    • Level: 59
    • Posts: 4,868
    • Karma: 5,863
    • Last Action: 3 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 19:28:32 - 18/03/25 (1 month ago)
    Post link copied to clipboard Copy post link

    I'm showing a *severe* mismatch between crime countdown in the API and user interface. Is this an issue with the API or the script?

     

    The OC I'm in (red pen, OC that spawned, not purchased) shows 4 days 9 hours on UI but 2 days 9 hours on script.

     

    Spawned OCs (yellow highlight) are showing a countdown on the script but are not showing a countdown on the page (apparently we're the only faction experiencing this, I am wondering if a faction member joined each one and then left it...?). The script-visible countdowns match the countdowns that were visible this morning before they suddenly stopped showing a countdown.

     

    Purchased OCs that were purchased today are showing timers consistent with a 3 day timer, but are not showing a timer on the user interface (they may show a timer later on? Idk.) - that is unless someone has joined them in which case they are showing less than 24 hours (purple highlight).

     

    c4e77cd5-d367-46af-b2b6-35c6bcfed182-2752611.png

     

    Please advise, am I reading things wrong or ???

    🌈 Makes friends the hard way 🦄

    🎁 Noob box giveaway! 🎁

    💲Sell me your shit 💰

     🤓 Official Best Friend of NRD2nd🥈(current price $5m)

    • callmericky [3299880]
    • Role: Civilian
    • Level: 57
    • Posts: 13
    • Karma: 98
    • Last Action: 3 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 10:15:43 - 19/03/25 (30 days ago)
    Post link copied to clipboard Copy post link

    Top! is it possible to add a Button to copy the names from members who arent in a crime? Or maybe create an automatic faction message including there names? right now its not easy to copy the names on my Smartphone!

     

    I was halfway making something like this, but it seems that you can now send faction mail to people who are not in OCs. Does this solve your want? If so I won't keep working on this. 

     

    I'm showing a *severe* mismatch between crime countdown in the API and user interface. Is this an issue with the API or the script?

     

    The OC I'm in (red pen, OC that spawned, not purchased) shows 4 days 9 hours on UI but 2 days 9 hours on script.

     

    Spawned OCs (yellow highlight) are showing a countdown on the script but are not showing a countdown on the page (apparently we're the only faction experiencing this, I am wondering if a faction member joined each one and then left it...?). The script-visible countdowns match the countdowns that were visible this morning before they suddenly stopped showing a countdown.

     

    Purchased OCs that were purchased today are showing timers consistent with a 3 day timer, but are not showing a timer on the user interface (they may show a timer later on? Idk.) - that is unless someone has joined them in which case they are showing less than 24 hours (purple highlight).

     

    This may be poor communication from my script, and I apologize for it. On a wider screen, there is enough screen space to have a little extra text that explains what these timers mean. 

     

    red OC/purple OC: The built in UI's script's timer is a countdown to the estimated start time of the crime, assuming that enough members join said crime. If not enough members join, the timer will pause and will stop counting down. 

    On the other hand, the script shows how much time there is until a member needs to join to continue planning the crime. 

    In this case, the crime needs another 4:02:41:47 to run if members join on time. If the crime stays at 4/6 when there is 2:00:00:00 left on the clock, the UI timer will pause. 

    The script instead shows that a member needs to join in 2:02:41:51 in order for the crime to not stall. 

     

    4dd9cdaa-85a4-45bd-bd1d-9a79ba8867e6-3299880.png

     

    In the case that a crime does stall, the timer will instead either pause at 0:00:00:00 (denoting that a member needs to join this crime) or will turn red and start counting up (depending on your settings)

    3cb5dfa2-63c7-410c-8867-a69e2cf9f4ea-3299880.png

     

    ----------------------

     

    yellow OC: The script does pull data directly from the API, so I suspect that this is just similar to previously randomly spawned crimes where crimes with > 24h of expiry simply doesn't show its expiry time, instead showing 'Recruiting'.

    I am unsure why these spawned crimes showed an expiry timer earlier today but no longer do. It could be a change on torn's side when they patched in purchased crimes which caused the timers to show before another quick patch then removed the timer again. Or maybe your suspicions are correct and it is because someone joined and left.

     

    bb82c343-a57d-48b0-9194-64ca8cc68ab0-3299880.png

     

    ----

     

    In any case, you can tap the timer which hopefully should bring up some text that explains what the timer is counting down to.

    If you feel that these texts can be worded better, I'm very open to suggestions!

     

    I hope this helps!

    Last edited by callmericky on 10:18:52 - 19/03/25 (30 days ago)
    • Viciously_Grim [2752611]
    • Role: Civilian
    • Level: 59
    • Posts: 4,868
    • Karma: 5,863
    • Last Action: 3 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 12:21:49 - 19/03/25 (30 days ago)
    Post link copied to clipboard Copy post link

    callmericky [3299880]

    Top! is it possible to add a Button to copy the names from members who arent in a crime? Or maybe create an automatic faction message including there names? right now its not easy to copy the names on my Smartphone!

     

    I was halfway making something like this, but it seems that you can now send faction mail to people who are not in OCs. Does this solve your want? If so I won't keep working on this. 

     

    I'm showing a *severe* mismatch between crime countdown in the API and user interface. Is this an issue with the API or the script?

     

    The OC I'm in (red pen, OC that spawned, not purchased) shows 4 days 9 hours on UI but 2 days 9 hours on script.

     

    Spawned OCs (yellow highlight) are showing a countdown on the script but are not showing a countdown on the page (apparently we're the only faction experiencing this, I am wondering if a faction member joined each one and then left it...?). The script-visible countdowns match the countdowns that were visible this morning before they suddenly stopped showing a countdown.

     

    Purchased OCs that were purchased today are showing timers consistent with a 3 day timer, but are not showing a timer on the user interface (they may show a timer later on? Idk.) - that is unless someone has joined them in which case they are showing less than 24 hours (purple highlight).

     

    This may be poor communication from my script, and I apologize for it. On a wider screen, there is enough screen space to have a little extra text that explains what these timers mean. 

     

    red OC/purple OC: The built in UI's script's timer is a countdown to the estimated start time of the crime, assuming that enough members join said crime. If not enough members join, the timer will pause and will stop counting down. 

    On the other hand, the script shows how much time there is until a member needs to join to continue planning the crime. 

    In this case, the crime needs another 4:02:41:47 to run if members join on time. If the crime stays at 4/6 when there is 2:00:00:00 left on the clock, the UI timer will pause. 

    The script instead shows that a member needs to join in 2:02:41:51 in order for the crime to not stall. 

     

    4dd9cdaa-85a4-45bd-bd1d-9a79ba8867e6-3299880.png

     

    In the case that a crime does stall, the timer will instead either pause at 0:00:00:00 (denoting that a member needs to join this crime) or will turn red and start counting up (depending on your settings)

    3cb5dfa2-63c7-410c-8867-a69e2cf9f4ea-3299880.png

     

    ----------------------

     

    yellow OC: The script does pull data directly from the API, so I suspect that this is just similar to previously randomly spawned crimes where crimes with > 24h of expiry simply doesn't show its expiry time, instead showing 'Recruiting'.

    I am unsure why these spawned crimes showed an expiry timer earlier today but no longer do. It could be a change on torn's side when they patched in purchased crimes which caused the timers to show before another quick patch then removed the timer again. Or maybe your suspicions are correct and it is because someone joined and left.

     

    bb82c343-a57d-48b0-9194-64ca8cc68ab0-3299880.png

     

    ----

     

    In any case, you can tap the timer which hopefully should bring up some text that explains what the timer is counting down to.

    If you feel that these texts can be worded better, I'm very open to suggestions!

     

    I hope this helps!

    Tapping on it was not intuitive ngl 😂

     

    Maybe add a little down arrow showing it can be expanded?

     

    Or add text colors that correlate to the words that aren't shown: time to export, time for recruitment, etc. Recommend using Torn css classes for any colors for easy updating and colorblind friendliness.

    Last edited by Viciously_Grim on 12:24:37 - 19/03/25 (30 days ago)

    🌈 Makes friends the hard way 🦄

    🎁 Noob box giveaway! 🎁

    💲Sell me your shit 💰

     🤓 Official Best Friend of NRD2nd🥈(current price $5m)

    • Simmeltron [2945165]
    • Role: Civilian
    • Level: 58
    • Posts: 108
    • Karma: 39
    • Last Action: 29 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 17:45:52 - 19/03/25 (30 days ago)
    Post link copied to clipboard Copy post link

    callmericky [3299880]

    Top! is it possible to add a Button to copy the names from members who arent in a crime? Or maybe create an automatic faction message including there names? right now its not easy to copy the names on my Smartphone!

     

    I was halfway making something like this, but it seems that you can now send faction mail to people who are not in OCs. Does this solve your want? If so I won't keep working on this. 

     

    I'm showing a *severe* mismatch between crime countdown in the API and user interface. Is this an issue with the API or the script?

     

    The OC I'm in (red pen, OC that spawned, not purchased) shows 4 days 9 hours on UI but 2 days 9 hours on script.

     

    Spawned OCs (yellow highlight) are showing a countdown on the script but are not showing a countdown on the page (apparently we're the only faction experiencing this, I am wondering if a faction member joined each one and then left it...?). The script-visible countdowns match the countdowns that were visible this morning before they suddenly stopped showing a countdown.

     

    Purchased OCs that were purchased today are showing timers consistent with a 3 day timer, but are not showing a timer on the user interface (they may show a timer later on? Idk.) - that is unless someone has joined them in which case they are showing less than 24 hours (purple highlight).

     

    This may be poor communication from my script, and I apologize for it. On a wider screen, there is enough screen space to have a little extra text that explains what these timers mean. 

     

    red OC/purple OC: The built in UI's script's timer is a countdown to the estimated start time of the crime, assuming that enough members join said crime. If not enough members join, the timer will pause and will stop counting down. 

    On the other hand, the script shows how much time there is until a member needs to join to continue planning the crime. 

    In this case, the crime needs another 4:02:41:47 to run if members join on time. If the crime stays at 4/6 when there is 2:00:00:00 left on the clock, the UI timer will pause. 

    The script instead shows that a member needs to join in 2:02:41:51 in order for the crime to not stall. 

     

    4dd9cdaa-85a4-45bd-bd1d-9a79ba8867e6-3299880.png

     

    In the case that a crime does stall, the timer will instead either pause at 0:00:00:00 (denoting that a member needs to join this crime) or will turn red and start counting up (depending on your settings)

    3cb5dfa2-63c7-410c-8867-a69e2cf9f4ea-3299880.png

     

    ----------------------

     

    yellow OC: The script does pull data directly from the API, so I suspect that this is just similar to previously randomly spawned crimes where crimes with > 24h of expiry simply doesn't show its expiry time, instead showing 'Recruiting'.

    I am unsure why these spawned crimes showed an expiry timer earlier today but no longer do. It could be a change on torn's side when they patched in purchased crimes which caused the timers to show before another quick patch then removed the timer again. Or maybe your suspicions are correct and it is because someone joined and left.

     

    bb82c343-a57d-48b0-9194-64ca8cc68ab0-3299880.png

     

    ----

     

    In any case, you can tap the timer which hopefully should bring up some text that explains what the timer is counting down to.

    If you feel that these texts can be worded better, I'm very open to suggestions!

     

    I hope this helps!

    Viciously_Grim [2752611]

    Tapping on it was not intuitive ngl 😂

     

    Maybe add a little down arrow showing it can be expanded?

     

    Or add text colors that correlate to the words that aren't shown: time to export, time for recruitment, etc. Recommend using Torn css classes for any colors for easy updating and colorblind friendliness.

    I dunno.. it was pretty intuitive to me. :P I guess I started using this on a computer so I saw the label "Join in:" and it immediately was clear as to the reason that timer was different than the default entire crime countdown timer.

     

    As for a down arrow... there already is an indicator on the left next to the "1 / 5 >" that when you tap it, it expands, and the arrow then points down indicating it's expanded. This is a complex script that does a LOT. Once you play with it a little bit... it should all become clear. I think the interface is perfect with the current feature set.

    • Viciously_Grim [2752611]
    • Role: Civilian
    • Level: 59
    • Posts: 4,868
    • Karma: 5,863
    • Last Action: 3 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 19:04:29 - 19/03/25 (30 days ago)
    Post link copied to clipboard Copy post link

    callmericky [3299880]

    Top! is it possible to add a Button to copy the names from members who arent in a crime? Or maybe create an automatic faction message including there names? right now its not easy to copy the names on my Smartphone!

     

    I was halfway making something like this, but it seems that you can now send faction mail to people who are not in OCs. Does this solve your want? If so I won't keep working on this. 

     

    I'm showing a *severe* mismatch between crime countdown in the API and user interface. Is this an issue with the API or the script?

     

    The OC I'm in (red pen, OC that spawned, not purchased) shows 4 days 9 hours on UI but 2 days 9 hours on script.

     

    Spawned OCs (yellow highlight) are showing a countdown on the script but are not showing a countdown on the page (apparently we're the only faction experiencing this, I am wondering if a faction member joined each one and then left it...?). The script-visible countdowns match the countdowns that were visible this morning before they suddenly stopped showing a countdown.

     

    Purchased OCs that were purchased today are showing timers consistent with a 3 day timer, but are not showing a timer on the user interface (they may show a timer later on? Idk.) - that is unless someone has joined them in which case they are showing less than 24 hours (purple highlight).

     

    This may be poor communication from my script, and I apologize for it. On a wider screen, there is enough screen space to have a little extra text that explains what these timers mean. 

     

    red OC/purple OC: The built in UI's script's timer is a countdown to the estimated start time of the crime, assuming that enough members join said crime. If not enough members join, the timer will pause and will stop counting down. 

    On the other hand, the script shows how much time there is until a member needs to join to continue planning the crime. 

    In this case, the crime needs another 4:02:41:47 to run if members join on time. If the crime stays at 4/6 when there is 2:00:00:00 left on the clock, the UI timer will pause. 

    The script instead shows that a member needs to join in 2:02:41:51 in order for the crime to not stall. 

     

    4dd9cdaa-85a4-45bd-bd1d-9a79ba8867e6-3299880.png

     

    In the case that a crime does stall, the timer will instead either pause at 0:00:00:00 (denoting that a member needs to join this crime) or will turn red and start counting up (depending on your settings)

    3cb5dfa2-63c7-410c-8867-a69e2cf9f4ea-3299880.png

     

    ----------------------

     

    yellow OC: The script does pull data directly from the API, so I suspect that this is just similar to previously randomly spawned crimes where crimes with > 24h of expiry simply doesn't show its expiry time, instead showing 'Recruiting'.

    I am unsure why these spawned crimes showed an expiry timer earlier today but no longer do. It could be a change on torn's side when they patched in purchased crimes which caused the timers to show before another quick patch then removed the timer again. Or maybe your suspicions are correct and it is because someone joined and left.

     

    bb82c343-a57d-48b0-9194-64ca8cc68ab0-3299880.png

     

    ----

     

    In any case, you can tap the timer which hopefully should bring up some text that explains what the timer is counting down to.

    If you feel that these texts can be worded better, I'm very open to suggestions!

     

    I hope this helps!

    Viciously_Grim [2752611]

    Tapping on it was not intuitive ngl 😂

     

    Maybe add a little down arrow showing it can be expanded?

     

    Or add text colors that correlate to the words that aren't shown: time to export, time for recruitment, etc. Recommend using Torn css classes for any colors for easy updating and colorblind friendliness.

    Simmeltron [2945165]

    I dunno.. it was pretty intuitive to me. :P I guess I started using this on a computer so I saw the label "Join in:" and it immediately was clear as to the reason that timer was different than the default entire crime countdown timer.

     

    As for a down arrow... there already is an indicator on the left next to the "1 / 5 >" that when you tap it, it expands, and the arrow then points down indicating it's expanded. This is a complex script that does a LOT. Once you play with it a little bit... it should all become clear. I think the interface is perfect with the current feature set.

    Ohhhhh I see it now. I think the olacement of it confused me. Typically folder arrows are on one side or the other not mid line. I'll play around with it some more :)

    🌈 Makes friends the hard way 🦄

    🎁 Noob box giveaway! 🎁

    💲Sell me your shit 💰

     🤓 Official Best Friend of NRD2nd🥈(current price $5m)

    • Simmeltron [2945165]
    • Role: Civilian
    • Level: 58
    • Posts: 108
    • Karma: 39
    • Last Action: 29 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 22:44:30 - 19/03/25 (30 days ago)
    Post link copied to clipboard Copy post link

    callmericky [3299880]

    Top! is it possible to add a Button to copy the names from members who arent in a crime? Or maybe create an automatic faction message including there names? right now its not easy to copy the names on my Smartphone!

     

    I was halfway making something like this, but it seems that you can now send faction mail to people who are not in OCs. Does this solve your want? If so I won't keep working on this. 

     

    I'm showing a *severe* mismatch between crime countdown in the API and user interface. Is this an issue with the API or the script?

     

    The OC I'm in (red pen, OC that spawned, not purchased) shows 4 days 9 hours on UI but 2 days 9 hours on script.

     

    Spawned OCs (yellow highlight) are showing a countdown on the script but are not showing a countdown on the page (apparently we're the only faction experiencing this, I am wondering if a faction member joined each one and then left it...?). The script-visible countdowns match the countdowns that were visible this morning before they suddenly stopped showing a countdown.

     

    Purchased OCs that were purchased today are showing timers consistent with a 3 day timer, but are not showing a timer on the user interface (they may show a timer later on? Idk.) - that is unless someone has joined them in which case they are showing less than 24 hours (purple highlight).

     

    This may be poor communication from my script, and I apologize for it. On a wider screen, there is enough screen space to have a little extra text that explains what these timers mean. 

     

    red OC/purple OC: The built in UI's script's timer is a countdown to the estimated start time of the crime, assuming that enough members join said crime. If not enough members join, the timer will pause and will stop counting down. 

    On the other hand, the script shows how much time there is until a member needs to join to continue planning the crime. 

    In this case, the crime needs another 4:02:41:47 to run if members join on time. If the crime stays at 4/6 when there is 2:00:00:00 left on the clock, the UI timer will pause. 

    The script instead shows that a member needs to join in 2:02:41:51 in order for the crime to not stall. 

     

    4dd9cdaa-85a4-45bd-bd1d-9a79ba8867e6-3299880.png

     

    In the case that a crime does stall, the timer will instead either pause at 0:00:00:00 (denoting that a member needs to join this crime) or will turn red and start counting up (depending on your settings)

    3cb5dfa2-63c7-410c-8867-a69e2cf9f4ea-3299880.png

     

    ----------------------

     

    yellow OC: The script does pull data directly from the API, so I suspect that this is just similar to previously randomly spawned crimes where crimes with > 24h of expiry simply doesn't show its expiry time, instead showing 'Recruiting'.

    I am unsure why these spawned crimes showed an expiry timer earlier today but no longer do. It could be a change on torn's side when they patched in purchased crimes which caused the timers to show before another quick patch then removed the timer again. Or maybe your suspicions are correct and it is because someone joined and left.

     

    bb82c343-a57d-48b0-9194-64ca8cc68ab0-3299880.png

     

    ----

     

    In any case, you can tap the timer which hopefully should bring up some text that explains what the timer is counting down to.

    If you feel that these texts can be worded better, I'm very open to suggestions!

     

    I hope this helps!

    Viciously_Grim [2752611]

    Tapping on it was not intuitive ngl 😂

     

    Maybe add a little down arrow showing it can be expanded?

     

    Or add text colors that correlate to the words that aren't shown: time to export, time for recruitment, etc. Recommend using Torn css classes for any colors for easy updating and colorblind friendliness.

    Simmeltron [2945165]

    I dunno.. it was pretty intuitive to me. :P I guess I started using this on a computer so I saw the label "Join in:" and it immediately was clear as to the reason that timer was different than the default entire crime countdown timer.

     

    As for a down arrow... there already is an indicator on the left next to the "1 / 5 >" that when you tap it, it expands, and the arrow then points down indicating it's expanded. This is a complex script that does a LOT. Once you play with it a little bit... it should all become clear. I think the interface is perfect with the current feature set.

    Viciously_Grim [2752611]

    Ohhhhh I see it now. I think the olacement of it confused me. Typically folder arrows are on one side or the other not mid line. I'll play around with it some more :)

    Yeah that's a valid point there. The arrow could be all the way to the left and then the 1 / 5 could be after it ("> 1 / 5") But yea in the end.. when i install a new script i go nuts and analyze every little detail until I'm sure I know how it all works and I'm not missing anything. This tool offers a lot so it's not always super obvious right out the gate on how it all works unless you read every detail in the instructions. ;P

    • Omanpx [1906686]
    • Role: Civilian
    • Level: 100
    • Posts: 3,017
    • Karma: 19,796
    • Last Action: 1 hour
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 08:44:17 - 25/03/25 (24 days ago)
    Post link copied to clipboard Copy post link

    Loving the script, have a small request / suggestion:

     

    Have a summary of how many slots there are in total and per crime. For example
    10x lvl 8

    8x lvl 7 

    14x lvl 6

    Total: 180 slots (30 open)

     

    Would be really helpful when deciding to spawn more crimes.

    Toolbox - a collection of my tools and spreadsheets made for Torn.

    Guidebook - a collection of guides i made for Torn.

    • PERK_Ryan [3356606]
    • Role: Civilian
    • Level: 44
    • Posts: 734
    • Karma: 164
    • Last Action: 1 hour
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 14:53:35 - 15/04/25 (3 days ago)
    Post link copied to clipboard Copy post link

    Simply the best script so far for OC 2.0. The only issue I now have is since the update of removing the other icon with a person for activity clicking on the mask to see how long someone has not been in an OC is pretty tough on mobile pda without accidently clicking on the person's name link and getting sent to another webpage. 

     

    Ah but testing I can click on the other side of the name near their status as well to get the last OC info... so nvm all is good :)

    Ryan's OD Insurance

Reply
Thread Title: