All Activity
- Past hour
-
thanx. this method fixed this problem
- Today
-
same issue on newest version node:internal/buffer:86 throw new ERR_BUFFER_OUT_OF_BOUNDS(); ^ RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to access memory outside buffer bounds at boundsError (node:internal/buffer:86:11) at Buffer.readUInt32LE (node:internal/buffer:222:5) at TCPConnection._readMessage (C:\Users\PC\Desktop\checler\node_modules\steam-user\components\connection_protocols\tcp.js:194:33) at Socket.emit (node:events:518:28) at emitReadable_ (node:internal/streams/readable:834:12) at onEofChunk (node:internal/streams/readable:812:5) at readableAddChunkPushByteMode (node:internal/streams/readable:466:5) at Readable.push (node:internal/streams/readable:392:5) at TCP.onStreamRead (node:internal/stream_base_commons:231:12) { code: 'ERR_BUFFER_OUT_OF_BOUNDS' }
-
SonataCat joined the community
- Yesterday
-
Hey doc! I’m using steam-session to make qr code authentication on my testing website for login in on the bot account and when I’m running the script on local host it’s going well but when I’m deploing this application and I’m trying login through QR code in steam mobile app it shows that I’m logging in from a different place and the app is not allowing me to log in so can someone help me with this? Pls<3
- Last week
-
Undocumented error sending offer
Dr. McKay replied to Askona's topic in node-steam-tradeoffer-manager
Have you acknowledged the modal about trade protection? You need to do that or call acknowledgeTradeProtection in node-steamcommunity once per account to be able to trade. -
Askona joined the community
-
if (response.statusCode != 200) { if (response.statusCode == 401) { this.manager._notifySessionExpired(new Error("HTTP error 401")); Helpers.makeAnError(new Error("Not Logged In"), callback); return; } console.log(response.statusCode); console.log(callback); console.log(body); Helpers.makeAnError(new Error("HTTP error " + response.statusCode), callback, body); return; } 500 [Function (anonymous)] { strError: 'An error occurred. Please see your Trade Offers page on Steam for information about changes to trading.' } This in send method from tradeoffer.js. const SteamUser = require('steam-user'); const SteamCommunity = require('steamcommunity'); const TradeOfferManager = require('steam-tradeoffer-manager'); // const community = new SteamCommunity(); const steamID = SteamCommunity.SteamID; //===================INIT STEAM USER======================== const client = new SteamUser(); //===================INIT TRADE OFFER MANAGER======================== const manager = new TradeOfferManager({ steam: client, domain: 'domain.com', language: 'en' }); client.logOn({ accountName: botConfig.username, password: botConfig.password, twoFactorCode: require('steam-totp').getAuthCode(botConfig.sharedSecret) }); client.on('loggedOn', () => { console.log(`Bot ${botConfig.username} logged in`); const personaName = client.steamID.getSteamID64(); console.log(`Bot persona name: ${personaName}`); }); client.on('webSession', (sessionid, cookies) => { manager.setCookies(cookies, err => { if (err) { console.error(`Failed to set cookies for bot ${botConfig.username}:`, err); process.exit(1); } community.setCookies(cookies); community.startConfirmationChecker(30000, botConfig.sharedSecret); console.log(`Bot ${botConfig.username} ready to trade`); }); bot.manager.getUserInventoryContents(userSteamId, appid, contextid, true, (err, inventory) => { if (err) { console.log("Failed to get client user inventory:", err); return; } if (inventory.length === 0) { console.log("client user inventory is empty."); return; } console.log(`take first item`); const firstItem = inventory[0]; const offer = bot.manager.createOffer(userTradeUrl); //example https://steamcommunity.com/tradeoffer/new/?partner=xxx141&token=xxfacGs offer.addTheirItem({ appid: appid, contextid: contextid, assetid: firstItem.assetid }); offer.send((err, status) => { if (err) { console.error("Failed to send offer:", err); console.error("Steam response:", err.cause || err.response || err.body); return res.status(500).json({ success: false, message: 'Error sending trade offer', error: err.message }); } console.log("Trade offer sent successfully! Status:", status); }); }); Failed to send offer: Error: An error occurred. Please see your Trade Offers page on Steam for information about changes to trading. Both accounts meet the requirements. All authorizations are successful. I can go to tradeurl and send a trade manually. The only message I get after sending is that the trade will be delayed until 15 days due to not using steam guard for a long time (something like that). steam response all err./ empty for this error what is my mistake
-
What is the purpose of hasWallet in the steam-user library?
Dr. McKay replied to ggforces's topic in node-steam-user
It's based on whether Steam reports if you have a wallet or not. I believe it becomes true the first time you fund your wallet (and thus set a currency for it). -
ggforces started following What is the purpose of hasWallet in the steam-user library?
- Earlier
-
Problem enabling 2FA via steam-user – result code 2
SPdX replied to DieterB's topic in node-steam-user
I feel stupid for not trying that out from the beginning! Thanks for quick response. -
Problem enabling 2FA via steam-user – result code 2
Dr. McKay replied to DieterB's topic in node-steam-user
Just add 2FA the same way you would if you had a phone number. The code gets sent to your email instead of your phone. -
SPdX joined the community
-
Problem enabling 2FA via steam-user – result code 2
SPdX replied to DieterB's topic in node-steam-user
I was going through this suggestion you made of using node-steamcommunity but it looks like steam account needs to have a phone number verified before that process can be followed. In steam mobile app, I noticed that you can get steam guard working even without adding any phone number. I believe same process is followed by Steam Desktop Authenticator as well. Is there some option available in node-steamcommunity as well? Am I missing something here? I tested adding steam guard without phone number on a new account using ipad, if that matters. -
Hello, I have searched all over the internet, but couldn't figure out anything. Is anyone familiar with what `player_xp_bonus_flags` maps to? I got a `16` field value on my account, so I assume that would relate to my account currently having weekly XP boost available, but I'm not sure at all. Thanks for any replies
-
VolvoEngineering reacted to a post in a topic: New steam update, revert CS2 trades, state id not changed after reverting the trade
-
cody joined the community
-
Is comment posting available in the module?
Dr. McKay replied to Kaand's topic in node-steamcommunity
https://github.com/DoctorMcKay/node-steamcommunity/wiki/CSteamUser#commentmessage-callback- 1 reply
-
- comment
- steam profile
-
(and 1 more)
Tagged with:
-
Is comment posting available in the module?
- 1 reply
-
- comment
- steam profile
-
(and 1 more)
Tagged with:
-
Kaand joined the community
-
月光下漫步 reacted to a post in a topic: New steam update, revert CS2 trades, state id not changed after reverting the trade
-
In GetTradeStatus, even if a trade is rolled back midway, it still returns a success status (3). It has been observed that when using the start_after_time parameter in the GetTradeHistory API, there are still cases where the corresponding tradeid is not returned—approximately 1 out of every 20 trades. Therefore, it’s still necessary to paginate through the results to locate it.
-
Retrieve time_updated from the Trade Offer API First, use the Steam Trade Offer API to get the time_updated field of the target trade. For example: https://api.steampowered.com/IEconService/GetTradeOffer/v1/?tradeofferid=8301957547&access_token=xx.xx.xx { "response": { "offer": { "tradeofferid": "8301957547", "tradeid": "807950398061201297", "time_updated": 1753501576, ... } } } Use time_updated as the start_after_time parameter to query the Trade History API Next, pass the time_updated value as the start_after_time parameter when calling the Trade History API: GET https://api.steampowered.com/IEconService/GetTradeHistory/v1/?max_trades=1&start_after_time=1753501576&access_token=xxx.xxx.xxx The API response will include the trade information starting from that timestamp: { "response": { "more": true, "trades": [ { "tradeid": "807950398061201297", "time_init": 1753501576, ... }, ... ] } } This method allows you to accurately locate a trade in the trade history using the time_updated value, which is useful for tracking or further processing.
-
月光下漫步 joined the community
-
Issues after the recent cs2 trade policy update
Hoply replied to Shokhboz's topic in node-steamcommunity
If getting this error "not act on confirmation", must call acknowledgeTradeProtection https://github.com/DoctorMcKay/node-steamcommunity/commit/a61b50b7a2c2d2e6baa8a6592d26f24a0656058e -
Does Items' assetid change after trade protection date?
Hoply replied to rahimi0151's topic in node-steam-tradeoffer-manager
For us, assetids not changed, all items after protection lock copied to context 2 with same assetid (and now have same items on context id 16 and 2 🙂) -
Hoply joined the community
-
Kutay joined the community
-
I know it's been a while. But if this is still relevant for you, I have just released the first version of my CLI-Based Inventory manager INVMAN. I am grateful for every feedback I can get.
-
Rage reacted to a post in a topic: Error: Could not act on confirmation
-
You need to update node-steamcommunity and call acknowledgeTradeProtection() on each account.