Jump to content
McKay Development

Search the Community

Showing results for tags 'steam'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News & Announcements
    • Releases & Updates
  • Help & Support
    • General
    • Guides
    • node-steam-user
    • node-steamcommunity
    • node-steam-tradeoffer-manager
    • node-steam-session

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Skype


Location


Interests

  1. Greetings, everyone. I have a task to realize login to steam via http requests. There are few options in public search, one of the popular ones is: 1. GET request 'https://steamcommunity.com/login/getrsakey/?username=yourusername' 2. Then get publickey_mod and timestamp 3. Do encryption using RSA. This is the most interesting part, as I have tried many encryption options. This is what my last encryption code looked like: const NodeRSA = require('node-rsa'); let password = "mypass"; const result = { publickey_mod: 'publickey_mod', publickey_exp: "010001", }; const key = new NodeRSA(); key.importKey({ n: Buffer.from(result.publickey_mod, 'hex'), e: parseInt(result.publickey_exp, 16), }, 'components-public'); const encryptedPassword = key.encrypt(password, 'base64'); Because using many encryption options I always get the error that 'Password or login is incorrect', reading 'node-steamcommunity' I didn't find any encryption there. Maybe someone has an encryption option, or another way to do authorization on http requests. I would be very grateful.
  2. hey i want to send commend spesific user with protobufs how can i do that can i get some help
  3. I want the bot to send the first item of its items to it when it uses a specific command. how can I do the issue of sending a swap
  4. i want to get the number of friends of a particular person. that's exactly how can i do it.
  5. What is the Best way to call steam api for steam items i have been using $id = "76561198147982809"; $query = "http://steamcommunity.com/profiles/".$id."/inventory/json/440/2/";; $json = file_get_contents($query); $data = json_decode($json, true); to get my bots inventory of course has 0 tradable items and get the failed error alot failed to open stream: HTTP request failed! HTTP/1.0 429 Too Many Requests is calling the http://steamcommunity.com/profiles/[steamid]/inventory/json/440/2/ the best way i am creating a website like scrap.tf for my steam bots to buy and sell items if there is a better way Please let me know i know some about the steam API but not the most about it and not sure which would be best if i use that and also if i upload my site onto my host will it do the errors alot or just when client calls the json i used?
  6. Hello guys, I need to create node steam bot which will invite x amount of users triggered by command to the csgo community server. Is this even possible? I found some informations but they are using C++ libraries and that does not work for me. I mean something like this. The image is taken from internet so don't mind the text.
  7. Hello. Is there a way to get the owner of steam API Key, I means to get some informations about the owner of steam API Key like steam id or name? Or maybe something to check if a Steam API Key it's his own (SeamID). Something like: http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=' + ApiKey + '&steamids=' + SteamID
  8. Hello. How i can check if a Steam API Key is valid or not? Is there any function or maybe is based by API Key characters?
  9. The is my steam bot code. Idk what is wrong to code bot it don't work very good because after 1-2 days it brakes. That are the errors that i get: Error: Disconnected at SteamClient._disconnected (/var/server/node_modules/steam/lib/steam_client.js:189:24) at Connection.emit (events.js:189:13) at TCP._handle.close (net.js:600:12) TypeError: Cannot read property 'send' of undefined at SteamClient._send (/var/server/node_modules/steam/lib/steam_client.js:117:20) at SteamClient.send (/var/server/node_modules/steam/lib/steam_client.js:126:8) at SteamUser.requestWebAPIAuthenticateUserNonce (/var/server/node_modules/steam/lib/handlers/user/index.js:37:16) at SteamWebLogOn.<anonymous> (/var/server/node_modules/steam-weblogon/index.js:34:23) at ClientRequest.<anonymous> (/var/server/node_modules/steam-web-api/index.js:34:9) at Object.onceWrapper (events.js:277:13) at ClientRequest.emit (events.js:189:13) at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:556:21) at HTTPParser.parserOnHeadersComplete (_http_common.js:109:17) at TLSSocket.socketOnData (_http_client.js:442:20) at TLSSocket.emit (events.js:189:13) at addChunk (_stream_readable.js:284:12) at readableAddChunk (_stream_readable.js:265:11) at TLSSocket.Readable.push (_stream_readable.js:220:10) at TLSWrap.onStreamRead [as onread] (internal/stream_base_commons.js:94:17) And more errors. I want the best code the this bot without disconnects and with auto session cookies set after expires. Thanks. BOT CODE var bots = { steam: { botname: config.bot_steam.botname, username: config.bot_steam.username, password: config.bot_steam.password, identitySecret: config.bot_steam.identitySecret, sharedSecret: config.bot_steam.sharedSecret } } var new_steam_bot = function() { var connected = false; var community = new SteamCommunity(); var client = new Steam.SteamClient(); var user = new Steam.SteamUser(client); var friends = new Steam.SteamFriends(client); var webLogon = new SteamWebLogon(client, user); var manager = new TradeOfferManager({ steam: client, community: community, domain: 'localhost', language: 'en', cancelTime: 150000 }); client.connect(); return { connected, community, client, user, friends, webLogon, manager, } } var Steam = require('steam'); var TradeOfferManager = require('steam-tradeoffer-manager'); var SteamTotp = require('steam-totp'); var SteamWebLogon = require('steam-weblogon'); var SteamCommunity = require('steamcommunity'); var q = require('q'); var protos = require('./protos'); var steam_bots = new_steam_bot(); steam_bots.client.on('connected', function() { logger.warn('[BOT] Client Connected'); steam_bots.user.logOn({ account_name: bots.steam.username, password: bots.steam.password, two_factor_code: SteamTotp.generateAuthCode(bots.steam.sharedSecret) }); }); steam_bots.client.on('logOnResponse', function(response) { if(response.eresult !== Steam.EResult.OK) { logger.warn('[BOT] Client Login Failed'); steam_bots.client.connect(); return; } logger.warn('[BOT] Client Login Success'); setWebLogOn(); }); steam_bots.client.on('loggedOff', function(eresult, msg) { logger.warn('[BOT] Client Logout. Message: ' + msg); steam_bots.client.connect(); }); steam_bots.client.on('error', function(err) { logger.warn('[BOT] Client Error. Error: ' + err.message); logger.error(err); writeError(err); if(err.message == 'Disconnected') { logger.error('[BOT] Client Disconnected. Reconnecting!'); steam_bots.client.connect(); } }); steam_bots.community.on('confKeyNeeded', function(deepDataAndEvents, updateFunc) { logger.warn('[BOT] Need Conf Key'); updateFunc(null, time, SteamTotp.getConfirmationKey(bots.steam.identitySecret, time(), deepDataAndEvents)); }); steam_bots.community.on('sessionExpired', function(err) { logger.warn('[BOT] Session expired, logging in...'); bots.steam.connected = false; steam_bots.community.stopConfirmationChecker(); setWebLogOn(); }); steam_bots.user.on('updateMachineAuth', function( sentry, callback ) { callback({ sha_file: getSHA1(sentry.bytes) }); }); function getSHA1(bytes) { var shasum = crypto.createHash('sha1'); shasum.end(bytes); return shasum.read(); } function setWebLogOn(){ try{ steam_bots.webLogon.webLogOn(function(sessionID, cookies) { logger.warn('[BOT] Session cookies set'); steam_bots.manager.setCookies(cookies, function(err) { if (err) { logger.error(err); writeError(err); process.exit(1); } }); steam_bots.community.setCookies(cookies); steam_bots.community.startConfirmationChecker(5000, bots.steam.identitySecret); setTimeout(function(){ steam_bots.connected = true; loadOffersSent(); loadPricesAll(); }, 1000); }); } catch(err){ logger.warn('[BOT] Error Web Log On. Error: ' + err.message); logger.error(err); if(client.loggedOn){ user.requestWebAPIAuthenticateUserNonce(function(result){ logger.error('Error: Request Web API Authenticate User Nonce. ' + result); }); } else { client.connect(); } } }
  10. I almost certainly know that Steam links accounts to each other by machine id. I am going to use this library to boost game hours on multiple accounts from one device. Will it help to hide inforation about my device that this library, as I understood from the description of the option machineIdType, sends Steam an unique machine id for each account? Did I understand correctly? And how safe is it to do this (of course, I will use unique proxies to log into accounts)?
  11. Hello, Is there any page that I enter steam id64 profile and show its whole friendlist? need to see how many items in steam items, csgo items, tf2 items If you know, please comment. well thank you.
  12. I want to use proxy when throwing steam profile comments.I need to login for the client and then the community. How can I use proxy here? My Codes : let client = new Steam.CMClient(); data["community"] = new SteamCommunity(); client.setHttpProxy(/*proxy url */); data["client"] = new SteamUser(client); data["client"].logOn(second); data["client"].on('loggedOn', () => { console.log('\n Hesaba giriş yapıldı. \n'); data["client"].setPersona(SteamUser.EPersonaState.Online); data["client"].gamesPlayed(["OkiSource here !!", 440, 570]); }); data["client"].on('webSession', (sessionid, cookies) => { data["community"].setCookies(cookies); }); this code is not working im checking data and showed my server ip not proxy ip. How can i login community and client with proxy.
  13. Hi, I have a little question: Where can i get shared_secret? After the first run steam.login(), I got "steamguard". Which passed to the function generateAuthCode.What am I doing wrong? Thank you. var SteamCommunity = require('steamcommunity'); var steam = new SteamCommunity(); var logOnOptions = { accountName: 'user1', password: 'passsssssssword',// twoFactorCode: '72N37', twoFactorCode: SteamTotp.generateAuthCode('76561198035130610||snip') }; console.log(logOnOptions) //logs in via browser steam.login(logOnOptions, function(err, sessionID, cookies, steamguard) { console.log(steamguard) // '76561198035130610||snip' if (err) { console.log("There was an error logging in! Error details: " + err.message); process.exit(1); //terminates program } else { console.log("Successfully logged in as " + logOnOptions.accountName); } });
  14. I have been having this trouble on my Steam Trading Bot, when i try to run the bot, it always return Error 401 Any of you have any idea how this turns out, or how i can solve this problem Thank you so much for your time and your help Here is my full source code https://drive.google.com/open?id=110RbCiAqAY0_PvoGDyKfeKrW341GQQXZ
  15. How can I get an item image or even 3d model of an item? Examples:https://s.cs.money/Zw7kaxs.jpg
  16. Is there a module to confirm sell orders on mobile, I have over 25k+ items that I want to sell and I haven't found a module to confirm mobile orders.
  17. Hello i need for my project the Ticketcrc and the h_steampipe, i looked into the documentation, i thought i can do it with AuthTicketstatus but that does not seem to work at all. I get a ticket and thats it. I cant get any information about the encryptionKeyeither. For the next question, does anyone know where i get more informations to h_steam_pipe? Cause i cant find any. Thanks for your help guys. Have a great day!
  18. I know the steam api doesnt have an api to send steam tradeoffers in php how can i send one by trade link? I want to have a site that u Select items to buy and it will send trade offers with those items and wandering how to do it from php with the trade offer link
  19. Hi, I was wondering if there exists some list with Steam Rate Limits? Like that website keeping track of Steam Error (https://steamerrors.com/) I think this would be very helpful for developers to be as efficient as possible and not exceed any limits. However, I am not sure if Steam is always consistent with its rate limits. For example, a steam key activation cooldown varies between 15-60 mins (I think). Anyway, if there doesn't exist such a list already, we could start one here (and eventually create https://steamrates.com) I think I figured out some rates: requestFreeLicense 50 liceses per account per 25 mins createAccount 3 accounts per IP per 1.5 mins addPhoneNumber 30 accounts per phone number per week
  20. How remake :/ if write test and u profile have level 5+ bot write u have level.... Thanks for help client.on("friendMessage", (steamid, message) => { if (message === "test") { client.getSteamLevels(steamid, function(results) { if (results[client.getSteamID64()] > 5) { client.chatMessage(steamid, "u have +5 lvl."); console.log("done"); } }); } });
  21. Hi, i want that bot make posts on my SteamGroup i have this code: var id = "OctaFox"; var headline = "Some fancy headline"; var content = "Just wanted to say Hello!"; community.getSteamGroup(id, (err, group) => { if(err) { throw err; } else { group.postAnnouncement(headline, content, (err) => { if(err) { throw err; }; }); }; }); The Bot is Admin, but on the SteamGroup i don`t see any post, and in console i don't have errors. Bot full sorce code --> https://github.com/xedom/xeSteamBot/blob/master/index.js Someone can help me? Thanks
  22. I need help with Help with getServerList(). https://github.com/DoctorMcKay/node-steam-user#getserverlistfilter-limit-callback Someone can help me, with a exemples? Thanks?
  23. Hi guys im creator Steam Smart Bot probably first Smart bot on steam check http://steamcommunity.com/profiles/76561198428565112/
  24. Whenever a specified steamid changes the game (name game) so script write to console "e.g. (User 7651198325796223 in game Counter-Strike)". Please help how to create this script
  25. Hi everyone, have this nodejs backend which is calling the Steam api via passport-steam to log a user in. This is working and in this code I am getting the user back. app.get( //regex to validate auth/steam/ and auth/steam/return /^\/auth\/steam(\/return)?$/, passport.authenticate('steam', { failureRedirect: '/' }), (req, res) => { console.dir(req.user); res.redirect('/account'); } );So I have user as req.user in the callback after the Steam Login passes. My question is: What is the best (AND MOST SECURE!) way to pass this req.user to a route, which I will then call GET from the Frontend Framework so I can get this data to the Frontend? Furthermore, how does my Frontend communicate with my nodejs bot in a secure manner? (maybe this is a broad question but worht a try!) Right now I have this route set up: app.get('/account', (req, res) => { res.send({user: req.user}); });But user is null. Any help is appreciated!
×
×
  • Create New...