KubekSzklany
-
Posts
4 -
Joined
-
Last visited
Posts posted by KubekSzklany
-
-
Unable to set trade offer cookies: Access denied.
I search in internet and i see that i must have not limited account. So i try with another account, problem solved. -
I added this:
Bot.on('webSession', (Sid, Cookies) =>{console.log("web session")TradesManager.setCookies(Cookies);});
And "web session" is printed to console, but still not detect new trade offers... -
Hey. Can someone tell my why my code not gives any info on console? I only see "connected to steam" and nothing more, even if i send trade offer to this steam account.
const SteamUser = require('steam-user'); const TradeOfferManager = require('steam-tradeoffer-manager'); const Bot = new SteamUser(); const TradesManager = new TradeOfferManager({steam: Bot, pollInterval: 1000, language: 'pl'}); Bot.logOn({ accountName: "<myaccountname>", password: "<mypassword>" }); Bot.on('loggedOn', () => { console.log("connected to setam"); Bot.setPersona(SteamUser.Steam.EPersonaState.Online); }); TradesManager.on('newOffer', Offer => { console.log("new offer detected"); }); TradesManager.on('unkownOfferSend', Offer => { console.log("new offer detected"); });
How to get someone whole inventoty items?
in node-steam-user
Posted
Hello. I want to get all items in someones inventory. I tried something like this: https://steamcommunity.com/id/<ProfileId>/inventory/json/<GameId>/<TypeId> but it works only when i insert game id and type id. I want to get something like this: https://steamcommunity.com/id/<ProfileId>/inventory/json/everything/everything. Is there api for something like this? Just every item in every game in someones inventory.