Skip to content
TORNLIFE More

Does the revivable API work?

Started by a1ry [3583932] on in API Development.

2 replies · 61 views · thread synced · 4 days ago · View on torn.com
About this thread

Posts archived: 3 / 3 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
3
Discussion span
→
People posting
2
Likes on archived posts
0
Posts by staff, officers and moderators
1
Authority score
70 / 100
Historical score
16 / 100
Story score
22 / 100
Engagement score
40 / 100
a1ry [3583932]

The API profile call has a revivable field: https://tornapi.tornplayground.eu/user/profile

 

 

which is supposed to: 

 

revivable NumberBoolean (0 for false, 1 for true) Status whether you (the key owner) can revive this player. When querying for yourself, it will not check for the revive ability and show 1 when enabled.

 

In fact, this is supposedly how plugins like this: https://greasyfork.org/en/scripts/494037-oxy-s-revive-enabled-checker  work. 

 

And yet my testing seems to indicate that the field doesn't work. A faction member has revives set to 'everybody' and yet the value returned is 0. 

 

Any thoughts? 

 

 

a1ry [3583932]

Thank you. That's correct. We managed to get it working now once we used someone with the revive job perk.