Results 1 to 5 of 5

Thread: [BUG] warlog, nonsense war data

  1. #1

    [BUG][FIXED] warlog, nonsense war data

    In warlog, a few wars (3 in my case) do not appear in game, but are received in API, with nonsense data. I cannot remember if these wars are real of not.

    Example data:
    In this case we made 99 attacks, got 281 stars, destroyed 524%, and got 0 experience, in a 15vs15 war. This is just impossible to get 99 attacks in a 15vs15 war (and our clan has ~30 members, we really play 15vs15 and 20vs20 only).
    The percentage is 524%, which also does not work, it should not be more than 100%.

    Our opponent has no tag/name, is level 0, got 96 stars, and destroyed 0%.
    Here, it is impossible to have a level zero, and impossible to get stars with 0% destruction.

    Data:
    {
    "result": "win",
    "endTime": "20190210T081856.000Z",
    "teamSize": 15,
    "clan": {
    "tag": "#GC9CGC2V",
    "name": "Sept Victoires",
    "badgeUrls": {
    "small": "https://api-assets.clashofclans.com/badges/70/Ff9cxlzWfpLyU1XcGdQzcC8ZPecMTTLhrP5TpzKpzzk.png",
    "large": "https://api-assets.clashofclans.com/badges/512/Ff9cxlzWfpLyU1XcGdQzcC8ZPecMTTLhrP5TpzKpzzk.png",
    "medium": "https://api-assets.clashofclans.com/badges/200/Ff9cxlzWfpLyU1XcGdQzcC8ZPecMTTLhrP5TpzKpzzk.png"
    },
    "clanLevel": 11,
    "attacks": 99,
    "stars": 281,
    "destructionPercentage": 524.06665,
    "expEarned": 0
    },
    "opponent": {
    "badgeUrls": {
    "small": "https://api-assets.clashofclans.com/badges/70/H39b_-WLZGtZVWQ0hqTkE-Tn2AaQnQWy_Iz4yBlvL0M.png",
    "large": "https://api-assets.clashofclans.com/badges/512/H39b_-WLZGtZVWQ0hqTkE-Tn2AaQnQWy_Iz4yBlvL0M.png",
    "medium": "https://api-assets.clashofclans.com/badges/200/H39b_-WLZGtZVWQ0hqTkE-Tn2AaQnQWy_Iz4yBlvL0M.png"
    },
    "clanLevel": 0,
    "stars": 96,
    "destructionPercentage": 0
    }
    },

    Attached is a screenshot of our warlog, which shows nothing on Feb 10 (but again, I cannot remember if we had a war that day).

    Screenshot_2019-03-06-14-24-00-532.jpeg
    Last edited by bodiccea; March 9th, 2019 at 12:08 PM. Reason: added screenshot, colored faulty data, more details on what is not coherent

  2. #2
    Fresh Spawn
    Join Date
    Feb 2019
    Location
    USA
    Posts
    2
    I would say post a image and maybe it will get more attention.

  3. #3
    I cannot post an image of API :-) I will put the nonsense data in red bold.

  4. #4
    I think this data refers to a War League and data is the total of the result league. For example, your clan have made 99 attacks during your war league with a total of 281 stars.

    What caller you have provide on the API to get this data ?

  5. #5
    You are right. I was testing League wars against "result" field, which was wrong. In fact, I believe "result" may contain "win", "lose", and 'null' when we do't go up or down a league. Not sure for 'lose', I did not see it yet.
    I was testing against 'null' value only, as a win/lose made no sense for me.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •