Skip to content
TORNLIFE More

[APP] Torn PDA

Started by Manuito [2225097] Committee on in Tools & Userscripts.

3,469 replies · 96.8k views · thread synced · yesterday · View on torn.com

Posts archived: 3,470 / 3,470 posts (100%) · the total is Torn's reply count + the opening post at the last fetch

LoneWarrior011 [3882188]

I keep getting stuck in a verification screen when trying to install a script using greasy fork. If I use another browser it’s working but gets stuck only on pda browser. 

KillerKobra024 [919849]

i have the same problem- anytime i try opening a script in tornPDA as a new browser window i get stuck on cloudfare verifying screen & if i go use the actual browser myself & copy+paste the URL into manage scripts to download i get server error 403

LoneWarrior011 [3882188]

This is the exact issue. Whenever I try to open greasyfork in a new tab, the cloudflare verification screen keeps running on a loop but the same link opens normally when I use an external browser

Manuito [2225097] Committee Committee

I need to investigate this, but if it's Cloudflare blocking the app it might be because of the user agent (we don't use the latest versions to ensure compatibility with TORN). But it might be something else... like a script in Torn PDA (have you tried with them disabled?).

 

Also, if I recall correctly, all you'd need is to copy the scripts' URL (even with another browser) and then fetch it from Torn PDA.

Manuito [2225097] Committee Committee

[RELEASED v3.15.0]

 

NEW

  • Quick items: added an option to hide loadouts
  • Browser: you can now choose when unused tabs go to sleep
  • [ANDROID] Browser: tabs can now rest while you are away
  • Userscripts: share and install scripts as .user.js files
  • Userscripts: new native storage for script developers

 

IMPROVED

  • [ANDROID] Faster and more reliable browser startup
  • [ANDROID] Idle browser tabs now release memory to keep the app light
  • [ANDROID] The browser now auto-recovers if a tab fails to load on startup
  • [ANDROID] Tabs now return to the same spot after the browser recovers a page
  • Reinforced push notifications token persistence
  • Added Asclepius as a new revive provider
  • Browser: the reload button is easier to tap and shows its progress right away

 

FIXED

  • [ANDROID] Fixed the browser occasionally loading blank on some devices
  • [ANDROID] The app no longer closes if the system kills the browser page, including tabs in the background
  • [ANDROID] Travel live updates: fixed plane direction and duplicate arrival notifications [bombel]
  • [ANDROID] Travel live updates: fixed return flight recognition
  • Fixed a possible error in injected scripts when reading element classes
  • Fixed userscripts losing access to GM helpers on pages where storage is not available [xentac]
  • Fixed GM_setValue saving values that could not be read back [xentac]
  • Fixed userscripts not running again after the browser recovered a page [xentac]
  • Fixed a repeating error logged by the chat highlight feature [xentac]
  • Fixed travel max buy buttons not working for certain screen widths
  • Fixed abroad stay reminders opening an invalid page when tapped
  • Fixed browser DevTools Storage list refreshing when tapping input fields and crashing on large stored values
  • Fixed notifications that could stop arriving after the device notification token changed
  • Fixed the war targets list turning grey when sorting by hospital time
  • Fixed foreign stocks destination filter clashing with the saved country one
Dafuq2345 [3906974]

 I ran the update and disabled all scripts. Still gets stuck :( but yes in the mean time I can still get notifications for updates on already installed scripts and update them. As well as put the url in for any new scripts I want to install. So not an absolute crisis lol. Thanks for all you do. 

KillerKobra024 [919849]

I cant open greasyfork in PDA nor can i manually copy the script link & install it because i get server error 403 when i do that? How can i fix this

xepherion [4325305]

How do we remove the continuous warning pop up on the userscript storage? it would be good if there's an option to hide this warning or a way to increase the storage size.

 

King108 [2798364]

I ma having an issue. While in the casino, from time to time, it tends to get extremely baggy and crash.

 

This happens, for example, when I receive a good amount of chats, but it's not strictly related to that as I've had it happen other times. I think it just gets too many informations coming at once at it.

 

I am currently on a Xiaomi 13 pro, and I must say I'm not 100% sure it's the app (it blocks the entire phone). Just thought I'd report it anywyas

DownyJR [4326255]

Every time I finish training in the game and click on the Crime page, I encounter this error. I then need to click on the Crime page again before it loads properly. 

Forget to to take a screenshot of how the page looks when the error appears, but this is the error message I receive

 

TypeError: args[0].indexOf is not a function. (In 'args[0].indexOf('/gym.php?step=train')', 'args[0].indexOf' is undefined)

Manuito [2225097] Committee Committee

I'm working on fixing this. It happens because the local storage gets full. You could try clearing your browser cache in Settings / Advanced Browser Settings, at the bottom.

Manuito [2225097] Committee Committee

This sounds like a problem with a script.

I'd recommend both:

a) Clearing your browser cache in Settings / Advanced Browser Settings, at the bottom.

b) Deactivating all user scripts. Then kill and relaunch the app. And see if it reoccurs.

Call_me_thanos [2713618]

Since the update, whenever I'm traveling, the time that shows in the travel section on torn pda is showing an hour behind the torn traveling time. When setting an alarm or notification it goes off before I even reach close to landing. 

 

 

 

This needs adjusting.

 

 

SharpSplinter [351311]

How do we even use the new built-in script storage? My scripts use Tampermonkey/Greasemonkey storage standards, but when using TornPDA it forces to localstorage instead of per-script PDA storage. I get the storage icon on the custom scripts screen and can adjust storage size but that is it. Any help would be appreciated.

 

I noticed I havent run into a single torn userscript yet that successfully uses TornPDA script storage. This issue is causing everyone of my scripts to fail to store data due to garbage webview storage limits.

Kwack [2190604]

We polyfill the GM_* API, which was written quite a few years ago, and getValue/setValue was polyfilled to use localstorage at this time.

 

I would like to rewrite the polyfills to use the new handler at some point, however it'll probably only be for the dot variants (GM.getValue / GM.setValue) as these are asynchronous.

 

Scripts can call the handlers directly, there is some documentation available here: https://github.com/Manuito83/torn-pda/blob/develop/userscripts/TornPDA_Storage.md 

LaQen [2607361]

Hey...how's it going?  Since the new display update, my screen seems to be getting "forced" into Desktop Mode.  Also, the box to switch back to Mobile Mode is missing. Plus, every time I open PDA I'm being sent to an NPC fight, whether one is active or not.  Anyone else having this issue?

Manuito [2225097] Committee Committee

TornTools scripts are using PDA Storage succesfully.

 

Have you read the doc Kwack suggested? Let me know if you have run into issues with it.