Jump to content
McKay Development

All Activity

This stream auto-updates

  1. Today
  2. GetTradeHistory does appear to accept an access token to retrieve all trades.
  3. Yesterday
  4. Is there a way to get information about score for each team and account side in the current competitive match? Or maybe there are some other tools for this?
  5. Hi guys. After last updates related to GetOffers etc I find out that IEconService/GetTradeHistory api endpoint does not return all trades. As far as I see this is the only option how to get trades history and this endpoint only accept api key. What am I missing? Do you have any tips how we can get full trades history of account now?
  6. Last week
  7. mind sharing the code ur statement is too vague
  8. @Dr. McKay idk y this error is arising C:\Autoconfirmbot\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 (C:\Autoconfirmbot\node_modules\steam-tradeoffer-manager\lib\classes\TradeOffer.js:19:20) at TradeOfferManager.createOffer (C:\Autoconfirmbot\node_modules\steam-tradeoffer-manager\lib\index.js:506:14) at sendOffer (C:\Autoconfirmbot\mainimprovements.js:158:25) at Object.sellerforwax (C:\Autoconfirmbot\modules\waxpeer.js:26:11) at SteamUser.<anonymous> (C:\Autoconfirmbot\mainimprovements.js:317:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
  9. I've upgraded to the latest package and my types say that the steamTradeOfferManagerr does not have the `useAccessToken` property. Any ideas? The event listener just literally doesn't listen for new trades all of a sudden lmfao
  10. Hi guys. Just wanted to share my frustration with the globaloffensive package. How hard it was to connect to the game client, taking me over 4 weeks of part time development and in the end, reading the source code for csfloat/inspect to make it work! for it to no longer be needed (we are running csfloat in docker directly now) P.S: Jokes aside, thanks a lot doc. the packages are amazing, ALL of them. Wishing you the best ❤️
  11. You need to report that you're in CS2 by calling user.gamesPlayed(730), then complete the GC handshaking process before sending any other GC messages. For CS, this is sending ClientHello (4006) with the proper version number and waiting for ClientWelcome (4004) in response. You can check node-globaloffensive for reference.
  12. after few hours i start bot again it working well but after i restart it 429 again
  13. Ive try to using steam trade offer manager event: OfferList then nothing happen so i use pollingFailure to check error and i get 429 Error and sometime 403 and showing "Please verify your <pre>key=</pre> parameter." <html><head><title>Forbidden</title></head><body><h1>Forbidden</h1>Access is denied. Retrying will not help. Please verify your <pre>key=</pre> parameter.</body></html> I also try to set manager.apikey = CONFIG.STEAMAPIKEY; before setCookies and also remove pollingInterval out manager = new TradeOfferManager({ steam: refloow, language: "en", useAccessToken: !CONFIG.STEAMAPIKEY, // pollInterval: 30 * 1000, // pollFullUpdateInterval: 150000, cancelTime: 15 * 60 * 1000, // 15 minutes in ms }), ps. I wait 10 hours and still get 429 , 403
  14. import { CDataGCCStrike15_v2_MatchInfo, CMsgGCCStrike15_v2_MatchList, CMsgGCCStrike15_v2_MatchListRequestFullGameInfo, CMsgGCCStrike15_v2_MatchListRequestRecentUserGames, } from "csgo-protobuf"; import SteamUser from "steam-user"; const payload = new CMsgGCCStrike15_v2_MatchListRequestFullGameInfo({ matchid: 3679454899302563903n, outcomeid: 3679460199292207251n, token: 16014, }); const user = new SteamUser(); user.logOn({ accountName: "forum_win", password: "" }); user.on("debug", msg => { console.log("DEBUG", msg); }); user.on("error", msg => { console.log("error", msg); }); user.on("disconnected", (e, m) => console.log("DISCONNECTED", e, m)); user.on("loggedOn", () => { //https://github.com/SteamDatabase/Protobufs/blob/master/csgo/cstrike15_gcmessages.proto#L41 //https://steamdb.info/app/730/info/ user.sendToGC(730, 9147, {}, Buffer.from(payload.toBinary())); }); user.on("receivedFromGC", (appid, msgType, payload) => { console.log(`Received message ${msgType} from GC ${appid} with ${payload.length} bytes`); }); user.on("appQuit", () => { console.log(`quit!!!`); }); Following logic found: https://github.com/akiver/boiler-writter/blob/main/boiler-writter/main.cpp https://github.com/akiver/boiler-writter/blob/main/boiler-writter/CSGOMatchList.cpp https://github.com/akiver/boiler-writter/blob/main/boiler-writter/CSGOClient.cpp Trying to leverage steam-user to call protobuf GC, but never receinving receivedFromGC event. Using the @types as well. Tried stepping through and have had no luck. Wondering if there's just a miss in the implementation. Tried encoding the protobuf payload using a few different npm libs such as protobufjs and copying proto from: https://github.com/SteamDatabase/Protobufs/blob/master/csgo/cstrike15_gcmessages.proto#L41 Any direction would be greatly appreciated. Thanks!pre widget
  15. What does that mean? I'm using VPN + proxies but everything was ok before with that
  16. Sounds like someone with control of your network is trying to modify traffic.
  17. Today i tried to run my steam app, and got error after 20 min of using app. The error i have is Error:1C800064:Provied routnies::bad decrypt. So every time i open my app after 20 min a get this unhandled error. Last month everything was ok. Error happens in steam-user .read_message and after that in steam-crypto.
  18. I don't believe you can get non-game badges or your account's creation time via steam-user. You'll need to use the WebAPI.
  19. How can I get steam Years of Service badge level of the logged account? i'm talking about this badge - https://steamdb.info/badge/1/ I have seen client.getGameBadgeLevel but it only works for a specific appId
  20. Earlier
  21. i do know what an error code 503 means but the main question is how to handle this like to i implement a back off strat or like call log on again how should i handlethi because the script just stops at that point when the 503 comes
  22. https://github.com/DoctorMcKay/node-steam-user?tab=readme-ov-file#error The 'error' event.
  23. https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/503
  24. I apologize for my dumb question sir, but I haven't found it anywhere else. What is the specific error that I should listen for when I need to logOn again? ATM I'm only using community.on("sessionExpired") to call webLogon to refresh the cookies on community and trade manager, with the client.on("webSession") event btw.
  25. getting this error idk y this is caused and how to handle this C:\New folder\node_modules\steamcommunity\components\http.js:108 err = new Error("HTTP error " + response.statusCode); ^ Error: HTTP error 503 at SteamCommunity._checkHttpError (C:\New folder\node_modules\steamcommunity\components\http.js:108:9) at Request._callback (C:\New folder\node_modules\steamcommunity\components\http.js:50:61) at self.callback (C:\New folder\node_modules\request\request.js:185:22) at Request.emit (node:events:519:28) at Request.<anonymous> (C:\New folder\node_modules\request\request.js:1154:10) at Request.emit (node:events:519:28) at Gunzip.<anonymous> (C:\New folder\node_modules\request\request.js:1076:12) at Object.onceWrapper (node:events:633:28) at Gunzip.emit (node:events:519:28) at endReadableNT (node:internal/streams/readable:1696:12) { code: 503 } Node.js v21.7.1
  26. Got it, yeah I'm using the SteamUser instance in the constructor, so I'll leave it as default. Thank you very much!
  27. If you're passing an instance of SteamUser in to the constructor, I recommend you don't poll more frequently than every 30 seconds (30000). And you shouldn't be running full updates more frequently than every 2 minutes (120000). In other words, the defaults are fine.
  1. Load more activity
×
×
  • Create New...