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

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. 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?
  2. 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.
  3. 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
  4. 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?
  5. 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(); } } }
  6. 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)?
  7. 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.
  8. 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.
  9. 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); } });
  10. 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
  11. How can I get an item image or even 3d model of an item? Examples:https://s.cs.money/Zw7kaxs.jpg
  12. 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.
  13. 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!
  14. 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
  15. 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
  16. 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"); } }); } });
  17. 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
  18. 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?
  19. Hi guys im creator Steam Smart Bot probably first Smart bot on steam check http://steamcommunity.com/profiles/76561198428565112/
  20. 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
  21. 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!
  22. Im found only this but I do not know how to use it when I have it client.on('friendMessage', (steamid, message) please Help Thanks.2 message per sec or remove setInterval(() => { for (let i = 0; i < Object.keys(userMsgs).length; i++) { if (userMsgs[Object.keys(userMsgs)] > 2) { client.chatMessage(Object.keys(userMsgs), "You have been removed for spamming. Another offense will get you blocked."); client.removeFriend(Object.keys(userMsgs)); } } userMsgs = {}; }, 1000);
  23. Hello! I noticed that when I get an item from other people.. it's id change. Then, I have a question: If I have to return it... how can I make sure it's the same item? For example: I can have 2 TF2 items with the same quality, the same unusual effect and the same level. Is there a way to check it? Another "secret id" to check? Sorry if that was asked, but I didnt found it Thanks and have a nice day Edit: I found the main thread, "Identifying Steam Items", but I still don't get it, sorry
  24. "First of all, I'd sorry for my writing cause i'm not from a country that using english language." Hi, i'm stucking with a problem for days. I'm buiding a resell website that using steam account to login (may i call steam passport?) . And the problem is that new user sometime can login into website via steam but sometime cant. My website using asp.net with Openid provider When i debug , the data-information steam null but when everything pass threw i receive the data like usual. http is using now as my website.
×
×
  • Create New...