All Activity
- Today
-
No data in PICS package cache yet. How to set data?
Dr. McKay replied to ProxyCC's topic in node-steam-user
https://github.com/DoctorMcKay/node-steam-user#getownedappsfilter Don't call getOwnedApps until after the ownershipCached event is emitted. Also, it doesn't take a callback argument. - Yesterday
-
ProxyCC started following No data in PICS package cache yet. How to set data?
-
I am trying to retrieve steam hours for every client thats getting logged in. The problem what I am getting tho is that it says that their is: No data in PICS package cache yet. Am I not setting data right? My function: async function checkHoursOnRecord(user, account, games, packages) { return new Promise((resolve, reject) => { user.getOwnedApps((err, apps) => { if (err) { console.error(`Error fetching owned games: ${err}`); reject(err); } else if (apps.includes(games, packages)) { user.getProductInfo([games], [packages], false, (err, apps) => { if (err) { console.error(`Error fetching game info: ${err}`); reject(err); } else { const hours = apps[games].appinfo.common.playtime_forever / 60; console.log(`Hours on record on game ${games}: ${hours}`); resolve(hours); } }); } else { resolve(0); } }); }); } const client = new SteamUser({ enablePicsCache: true});
-
ProxyCC joined the community
-
You can't. This is a Node.js module only.
-
VolvoEngineering reacted to a post in a topic: Public and Private proxies usage for steam requests
-
kaawmi started following How to use in Next JS ?
-
i have website with nextjs and I want to send TF2 keys to the trade link that user sent when the user makes a purchase, how can i do this with steam-tradeoffer-manager in Next js ?
-
kaawmi joined the community
- Last week
-
Wolvi joined the community
-
Hello, i am beginner in node js programming and i have created atmost few tradebots, so the idea is that in order to maintain and scale my float bot i have to buy many private proxies that include both login and password, but the problem is that such proxies are quite expensive and harm my ROI, so the question is whether it is possible to send request not from private proxies, but from public one and to get data from endpoints that for example render 10 first listings on the itempage, and if so, then what module or instrument should i use? Thank you in advance
-
yah thats what i told u noice work
-
Gotcha.
-
I have treated the error on my end I was calling the send offer without checking partner so I fixed it I am suggesting that the error should be handled gracefully as u have written the error message but instead it crashes code Respectfully,
-
You're treating the symptom, not the cause. There's no scenario where this.partner should be undefined or otherwise invalid unless you're doing something wrong.
-
thanks, I have already got secret by using the example-code(enable-twofactor.js) of node-steam-community.
-
Greetings, is there any way to get invisible items from steam inventory after last update?
-
brother it is contained in the mafile created by SDA or setting up the account auth using the DR.mckay libraries (never used this way)
-
i am very sorry for the late reply it seemslike the the error was happening when i was calling the sendoffer function with in valid or incomplete details but instead of showing what was the cause it was crashing the program with the above error so i adjusted the main if statement on the new trade offer to if (!this.partner?.isValid || !this.partner?.isValid() || this.partner?.type != SteamID.Type.INDIVIDUAL) { throw new Error("Invalid input SteamID " + this.partner); } in this way we safely access or try to access the contents and dosent crashes the program
-
Steam is my love started following How can I get trade-offer-information by tradeId ?
-
Steam has this endpoint https://api.steampowered.com/IEconService/GetTradeOffer/ that giving information about a trade offer. I just need to check stat of a tradeoffer. I have a cron that check from database trades with statuses that are in pending more than 5 minutes and to finish transaction in my system I should check what happened with the trade. Was automatically canceled or was not accepted or is in pending for some reason. Has steam-tradeoffer-manager a method that will give me information about a trade by trade number?
-
Steam is my love joined the community
-
m1k0l4ji3 reacted to a post in a topic: Chrome extensions support (manifest.json v3)
-
Chrome extensions support (manifest.json v3)
Dr. McKay replied to m1k0l4ji3's topic in node-steam-session
steam-session is a Node.js module, not a browser module. -
Cimple joined the community
-
I have the such same noob question !! Could you tell me what you read ? thank a lot!
- Earlier
-
Chrome extensions support (manifest.json v3)
m1k0l4ji3 replied to m1k0l4ji3's topic in node-steam-session
The steam-session uses the protobufjs/codegen module, which internally evaluates strings as JavaScript code. This causes errors in browser extensions because of strict security settings. Here's the full error trace: Some related issues i found on github: https://github.com/protobufjs/protobuf.js/issues/593 https://github.com/protobufjs/protobuf.js/issues/1483 -
So I figured out what the problem was. I had a single file for refresh token and when I switched bots locally it would use refresh token of another bot and won't even realize it's logged into different account. So when it came to confirming listings idenity_secret didn't match...
-
right
-
Chrome extensions support (manifest.json v3)
Dr. McKay replied to m1k0l4ji3's topic in node-steam-session
?? What does this have to do with steam-session? -
Show how you're creating a trade offer (new TradeOffer(...))
-
trade offer through trade token
Dr. McKay replied to TheMaster's topic in node-steam-tradeoffer-manager
If you don't have the user's SteamID at all in any form, no. -
TheMaster started following trade offer through trade token and Weird error
-
if have no clue what this error means it started coming suddenly my account is fine E:\Bots\node_modules\steam-tradeoffer-manager\lib\classes\TradeOffer.js:19 if (!this.partner.isValid || !this.partner.isValid() || this.partner.type != SteamID.Type.INDIVIDUAL) { ^ TypeError: Cannot read properties of undefined (reading 'isValid') at new TradeOffer (E:\Bots\node_modules\steam-tradeoffer-manager\lib\classes\TradeOffer.js:19:20) at TradeOfferManager.createOffer (E:\Bots\node_modules\steam-tradeoffer-manager\lib\index.js:506:14) at sendOffer (E:\Bots\Autoconfirmbot\mainimprovements.js:168:25) at WebSocket.incoming (E:\Bots\Autoconfirmbot\modules\shadowpaysell.js:116:17) at WebSocket.emit (node:events:520:28) at Receiver.receiverOnMessage (E:\Bots\node_modules\ws\lib\websocket.js:1209:20) at Receiver.emit (node:events:520:28) at Receiver.dataMessage (E:\Bots\node_modules\ws\lib\receiver.js:594:14) at Receiver.getData (E:\Bots\node_modules\ws\lib\receiver.js:496:10) at Receiver.startLoop (E:\Bots\node_modules\ws\lib\receiver.js:167:16) Node.js v22.1.0
-
can i create a trade offer with only the trade token of a user the website endpoint doesnot provide the steam id 32 or steam id 64 i an looking at this but we are still giving the steam id of user var offer = manager.createOffer(new TradeOfferManager.SteamID("76561198006409530"), "KYworVTM"); // trade token provided