Jump to content


Photo
* * * * * 1 votes

Identifying Steam Items


  • Please log in to reply
27 replies to this topic

#21 yellowish

yellowish

    Newbie

  • Member
  • Pip
  • 4 posts

Posted 10 August 2016 - 11:20 PM

Dear Dr. McKay,

 

as this is my first post in here, I'd like to thank you for your work. It saves us all a lot of time.  :ph34r:

 

However Im consused on checkin the stickers wear's value. Stickers on a weapon. How do I know which defindex is which?  



#22 Dr. McKay

Dr. McKay

    Administrator

  • Administrator
  • 923 posts

Posted 11 August 2016 - 12:54 AM

You have to check the item schema for that.



#23 yellowish

yellowish

    Newbie

  • Member
  • Pip
  • 4 posts

Posted 11 August 2016 - 10:54 AM

Yes, I'm on that part. But what's the proper way to identify that exact sticker on GetSchema API? Names definitely aren't exact, it seems like nothing matches together

 

#edit:

forgive me my ignorance. I just released the structure is completely different to what I thought it is. 


Edited by yellowish, 11 August 2016 - 02:25 PM.


#24 yellowish

yellowish

    Newbie

  • Member
  • Pip
  • 4 posts

Posted 12 August 2016 - 11:19 AM

Excuse me please, for posting post under another, but I'd like thread to be bumped.

 

What does it mean when sticker is not listed on any of the sticker slots on IEconItems, but is placed as HTML tag in item's descriptions on user's inventory? Like here:

"367883549_480087296":{  
   "appid":"730",
   "classid":"367883549",
   "instanceid":"480087296",
   "icon_url":"-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXH5ApeO4YmlhxYQknCRvCo04DEVlxkKgpopbmkOVUw7PvRTipH7s-JkIGZnPLmDLfYkWNFpp102r_ErdutiwbmqUtuMG-hdoeVdgNoY16F-wPsku_mh5Dq7cian3B9-n51JZMMtxo",
   "icon_url_large":"-9a81dlWLwJ2UUGcVs_nsVtzdOEdtWwKGZZLQHTxDZ7I56KU0Zwwo4NUX4oFJZEHLbXH5ApeO4YmlhxYQknCRvCo04DEVlxkKgpopbmkOVUw7PvRTipH7s-JkIGZnPLmDLfYkWNF18lwmO7Eu9Tw2AKx80RkMGvxdo6XIQBsM1nQ_lTow-i6hMTu75zAy3Q163Vxs33D30vgugbUquA",
   "icon_drag_url":"",
   "name":"StatTrak™ SCAR-20 | Crimson Web",
   "market_hash_name":"StatTrak™ SCAR-20 | Crimson Web (Minimal Wear)",
   "market_name":"StatTrak™ SCAR-20 | Crimson Web (Minimal Wear)",
   "name_color":"CF6A32",
   "background_color":"",
   "type":"StatTrak™ Mil-Spec Grade Sniper Rifle",
   "tradable":1,
   "marketable":1,
   "commodity":0,
   "market_tradable_restriction":"7",
   "descriptions":[  
      {  
         "type":"html",
         "value":"Exterior: Minimal Wear"
      },
      {  
         "type":"html",
         "value":" "
      },
      {  
         "type":"html",
         "value":"This item features StatTrak™ technology, which tracks certain statistics when equipped by its owner.",
         "color":"99ccff"
      },
      {  
         "type":"html",
         "value":" "
      },
      {  
         "type":"html",
         "value":"StatTrak™ Confirmed Kills: 715",
         "color":"CF6A32"
      },
      {  
         "type":"html",
         "value":"*Stats for this item will reset when used in Steam Trading or Community Market",
         "color":"ff4040"
      },
      {  
         "type":"html",
         "value":" "
      },
      {  
         "type":"html",
         "value":"The SCAR-20 is a semi-automatic sniper rifle that trades a high rate of fire and powerful long-distance damage for sluggish movement speed and big price tag. It has been painted using a spider web-patterned hydrographic over a red base coat and finished with a semi-gloss topcoat.\n\n<i>Be careful where you walk, you never know where the web is spread</i>"
      },
      {  
         "type":"html",
         "value":" "
      },
      {  
         "type":"html",
         "value":"The Arms Deal 2 Collection",
         "color":"9da1a9",
         "app_data":{  
            "def_index":"65535",
            "is_itemset_name":1
         }
      },
      {  
         "type":"html",
         "value":" "
      },
      {  
         "type":"html",
         "value":"<br><div id=\"sticker_info\" name=\"sticker_info\" title=\"Sticker Details\" style=\"border: 2px solid rgb(102, 102, 102); border-radius: 6px; width=100; margin:4px; padding:8px;\"><center><img width=64 height=48 src=\"https://steamcdn-a.akamaihd.net/apps/730/icons/econ/stickers/standard/thirteen.bcec4689b3d28dd0c9fd5d3f119842639d286dc5.png\"><br>Sticker: Lucky 13</center></div>",
         "app_data":{  
            "def_index":"65535"
         }
      }
   ],
{  
   "id":561293657,
   "original_id":265616091,
   "defindex":38,
   "level":1,
   "quality":9,
   "inventory":23,
   "quantity":1,
   "rarity":3,
   "attributes":[  
      {  
         "defindex":6,
         "value":1130889216,
         "float_value":232
      },
      {  
         "defindex":7,
         "value":1144062999,
         "float_value":708.0639038085938
      },
      {  
         "defindex":8,
         "value":1040999533,
         "float_value":0.13710184395313263
      },
      {  
         "defindex":80,
         "value":715,
         "float_value":1.0019284019922442e-42
      },
      {  
         "defindex":81,
         "value":0,
         "float_value":0
      },
      {  
         "defindex":113,
         "value":13,
         "float_value":1.8216880036222622e-44
      },
      {  
         "defindex":228,
         "value":4294967295,
         "float_value":-1
      },
      {  
         "defindex":229,
         "value":4294967295,
         "float_value":-1
      },
      {  
         "defindex":147,
         "value":"models/weapons/stattrack.mdl"
      },
      {  
         "defindex":230,
         "value":2,
         "float_value":2.802596928649634e-45
      },
      {  
         "defindex":231,
         "value":5,
         "float_value":7.006492321624085e-45
      },
      {  
         "defindex":39,
         "value":0,
         "float_value":0.38999998569488525
      },
      {  
         "defindex":40,
         "value":0,
         "float_value":0.5
      },
      {  
         "defindex":145,
         "value":"models/weapons/w_snip_scar20_mag.mdl"
      },
      {  
         "defindex":199,
         "value":90,
         "float_value":1.2611686178923354e-43
      }
   ]
},

I, personally can think of one reason why it might be showing like that, but that's jus suspicion; the sticker might be completely scratched. But does it make any sense?


Edited by yellowish, 12 August 2016 - 12:14 PM.


#25 tchosniper

tchosniper

    Member

  • Member
  • PipPip
  • 10 posts

Posted 06 December 2016 - 01:35 PM

So can I use offer.addMyItem({"appid": 730, "contextid": 2, "classid": "xxxx"}); or offer.addMyItem({"appid": 730, "contextid": 2, "instanceid": "xxxx"}); or I need use only with assetid?



#26 Dr. McKay

Dr. McKay

    Administrator

  • Administrator
  • 923 posts

Posted 06 December 2016 - 04:56 PM

You must use assetid. You can't use classid or instanceid when sending a trade offer.



#27 tchosniper

tchosniper

    Member

  • Member
  • PipPip
  • 10 posts

Posted 07 December 2016 - 10:50 AM

Okay thanks, and can I ask you why currencies[i] say undefined?



#28 Dr. McKay

Dr. McKay

    Administrator

  • Administrator
  • 923 posts

Posted 07 December 2016 - 02:00 PM

"Currencies" are a weird thing that I don't think anyone except Spiral Knights uses.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users