kaan Posted 3 hours ago Report Posted 3 hours ago Hello, some methods give an error when you send a request directly to steam or sometimes the server ips is banned,. I am calling from TradeOfferManager.getUserInventoryContents In depend i look source it's calling from "node-steamcommunity". can we just give this function or proxy globally, like steamUser? Example; const client = new SteamUser( { machineIdType: SteamUser.EMachineIDType.PersistentRandom, httpProxy: `http://${ proxy }`, autoRelogin: false, picsCacheAll: true, webCompatibilityMode: true, protocol: SteamUser.EConnectionProtocol.WebSocket } ); Maybe while creating SteamCommunity or TradeOfferManager const community = new SteamCommunity( {} ); community.setCookies( cookies ); const manager = new TradeOfferManager( { steam: steamUser, community: community, domain: "127.0.0.1", language: 'en', useAccessToken: true, pollInterval: Math.floor( Math.random() * 1000 ) + 1000 } ); manager.setCookies( cookies ); Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.