Jump to content
McKay Development

Search the Community

Showing results for tags 'node.js'.

  • 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. HI, i trying to write a bot manager for trading, i try to get my secrect id and shared code by using this code: var SteamCommunity = require('steamcommunity'); var community = new SteamCommunity(); community.login({ "accountName": "MyAccountName", "password": "MyPassword", "twoFactorCode": "6 char code that i receive from steam guard mobile" }, function (err, sessionId, cookies, steamGuard, token) { if (err) { console.log(err); } else { community.loggedIn(function (err, result) { if (err) { console.log("loggedIn error: ", err); } else { community.enableTwoFactor(function (err, response) { if (err) { console.log("twoFactor Error: ", err); } else { console.log("response", response); community.finalizeTwoFactor(response.shared_secret, test, function(err, result){ if("finalizeTwoFactor Error: ", err) { } else { console.log("finalizeTwoFactor Success: ", result); } }); } }); } }); } }); I enabled my bot account with steam guard mobile, and verify the number, but when i try to start that code i get this error: twoFactor Error: { [Error: Error 29] eresult: 29 } what did i miss here? i try to search in this forum and google but i can't find my answer.
  2. Hello guys, i need to pull the item names when came some offers. I need because i have to calculate the item costs. Thanks.
  3. Hello again... Now i get this follow error on my console: Error: There was an error sending your trade offer. Please try again later. (15) Normal steam error or what?The guy that im trying to trade have only 8 items in inventory, so it cant be full. Thank you.
  4. Hello guys. Sometimes im getting errors with the steambot. The error that i get is on offer.getReceivedItems, that doesnt return array items, so that doesnt regist the name. Already tryed this follow part of code: http://pastebin.com/RFc2KiEd either with true or with nothing sometimes doesnt regist the name.
  5. Hello. Is any option to get the list steamid of friends. Thanks.
  6. I don't know why but yesterday I have 429 error on all my bots and all my VDS, do somebody know what's happen?
  7. How do i make it so my bot will only accept offers where i am being sent csgo keys for free.
  8. How can i make a trade cancel because i was looking at the offer.expires and idk how to set it just for 5 minutes to expire. Please help. Thanks!
  9. Hi all, I'm trying to setup node-steamcommunity to accept trade offers from my VPS. I just copied simple script from node-steam-tradeoffer-manager: steam.login(logOnOptions, function(err, sessionID, cookies, steamguard) { if (err) { console.log("Steam login fail: " + err.message); process.exit(1); } fs.writeFile('steamguard.txt', steamguard); console.log("Logged into Steam"); manager.setCookies(cookies, function(err) { if (err) { console.log(err); process.exit(1); // Fatal error since we couldn't get our API key return; } console.log("Got API key: " + manager.apiKey); }); steam.startConfirmationChecker(5000, config.sharedSecret); // Checks and accepts confirmations every 30 seconds }); It works on my local machine (windows 10) - bot is able to accept confirmations. I tried to run this on my VPS (debian) but I'm still getting error: I checked every issue on github, every post on forum but still don't know what is going on. On my VPS and local computer I have the same time. I tried to modify time on my vpsy with: " date -s "5 seconds ago"" and " date -s "5 seconds" but it doesn't work. VPS is located in France, my local computer is located in Poland. I also tried with dedicated server from online.de, problem still exists. I added: console.log(SteamTotp.time()); to my script and I see the same timestamp on both machines. Guys - could you help me?
  10. So im using offer.loadPartnetInventoy and im getting this error /root/node_modules/steam-tradeoffer-manager/node_modules/steamcommunity/components/users.js:292 callback(null, inventory, currency); ^ TypeError: callback is not a function at SteamCommunity.<anonymous> (/root/node_modules/steam-tradeoffer-manager/node_modules/steamcommunity/components/users.js:292:5) at Request._callback (/root/node_modules/steam-tradeoffer-manager/node_modules/steamcommunity/components/http.js:62:14) at Request.self.callback (/root/node_modules/request/request.js:198:22) at emitTwo (events.js:100:13) at Request.emit (events.js:185:7) at Request.<anonymous> (/root/node_modules/request/request.js:1035:10) at emitOne (events.js:95:20) at Request.emit (events.js:182:7) at IncomingMessage.<anonymous> (/root/node_modules/request/request.js:962:12) at emitNone (events.js:85:20)
  11. I am really bad at coding in nodejs because to me its confusing because i know to many languages but do you think i can get an example to work off of for checking this?
  12. I'm planning on releasing a new major version of steam-tradeoffer-manager of v2.0.0. So far, what I'm planning to do is: Move token and message out of the TradeOffer#send() method and into methods like setMessage and setAccessTokenHard requirement for node.js v4.0.0 or later (currently package.json suggests that you need v4 or later, but v2 would make this an absolute requirement)This should be addressed.Since this is a major change and they're meant to be few and far between, there's no point in wasting it! If you have any suggestions of stuff that could be added, or things that have just annoyed you, I'd love to hear them!
  13. So im trying to make a withdraw system on my site and i found out assetids change after the trade. So how can i get the new one to store in a database?
  14. Sometimes when I add too many items in one trade offer. When it is complete. pollFailure shows an err:Error: Data temporarily unavailable And normally it doesn't happen in those trade offers with few items. So is there a suggested number?
  15. Hi, I tried to mess around with the module but didn't manage to get the bot to only accept empty tradeoffers. I want the bot to automatically accept items but never give any. I'd also like the bot to auto-accept these empty trades where it can receive these items but let the regular 1:1, 2:1 etc tradeoffers pending. So that I can accept or decline them manually. Thank you very much for the help !
  16. Hey, we use the tradeoffer manager to let the user deposit on our system. For that we only let them deposit skins and don't take skins from our bot. In this case we check the offer and after accept it we use the getReceivedItems function to recheck the offer + read the item ids. in 70% of the cases all works fine. But on the 30% of cases even if we try it up to 180 times over 12 hours the receivedItems is still 0 But the offer is definitly accepted and the items which was in this trade are on our account. Since we checked it 180 times over 12 hours i don't think there is a error bec steam is down or something. Maybe you've got an idea guys?
  17. LoggedIn function will always false. The regular expression /steamcommunity\.com(\/(id|profiles)\/[^\/]+)\/?/ does not work in my case: https://steamcommunity.com/login/home/?goto=%2Fmy Sorry for my english. Translated by Gogle Translate/
  18. I am using node steam-user module in nodejs. When I am creating client using following code:- var client = new SteamUser({ promptSteamGuardCode: false }); I can't get into this function.It doesn't respond at all. client.on('loggedOn', function(detail) { console.log("Logged in with "); }); i have also tried on('debug') nothing works. please help. It works in my friends pc . OS-windows 7.
  19. So I am using csgonetwork 1.4 script in my site, and also I am using the bot they give, I have every thing done as they said, and I am running the bot on my pc, I instaled python and node.js and configure the bot/sell.js file as in instructions, I am also using Git Bash to execute the sell.js file, after I exe the command "node sell.js" I got this text So far every thing is good, my bot goes online and even had the status "want to trade" but after a wile I got this errors in the promp Well I never change that files mentioned ther, and I am used to work with codes, I used to have php, html, mysql... etc... at the school, even that is not my area I know how to read and use the codes and change what I need, but never worked with node before, and js even I have class about that it was not my best.. so if someone could help me I would appreciate btw some times executing the "node sell.js" command I got this error, but this one is related to steam bad connection at least is what I think since every IP show in there are valve related, only 2 are my db IP(that I am using inseted of "localhost") but I will hide that one and give you the info.
  20. Hi, I'm a little confused about the uses of steam-user. I'm creating a trade site and for the bot I'm using steam-client/steam-user/etc without problems. But in the website, I need get the info of a logged users into Steam for example their avatars. Is a good idea use steam-user for this kind of functionalities or I need other package that wrap the Steam Web Api like steam-web? Thanks.
  21. Hello, i have a problem which happens not so often but it is very annoying. My jackpot bot tried to accept one offer and got this message "Error: Cannot load new trade data: Data temporarily unavailable", then tried to accept offer one more time and got another message "[Error: There was an error accepting this trade offer. Please try again later. (11)] eresult: 11". Offer was accepted but items didn't come into pot.
  22. Hi, sometimes this happens: Offer #1248497400 changed: CreatedNeedsConfirmation -> Active /home/nodebots/node_modules/steam-user/components/web.js:9 if (this.steamID.type === SteamID.Type.ANON_USER) { ^ TypeError: Cannot read property 'type' of null at SteamUser.webLogOn (/home/nodebots/node_modules/steam-user/components/web.js:9:18) at tryOnTimeout (timers.js:224:11) at Timer.listOnTimeout (timers.js:198:5) Whats wrong?
×
×
  • Create New...