“Error No header found in user script “ when pasting that link into TornPDA
[Script] Crime Morale - Scamming Solver
-
Thread created on 15:01:13 - 03/11/24 (5 months ago)|Last replied 08:04:31 - 31/03/25 (18 days ago)
TL;DR This script provides no-brainer suggestions for the Scamming crime.
Install: https://greasyfork.org/en/scripts/515557-crime-morale
or download directly: https://update.greasyfork.org/scripts/515557/Crime%20Morale.user.js
Latest update
v1.4.10 (2025-03-15):
- Scamming: avoid Back when at the first pip
- Scamming: improve suspicion estimation for unsynced targets
- Scamming: fix wrong caching when accelarating beyond cached solution
- Scamming: try a bit harder to avoid concern from high-level targets
v1.4.9 (2025-01-11):
- Scamming: Fix issue where hints were not displayed immediately after page load
v1.4.8 (2025-01-09):
- General: Fix the response parsing issue caused by recent update
Introduction
After the release of Crime 2.0, I created this script to display the hidden demoralization value, which inspired the name of the script. Over time, as new crimes were introduced, I added additional helper features, turning the script into a more comprehensive crime tool.
Initially, since most of the features were simple and there were already many good alternatives available on the forum, I only shared the script within the SMTH family. However, with the introduction of the following Scamming Solver feature, which provides significant help beyond visual enhancements, I've decided it's time to release the script publicly.
Scamming Solver
The Scamming Solver analyzes each target to recommend the best action to increase your crime skill. The suggested actions are usually safe and suitable for most users, though they may be too conservative for those willing to risk losing crime skill in exchange for higher cash rewards. As shown in the screenshot, the script uses tick/cross marks to highlight optimal actions, along with a Score to indicate the target's difficulty level. In short, a target with a score over 200 indicates a high probability of safely reaching high rewards, while targets scoring below 100 are likely too challenging, either making it impossible to reach the medium or high reward zones or risking multiple setbacks in hazard zones.
Limitations
- Multiple Devices: The script tracks the number of actions taken on each target to estimate future Suspicion levels. If you interact with a target on another device, this estimation may be inaccurate. In these cases, an “Unsync” notice will appear above the target’s bar, and the tick mark will change to a question mark.
- Inaccurate Suggestions: Suspicion levels are estimated based on past actions and hard-coded values. Given the random nature of the Suspicion mechanism, these estimates are not precise, and the script’s conservative approach may sometimes suggest abandoning targets even if a viable path to rewards exists. Use the script as guidance, but trust your judgment.
Additional Scamming Features
- Target Expiry: Time left before each target expires.
- Passive Farming Website Expiry: Time left before each farming website expires. If a website is activated on another device, one additional Farm action is needed to sync the timer.
- Spam Action Timer: Tracks time since each spam action (in the dropdown menu), though this will be inaccurate if the last spam action was done on another device.
- Low Cash Warning: Shows a Low Cash warning on the farming button when money is below $10k.
Features for Other Crimes
- Demoralization Display: Shows the hidden demoralization value on the upper-right corner of the page. The server returns this value in network responses, and I interpret it as a percentage, displaying the difference from 100.
- Burglary: Tracks target expiry time.
- Pickpocketing: Highlights difficulty levels. Unlike other scripts, this one incorporates my own observations. For example, I’ve found taller cyclists (i.e. >1.62m) to be slightly harder, so I omit the color for them.
Q & A
Q: Does this script require my API key?
No.
Q: Is TornPDA supported?
Yes. Please select 'START' for the Injection time option.
Q: It doesn't work on Firefox. Why?
This script is not compatible with Greasymonkey. Please try Tampermonkey or Violentmonkey.
Q: It doesn't work on Chrome. Why?
If you are using Tampermonkey, please follow it's documentation to enable Developer Mode in Chrome. Without doing this, Tampermonkey doesn't execute any script at all.
Q: Does the Scamming Solver completely avoid critical failures?
No, it optimizes for average score. Occasionally, it may suggest a high-reward action even if it involves minor risk.
Q: How is Concern resolved?
Based on my experience, I set the success rate for resolving Concern to 50%, as Emforus’s guide lacks this specific data.
Q: Why does the page sometimes lag?
The complexity of finding the optimal solution grows exponentially with the number of Concern/Hesitation segments, leading to minor delays on high-level targets.
Q: Can the Scamming Solver prioritize cash rewards over experience?
I don’t currently plan to add this feature, as most players don’t receive enough high-level targets to justify it.
Q: Can this script help with the Decepticon merit?
The script isn’t designed for merit-specific optimization. Adding that functionality would complicate the script without broad benefits.Yes. For targets where getting the Decepticon merit is possible, you’ll see a refresh icon ↻ next to Exp. Clicking it will switch the script to use the merit-focused algorithm for that target.
Q: I like certain features, but they conflict with another script. What can I do?
The script is already quite extensive, so I try to keep it simple by avoiding customization settings. If you want to disable specific features, search for “function onCrimeData” in the code and delete relevant lines following it.
Credit: Special thanks to Emforus for the invaluable crime guides, which inspired many features of this script.
Donations:
- Pops: 10x Feathery Hotel Coupon
- HarryWho: Donator Pack
- LuoYangAndyLau: Donator Pack
- HanaJun: 10m, 5x Drug Pack
- Lunalia: Xanax
- argh: Feathery Hotel Coupon
- SayedSharon: Feathery Hotel Coupon
- DarkZeros: Xanax
- FractalPariah: Keg of Beer, 1m
- Shaw: Six-Pack of Alcohol, Drug Pack
- olli962: 5m
- Second2none: Donator Pack
- Nut2Fast: 2x Xanax
- RussianRob: 10x Xanax
- Zed: Keg of Beer
Last edited by tobytorn on 02:17:30 - 09/04/25 (10 days ago) -
-
Posted on 15:29:15 - 03/11/24 (5 months ago)Post link copied to clipboard Copy post link
Very useful script! Work fine and free me of considering about how to conduct the scamming.
-
-
Posted on 15:51:47 - 03/11/24 (5 months ago)Post link copied to clipboard Copy post link
Breaking news: SMTH leak their script
-
-
Posted on 15:55:51 - 03/11/24 (5 months ago)Post link copied to clipboard Copy post link
“Error No header found in user script “ when pasting that link into TornPDA
5/08/12 - The comic you submitted was accepted. You have been given 250 points.
-
-
Posted on 16:05:40 - 03/11/24 (5 months ago)Post link copied to clipboard Copy post link
That is a link to the Greasyfork website, where you will see an install button for PC and the script code. I've edited the post and added a direct download link. In PDA, you use this new link https://update.greasyfork.org/scripts/515557/Crime%20Morale.user.js
-
-
Posted on 16:13:00 - 03/11/24 (5 months ago)Post link copied to clipboard Copy post link
Why is there a bunch of bs code in this script about burglary and pickpocketing?
5/08/12 - The comic you submitted was accepted. You have been given 250 points.
-
-
Posted on 18:33:45 - 03/11/24 (5 months ago)Post link copied to clipboard Copy post link
Love it. First time I used it, I made about 40k. It was my first time doing the Scamming crime also.
-
-
Posted on 23:28:04 - 03/11/24 (5 months ago)Post link copied to clipboard Copy post link
It is ironic after the devs spent ages making crime less about mindlessly clicking.
-
-
Posted on 03:54:24 - 04/11/24 (5 months ago)Post link copied to clipboard Copy post link
Thank you for your selfless sharing, it has been very helpful to me!
-
-
Posted on 16:07:37 - 04/11/24 (5 months ago)Post link copied to clipboard Copy post link
I just started scamming today with 122k emails farmed..
This will be handy. As currently just using logic and manual planning the route to the high reward pips
-
-
Posted on 18:20:09 - 04/11/24 (5 months ago)Post link copied to clipboard Copy post link
For some reason I couldn't install this on pc, but PDA is fine
-
-
Posted on 21:08:32 - 04/11/24 (5 months ago)Post link copied to clipboard Copy post link
Make sure you disable "Hide Crime Outcome". Those two do not work together.
-
-
Posted on 01:25:55 - 05/11/24 (5 months ago)Post link copied to clipboard Copy post link
Fantastic job in this. Thank you
Paying 10 times your total work stats to work for my 8* Mining Corp. Rotating trains. Slide into my DMs.
-
-
Posted on 08:45:03 - 05/11/24 (5 months ago)Post link copied to clipboard Copy post link
This is a God's send.
Last edited by Mr_Bob on 13:58:21 - 05/11/24 (5 months ago)Tired of clicking the button 150 times to buy your daily lotto tickets? Upvote this QoL suggestion.
-
-
Posted on 23:26:48 - 05/11/24 (5 months ago)Post link copied to clipboard Copy post link
I've downloaded this script and will give it a try will it work through my fone by any chance
Last edited by Shmichael on 23:27:42 - 05/11/24 (5 months ago) -
-
Posted on 17:49:55 - 06/11/24 (5 months ago)Post link copied to clipboard Copy post link
Big Thumbs,... erh... paw up!
-
-
Posted on 14:20:03 - 07/11/24 (5 months ago)Post link copied to clipboard Copy post link
I get a blank screen when on the crime page. What am i doing wrong?
-
-
Posted on 15:43:32 - 07/11/24 (5 months ago)Post link copied to clipboard Copy post link
Takes a bit to load for the first time and then after that it works
-
-
Posted on 16:20:22 - 07/11/24 (5 months ago)Post link copied to clipboard Copy post link
I've just pushed an update to fix this, if you update to the latest version the two will no longer clash.
Previously it was overriding any prior fetch injections with its own, now it'll respect existing fetch injections and not clash with scripts that install before it. Let me know if it has any issues, cheers!
(This is hide-crime-outcome, not the script from this thread of course)
-