Quote:
Originally Posted by Powerlord
|
I have been parsing items game to get slots for items.. Is it a hat,misc, primary, secondary, melee... But its a pita because it is constantly changed. It would probably be better to do something like cache a schema like this so i could get the index and slot, and then read from that.
Does anything like this already exist? If not i might go and write it. I am tired of dealing with items_game.
I can't get the api to return anything other than unauthorized, so i must be doing it wrong.
Edit: looks like I need a key, which can only be used once, or once every so often, how do i get them, so that I can generate the file?
http://api.steampowered.com/IEconIte...XXXXXXXXXXXXXX
Edit Edit: i'm dumb
https://steamcommunity.com/login/hom...2Fdev%2Fapikey
okay i think i'm going to develop a plugin use the web api.
native to return a slot when given definition index
native to return if item is paintable when given definition index
native to return name of item
will probably use VDF and just cache the file every map start, if it fails, i'll use the old file, if success i'll update an item trie.
__________________