Jump to content
McKay Development

Search the Community

Showing results for tags 'node-steam-user'.

  • 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. Hello, can somebody point me way how to sell all steam cards for fixed price? (I have like 20,000 cards from same game, every card 0,03€) I found this: https://dev.doctormckay.com/topic/287-automatic-market-seller/?do=findComment&comment=746 but I don't really know how to use it Greetings.
  2. For some reason I get RateLimitExceeded if bot frequently add friends. What's the limit on adding friends? Or the problem is not in the limit ?
  3. changePassword() takes the e-mail code that gets sent to you as its third argument. It's a catch-22 that I don't understand, though, because the e-mail code doesn't get sent until you call that function. Regardless of whether you add the argument, a prompt comes up and proceeds to *not* use the input and use the argument as the code. What am I missing? Sorry, but I couldn't figure it out looking at the documentation. const User = new SteamUser(); User.logOn({ 'accountName': <username>, 'password': <password> }); User.on('loggedOn', function() { console.log('Successfully logged in'); User.changePassword(<old password>, <new password>, <random string>, function(err) { // how are you supposed to provide the code when it gets activated by the function? console.log(err); }); });
  4. Guest

    Remove phone number

    Hello. Can i remove phone number from my account ? I found this method https://github.com/DoctorMcKay/node-steamstore#removephonenumbercallback but it seems to me that it's old because when I try to delete the phone from the browser I ask 2FA code
  5. Guest

    change email

    Hello. I use the function twice, the first time I get the code to the mail, but I use it a second time - I get the error invalid params this.client.changeEmail({password: account.password, newEmail: email, twoFactorCode: SteamTotp.getAuthCode(sharedSecret)}, err => { if( !err ) { console.log('Send code on email') this.client.changeEmail({ password: account.password, newEmail: email, twoFactorCode, code: emailCode, // twoFactorCode: SteamTotp.getAuthCode(sharedSecret) }, err => { if( err ) console.log(`${err}`) // invalid params }) } else { console.log(`${err}`) } })
  6. Sometimes I get a message like "Steam Guard App Code" and I have to enter this code, how do I turn it off? Thanks
  7. Currently looking to use the CDN functionality provided by steam-user, as described in doc/CDN.md, and currently having some trouble getting any data as an anonymous user. Current code: steamUser.on('contentServersReady', function () { steamUser.getContentServers(function (err, servers) { console.log("Got servers!"); }); steamUser.getManifest(1, 1, 'Manifest GID', function (err, manifest) { console.log(manifest); }); }); I changed my appid, depotid, and manifest guid here for identification reasons. Manifest is `undefined`, and the error is below { Error: Fail at Object.exports.eresultError (root\node_modules\steam-user\components\helpers.js:73:12) at root\node_modules\steam-user\components\cdn.js:122:21 at Object.cb (root\node_modules\steam-user\components\messages.js:160:4) at SteamClient._netMsgReceived (root\node_modules\steam\lib\steam_client.js:170:28) at SteamClient.handlers.(anonymous function) (root\node_modules\steam\lib\steam_client.js:259:10) at SteamClient._netMsgReceived (root\node_modules\steam\lib\steam_client.js:157:26) at emitOne (events.js:116:13) at Connection.emit (events.js:211:7) at Connection._readPacket (root\node_modules\steam\lib\connection.js:50:8) at emitNone (events.js:106:13) eresult: 2 } I'm thinking this is something to do with being an anonymous user who doesn't own the appid x, and therefore can't access the depot or manifest. I didn't see anything like "anonymous usage" in the steampipe tab that may allow something like this. Any help would be appreciated, thanks!
  8. client.on('appOwnershipCached', function(e) { console.log("lol"); if(client.ownsApp(730)) { setFloatCompatible(true); } }); this event is not emitted why?
  9. Hello There is lobbyInvite event, and it works as intended, it fires whenever I am invited. But can I actually accept or deny these invites? I am asking because I wasn't able to find anything related to working with lobbies in this library, except for this event.
  10. I have a question about where should i put my crafting recipe in the code My code //Show Online client.on('loggedOn', function (details) { console.log("Logged into Steam as " + client.steamID.getSteam3RenderedID()); client.setPersona(1); }); //crafting tf2.on("backpackLoaded", function(craft) { manager.getInventoryContents(440, 2, true, function (err, inventory){ if (err) { console.log(err); } else { var scrap = inventory.filter(function (item) { return item.name == "Scrap Metal" }); var reclaimed = inventory.filter(function (item) { return item.name == "Reclaimed Metal" }); var refined = inventory.filter(function (item) { return item.name == "Refined Metal" }); if (refined.length < 1){ console.log("NO REF"); for (let i = 0; i < reclaimed.length; i++) { tf2.craft([reclaimed[i].id]); //where should i put my recipe in? } } } }); }) https://dev.doctormckay.com/topic/1416-tf2-crafting-recipe/?hl=recipe I tried this code, yes it crafted me some metals, but i want refined metal while it gave me scrap from reclaimed metals. So how can i change my recipe in order to get what i needed? Btw Happy New Year McKay
  11. What is the group steam id in the inviteToGroup https://github.com/DoctorMcKay/node-steam-user#invitetogroupusersteamid-groupsteamid There is two ID, the 64 ones and the id obtain by steam group edit page. What should i put in there?? EDIT 1: Also is there a way to get the profile name of someone using steamID?
  12. Hello, I have a question, I don't know what is the event witch called when u send a invitation to a person, I would like just check if this person have been receive my invitation because Steam create a limitation of invitation and block the request when the MAX of invite per day when this MAX limite is reached. So, client.on('friendRelationship', function(steamID, relationship) { if(relationship == SteamUser.Steam.EFriendRelationship) { console.log(steamID + "Has receive my invitation"); } }); But, When I add a person, this event is not called. Thank's !
  13. Hello, what I should to change if I want to use that custom useragent during login to Steam? const USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36";
  14. game_name from getPersonas is always "", doesn't matter what game they're playing. enablePicsCache is turned on.
  15. Hello Mr, McKay (and suboordinates). Can you please point me in the direction of the correct protobuf/method/recipe to apply name/descript tags to stock items? i found this in the language defintion: NameItem: 1006: NameBaseItem: 1019, I assume I need the latter one, but I can't identify the correct protobuf/recipe to use them. Thank you!
  16. 2 Questions. First one friendOrChatMessage triggers when a room message is typed but it also triggers when a steam message is typed? the room parm can be the room it is typed in or the steam id... Soooo how do i know if its a message in the room? or a message from a user? and 2. How do i send a message to a room that im in?
  17. my code this.client.changeEmail({password: "example", email: '[email protected]'}, (err, needsSmsCode) => { });
  18. How to delete crates automatically with the tf2 package
  19. Hello, I have an issue with deploying application using Steam-user on my server. I had to change dataDirectory (same as module using Steam-user). If I run my app as www-data it works just fine. However I need it to run all the time, so I'm using Ajenti with supervisor (as www-data user). It throws an error: path.js:8 throw new TypeError('Path must be a string. Received ' + ^ TypeError: Path must be a string. Received undefined at assertPath (path.js:8:11) at Object.posix.join (path.js:479:5) at userData (/srv/APP_DIRECTORY/node_modules/steam-user/node_modules/ap$ at Object.AppDirectory._setTemplates (/srv/APP_DIRECTORY/node_modules/s$ at Object.AppDirectory (/srv/APP_DIRECTORY/node_modules/steam-user/node$ at new SteamUser (/srv/APP_DIRECTORY/node_modules/steam-user/index.js:6$ at Object.<anonymous> (/srv/APP_DIRECTORY/bot/index.js:16:14) at Module._compile (module.js:409:26) at Object.Module._extensions..js (module.js:416:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at Object.<anonymous> (/srv/APP_DIRECTORY/routers/index.js:6:7) it refers to: var client = new SteamUser({ dataDirectory: "/srv/APP_DIRECTORY/bot" }); (also everything works ok when I remove bot module) The issue seems to be only when running script with supervisor. I really need to get it up and running, so big thanks in advance! Also BIG, BIG thanks to Dr. McKay for awesome set of tools to deal with this whole Steam madness!
  20. Hello guys, i've got a problem which my brain cant solve Bot should send message to admin (via steam chat) after accepting trade offer (for example), but he dont do it.. Thats my not working code: manager.on('newOffer', (offer) => { if (offer.itemsToGive.length === 0) { offer.accept((err, status) => { if (err) { console.log(err); } else { console.log(`[!]Trade Accepted! Status: ${status}.`); client.chatMessage(76561198074539527, 'Trade accepted! Check bot's inventory!'); }
  21. I am currently programming a Inventoryloader-Bot and I need float values. So I can exstract the inspect-link, but I didn't managed to make a protobufjs request. So I found the node-csgo module for this purpose. My problem is now that the module doesn't work with this kind of Steam User so I want to ask how can I create a node-steam Client Object from a steamuser of this module?
  22. Need some help to solve the problem. The bot run fine in local but it cannot read any modules in the cloud server (heroku)
  23. Hi guys! I have a question. My bot every time when doing trade offer poll execute 3-10 offer polls for every offer, is it ok? Because i think it should execute only one request. Doing trade offer poll since 1511880049 Doing trade offer poll since 1511880049 Doing trade offer poll since 1 (full update) Doing trade offer poll since 1511880049 Here's my tradeoffermanager init: var manager = new TradeOfferManager({ "steam": client, "domain": "hidden", "language": "ru", "cancelTime": 3600000 });
  24. Guest

    mobile phone

    Can I find out if my mobile phone is tied to my account after login ?
×
×
  • Create New...