Jump to content
McKay Development

mrxbell

Member
  • Posts

    44
  • Joined

  • Last visited

Posts posted by mrxbell

  1. Well, there are different ways on doing that.

     

    You can do that by:

    • Using a proxy system and a list of proxy servers to override steam's inventory request limits.
    • Having a random bot responsible for the deposits if you are fetching your information from the database (username/password/shared_secret/identity_secret and misc. data) and loading user's inventory.
    • Running multiple bots by creating instances on start, making a communication between them (using socket.io which is highly recommended over database checking (of course it's important to log everything)).
    • Lookup for the available item to withdraw from bot (fetch assetid -> check botid containing the item) -> transfer to main bot.

     

    It's basically an easy concept, just a lot of coding and fail-safes, and the last but not least, be careful when getting item prices or any other data, make sure to always null check the items or prices.

     

     

     

    Best regards

    UKF

    Thanks !

  2. Just change the appid to 570, and change the context id, I have no idea if it's 0,1 or 2, just try it.

    The inventory is an array of your items,

    inventory.forEach(function (item)){
          console.log(item.market_hash_name);
    }
    

    This will print the item's market hash name for example.

    Thank. But this is only iventory of one account. I need get all items in game ?

  3. //730 for csgo, 2 for contextid, true for tradableOnly
    //This will load a user's inventory or you can use it for your own inventory (optional), but there's loadInventory which is used to get your own client's inventory.
    manager.loadUserInventory(YOUR_TARGET_STEAMID, 730, 2, true, function (err, inventory, currencies) {
            if (err) {
                console.log(err.message);
            } else {
                 console.log(inventory);
            }
    });
    

    More information can be found here.

     

    Best regards

    UKF

     

    Thanks. But i need get all items (example DOTA2 have ~ 10 000 items ...) . 

  4. This is demo code :

    user.on('tradeRequest', function(steamID, respond) {
        console.log("Incoming trade request from " + steamID.getSteam3RenderedID() + ", accepting");
        respond(true);
    });
    

    I want addFriend when user trade request ? But event tradeRequest not Emitted ? Please help me ! Thanks

×
×
  • Create New...