Skip to content
TORNLIFE More

Deviyl: forum

Deviyl [3722358] Level 25 Kentucky Fried Criminals KFC IT Intern

Forum posts (Torn's count)
36 observed
Archived posts
106
Threads started (archived)
37

Boards

From the 108 newest archived posts.

Threads started

Most-liked posts

Likes as archived at fetch time, adjusted for how long each post had been up. Scored posts only; the full score pass runs after the import.

[script] shoplifting crime alert for any shop! · · 29 likes

Torn Shoplifting Monitor

 

UPDATED: Version 7.5 is now live! Fixes sidebar injection issues + adds Discord webhook alerts. Click here to update.

UPDATED: Version 7.2 is now live with ANY/ALL slide switch selections! Click here for details.

UPDATED: Version 7.0 is now live with granular security selections! Click here for details.

I've been working on my shoplifting crimes lately, and I thought it would be useful to have an alert (visual and/or audible) when any of the shops have their security measures disabled.

Sometimes I'm busy on other tabs or playing Xbox in the background, and just wanted a little *beep* or a screen flash when the cameras went offline. I saw a few scripts for the jewelry shop specifically, but I wanted one that monitors all shops. The api is pretty awesome, so I made this..

Features

  • All Shop Monitoring: Select individual shops you want to monitor.
  • Visual Alert: Adds a red border (custom width) around your screen when security is disabled (works on any torn page).
  • Audible Alert: Plays a beep in the background to get your attention (custom volume).
  • Sidebar Widget: A helper in your sidebar that flashes red when security is disabled at any monitored shop.
  • Discord Webhook Alerts: Send notifications directly to your Discord via webhook for any alerts you enable.

How to use:
The script creates a new item in your sidebar. Just enter your Public API key in the settings and a custom scan interval. Hovering over the widget will show you which shops have disabled security (red). Clicking the icon gives you details and a direct link to the shoplifting page.

I've been testing it for a few days, and it seems to be working fine. Hopefully, it helps some of you get some nice things from the shops and grind the shoplifting crime a bit easier!

Download Shoplifting Monitor


TORN API DISCLOSURE & USAGE:

  • This script requires your Torn API key to retrieve authorized game data.
  • Your API key is stored locally in your browser only and is never transmitted, shared, or sent to any external server. All API requests are made directly from your browser to Torn's official API.
  • You may revoke your API key at any time via your Torn account settings.

 


// Donations are always appreciated if you find this helpful. <3

[script] show gifs and images in chat · · 24 likes

 

Explaining it could work, but they say a picture speaks 1000 words.. and I have a few.

 

 

 

 

 

Even has a search to find gifs from tenor or giphy..

 

 

 

 

 

Show Images and Gifs in Chat

download it here!

 

This will also inject images from pasteboard, lightshot, and any urls with an image extension. 

If there's another screenshot site you'd like to see included, just post it here and I'll see what I can do. 

[tool] war end calculator (w/ terms) · · 14 likes

War End Calculator with Terms

 

Tired of calculating what scores you need for a termed loss, or figuring out when wars will end every time with different score targets?

This tool can help! I built this so that with just a public API key, the page will grab the data and calculate everything for you.

 

War End Calculator

 

The main container shows the start countdown if the war has not started, and the predicted war end time based on the current scores (including decay). Even during an active war, you can see the predicted countdown for when the war will end.

 

The Terms button lets you configure score targets for both factions:

  • Conceding Faction
    • Defaults to 40% of the starting target
    • Slider lets you pick any percentage you want
  • Winning Faction
    • Defaults to the score required to end the war 5 hours before the reenlistment phase (1200 on Tuesday)
    • Can pick between 1, 5, and 12 hours before reenlistment

 

Main Container:

 

 

Terms Selections:

 

 

I have it hosted on github, so if the usage quota runs out for the month, it will stop working. =( 


TORN API DISCLOSURE & USAGE:

  • This script requires your Torn API key to retrieve authorized game data.
  • Your API key is stored locally in your browser only and is never transmitted, shared, or sent to any external server. All API requests are made directly from your browser to Torn's official API.
  • You may revoke your API key at any time via your Torn account settings.

 


// Donations are always appreciated if you find this helpful. <3

[script] Faction Vault Request w/ Optional Discord · · 13 likes

Integrated Faction Vault Request Script

 

Does your faction want to own its own vault request script that integrates vault requesting right into Torn? Look no further! This script injects some containers into Torn, allowing members to request their faction vault balances, and bankers to fulfill them.

 

No need to rely on Discord (Discord webhook integration is, of course, an option). 

 

Note that this is something faction leadership will need to implement. If you see this and are a member of a faction, and think it could benefit your faction, pass it on to your leadership. =)

---

 

 

Basically, this script will inject a container on your faction's armory page that will allow members to submit a request for all or part of their balance in the faction vault. This also injects on any traveling page since you can't access the faction armory page in flight or abroad.

 

*Note: It has been brought to my attention in the past that once you deposit funds into the faction vault, it is the property of the faction. "The vault is not your own personal bank." For all intents and purposes, most factions do just allow you to use this as your own personal vault, so this should make it easier to request those funds back for any faction that operates under this premise. 

 

My aim was to seamlessly integrate vault requests and payments into Torn so that users don't have to track down one of their faction bankers in chat or Discord. This will populate your request to every banker, optionally ping a Discord channel, and any banker can fill your request as soon as they see it-- all right from Torn. I see this being especially helpful for factions that don't rely on Discord for communication. 

 

 

 

Requests are submitted to an external Firebase DB. The details of what information gets submitted to the database are outlined in the header of the script, but your API key is never sent anywhere. Just basic stuff like your username, id, faction id, amount requested, online preferences. 

 

Once a user request is in the database, it syncs across in a banker dashboard to any member of your faction that has permission to give money.

 

Features

 

Members

  • Can submit a request for any amount less than their current balance
  • Can cancel their own request
  • Option to specify if they would like their request filled while they are online or have it automatically time out 
    • Protection against a request being made, no banker seeing it until you go to sleep, and getting mugged while you snooze
  • Automatically fetches Discord ping settings (if available)

Bankers

  • See all active user requests
  • Can fill/pay the user (pay button redirects to controls/give to user screen)
  • Can cancel a user request (x) if an erroneous request is in the queue
  • Can still pay users the old-fashioned way; the script will recognize payment and clear the request
  • Automatically fetches Discord ping settings (if available)

Leaders

  • Optional Discord webhook and user or role ID settings for pings
  • Discord messages ping for new, filled, cancelled, and deleted requests, with links to the payment page

 

 

Status Icon Indicators

  • If you are a member with an open request, you'll see the green bag.
  • If you are a banker and there are any open requests, you'll see the red bag.
  • If you are both, and you submit a request, you'll see both bags!

This is a quick way for any banker to see if there are any open requests while on any torn page. 

 

 

There are a number of safety and validation checks that shouldn't let you do anything you're not supposed to. But I'm quite sure there will still be random bugs despite testing.

 

How Do I Get It?

 

This was a bit of effort to get working properly, and my intent is to sell it to factions that may find it easier to improve the quality of life for members and bankers.

 

I'm thinking 200m, but shoot me a message with your thoughts. The first faction will get a discount, and I hope this buys some patience, since I will need to make sure I have my install process streamlined properly. If you're a smaller faction without the funds, still shoot me a message, and we can chat about working something out. My goal is to help as many people as possible while still earning some for my efforts. 

 

Once your faction purchases the script, we'll set up your database with your own account, so you will own your faction's data. Your scripts will get any bug fixes that pop up as I have time to resolve them.

 

Please comment, message, etc. if you or your faction might be interested in this script. As part of the cost, I will help you set up the database and set up a webhook/role if needed, and ensure everything is working properly for you. =)

 

Buying or selling trains? ~Advertise Here~ · · 1 like

5* Candle Shop

 

selling 5 trains per day at 300k/each.

Looking for someone with 5k Endurance and 5k Intelligence.

I sell trains weekly. Payment prior to getting trained.

For more information, please DM me

 

Apply Here!

Recent archived posts

[script] hide the chat on individual windows ·

Update your script. Lol. I noticed 3.1 broke it and it should be fixed now. Probably. xD

 

I've only tested it for like the last few minutes since 3.1 released. If you notice something doesn't work, just let me know. 

 

Update to 7.4

 

Edit: I am fast like cat.

All chat notifications unread ·

 

 

Edit: nevermind! some posts popped up as i was typing this. I see the responses. 

 

can delete/grave/etc =)

Torn Merch Design · · 17 likes

My wife used to ask me why I had all of these alarms going off throughout the day..

It's time for crime!

 

 

Felt like this would be pretty perfect to wear on a tshirt or hoodie.

 

 

 

 

 

Can provide psd file or png. 

 

With Username & Year

 

 

 

Without Username & Year

[script] casino custom self exclusion · · 1 like

Casino Custom Self Exclusion

 

I made this quite a while back for someone upon request. It allows you to pick which casino games you would like to be excluded from and for how long. 

 

I stumbled upon an old post where someone asked in the suggestion forum to have official support for custom self exclusion. Thought I'd post the script here for anyone who might be interested. 

 

PIck which games you'd like to exclude yourself from

 

 

The script blocks access to those games

 

 

Obviously limited to places where you use userscripts, and you can, of course, just turn it off to bypass.. not perfect, but useful for a first-line defense. 

 

Casino Custom Self Exclusion

Download it Here!

[script] gym blips counter · · 5 likes

I just caught myself again trying to squint and compare these dang blips to see which gym is better. No more!

I am still too noob to just know. See. You had to squint. 

 

 

Also, this doesn't really count anything. It's right there in the element for each stat. Ched just wants us to struggle instead of showing us. =(

 

 

aria-label="Strength Gains 6.4 out of 10"

This script just snags that number and puts it here for the visually impaired. 

 

 

Gym Blips Counter

[script] roulette tracker ·

Roulette Tracker

 

This adds a tracking table at the bottom of roulette. It just logs your spins so you can have some insight. 

 

I am not a gambler, so I cannot attest to the pros or cons of knowing this information. I can say that gambling is generally a game of loss, so do with this data what you will. 

 

Once you enter your API key, you can start fresh with no data or have it import your last 100 spins as seed data. From here, you have options to export or import your data, reset back from nothing, or reset with the last 100 spins. 

 

Note that this needs an API key with full access. Full is the only key that allows access to your logs. You can use the custom key builder to generate a key that only has access to your logs if this makes you feel more comfortable. The key is only ever stored in your browser and neither the key nor the data is ever sent anywhere. 

 

Tracks regular numbers

 

Special boxes

 

And puts the hit count on the table

 

 

 

Again, I cannot stress enough that you will probably still lose and this data may give a false sense of knowing which numbers might hit-- it does not. The script merely tracks historical hits the same was as if you were to pen and pad every spin trying to guess what might turn up next.

 

That said, as I was testing, I had several days where I got 5x straight up hits on the high number out of 75 spins. I do not recommend. =)

The number of days I got nothing far outweighs the number of times I got hits. But.. it's neat info.

 

Roulette Tracker

Download it Here!

[script] chat profile quick actions · · 2 likes

This one adds some quick actions when someone posts a profile link in a chat window-- added icons are for attack, bounty, and bazaar. 

 

 

By default, it just adds the quick action links for attack, bounty, and bazaar

 

 

 

If you add your ffscouter api key.. 

 

 

Then you'll get some neat stuff like username, honor bar, and ffscout estimated stats

 

This will keep things cached for 6 hours so we're not hammering torn or ffscout's API every time anyone refreshes or navigates around. I imagine no one is updating their stats significantly enough in a 6 hour window that this would make much difference to anyone. 

 

Thanks to ffscout for providing a convinient api to grab the data. 

 

Usernames, IDs, and stats redacted.. honestly no idea why, it just felt like the thing to do. =)

 

Chat Profile Quick Actions

Download it here

[script] fac chat bank withdraw links · · 2 likes

This is another chat QoL script I wrote a while back to help make banker's lives a little easier. 

 

If someone requests money, this script will insert a link after their message with the requested amount. 

Clicking the link will take you to the send money page and autofill the username and amount requested. It also inserts a message "sending" into the chat input area so you can click, send message, send money. Update the message to whatever you want or set it to blank if you don't want it to say anything. 

 

This is just some regex attempting to match natural human language, so certain ways of asking may not work. It should also work with people asking for their balance, etc. If there's some other text you'd like to see match, just let me know-- or feel free to tinker with the regex.  

 

 

There are checks in place so if someone requests 100b and you click the link, it will only fill their actual balance so you don't accidentally send the whoile vault balance. =p

 

 

 

 

 

 

Don't mind the green.. just highlighting from torn tools. =)

 

 

Fac Chat Bank Withdraw Links

Download it here!

[script] show gifs and images in chat · · 25 likes

 

Explaining it could work, but they say a picture speaks 1000 words.. and I have a few.

 

 

 

 

 

Even has a search to find gifs from tenor or giphy..

 

 

 

 

 

Show Images and Gifs in Chat

download it here!

 

This will also inject images from pasteboard, lightshot, and any urls with an image extension. 

If there's another screenshot site you'd like to see included, just post it here and I'll see what I can do. 

[script] stop sending out your entire vault! · · 4 likes

Not saying any names or any factions.. =)

 

But I whipped this up on request:

 

--- if all is well ---

 

--- if you should probably reevaluate your decisions---

 

It just adds a quick little message above the send confirmation with the user's current balance and remaining balance after the transaction-- red if the it would put their balance in the negative. 

 

Vault Confirm Balance

Download Here

 

If this saves you from sending out your faction's balance, remember me.  =p

[script] It's my BIRTHDAY!! · · 2 likes

🎈🎉 Happy Birthday!! 🎉🎈

 

 

 

So it's not my birthday, but it was about a month ago. I was never really one to care about my birthday-- just another day to me. But, a lot of people do care about birthdays and sharing these days with their friends (IRL and in Torn), so I started thinking. Have you ever felt bad for missing your friend's birthday, or even their Tornaversary? 

 

Torn already collects everyone's birthdays, but never gives anyone the option to share them with the community if they choose to. 

I made a script that would let anyone upload their birthdays to a database and share these special days with the community here at Torn. 

 

 

The script itself is pretty simple.. after you install, you'll see a birthday cake on everyone's profile, including your own-- right in with the attack, bounty, bazaar, etc. icons. If a user has their birthday uploaded, you'll see it displayed on the cake (if not, it will just be a blank cake). 

 

 

Birthdate with Age (if a year was added)

 

If today is that user's birthday, the icon will be yellow

 

Birthdate added without year

 

Simple as that. 

 

 

 

Clicking on any cake icon will pop up a small window with two things.

 

First, you'll just see a list of all users who have a birthday today.

*Okay not all, but just a random list of 20 people. I have no idea if this will become popular, and I didn't want the script to potentially list 100 users when someone clicks. 

 

 

At the top, you'll see a little gear which will give you the option to upload your own birthday to the database.

*This requires an API key strictly for user identification-- just to make sure no one is trying to send or delete erroneous data. 

 

 

Once you save, you always have the option to delete or change your birthday. Although I will note that the database also includes a counter for the number of times anyone has changed their birthday. If you change it more than 10x, you get marked as suspicious and your name will still show up in the list, but be highlighted red. 

Feel free to input your Torn birthday if you don't feel comfortable sharing your real birthday. 

 

 

(that's suspicious)

 

 

 

 

🎈🎉 But wait! There's more! 🎉🎈

(friends and enemies edition)

 

 

"All of this is pretty neat, but we want to see when our friend's birthdays are!"

You got it. Anyone who has a birthday uploaded that is also in your friend's list will show their birthday (and age) on your friends page as well.

Bonus-- this also works on your enemies page in case you want to send someone a nasty surprise. 💀

 

 

Download the Birthday Tracker Here

 

That's all! Hopefully this is something cool people can use to share these special days. Currently there are only a few people registered for testing. I'm sure we might encounter some bugs along the way, but just let me know and I'll try to get them fixed. =)

 

And Happy Birthday to anyone out there who might be celebrating or wish someone would celebrate with them. <3

-Deviyl

[script] hide the chat on individual windows · · 1 like

Made some pretty significant changes to this script to handle things better. 

Chat windows should now slide around when hiding/unhiding to make things flow better. Things should feel more natural when hiding chats. 

PI Upgrades - Race Track and Driver on Staff ·

It would be cool to be able to build a race track on your private island and be able to hire a race car driver on staff. 

 

You can only hire a drive on staff if you have the track built first. 

This would make fully upgrading a PI more expensive (with higher maximum happiness) and higher daily staff costs. 

 

 

With a track & driver, you would have some benefits..

  • You would be able to send your driver to race while you travel/abroad.
  • Ability to run race simulations that give you some racing stats/details about your car setup/track.. like "simulate running this car on this track 100 laps" and it would give you the average lap times instantly (or in a much shorter time) instead of actually having to run the race. 
  • Maybe having a driver on staff would give you an added 5% bonus to racing skill earned or +1 racing point daily. 

[script] always enable attack button ·

Yep! It will show up just like this where you can click and load right into the attack page. 

 

OD on plane · · 3 likes

 

Also, no.. I have not. Curious as well. =D

subscriber renew issue ·

I'm hesitant to report this as a bug, but perhaps a small issue. 

 

I got a notification today that my subscription has ended. 

"Your PayPal subscription has expired. Thank you."

 

I attempted to preemtively take care of renewing since my cycle was coming to an end. 

When I visit the donator page to renew, the option to subscribe is greyed out. 

 

I assume the monthy option says unavailable because I'm subscribed annually, which makes sense. 

Do I just have to wait until after the annual subscription expires before I would be allowed to renew? 

 

Thanks!

 

[tool] war end calculator (w/ terms) ·

I just made an update to this to show the previous war rewards when you hit the "Last War" box.

 

Just a quick way to view the average market prices and get a general feel for the total payout when your wars are over. I know TornTools does the same thing on the faction war page, but this is for anyone who may not be on PC or have TT installed. 

 

 

 

[script] always enable attack button ·

Yeah, this doesn't do anything you couldn't normally manually do-- just saved a right click or manually typing in a user id into the attack page url. Good looking out.  

[script] always enable attack button · · 6 likes

Enable Attack Button

 

I made this a while back and posted to GreasyFork.

It somehow has 65 installs now, so I figured I'd post it here for better visibility.

 

It's pretty simple-- just enables the attack button on every profile no matter what (brings you to the attack page url). 

Works on people in hosp, jail, fedded, traveling, abroad, developers.. 

 

 

 

You won't be able to attack them until their status is "Okay" again, of course. But it helps you get loaded up on their attack screen for when you're ready. 

 

 

   

 

 

Download Attack Enabler

TornTools ·

Awesome, thank you. =)