Skip to content
TORNLIFE More

Pyrit: forum

Pyrit [2111649] Level 100 39th Street Warriors 39W Co-leader

Forum posts (Torn's count)
167 observed
Archived posts
105
Threads started (archived)
29

Boards

From the 105 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.

Revive Chance (with calculator) · · 134 likes

Calculator

If you just want to figure out what the chance of reviving you is, i made a calculator that will do just that. It'll require you to enter your API key, but it won't be saved on the server. In fact, it won't even leave your device.

What this is about

I case you've been living under a rock, the recent medical revamp made some fundamental changes to the way revives work. It introduced a revive skill that increases with usage, and added a chance for revives to fail similarly to how busting works.
That chance depends on the reviver's revive skill and the number of revives the target received in the last 24 hours.
While the newspaper article that came out with the update shed some light on how that chance comes to be, it didn't reveal the exact formula.
Revivers are shown the projected success chance in their confirmation prompt when reviving their target, but for the target themselves there is no easy way of knowing it. That's why i took a closer look at how it is calculated.

The Formula

Without further ado, this is the formula for the revive chance:

[image: i.imgur.com]

The attentive reader might have noticed that this introduces a new quantity score_target that hasn't been mentioned yet. This is a measure of how often the target has been revived during the last 24 hours. The reason this can't simply be the number of revives during the last day, is that the effect they have decays over time.
Instead the score is introduced. Whenever a target receives a successful revive, 1 is added to its score. The added score then decays linearly to zero over a period of 24 hours.
This could be formally expressed as follows:

[image: i.imgur.com]

If, for example, you just received a revive and another one 12 hours prior to that that would put your revive score at 1.5. Accordingly a 50 skill reviver would have a 86% chance to revive you.

Consequences

  • The higher the revive score, the faster it decays. Since each revive decays individually, the effect stacks. If you recently received two revives, then the chance to revive you grows at twice the rate as it would if you'd only received one (note that it also decreases the chance by twice the amount, so there isn't any gain here).
  • At high revive scores the reviver's skill has a huge impact on the revive chance and can make the difference between nonviable and easily doable. A score of 12 for example would put the chance for a reviver with 100 skill at 52%. Meanwhile a reviver with 30 skill would only have a 11.4% chance of success.

Calculator

As mentioned in the beginning, I've made a calculator you can use the figure out the chance for reviving you for any given revive skill.



[image: i.imgur.com]

(Note that it uses the revivesfull selection of the API. Due to caching this might cause wrong results if you have other tools also using that selection).
Sometimes the last decimal is off by one, but i attribute that to rounding.
If you notice wildly inaccurate predictions or bugs in the calculator, please let me know.

Some more elimination team statistics · · 58 likes

What can I say, i have a weakness for pointless statistics...

Average level by team:

[image: i.imgur.com]

Average age by team:

[image: i.imgur.com]

Average networth by team:

[image: i.imgur.com]

Total attacks per team as of 17:00 TCT · · 33 likes

Lumberjacks: 26152
Field Mice: 22988
Dream Team: 17707
Trolls: 16980
Keyboard Warriors: 16559
Cowboys: 15680
Band of Mothers: 15008
Breakfast Club: 14183
Revengers: 12164
Millennials: 11950
Hillbillies: 11553
Punchbags: 10273

The numbers aren't totally accurate, but they should be pretty close.

[API] Cloudflare rejects api requests · · 7 likes

Since 12:12 today the Cloudflare has been rejecting all api requests that don't run in a browser. It's returning an HTML page stating that:

"This website is using a security service to protect itself from online attacks. The action you just performed
triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data."

The try it page works, and so do tools that run in the browser like TornTools, but everything else is blocked.
This seems to affect everyone equally regardless of API key and IP address. YATA and the UHC discord bot are both affected for example.

[API] Empty response when requesting profile · · 7 likes

It has been like this since elim team selection opened an hour ago

Recent archived posts

[API] Eliminations Endpoint Closed ·

this breaks autogenerated api clients, which kind of defeats the entire point of using openapi in the first place

[api] user/competition is broken · · 1 like

v2/user/competition is currently returning invalid responses. Instead of the team name the team field now contains the team id, which breaks deserialisation using the official api schema. There's also additional undocumented fields in the response

[api] user/competition returning previous team · · 3 likes

The user/competition selection is still returning teams from 2023's elimination, which is an issue for verification bots

Torn API shows running Chain as finished ·

as far as I can tell from my logs the api db replica seems to have diverged at 07:49 TCT

[api] NPC titles and ranks missing in schema · · 1 like

The special NPC ranks and titles are missing from UserTitleEnum and UserRankEnum. I might be missing some, but those should be:

- titles "Vagrant", "Loanshark", "Biochemist", "Intermediary", "Bastard", "Hair-Sniffer", "Albumentalist", "Extortionist", "Assassin", "Wall" amd "mglw'nafh"

- ranks "Fragrant", "Supergood", "Questionable", "Nameless", "Frosty", "Frequent", "Eggcentric", "Apathetic", "Sensual", "Brick" and "ph'nglu"

[api] age can be of type string in /user/profile · · 3 likes

For NPCs the v2 api returns the string "XXXX" (which mirrors what is shown on the profile page in-game). This is not reflected in the openapi specification (according to which the field should always be an integer), and also does not mirror v1 behaviour (which does return an integer, e.g. 15642 for Duke as of today).

 

[api] status color missing in /user/list response · · 1 like

The new color field in UserStatus is missing when using the /user/list endpoint, so deserialisation fails.

 

[API] trailing whitespace in user/profile titles ·

Another one https://api.torn.com/v2/user/918637/profile also "Intimidator "

[API] trailing whitespace in user/profile titles · · 1 like

Sometimes the title field in the new v2 user/profile selection seems to have a trailing whitespace character which leads to it no being able to be parsed using the openapi schema.

 

Examples I have encountered so far: https://api.torn.com/v2/user/331666/profile -> "Intimidator "

 

Cannot view events ·

Now it's working again, so this can be closed. I really have no idea what happened.

Cannot view events ·

It has been like this since this morning, but I noticed just now that I also can't open the crimes page now. When I try it says 'No such page'. That is new.

 

Edit: I can access both pages on mobile

Cannot view events ·

I can no longer view my events. When I click on the button in the sidebar it just shows the 404 page not found error page.

Looking for Work? Post your Stats here ·

Still searching 

Looking for Work? Post your Stats here · · 1 like

Looking for a spot in a gents strip club, 7* or higher.

I would also buy trains if available but it’s not a requirement.

 

  • Manual labor 13,585
  • Intelligence 139,964
  • Endurance 131,630

In regards to Torns abandoned little brother (F.E) · · 1 like

Natty would be a great choice imo.

Being effectively abandoned atm is badly hurting the game and its community. Apart from replaying the same map for the entirety of the last year and the game being overrun by multis, there's also borderline game-breaking bugs that stem from the last update it received.
So even if a full rewrite isn't in the cards, having an active admin and someone who could fix those issues would be a huge improvement and would save the game from its current slow decline.

[API] UIDs are missing from armoury selections · · 3 likes

faction->armor and faction-weapons currently don't return the UIDs of the unique items contained in armoury which makes it impossible to tell items apart (there are after all huge differences between items that may have the same item ID but different bonuses), and which in turn makes the API in its current state almost useless for keeping track of what weapons (and to a slightly lesser extent armour) the faction currently possesses.

Looking for Work? Post your Stats here ·

Looking for a position in a gents strip club
I'm also buying trains if you're selling, but it isn't a requirement

Stats:
  • Manual labor 13,015
  • Intelligence 129,832
  • Endurance 110,972

[API] returns wrong chain data ·

No, it lasted around an hour before it fixed itself. The issue can be closed I assume

Lucifer's Lucky Dip · · 1 like

Getting flagged by the bot hunter during the halloween event

[API] returns wrong chain data · · 2 likes

The API currently claims that all ongoing chains are currently in cooldown (or at least the ones I personally checked) which breaks the chain timeout notifications of all bots and tools that offer those.
Since there's still many factions on the last stretch of their 100k chains it would be great if this could get resolved quickly.