Skip to content
TORNLIFE More

API attack type inconsistent

Started by monogamy [2563432] on in Bugs & Issues.

3 replies · 84 views · thread synced · 3 days ago · View on torn.com
About this thread

Posts archived: 4 / 4 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
4
Discussion span
→
People posting
4
Likes on archived posts
1
Posts by staff, officers and moderators
3
Authority score
58 / 100
Historical score
32 / 100
Story score
33 / 100
Engagement score
41 / 100
monogamy [2563432]
Attacks like these sometimes, but not always, show a result of "Attacked" instead of "Interrupted":


https://www.torn.com/loader.php?sid=attackLog&ID=c5c23f42aeffc446bd413532e484009d
https://www.torn.com/loader.php?sid=attackLog&ID=9385a0629dd6ccd90ae3e9814dee7dcc

API from faction/attacks:

"201340612": {
"code": "c5c23f42aeffc446bd413532e484009d",
"timestamp_started": 1659099625,
"timestamp_ended": 1659099632,
"attacker_id": 2664797,
"attacker_name": "GwaPutaYa",
"attacker_faction": 18736,
"attacker_factionname": "Monarch Research",
"defender_id": 2669320,
"defender_name": "Black_Wings",
"defender_faction": 13665,
"defender_factionname": "PT-ShadowRazers",
"result": "Attacked",
"stealthed": 0,
"respect": 0,
"chain": 0,
"raid": 0,
"ranked_war": 0,
"respect_gain": 0,
"respect_loss": 0,
"modifiers": {
"fair_fight": 1,
"war": 1,
"retaliation": 1,
"group_attack": 1,
"overseas": 1,
"chain_bonus": 1,
},
},
"201340620": {
"code": "9385a0629dd6ccd90ae3e9814dee7dcc",
"timestamp_started": 1659099629,
"timestamp_ended": 1659099635,
"attacker_id": 1778676,
"attacker_name": "oran",
"attacker_faction": 13665,
"attacker_factionname": "PT-ShadowRazers",
"defender_id": 2664797,
"defender_name": "GwaPutaYa",
"defender_faction": 18736,
"defender_factionname": "Monarch Research",
"result": "Attacked",
"stealthed": 0,
"respect": 5.59,
"chain": 31,
"raid": 0,
"ranked_war": 1,
"respect_gain": 5.59,
"respect_loss": 1.4,
"modifiers": {
"fair_fight": 1.89,
"war": 2,
"retaliation": 1,
"group_attack": 1,
"overseas": 1,
"chain_bonus": 1.12,
}}
CloudJumper [1636201]Staff
I believe this where the auto-leave fails to trigger, Pavel is aware of this issue on the actual attacking side of the game. I will pass this along to Joe.

Thanks!
Chedburn [1] Admin Developer
I don't think there's anything I can do, this is a problem with the attacking system assigning the wrong result.
These examples are from July 29th so it may even be resolved by now. I'll pass this over to Pavel :)