Results 1 to 3 of 3
  1. #1

    [API]Weapon kits are empty

    Hi,
    all the weapons from the API have the detail.kits set to null. I would expect there a list of kits that a weapon belongs to i.e [enforcer|hacker|mechanic|operator]

    Here is an example
    Code:
    {
      "stat": {
         ...
      },
      "name": "Gold Seal",
      "detail": {
         ...
        "kits": [
          null,
          null
        ],
         ...
    }
    Is that a bug ? It's a kind of blocker for me so I'd really appreciate if you could fix it

    cheers,
    Tex
    Last edited by Tex-Twil; 2015-04-17 at 10:58.

  2. #2
    Administrator 1ApRiL's Avatar
    Join Date
    2011-02-12
    Location
    Waiblingen, Germany
    Posts
    1,525
    BFBC2 PC
    1ApRiL
    NFS World
    1APRIL
    BF2
    1ApRiL
    BF3 PC
    1ApRiL

    Re: [API]Weapon kits are empty

    I checked this.
    Now the kits array is empty when no kit is known and it contains a string if a kit is known.
    But it's weird, because only mechanic is there as kit all other kits do not appear. So maybe just don't use it.
    Admin of bfhstats.com / bf4stats.com / bf3stats.com | Twitter

  3. #3

    Re: [API]Weapon kits are empty

    Quote Originally Posted by 1ApRiL View Post
    I checked this.
    Now the kits array is empty when no kit is known and it contains a string if a kit is known.
    cool thanks

    Quote Originally Posted by 1ApRiL View Post
    But it's weird, because only mechanic is there as kit all other kits do not appear. So maybe just don't use it.
    Yep that's weird. So Hardline does not associate weapons to a kit?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
P-STATS NETWORK FORUM LOGIN CREATE ACCOUNT