Jump to content
McKay Development

Search the Community

Showing results for tags 'node-steam-tradeoffer-manager'.

  • 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, I've been trying to make tf2 trading card bot, but I've run into an issue with item tags, what I'm trying to do is check if the item (in trade) has a tag "Trading Card". Can anyone help me with that?
  2. Hi, need help about item name. How can I show the item name for item that I take from the bot? Currently it only shows the name of item that bot received.
  3. I am having issues with calling this function. I think it has something to do with the function waiting a little while. I have searched for callback etc. on the internet and I found a lot but I have no clue how to use them on the code... Question How do I use sync callback on the function: "getUserInventoryContents" This is what I have now: manager.getUserInventoryContents(config.accounts.steamid64[i],753, 6, true, (err, inventory) => { if (err) { console.log(err); return; } else if (err == null) { //The rest of the code I thought that this would work... I am not the best in node, basically just started... but hope you could help me
  4. hi some times i cant confrim offers in program and confirms on Mobiles Why ?
  5. im write a bot for Send Trade offer by this example -> https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/blob/master/examples/offloader.js and write a Mobile Confirmations+Game Idle Bot by this example -> i cant run 2 bots At a time
  6. Hi, I've been stuck with this issue for a while and can't figure any way around it, Right now I have a key bot and script is very simple - it checks if all items offered are keys and all items I give is refined, but keys never are round number so my question is how do you make script recognize metals and they value - here's my current script: manager.on("newOffer", function(offer) { var onlyKeys = (offer.itemsToReceive.every(function(item) { return item.name == "Mann Co. Supply Crate Key"; })); var onlyRef = (offer.itemsToGive.every(function(item) { return item.name == "Refined Metal"; })); if (onlyKeys, onlyRef) { keyAmount = offer.itemsToReceive.length refAmount = offer.itemsToGive.length console.log("Received trade offer containing " + keyAmount + " keys"); console.log("Payed" + refAmmount "Refined metal per key."); console.log("Accepting the trade."); if (keyAmount == refAmount * 27.66) offer.accept(function(err) { if (err) console.log(err); });
  7. How do you receive market_hash_name when trade offer has been sent to you, and can you get information if the item is craftable?
  8. Ä°s it trade bot right? Ä°f it is tradebot for csgo can I buy it without mobile confirim? I want to confirim manual just accept offers if overpay is it possible? And How To buy it?
  9. Hey Boys and Girls, My bot often get the error 28 because steam goes slow. How should I manage it, that the bot try to accept so long as he accepted it? Thanks for all, who gonna help me!
  10. Hello! I'm trying to send offers. I can create them and I works fine But, when I try to send the confirmation, 80~90% of the times I get this error: "[Error: Could not find confirmation for object XXXXXXXXXX]" The offer is sent, but then I need to confirm it on my mobile device. What can I do to send the confirmation correctly? This is the code I'm using for send it var text_to_send = "Thanks for playing. Here is you reward :D"; var offer = manager.createOffer(trade_url); offer.addMyItems(items_to_send); offer.setMessage(text_to_send); offer.send(function(err, status) { if (err) { console.log(err); return; } if (status == 'pending') { console.log(`Offer #${offer.id} sent, but requires confirmation`); community.acceptConfirmationForObject(confirmation_key, offer.id, function(err) { if (err) { console.log(err); } else { console.log("Offer confirmed"); bbdd.save();//save to the ddbb } }); } else { console.log(`Offer #${offer.id} sent successfully`); bbdd.save();//save to the ddbb } What I'm doing wrong? Is there other way to confirm my offers sent? Thanks for reading this post and have a nice gaming!
  11. I didnt want to submit an issue, because i dont know if its by design. By default the language for the steam-tradeoffer-manager is not set If somebody wants to set it, they need to set it up manually var SteamTradeOfferManager = require("steam-tradeoffer-manager"); manager = new SteamTradeOfferManager({"language": "en"}) ---- When the language is not set, some properties of the trade offer are not accurate. itemsToGive and itemsToReceive show the correct appid, contextid, assetid and classid which is important however marketable, commodity and market restrictions are showing wrong info, all those are false (0). i understand that setting up language will show different descriptions and names in some regions. and by not setting the language, you dont get extra info, which saves bandwidth, and speeds up things. So maybe its useful to set the language to "en" by default.
  12. i have script tradeoffer with node js. i want this script run in my website using php. how to call this script on php
  13. Hi! How to i can get assetid items after accept offer offer.accept(function (err,result) retult return accept or pengind i need get new assetid on my inventory Thank you!
  14. Hello. I have troubles.When bot has error 28 he can`t try to accept offer repeatedly. He wait next trade. What can i do for he was trying to accept trade where he received 28 error manager.on('newOffer', (offer) => { var userID = offer.partner.getSteamID64(); var offerID = offer.id; var prefix = offerID + ' || '; log("New offer #" + offerID + " from " + userID); offer.getUserDetails((err, me, them) => { if(err) { log(err); return; } var i; offer.accept((err, status) => { if(err) { log(prefix + err); return; } else { community.checkConfirmations(); log(prefix + "Accepted trade."); } }); }); });
  15. Error: connect ENOBUFS 104.94.55.49:443 - Local (undefined:undefined) I get this error for loading inventory, sending trade offers on two of my bots? Same error message, any ideas?
  16. How to create multi-bot on the same ip address? When you run two accounts I get the error: "Can't check confirmations: HTTP error 429"How to fix it?
  17. At this point in my code, I just want to accept the offer, until its accepted for real. I'm aware that errors can happen, for example when steam is beeing slow or laggy. In this case I just wanna keep trying until the offer is either accepted or expired. offer.accept(true, function (err){ if(err){ while(offer.state!=3 || offer.state!=8){ offer.accept(); } } }); Could this work, how would it be done better?
  18. hi how can write steam trade offer manager i pay for this
  19. Hey, I've played around a little with the library you're offering us. However, my little application just gets stuck at some point, and I don't really get why. Code: manager.on('newOffer', function (offer) { var itemsToReceive = offer.itemsToReceive; var itemsToGive = offer.itemsToGive; if (itemsToGive.length >0) {} }else{ offer.accept(function (err) { if(err){ console.log("Unable to accept offer: "); } console.log("offer accepted "+itemsToReceive.length+" Keys received"); }); } } ); I'm loging in, setting cookie etc. following your examples. However this should accept any offer that it gets as long as its empty on my bots side. But after some time it just gets stuck and doesn't accept anymore. I can also press control + c in my terminal then, to exit the code where it got stuck at. And another question: How can I make a callback to do the offer.accept over and over again, until its done / gone? (steam has issues too often). Thank you for reading & thanks for your great work
  20. Lately, I've been having this error when i try to send a trade, but it doesnt happend always, only one or twice a day for example. Why does this happen? A piece of my code: var trade = offers.createOffer(steamid); trade.addTheirItems(pooluser); trade.setToken(token); trade.send(function (err, status){ if (err) { console.log(err); } else { console.log("Offer sent"); console.log(status); } });
  21. Hi all! How do i track 15 days delay to user trade offer? (if because of user current trade will be hold for 15 days)
  22. I have a code to obtain cookies: community.login({ ... login data ... }, function(err, sessionID, cookies, steamguard){ fs.writeFileSync("cookies.json", JSON.stringify(cookies)); }) (Sorry for this format of code, writing post from phone. And to be clear i am receiving any login error) Then i take cookies file and proceed to the main app. manager.setCookies(cookies, function(err){ if(err){ throw err; // getting Not Logged In } ... }); (manager object is being set at the start of the code) why manager.setCookies requires to be logged in, when i am providing valid cookies?
  23. PROBLEM (WATCH VIDEO): <iframe width="560" height="315" src="https://www.youtube.com/embed/c-5_hREIQPs" frameborder="0" allowfullscreen></iframe> Please help me guys
×
×
  • Create New...