OutcomeDB - Contribute to Crimes 2.0 Research! | Tools & Users…

OutcomeDB - Contribute to Crimes 2.0 Research!

​

    • Emforus [2535044]
    • Role: Wiki Contributor
    • Level: 100
    • Posts: 2,093
    • Karma: 26,206
    • Last Action: 8 hours
      • 1
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Thread created on 01:17:33 - 19/03/24 (2 years ago)
    |
    Last replied 11:38:19 - 12/10/26 (5 days ago)

    Hello!
    I'm collecting research data about crime outcomes from Crimes 2.0 users. Normally, this is done through an entirely manual exporting/sending process, and it's quite clunky.

    Recently, my friends Hemicopter and Lazerpent developed a script that can automatically archive outcomes in a database to make data gathering significantly easier. There's no setup required nor any additional steps you have to take, just install the script and it'll automatically collect everything it needs.

    GREASYFORK LINK

    Summary of the script's features:
    - It captures the last crime attempt, outcome information and skill level.
    - It send this data to a database for analysis purposes.
    - It doesn't access any other feature outside of the crimes system. This includes the API, chats, and anything else outside of the crimes page.

    - It doesn't track your identity in any way. It's fully anonymous!

     

    Who has access to this data:

    - Myself (of course)

    - Hemicopter (mantains the script)

    - Lazerpent (mantains the database)


    This script will only ever track crime information for research purposes, no other data is gathered or sent anywhere.

    Ideally install this script on every device where you play Torn! Works with Tampermonkey, Violentmonkey, and PDA!

     

    *Note: It's explicitly NOT compatible with Greasemonkey. Not sure why.

    Last edited by Emforus on 21:20:54 - 13/09/26 (1 month ago)

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

    Contribute to Crimes 2.0 research!

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

    Check out my interactive OC2.0 maps project!

    • Lazerpent [2112641]
    • Role: Civilian
    • Level: 100
    • Posts: 916
    • Karma: 4,297
    • Last Action: 21 minutes
      • 1
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 01:19:37 - 19/03/24 (2 years ago)
    Post link copied to clipboard Copy post link
    If anyone has any questions about what the script is doing, don’t hesitate to send me a message. If there’s any common questions, I’ll put them here.
    Last edited by Lazerpent on 01:20:01 - 19/03/24 (2 years ago)

    • Fetheryhorse6 [2317488]
    • Role: Civilian
    • Level: 25
    • Posts: 700
    • Karma: 945
    • Last Action: 5 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 02:10:49 - 19/03/24 (2 years ago)
    Post link copied to clipboard Copy post link
    Highly recommend, makes data collection for the fancy guides way easy
    super easy to install on PDA too
    • Hemicopter [2780600]
    • Role: Civilian
    • Level: 90
    • Posts: 2,100
    • Karma: 5,130
    • Last Action: 4 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 05:55:43 - 19/03/24 (2 years ago)
    Post link copied to clipboard Copy post link

    Lazerpent [2112641]

    If anyone has any questions about what the script is doing, don’t hesitate to send me a message. If there’s any common questions, I’ll put them here.
    My DMs are open as well :D

    Have fun collecting crime attempt data :D
    • Omanpx [1906686]
    • Role: Civilian
    • Level: 100
    • Posts: 4,982
    • Karma: 39,104
    • Last Action: 51 minutes
      • 1
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 07:12:59 - 19/03/24 (2 years ago)
    Post link copied to clipboard Copy post link
    Does it record the actual flavor text and all the stuff in the text box, or just the statistics off of the crime info at the top? If scenario one, does the script to hide crime outcomes interfere with it?

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

    Guidebook - a collection of guides i made for Torn.

    • Lazerpent [2112641]
    • Role: Civilian
    • Level: 100
    • Posts: 916
    • Karma: 4,297
    • Last Action: 21 minutes
      • 1
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 12:21:13 - 19/03/24 (2 years ago)
    Post link copied to clipboard Copy post link

    Omanpx [1906686]

    Does it record the actual flavor text and all the stuff in the text box, or just the statistics off of the crime info at the top? If scenario one, does the script to hide crime outcomes interfere with it?
    Yes, it does capture the flavor text, and while I have not tested it, I am fairly confident when I say no, the hiding script should not interfere.

    Edit: Just tested it, can confirm the scripts work just fine together!
    Last edited by Lazerpent on 12:38:11 - 19/03/24 (2 years ago)

    • Indent [2032117]
    • Role: Civilian
    • Level: 100
    • Posts: 1,422
    • Karma: 2,640
    • Last Action: 26 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 15:45:17 - 20/03/24 (2 years ago)
    Post link copied to clipboard Copy post link
    I’m getting this error on occasion while using it with Torn PDA. Seems to happen just after I press a button to complete a step:

    • Hazimil [2865965]
    • Role: Civilian
    • Level: 98
    • Posts: 102
    • Karma: 75
    • Last Action: Now
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 16:32:25 - 20/03/24 (2 years ago)
    Post link copied to clipboard Copy post link
    Nice one, installed and hope the data it collects helps!
    • Kwack [2190604]
    • Role: Civilian
    • Level: 15
    • Posts: 2,872
    • Karma: 5,094
    • Last Action: 3 hours
      • 1
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 04:11:51 - 21/03/24 (2 years ago)
    Post link copied to clipboard Copy post link

    Indent [2032117]

    I’m getting this error on occasion while using it with Torn PDA. Seems to happen just after I press a button to complete a step: [img width=247 height=535]https://i.ibb.co/jrQHtsX/IMG-0382.png[/img]
    Tap on the browser bar (says "crimes") and enable "Show Terminal" at the bottom to open the console.
    • Swob [2763303]
    • Role: Civilian
    • Level: 96
    • Posts: 128
    • Karma: 320
    • Last Action: Now
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 14:48:42 - 21/03/24 (2 years ago)
    Post link copied to clipboard Copy post link
    Great idea, just installed it. Let the numbers flow!

    Edit: Is it recording all crimes or do you just collect the data of the most recent released crimes?
    Last edited by Swob on 14:50:17 - 21/03/24 (2 years ago)
    • Emforus [2535044]
    • Role: Wiki Contributor
    • Level: 100
    • Posts: 2,093
    • Karma: 26,206
    • Last Action: 8 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 15:19:35 - 21/03/24 (2 years ago)
    Post link copied to clipboard Copy post link

    Swob [2763303]

    Great idea, just installed it. Let the numbers flow! Edit: Is it recording all crimes or do you just collect the data of the most recent released crimes?
    Records all crimes, including the newest.

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

    Contribute to Crimes 2.0 research!

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

    Check out my interactive OC2.0 maps project!

    • AL3X [353917]
    • Role: Civilian
    • Level: 100
    • Posts: 442
    • Karma: 15
    • Last Action: 3 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 01:20:15 - 23/03/24 (2 years ago)
    Post link copied to clipboard Copy post link
    A little help from me too !!!
    • Lazerpent [2112641]
    • Role: Civilian
    • Level: 100
    • Posts: 916
    • Karma: 4,297
    • Last Action: 21 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 12:49:30 - 27/03/24 (2 years ago)
    Post link copied to clipboard Copy post link
    Bump. Please install this, the more data collected, the better the guides can be!

    • Emforus [2535044]
    • Role: Wiki Contributor
    • Level: 100
    • Posts: 2,093
    • Karma: 26,206
    • Last Action: 8 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 13:51:51 - 29/03/24 (2 years ago)
    Post link copied to clipboard Copy post link
    An update has been pushed so some extra tidbits of information (namely progression bonus) can be captured. It should autoupdate on tampermonkey, if you're using TornPDA you may need to manually update the script.

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

    Contribute to Crimes 2.0 research!

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

    Check out my interactive OC2.0 maps project!

    • Neliex [2857538]
    • Role: Civilian
    • Level: 88
    • Posts: 1,527
    • Karma: 3,176
    • Last Action: 7 months
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 15:37:31 - 29/03/24 (2 years ago)
    Post link copied to clipboard Copy post link

    Indent [2032117]

    I’m getting this error on occasion while using it with Torn PDA. Seems to happen just after I press a button to complete a step: [img width=247 height=535]https://i.ibb.co/jrQHtsX/IMG-0382.png[/img]
    I am getting this after update
    • Lazerpent [2112641]
    • Role: Civilian
    • Level: 100
    • Posts: 916
    • Karma: 4,297
    • Last Action: 21 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 17:21:04 - 29/03/24 (2 years ago)
    Post link copied to clipboard Copy post link

    Indent [2032117]

    I’m getting this error on occasion while using it with Torn PDA. Seems to happen just after I press a button to complete a step: [img width=247 height=535]https://i.ibb.co/jrQHtsX/IMG-0382.png[/img]

    Neliex [2857538]

    I am getting this after update
    It looks like android was doing something weird with PDA. An update (to the update) was pushed

    • Sikotiq [2120293]
    • Role: Civilian
    • Level: 100
    • Posts: 1,122
    • Karma: 705
    • Last Action: 12 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 01:31:10 - 31/03/24 (2 years ago)
    Post link copied to clipboard Copy post link
    Just installed... Is there any way to see if it is working?

    • Lazerpent [2112641]
    • Role: Civilian
    • Level: 100
    • Posts: 916
    • Karma: 4,297
    • Last Action: 21 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 02:24:41 - 31/03/24 (2 years ago)
    Post link copied to clipboard Copy post link

    Sikotiq [2120293]

    Just installed... Is there any way to see if it is working?
    If you open dev tools you can look at the log statements. But its fairly safe to assume its working if its installed properly!

    Here is an example of what the devtools console would say:

    [OutcomeDB] Found crime attempt.
    [OutcomeDB] url: /loader.php?sid=crimesData&step=attempt&typeID=11&crimeID=254...
    [OutcomeDB] End of crime attempt.
    [OutcomeDB] Found outcome.
    [OutcomeDB] Preparing bundle.
    [OutcomeDB] Found stat (Skill): '86.15'
    [OutcomeDB] Found stat (Progression bonus): '40%'
    [OutcomeDB] Ready to send bundle. {outcome: {…}, typeID: '11', crimeID: '254', skillBefore: '86.15', skillAfter: '86.18', …}
    [OutcomeDB] Bundle successfully sent to API: {"status":"success"}


    The way you know for sure it worked is if it says "status": "success" in the last line

    • Sikotiq [2120293]
    • Role: Civilian
    • Level: 100
    • Posts: 1,122
    • Karma: 705
    • Last Action: 12 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 16:27:26 - 31/03/24 (2 years ago)
    Post link copied to clipboard Copy post link

    Sikotiq [2120293]

    Just installed... Is there any way to see if it is working?

    Lazerpent [2112641]

    If you open dev tools you can look at the log statements. But its fairly safe to assume its working if its installed properly! Here is an example of what the devtools console would say: [OutcomeDB] Found crime attempt. [OutcomeDB] url: /loader.php?sid=crimesData&step=attempt&typeID=11&crimeID=254... [OutcomeDB] End of crime attempt. [OutcomeDB] Found outcome. [OutcomeDB] Preparing bundle. [OutcomeDB] Found stat (Skill): '86.15' [OutcomeDB] Found stat (Progression bonus): '40%' [OutcomeDB] Ready to send bundle. {outcome: {…}, typeID: '11', crimeID: '254', skillBefore: '86.15', skillAfter: '86.18', …} [OutcomeDB] Bundle successfully sent to API: {"status":"success"} The way you know for sure it worked is if it says "status": "success" in the last line
    Thanks. I don't know where to find that, but I will assume it is working since it installed correctly.

    • PMV [1577993]
    • Role: Civilian
    • Level: 100
    • Posts: 4,982
    • Karma: 12,804
    • Last Action: 5 hours
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 15:35:43 - 01/04/24 (2 years ago)
    Post link copied to clipboard Copy post link
    Sure, I'll add this one. Have done pretty much all of the earlier crimes though, which ones (other than forgery) are needed most?
Reply
Thread Title: