Jump to content
McKay Development

Search the Community

Showing results for tags 'question'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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


Last Updated

  • Start


Filter by number of...


  • Start



Website URL




  1. Not sure if it is possible, but I would like to get game's follower count using node-steam-user. What I have tried, is creating a similar method to getPlayerCount, but replacing the message. So, what I came up with looks like this: SteamUser.prototype.getFollowerCount = function(appid, callback) { return StdLib.Promises.timeoutCallbackPromise(10000, [], callback, (resolve, reject) => { this._send(SteamUser.EMsg.ClientFSGetFollowerCount, [730], (body) => { console.log(body); resolve('done'); }); }); }; But with this approach, calling the new method
  2. 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 be
  3. is it possible to comment on users profiles?
  4. Today authorization via steam-user stopped working for me. I do not know why. I changed my authorization to the community module. All my bots have different proxies. But, if I start authorizing several bots at once, then steam throws out a message about a large number of login attempts. What could be the reason for this? What can linked different instances? I am passing to tradeofferManager instance steam-user and steamcommunity. But I log in with steamcommunity.
  5. Hi! I am using steam-user v4.18.0 and using getProductInfo method. For some games there exists release_date, steam_release_date and for some games I can't find any indication about when this game was released. Do you have some advice for me how to reliably get game's release date? Maybe I should use some other method? For example these IDs don't have release date 203160, 221380, 236850, 365590, 220240. But for example CS: GO (id 730) has steam_release_date. Let me know if there is some additional info that I can provide. Thanks!
  6. //Logging ON client.logOn(logOnOptions); client.on('loggedOn', function (details) { if (details.eresult == SteamUser.EResult.OK) { client.getPersonas([client.steamID], function (personas) { console.log("== Logged in =============") console.log('== Name: ' + personas[client.steamID]["player_name"]); console.log('== ID64: ' + client.steamID); console.log("=========================="); console.log(""); }); client.setPersona(5); //"5": "LookingToTrade" -- https://github.com/DoctorMcKay/node-steam-user/blob/master/enums/EPersonaState.js client.gamesPlayed('Accepting Junk
  7. Hello, im trying to handle an InvalidPassword error. const login = (username, password) => { const logOnOptions = { accountName: username, password: password } try{ client.logOn(logOnOptions); } catch(err) { console.log("Can't find the account. Please double check it."); } } login(argum, password); But instead of showing "Can't find the account..." etc, it shows that events.js:174 throw er; // Unhandled 'error' event ^ Error: InvalidPassword at SteamUser.<anonymous> (/home/tanjil/projects/nodejs-projects/steam-farm/node_modules/s
  8. Hi everybody, I i'm trying to post artwork using bot. Was searching for how to do it but found nothing. Is there any way of doing it? Thanks
  9. I set some sessionExpired function, that reconnect the bot to steam when its expired. But when it expires, it reconnect the bot multiple times. The command below send about 20 messages that theres an error, and the error is fixed. Also in console it looks like (picture). Does anyone know wheres the problem ? community.on("sessionExpired", function(err) { client.channels.cache.get("753653286283903126").send('<:false:750799883572609245> **There was an error, fixing the error... <:repairing:755511536423927909>**') .then(sentMessage => sentMessage.delete({
  10. I there any code/function to detect last accepted offer and say what was opponents trade link ??? The reason why do I need it is because when 2 different users got offers, and 1 of them accepts the trade, bot doesnt know who confirmed, (but registered that someone confirmed) so bot sends them both message like "Success trade confirmed "
  11. I have copied this code and need help what i need to change to make it work... Items that bot is requiring opponent has, so the item is existing and if the guy doesnt have the item, console says that. I got this error and dont know why.. . the script is here if(isNaN(amount) || amount === undefined){ console.log('invalid number'); } else{ var count = 0; var i = 0; console.
  12. Hey I wanted to create a bot that farms hours on a few games and if I (player) start let's say CS:GO. The bot will give an error: Logged into Steam Boosting our hours on chosen games ... Set state to Snooze // starting CS:GO here { Error: LoggedInElsewhere at SteamUser._handleLogOff (C:\Users\Admin\node_modules\steam-user\components\logon.js:400:11) at SteamUser._handlers.(anonymous function) (C:\Users\Admin\node_modules\steam-user\components\logon.js:380:7) at SteamUser._handleMessage (C:\Users\Admin\node_modules\steam-user\components\messages.js:235:30) at emitThree (event
  13. Hello everyone! So I've been working on a bot that will invite people to a steam group when they accept the friend request, my following question for this is if it's possible to add random people. For an example: One person adds the bot, then we add all their friends from their friendlist and so that cycle goes on. If you got any ideas then please hit me up. I'll also import my code below. // DEFINES const SteamUser = require('steam-user'); const config = require('./config.json'); const client = new SteamUser(); // CONFIGS var message = "Hello, would you like to be kind and jo
  14. Hello! I'm getting an empty object on setCookies callback, I need to generate an apiKey on Steam before? client.on('webSession', (sessionID, cookies) => { manager.setCookies(cookies, (err) => { if (err !== null) { log.error('Could not set manager cookies', { err }); process.exit(1); return; } log.info('Got API key', { apiKey: manager.apiKey }); }); community.setCookies(cookies); });
  15. Hello, I keep getting a bad request error (400) when I try to post with this function. All the info I have in the function should be correct. Any ideas? community.httpRequestPost("https://steamcommunity.com/market/sellitem/", { data: { 'sessionid': sessionID, 'appid': 730, 'contextid': 2, 'assetid': 18534283110, 'amount': 1, 'price': 1 } }, function(err) { if (err) throw err; }); It gets the sessionID variable from logging in, so that shouldn't be an issue.
  16. Hey Dr. McKay, The bot has several identical items in inventory. [{ market_hash_name: 'Inscribed Tormented Staff', pos: 1, // ... other fields }, { market_hash_name: 'Inscribed Tormented Staff', pos: 2, // ... other fields }] My task is to create 2 TradeOffers for different people and send one of the items. The problem is that all requests are asynchronous. And he creates trades offer for the same item, which is in the same bot inventory position (pos = 1). If you accept one trade, then the second trade is no longer available. What is the b
  17. Hi, I was trying to do some code with this npm package and everything was fine but webstorm still warns me that client.on() is undefined but it's working just fine but it is really annoying to have it there. Is there any way to fix that, I'm kinda new into this stuff so I don't know if I should change something in steam-user package to satisfy webstorm or just leave it be...
  18. Hello, I was using steam web api to get information about a trade, and I want my bot to be able to check what items the user would be receiving, and make a new trade with those same items. I have the code to parse the items to be received, but I am not sure how I would separate each item and create a new trade offer with the information. var url = "http://api.steampowered.com/IEconService/GetTradeOffer/v1/?" + "key=redacted" +"&tradeofferid=3844057934" request({ url: url, json: true }, function (error, response, body) {
  19. Hello, I have a very strange question. Can I transfer session from node-steam to steam client and back? If it's possible please tell me how. @anna96
  20. How do I get the direct detection of the bot when I change the content of the /message file. I do not want to close and open the bot and enter the guard code.
  21. How to comment on the drawing showcase and screenshot and how do I like it?
  22. Hello. everything was perfect before, was working perfectly but now after sending 1 trade it can't send back to the same account. how can i fix this error please help me. C:\node-steam-trade-farm-master\node-steam-trade-farm-master>node bot Main Client Logged In! Bot Client Logged In! The item in which we are using is a/an tan boots Trade offered. Counter is at : 0 Trade #1 Second Account found an Offer! Second Account, has accepted trade. Now sending it back. { Error: There was an error sending your trade offer. Please try again later. ( 15) at Object.exports.ma
  23. Hello, when someone sends a trading offer to the boat. Unknown Command sends message How can I exclude this
  24. So, I have two clients setup and running on my file. I want to be able to get the contents of a trade on the first bot, and pass those items along to the second bot so that it can make a trade accordingly.
  • Create New...