Jessecar96 / SteamBot

Automated bot software for interacting with Steam Trade
http://scrap.tf
MIT License
1.33k stars 910 forks source link

Is possible to merge item_schema with items_game attributes? #351

Closed fRzlegendz closed 11 years ago

fRzlegendz commented 11 years ago

Hello,

First of all, I want to thanks to all who had helped to keep this project.

I have finished my dota 2 bot, but I've just one little problem to solve.

(1) Dota 2 Web API is still under development and some attributes like rarity of the itens are still missing. The only solution i found is to merge dota 2 item schema with items_game. (You can find it downloading "items_game_url" on dota item schema).

At the moment I'm using a big array with organized defindex to define rares, mythicals and legedary items. (Too much work to keep it updated)

If someone can help me giving me some tips, I will be very grateful!

Thanks

cwhelchel commented 11 years ago

I would much like some detail on what you had to change to make it work for dota 2 items. I'd like to encapsulate these details to make the Inventory and schema classes extensible to work with many different games or steam items.

I'll be back to give you tips.

fRzlegendz commented 11 years ago

Another solution is to use these API's:

ISteamEconomy/GetAssetClassInfo ISteamEconomy/GetAssetPrices

fRzlegendz commented 11 years ago

@cwhelchel Someone already started this integration.

Take a look at: https://github.com/StormReaper/SteamBot/tree/steam/SteamTrade

cwhelchel commented 11 years ago

I'd use whatever those APIs have available as that may have some segue into other trade stuff.

StormReaper seams to have the api stuff there. I was hoping for a bit more as far as the schema objects themselves go.

tonitruong commented 11 years ago

iam still looking for this problem, cant trade dota2 items :(

fRzlegendz commented 11 years ago

I already fixed my bot, mods can close this.

Thanks

doktokto commented 11 years ago

fRzlegendz, how u fixed it? Help, please