Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12

Thread: GetAssetClassInfo for event items???

  1. #1
    Basic Member
    Join Date
    Feb 2012
    Posts
    14

    GetAssetClassInfo for event items???

    the way of recieving info about items is:
    GetSchema (get defindex)
    GetAssetPrices (defindex to classid)
    GetAssetClassInfo (by classid)

    why i cant recieve classid in GetAssetPrices by defindex for items like Strange modifiers, Pudge Hook, Slardar trident, essences (on event items from chests) etc.?
    where should i get classid for this items?
    "name": "Dragonclaw Hook",
    "defindex": 4007,
    "item_class": "dota_item_wearable",
    "item_type_name": "#DOTA_WearableType_Meathook",
    "item_name": "#DOTA_Item_Dragonclaw_Hook",
    "item_description": "#DOTA_Item_Desc_Dragonclaw_Hook",
    "proper_name": false,
    "item_quality": 0,
    "image_inventory": "econ\/items\/pudge\/pudge_skeleton_hook_body",
    "min_ilevel": 1,
    "max_ilevel": 1,
    "image_url": "http:\/\/media.steampowered.com\/apps\/570\/icons\/econ\/items\/pudge\/pudge_skeleton_hook_body.b47d8ee0601ac70d678fef99a e1fc624d2c11781.png",
    "image_url_large": "http:\/\/media.steampowered.com\/apps\/570\/icons\/econ\/items\/pudge\/pudge_skeleton_hook_body_large.8de761a330ceba3a1dd 728bf08c832b84a0c7b00.png",
    "capabilities": {
    "nameable": true,
    "can_craft_mark": true,
    "can_be_restored": true,
    "strange_parts": true,
    "paintable_unusual": true
    }
    there is no "asset" in GetAssetPrices with "name": "4007",
    Last edited by Dakotka; 11-18-2012 at 10:23 AM.

  2. #2
    Basic Member
    Join Date
    Jun 2013
    Posts
    2
    Hi all. I have this question too.
    How i can gat all info about item?
    In GetSchema i dont have normal rarities and hero.
    In GetAssetClassInfo i can get all nedded info about item, but for find classid of item i must use GetAssetPrices for find him, but this list is not complete, there are not many items (4007 for example).
    Mb i can find somewhere classid for all items?

    Help please.

  3. #3
    Basic Member jimmydorry's Avatar
    Join Date
    Dec 2012
    Posts
    814
    Where is mention of this "GetAssetClassInfo"?

    I use IEconItems_570 to get a list of all of the Dota2 items, but I have never heard of those Asset APIs.

    Either way, I assume this is for the Dota2 store... so you would not expect to see things not in the store there.

    EDIT: I see GetAsset* are generic calls for all games. You are better off using the IEconItems_570 call I think.

  4. #4
    Basic Member
    Join Date
    Jun 2013
    Posts
    2
    Thank You for answer.

    In IEconItems_570 i dont see all nedded info about item.
    Little examle on img.
    1. Use GetSchema for all items with not all attributes
    2. Use GetAssetPrices for see classid of item
    3. Use GetAssetClassInfo for see all detailed info about item
    Trable only in GetAssetPrices - this list dont have all items(
    3x0Pm.png

  5. #5
    Basic Member jimmydorry's Avatar
    Join Date
    Dec 2012
    Posts
    814
    In the IEconomy, I see item_type_name and item_quality (4 = Standard).

    What exactly are you after? If you are after the attributes and rarity... then this is a deficiency in the API. http://dev.dota2.com/showthread.php?t=92757

    It has been missing for over 7months. Post in there to try and bring more attention to it.

  6. #6
    Basic Member
    Join Date
    Apr 2013
    Posts
    13
    for example :
    "items": [
    {
    "name": "Riki's Dagger",
    "defindex": 0,
    "item_class": "dota_item_wearable",
    "item_type_name": "Daggers",
    "item_name": "Riki's Dagger",
    "proper_name": false,
    "item_quality": 0,
    "image_inventory": null,
    "min_ilevel": 1,
    "max_ilevel": 1,
    "image_url": "",
    "image_url_large": "",
    "capabilities": {
    "can_craft_mark": true,
    "can_be_restored": true,
    "strange_parts": true,
    "paintable_unusual": true,
    "autograph": true
    }
    },

    u can't find this item's classid

  7. #7
    Basic Member
    Join Date
    Apr 2013
    Posts
    13
    http://api.steampowered.com/ISteamEc...=XXX&appid=570

    Starting from name:4097

    where 0-4096 items????

  8. #8
    Basic Member jimmydorry's Avatar
    Join Date
    Dec 2012
    Posts
    814
    They don't exist. They are not in the game.

  9. #9
    Basic Member
    Join Date
    Apr 2013
    Posts
    13
    Quote Originally Posted by jimmydorry View Post
    They don't exist. They are not in the game.
    3q~

  10. #10

Posting Permissions

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