Skip to content
TORNLIFE More

Staff on API, tools & third-party ecosystem

The Torn API, community tools, how TornLife gets its data

4,896 archived staff posts on these boards; the newest 30 are shown. counted .

Untouchable [1360035] Committee Committee

In [APP] Torn PDA

iPhone 15 pro max - 26.6.1

 

Any ideas on why text scaling does not work at all with the in app browser under advanced settings? The floating widget with slider shows up but does nothing ☹️

0 likes
Manuito [2225097] Committee Committee

In [APP] Torn PDA

Yes, I'm afraid it's a platform issue that directly affect specific Pixel and Android versions. Other apps that use Flutter have had the same problem, unfortunately.

 

We've tested a fix in beta and it seems to be working correctly, so I'll try to expedite the release as much as I can (but it will still take some days for reviews, approvals, etc).

0 likes
DeKleineKobini [2114440] Committee Committee

In TornTools: userscripts

No, not only is it not a TornTools feature (which is a requirement for these userscripts as these are literally using the same code as TornTools), it won't be any time soon.

 

While it sounds easy, it isn't. Just having the revive button ignore the confirmation is possible, but along with it would be the revive chance. And since we would be ignoring the confirmation we don't have that revive change ourselves either so we couldn't only block above a certain chance.

0 likes
DeKleineKobini [2114440] Committee Committee

In TornTools

Scheduled API Maintenance

 

Tomorrow (September 18th) at 13:00 TCT, the API will go down shortly (expected 5 to 10 minutes). As a result TornTools will show an error, and potentially disable a lot of our features due to how we react to errors.

1 likes
DeKleineKobini [2114440] Committee Committee

In TornTools

Personally I'm more a fan of keeping our green identity visible. My biggest reasoning behind it is that if it's too much Torn-like, issues with it will go to the Torn devs instead of here. We've already had many issues in the past with people running to the Bugs & Issues forums (those warnings over there are there for a reason; CJ loves that 😅). My hopes are that if we keep the green, people think easier of TornTools being the issue.

 

So for now the green on black container theme would be the closest I guess. Another note, this would not change the location of the bar. The difference is that you have the legacy topbar enabled while I have the flyout sidebar enabled (so I have no navigation icons on top).

1 likes
DeKleineKobini [2114440] Committee Committee

In TornTools

TornTools v9.3.0

Features

  • Highlight blood bags matching your blood type in 'Quick Items' and 'Faction Quick Items' as well, on by default (requires 'Highlight blood bags' to be configured).
  • Filter based on username in the 'Ranked War Filter'.
  • Filter based on side in the 'Ranked War Filter'.
  • Allow presets to be used for 'Ranked War Filter'.
  • 'Armory Filter' for the utilities section.
  • Display the addiction points in 'Drug Details'.
  • Filter on the elimination page. This is disabled by default because of the performance implications it has.

Fixes

  • Disable 'Stacking Mode' on your own profile.
  • Avoid errors with 'Stacking Mode' if there is no revive button present.
  • Don't overlap the disabling of the revive button with 'Stacking Mode', if it's already disabled.
  • Resolve the 'Stacking Mode' icons not showing up properly.
  • Fix the 'Hospital Filter' activity filter using the incorrect storage key, resulting in weird values on load.
  • 'Trade Timer' no longer updated live.
  • Resolve issues with company features not working properly when visiting from the newspaper.
  • Improved reliability for 'FF Scouter Gauge' on the elimination page.
  • Avoid errors with 'Resizable Chat'.

Changes

  • Switch to a different cross icon.
  • No longer show 'Faction Quick Items' on the utilities tab.
  • Don't show the racing reminder when traveling.

Technical

  • Use a custom helper function for finding single elements, as part of the TypeScript journey.
  • Enable stricter null-checks, as final step in the TypeScript journey.
  • Move away from using disallowed HTML attributes by moving to datasets.
  • Performance improvements along all filters.
  • Cleanup some remains from the now-removed live disable functionality.
1 likes
DrChrono [1372430] Committee Committee

In [v7.1.3] Books+Gym, SEs, Flying, $, Halloween

Faction payout is tricky / impossible really, as balance adjustments could be for many different reasons and can't be targeted specifically for RWs or OCs. If OCs are paid out via the native Torn functionality, someone called that out a while back and I have it on the agenda for the next update

City finds are also problematic as you can collect them all at once and severely impact an average. I'll poke at which log they come from and check it out, however it's a pretty flexible (on when you pick them up) and generally low value mechanic to add into the sprawl of the budget sheet. For example, finding an SE (or really, even an FHC) will change your projections when it is more a low chance bonus than something to use for planning forward

Appreciate the asks, I'll take a look but both are broad asks that either can't be implemented easily/at all, or may skew forward budgeting to a degree I don't necessarily agree with, at an admittedly superficial first-thought glance

4 likes
DeKleineKobini [2114440] Committee Committee

In TornTools

While it is possible, it might not be a great experience. Due to how the roster page works, in combination of the very many updates on that page, we have to do some wonky stuff.

 

As a result, while it works decently well, there is a performance hit. I've seen my CPU usage spike and the fans spin up due to me scrolling the elimination page with the filter enabled. I'll be consulting with the team on how to proceed.

1 likes
DeKleineKobini [2114440] Committee Committee

In TornTools

I've got a potential change ready, but I'll use my reply as feedback first. R+ is change it to the new one, R- is keep the old one. Votes will count for as long as I feel like it.

 

Old

 

 

New (following the container theme choice)

 

2 likes
splent [2088243] Admin Staff

In Upcoming API changes

Hey everyone, 


A few smaller changes were done to the API in the last few days (including today):

 

Deprecation warning reminders!

The 'user' -> 'attacks' & 'faction' -> 'attacks' selections will be returning null instead of 0 value for 'chain' field, starting January 1st, 2027. The Swagger schema was updated to allow for 'null' values already.

 

[API-v2] The 'faction' -> 'warfare' is now deprecated. It is replaced by other warfare selections and will be removed on 1st of January 2027.

 

[API-v2] The 'torn' -> 'itemdetails' selection will stop returning TornItemDetails schema response on January 1st, 2027. Instead, it will return an array of  TornItemDetails schemas.

 

As always, let me know if you experience any issues with the API anywhere. 

 

 

--


The Swagger schema is now bumped to the version 6.13.5 (if you're not seeing changes make sure to hard-refresh the openapi.json file).

Please let me know if you encountered any bugs by creating a new thread in the Bugs & Issues forum.

 

If you would like to have something improved or just share your thoughts, please write so in this discussion thread, otherwise feel free to try this in the API v2 playground.

 

5 likes
DeKleineKobini [2114440] Committee Committee

In TornTools

It's not reasonably doable in TornTools. There are 2 options: keep track of it ourselves (but that doesn't work once multiple browsers are in play) ot logs (which we don't have the access to). 

1 likes
DeKleineKobini [2114440] Committee Committee

In TornTools

This is the result of an issue that I thought was never part of a full release and the impact would be basically non-existent, but apparently it does. It's already been resolved for the next version.

1 likes