Jump to content
McKay Development

Search the Community

Showing results for tags 'node-steamcommunity'.

  • 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. Hey, is there a way to send comments to workshop items and guides?
  2. Hello, I have a few accounts linked to manager, and I noticed oAuth logins expiring after 1 year after add, and now these accounts which I added 1 year ago, giving me HTTP 401 errors, I need to relog again with steam guard code and it works again. is there any chance to prevent expiring oAuth logins after 1 year?
  3. Hello. Is it possible to get all comments on a Steam profile via some node modules, or I need to scrap html?
  4. Hello I can't find, is possible to buy game as gift for friend?
  5. Valve updated the steam web chat, it seems that its works differently. Anyone has any solution other than understand how this system works, maybe login into the old steam web chat?
  6. Hello! I'm developing a bot, one function of which is posting EmoticomArt in User profile: https://steamcommunity.com/id/7Pony/ You can see examples in the comments section. I ran into a problem that I myself can not solve: Comments posted by a bot are always long. Plus, there should be some stock, designed for additional text. // USER - receiver; POSTCARD - EmoticonArt; SPLITMESSAGE - optional, comments or any other text USER.comment(POSTCARD + " \n " + SPLITMESSAGE, (ERR) => { if (ERR) { console.log("fail: " + ERR); } else { console.log("done!"); } }); Everything would be fairly easy if the limit was always equal 1000 symbols.Bot can post: //989: Postcard=":::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::" //1000: "aAaAaAaAaAaAa…" etc.But try to Post comment with emoticons: //660, result = done! Postcard":rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg:" //668, result = error Postcard+":rg::rg:" //or 668, error Postcard+"aAaAaAaAa" //More examples: // ~850, OK: ":greentwist::greentwist::spikeball::spikeball::spikeball::spikeball::spikeball::greentwist::greentwist: \n :greentwist::spikeball::Hackingart::Hackingart::spikeball::Hackingart::Hackingart::spikeball::greentwist: \n :spikeball::Hackingart::Hackingart::Hackingart::Hackingart::Hackingart::Hackingart::Hackingart::spikeball: \n :spikeball::Hackingart::Hackingart::Hackingart::Hackingart::Hackingart::Hackingart::Hackingart::spikeball: \n :spikeball::spikeball::Hackingart::Hackingart::Hackingart::Hackingart::Hackingart::spikeball::spikeball: \n :spikeball::spikeball::spikeball::Hackingart::Hackingart::Hackingart::spikeball::spikeball::spikeball: \n :greentwist::spikeball::spikeball::spikeball::Hackingart::spikeball::spikeball::spikeball::greentwist: \n :greentwist::greentwist::spikeball::spikeball::spikeball::spikeball::spikeball::greentwist::greentwist:" // ~760, Eroor": ":mundodanger::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::mundodanger: \n :rg::wbox::SNF4::SNF4::SNF4::SNF4::SNF4::wbox::SNF4::SNF4::SNF4::SNF4::SNF4::wbox: \n :rg::SNF4::wbox::SNF4::SNF2::SNF5::SNF4::wbox::SNF4::SNF1::SNF4::SNF4::wbox::SNF4: \n :rg::wbox::SNF4::wbox::SNF4::SNF4::SNF4::wbox::SNF4::SNF4::SNF4::wbox::SNF4::wbox: \n :rg::wbox::SNF2::wbox::SNF4::SNF4::wbox::wbox::wbox::SNF4::SNF4::wbox::SNF1::wbox: \n :rg::wbox::SNF4::wbox::SNF4::SNF2::SNF4::wbox::SNF4::SNF1::SNF4::wbox::SNF4::wbox: \n :rg::SNF4::wbox::SNF4::SNF4::SNF4::SNF4::wbox::SNF4::SNF4::SNF4::SNF4::wbox::SNF4: \n :rg::wbox::SNF4::SNF4::SNF2::SNF4::SNF4::wbox::SNF4::SNF4::SNF4::SNF1::SNF4::wbox: \n :mundodanger::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::rg::mundodanger:"Thus, the length of the comment with emoticons can be from 660 to ~900-1000 symbols.I also thought that there is a limit to emoticons, but here I did not find any logic.
  7. I cant load my personal user by this method.What im doing wrong? community.getSteamUser('76561198114587613', function(err, user) { if (err) { console.log(err); } else { console.log(user); } });
  8. Hello, I'm using card bot (lvl up bot) with public source code everything is working fine, but I want to do this bot more effective this bot using: community.startConfirmationChecker(10000, CONFIG.IDENTITYSECRET); and I don't like this method, I trying to use acceptConfirmationForObject, but I think I'm doing something wrong community.on("newConfirmation", (CONF) => { console.log("## New confirmation."); community.acceptConfirmationForObject(CONFIG.IDENTITYSECRET, CONF.id); });because if I remove "community.startConfirmationChecker" my trades are not accepted when I use: "community.on("newConfirmation", (CONF) => {" I don't even see console logs with "console.log("## New confirmation.");" did I do something wrong? I want to remove startConfirmationChecker and using only acceptConfirmationForObject
  9. What cookies names should we add to a session in order to be considered as logged-in ??
  10. Hi, I'd like to get the lowest price of a Background/Emoteicon on the market. I already figured out how to do that, but for some reason this will ONLY work for anything but Steam items.. Code https://pastebin.com/ujkfYLLa Also, what's the optimal frequency to use this function? Just so I don't spam it too hard.
  11. How do you get the current gameS of you and your friends? (including non-steam game)
  12. I get this error every so often, I don't know where it's coming from so I don't know how to log in once it happens. This isn't part of the sessionExpired event, as I have this in my code: community.on("sessionExpired", function(err) { console.log("## Session Expired, relogging."); client.logOn(logOnOptions); }); help?
  13. i have the problem, that my bots will stop confirming trades (mobile auth) when they are running for a while. it is completed random, the bots can work for hours sometimes even days without problems and then they will stop to confirming the mobile auth trades. when i shutdown the bots and start them again, then they will confirm the open mobile auth confirmations. so it looks like that the steam servers are not answering or answering with an error or something? is there an debug function, so that i can see an error message why they stop confirming the trades? thank you!
  14. So, I am trying to do some curator stuff with node-steamcommunity. However, for some reason, my simulated requests failed. For example: const formdata = { sessionid: community.getSessionID(), clanid: offer.clanid, appid: offer.appid, action: `accept` }; user.once(`webSession`, () => community.httpRequestPost({ url: `https://store.steampowered.com/curator/${offer.clanid}/admin/ajaxrespondoffer`, form: formdata, // jar: jar, headers: { // ":authority": `store.steampowered.com`, // ":method": `POST`, // ":path": `/curator/${offer.clanid}/admin/ajaxrespondoffer`, // ":scheme": `https`, "Accept": `*/*`, "Accept-Encoding": `gzip, deflate, br`, //"accept-language": `nl-NL,nl;q=0.9,en-US;q=0.8,en;q=0.7`, "Content-Length": `77`, "Content-Type": `application/x-www-form-urlencoded; charset=UTF-8`, "Cookie": community._jar.getCookieString(`https://store.steampowered.com`), "DNT": `1`, "Origin": `https://store.steampowered.com`, "Referer": `https://store.steampowered.com/curator/${offer.clanid}/admin/pending`, //"user-agent": `Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36`, "X-Requested-With": `XMLHttpRequest` } }, acceptedCuratorConnectOffer)); user.webLogOn(); I tried to experiment with headers, but that doesn't seem to do anything. Could it be because of https? Or protocol being h2?
  15. Sup guys. I've been getting this error every once in a while when trying to confirm a trade: ``` 14|trade | Error: Could not act on confirmation 14|trade | at /root/tradingbot/node_modules/steamcommunity/components/confirmations.js:145:12 14|trade | at SteamCommunity.<anonymous> (/root/tradingbot/node_modules/steamcommunity/components/confirmations.js:276:3) 14|trade | at Request._callback (/root/tradingbot/node_modules/steamcommunity/components/http.js:67:15) 14|trade | at Request.self.callback (/root/tradingbot/node_modules/request/request.js:186:22) 14|trade | at emitTwo (events.js:125:13) 14|trade | at Request.emit (events.js:213:7) 14|trade | at Request.<anonymous> (/root/tradingbot/node_modules/request/request.js:1163:10) 14|trade | at emitOne (events.js:115:13) 14|trade | at Request.emit (events.js:210:7) 14|trade | at IncomingMessage.<anonymous> (/root/tradingbot/node_modules/request/request.js:1085:12) ``` Here is my code (it's monstrously horrendous. Ive cut too many corners to neaten it): ```js acceptOffer(offer) { return new Promise((resolve, reject) => { offer.accept((err, status) => { if (err) { if (err.message == 'Not Logged In') { this.once('managerCookies', () => { this.acceptOffer(offer) }) return } return reject(err) } this.manager.once('receivedOfferChanged', (offer, oldState) => { if (offer.state == 3) { this.pushBullet.note('Trade Offer Accepted:', `Giving: \n${offer.itemsToGive.map(item => item.market_hash_name).join('\n')} \nReceiving: \n${offer.itemsToReceive.map(item => item.market_hash_name).join('\n')}`) offer.getReceivedItems((err, items) => { this.emit('debug', 'Accepted trade offer') this.emit('debug', 'Updating inventory cache') this.backpack.loadBptfInventory() .then(() => { this.emit('debug', 'Loaded BPTF inventory') for (let item of items) { if (this.prices[item.market_hash_name]) { if (!this.prices[item.market_hash_name].isCurrency) { this.emit('debug', 'Attempting to list the item') this.backpack.createSellListing(item.id, this.backpack.scrapToRef(this.prices[item.market_hash_name].sell)) .then(res => { if (res.listings[item.id].created == 1) { this.emit('debug', 'Created Listing') } else { this.emit('debug', 'Error creating listing') } }) .catch(err => { this.emit('debug', err) }) } } } }) .catch(err => { this.emit('debug', 'Error loading my bptf Inventory...') this.emit('debug', err) }) //should do error handling here. }) return resolve(true) } }) this.community.acceptConfirmationForObject(this.logOnOptions.identitySecret, offer.id, err => { if (err) { return reject(err) } }) }) }) } ```
  16. Title says it all. How would i go about checking if a steamid64 is your friend? am having some crashing issues with my bot attempting to message non friends.
  17. Hello, I have a question. I would like to send httpRequest request on store.steampowered.com website. But I noticed that after login cookies are set only on steamcommunity.com website. For this reason I am able to do it, but only as "guest" user. Is it possible somehow to send a request and stay online? I think It will be pretty good idea to share cookies between store and community like Steam does. Because both websites using the same cookie. Thank you.
  18. Hey i'm wondering is there any option to make steam bot that will buy games from steam store?
  19. Hi, Is possible to see how many days left '7 days trade ban' for csgo item ? cant find this information in CEconItem{}. Regards, Thank you
  20. Hello. Maybe someone has encountered such a problem.Here is my code: const SteamCommunity = require('steamcommunity') const SteamTotp = require('steam-totp') const request = require('request') var myProxy = request.defaults({'proxy': 'http://104.***.***.*3:3128' }); const client = new SteamCommunity({ "localAddress": myProxy, "request": myProxy, }); client.login( loginOptions, function(err, sessionID, cookies, steamguard) { if (err) console.log('ERROR', err) }); How can i solve this?
  21. After a somewhat long hiatus from programming bots I decided to come back to it and found that SteamCommunity no longer has a "newConfirmation" event. Can somebody please give an example of how catching and dealing with confirmations is done now? Thanks
  22. community.httpRequestPost({ "uri": "https://steamcommunity.com/profiles/" + client.steamID.getSteamID64() + "/ajaxsetshowcaseconfig", "form": { "appid": 730, "item_contextid": 2, "item_assetid": 11692952310, "customization_type": 4, "slot": 0, "sessionid": sessionID }, "json": true }, (err, response, body) => { console.log("err:", err); console.log("body:", body); }, "steamcommunity"); I'm trying to play a little with the profile showcases, the idea is to make a change in the item that are showed in a desired slot, but for some reason it doesn't work, all the data passed in the POST are definetely right, you guys have an idea on how to make it work?
  23. Greetings, while working on my bot's setting module, I ran into an issue. When calling `editProfile` or `profileSettings` callback with error is returned saying. "Error: options.uri is a required argument" But earlier this week it was working just fine. This is how I'm calling it, if that's any of help. // When calling this function, "profile" object is being passed. let self = this; this.name = profile.name; this.description = profile.description; this.picture = profile.picture; this.community.editProfile({ name: self.name, summary: self.description }, (err) => { if(err){ return callback("Unable to update profile information."); } }); this.community.profileSettings({ profile: 3, comments: 3, inventory: 3, inventoryGifts: false }, (err) => { if(err){ return callback("Unable to update profile settings."); } });
  24. Hello, I'd been trying to get the acceptConfirmationForObject working with below code community.acceptConfirmationForObject(checker, extraObj["trade_id"], function (err) { if (err) { console.log('called transferItem here 7.01 acceptConfirmationForObject got error \n'+util.inspect(err, false, null)); } else { console.log('called transferItem here 7.02 acceptConfirmationForObject succesfull '); } }); But it keeps giving me this error: It looks like your Steam Guard Mobile Authenticator is providing incorrect Steam Guard codes. This could be caused by an inaccurate clock or bad timezone settings on your device. If your time settings are correct, it could be that a different device has been set up to provide the Steam Guard codes for your account, which means the authenticator on this device is no longer valid. The steam-community version I've is 0.2.2 and when I check for latest available with this command npm view steam-community versions the highest it gives is 0.2.2 while the least version that's needed is 3.27.0 as written in doc https://github.com/DoctorMcKay/node-steamcommunity/wiki/SteamCommunity#acceptconfirmationforobjectidentitysecret-objectid-callback Not sure even though I've very low version than why is even community object giving me that function and why in version list it shows the available version up to 0.2.2? Do I've to upgrade all other modules to get the latest version? In between rest of the things with trade are working fine and even the shared secret is working for auto login without asking for steam guard code and the time in steam guard device and my server is same so please help me figure out what is the issue. Thanks
  25. 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
×
×
  • Create New...