Skip to content
TORNLIFE More

Wrong Item Quality

Started by _SCOFIELD_ [1441750] on in Bugs & Issues.

5 replies · 93 views · thread synced · 5 days ago · View on torn.com
About this thread

Posts archived: 6 / 6 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
6
Discussion span
→
People posting
4
Likes on archived posts
9
Posts by staff, officers and moderators
2
Authority score
57 / 100
Historical score
36 / 100
Story score
42 / 100
Engagement score
52 / 100

Most-liked replies

_SCOFIELD_ [1441750]

I sold the weapon so don't have it anymore to add a screenshot (trying to get the buyer to give me one), but it seems this weapon had 2x the quality it should have had.

 

I don't know if the bug is on the weapon as well or if the quality is wrong only in the API, but here's the weapon details in API:

 

{
"itemdetails": {
"ID": 399,
"UID": 14361759711,
"name": "ArmaLite M-15A4",
"type": "Primary",
"rarity": "Yellow",
"damage": 77.71,
"accuracy": 62.31,
"quality": 300.5,
"bonuses": {
"81": {
"bonus": "Warlord",
"description": "17% increased respect upon final hit",
"value": 17
}
}
}
}

The quality should come out to be 150.2% approx (+9.71 dmg and +5.31 acc from base, each contributing 97.1% and 53.1% to quality)

But the API says it's quality to be 300.5% instead.
_SCOFIELD_ [1441750]

Seems to be a problem with all my pulls from yesterday

 

 

This is an API bug.

 

14361759483 ArmaLite M-15A4 Primary Orange   315.96 Warlord 25

 

 

API showing 2x quality for weapons

Glasnost [1844049]

When resolved, it would be good to have some guidance on resolution too. I have close to 1 million items in my DB and I am keen to avoid having to re-query all of them, so if this can be narrowed down to specific item IDs, types etc, would be greatly appreciated.

_SCOFIELD_ [1441750]

yeah this bug probs happened in a specific timeframe, so hopefully splent can give us the timestamp range for when these bugged weapons were pulled so we can only specifically re-query those

splent [2088243] Admin Staff

Hey, 

This issue should be resolved now.

 

https://api.torn.com/torn/14361759711?selections=itemdetails&key=

 

This possibly happened due to some inventory refactoring that's happening behind the scenes.

 

I suspect it started on March 20th in the morning (~7am) TCT until March 28th, 11am TCT. 

Please check a few random items from before March 20th, and if it happened before that, I'll try to look and find another change that may have caused this.

Thanks!