Skip to content
TORNLIFE More

Inconsistent api for faction attacks

Started by Legaci [2100546] on in Bugs & Issues.

1 replies · 52 views · thread synced · 7 days ago · View on torn.com
About this thread

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

Counted by TornLife from the archived posts.

Archived posts
2
Discussion span
→
People posting
2
Likes on archived posts
3
Posts by staff, officers and moderators
1
Authority score
55 / 100
Historical score
26 / 100
Story score
33 / 100
Engagement score
37 / 100
Legaci [2100546]
We had a war with PT-ShadowRazors, which ended on the 20th of April at 07:10:08. https://www.torn.com/war.php?step=rankreport&rankID=13500

At appears that in the logs there is an attack that counted as a ranked war attack after this end time. The attack log is; https://www.torn.com/loader.php?sid=attackLog&ID=3fda03258a9ac0694054588706d4b939

As you can see that the attack ended 2 seconds later, however in the api it is showing it is still classed as a RW hit.

Example of api

[image: imgur.com]

Edit: In addition to this, the RW report supplied by torn is incorrect, and showing a member as 142, when only 141 were made during the wars timeframe.
CloudJumper [1636201]Staff
Please read my response here, which is the exact scenario that you are referencing here. The attack log that you have provided is actually the one which finished the ranked warring by reaching the target score. The RW processing is finished first (as soon as the finishing hit is dealt) before the value gets inserted in the attacking results table. This is also why the player is shown to have made 142 hits, because they made the hit that finished the war, hence the log also has the war multiplier.

Thanks!

Mentions: RW - not consistent timestamps in ending seconds