Jump to content
McKay Development

What Comes Around

  • Content Count

  • Joined

  • Last visited

Everything posted by What Comes Around

  1. Good day! I get this error from time to time: ConfirmationChecker Error: Not Logged In at Request.init (D:\Node Projects\SteamMarketBot\node_modules\request\request.js:458:31) at Redirect.onResponse (D:\Node Projects\SteamMarketBot\node_modules\request\lib\redirect.js:149:11) at Request.onRequestResponse (D:\Node Projects\SteamMarketBot\node_modules\request\request.js:986:22) at ClientRequest.emit (events.js:315:20) at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:641:27) at HTTPParser.parserOnHeadersComplete (_http_common.js:126:17) at
  2. What I do is put a proxy list in a predetermined folder, my code then reads and splits the string (read from file) into an array of proxies. Then it assigns each proxy to a maximum of 10 steam clients.
  3. Thanks for clarifying, guess it applies to all kinds of botting activity
  4. OOPS, that makes sense, because I have already set cookies for community. It is now working. Thank you very much! I would also like to ask if using this extensively could be a ban-able offence on steam? And thanks again for your help, really appreciate it! I also really appreciate all of your work in general!
  5. Thanks! Here is what I have right now: const SteamUser = require('steam-user'); const SteamTotp = require('steam-totp'); const config = require('./config'); const SteamCommunity = require('steamcommunity'); const TradeOfferManager = require('steam-tradeoffer-manager'); const client = new SteamUser(); const community = new SteamCommunity(); const manager = new TradeOfferManager({ steam: client, community: community, language: 'en' }) const loginOptions = { accountName: config.username, password: config.password, twoFactorCode: SteamTotp.generateAuthCode(config.shar
  6. Sorry, the redirect was the result of me trying http not https, however steam redirects http requests to https. Had nothing to do with curly braces. Also I read from a similar thread : https://dev.doctormckay.com/topic/1495-automatically-selling-steam-items-error-400/?tab=comments#elControls_4826:~:text=When you're doing things on the,any of those other headers either. that the headers shouldn't be entered manually. Is there a way for me to extract that data from the client by any chance?
  7. Oops, my bad. It was old code that I copy pasted. I stopped using confirmation checker Also, still getting 400, what could I be doing wrong? Could it be the user agent? I've also tried sending the request to the http address instead, but I got either Malformed Request (without curly braces around requestoptions) or a redirect (with curly braces around requestoptions).
  8. Good day/night, I'd like to ask what I am doing wrong? Here is what I have: client.logOn(loginOptions); client.on('loggedOn', () => { console.log('logged on'); client.setPersona(1); }); client.on('webSession', async (sid, cookies) => { manager.setCookies(cookies); community.setCookies(cookies); community.startConfirmationChecker(20000, config.identity_secret); let item = await getItem() var requestoptions = { form: { sessionid: community.getSessionID(), appid: item.appid, contextid: item.contextid, a
  9. Why not just check settings.language first and if it's blank/null/undefined set it to a default value?
  10. So I'm trying to replicate what SDA (steam desktop authentication) does with nodejs. I can add a phone number using some puppeteer code, I can setup 2FA, but I don't get some of the other details that SDA gets, like device_id. Any idea how I could get that? Nevermind, I found out how to do it with Steam-Totp. I was just searching in the wrong place. My bad!
  11. Thank you very much. Sorry for the late response, been having too much work lately. But yes it seems like it's just not possible go through the verification process with that method. For now I guess I'll stick to some headless puppeteer verification solution I made, it's retarded, it's resource heavy, but that's all I know and it gets things done. Wish I could reach a level of understanding where I could do what you do but just don't have the time. Thank you very much for your efforts though!
  12. Right, sucks I made that mistake again. Since the last time I did, a bunch of users had their accounts reset on a database. Whoops.
  13. So I'll start with the second function. Firstly not sure why you have square brackets around steamid. What you need to do is make an array. You can do this like so: var steamidstolookup = [040230453045, 0342034023402(fake ids but u get the point)] <--- this can also be strings that can be parsed into SteamID objects as stated in the docs. As for why you are getting the error it's because you are trying to look for an object that doesn't exist in the first parameter of the callback. Here's an example of how you should do it: client.getPersonas(steamidstolookup, (err, person
  14. Hmm, that's odd because I believe it is verified. Here is some code I used to check it, but I have also checked it manually. client.requestValidationEmail(function(){ console.log("verified") store.setCookies(cookies); store.addPhoneNumber('+31************', true, (err) => { if (err) { console.log(err) } }) }); Log: *********** has successfully logged in verified { Error: Unknown state email_verification at Request.request.post [as _callba
  15. Normally in this kind of situation it's much better to use a switch statement. Which would look like this: switch(expression) { case x: // code block break; case y: // code block break; default: // code block } Here is some example code, that produces this result: const SteamUser = require('steam-user'); const SteamTotp = require('steam-totp'); const SteamCommunity = require('steamcommunity'); const TradeOfferManager = require('steam-tradeoffer-manager'); const SteamStore = require('steamstore');
  16. No idea why that's happening. I copy and pasted the code and everything seemed fine: also, I believe you could improve this by lower casing the message contents to make both the capitalized and non-capitalized versions of the same command work. This is what the code for that looks like: client.on('friendMessage', function(steamid, message){ if (message.toLowerCase() == '!hello'){ client.chatMessage(steamid, 'Hiya'); } else { client.chatMessage(steamid, 'Adios!'); } }) As for why it's giving you
  17. Thank you very much, noted. However I still have one question. I still get an error of Unknown state email_verification. When I looked through the source of the error I see that the function addPhoneNumber makes a post request then gets the response. How do I find the time to respond to the email?
  18. Why not use a tradeoffer event listener? I think that would be a much easier route. You can get the sender id, the contents of the trade, the message, a lot more. If by respond back you meant send a message back, you could get the steamid using the partner id and just send the user a message.
  19. store.setCookies(cookies); store.addPhoneNumber('+31062571****[true]', (err, status, bypassConfirmation) => { if (err) { console.log(err) } if (status) { console.log(status) } if (bypassConfirmation) { console.log(bypassConfirmation) } I have some questions regarding the addPhoneNumber method. Is this the right way to pass bypassConfirmation = true? I have never seen this way of passing params : number[, bypassConfirmation], callback
  20. So I am currently setting up bots with 2FA manually using steam desktop authentication, but I think it's time, it's time to use my brain again. So I have been looking through the steam community npm docs and I found 2FA methods but no add phone methods. I'd like to be able to take accounts with no steam guard, add a phone number, and then turn on 2FA, and finally console log all the information about the account, all the secrets and everything. Would this be possible? (mainly the phone part) Otherwise I'll have to use puppeteer but that's sorta resource heavy and not ideal (also I don't know c
  21. Because I don't want to take up an entire new thread, I'll ask here, how can I check if a user's trade token is valid? Should I just try manager.createOffer and check if there's an error?
  22. Quick question, From reading the docs from what I understand unless doing a real-time trade I won't be able to find out if the trade was accepted, only if it was sent. Is this correct? Is there any reliable way to find out if a user accepted a trade offer without using real-time trades?
  • Create New...