Jump to content
McKay Development

Cubson

Member
  • Posts

    15
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Uzbekistan, Tashkent

Cubson's Achievements

  1. Native support for changing the count parameter. So I'll have to edit the library to add that?
  2. Thank you very much! But no native support if I understood you correctly?
  3. I only want to get the amount of gems a user has, so I don't have to load the whole inventory because gems are (usually) the first item in all Steam inventories. Is there any way to achieve that without loading the wholle inventory?
  4. Oh, so it's about the new comments that appear after you send yours?
  5. So you think both /-1 and the count param are responsible for the same thing?
  6. "uri": "https://steamcommunity.com/comment/Profile/post/" + userID.toString() + "/-1", "form": { "comment": message, "count": 6, "sessionid": this.getSessionID() }, What's -1 in the end of the URI and what's "count" param?
  7. Actually the main thing I want your lib to get is ability to get all comments and delete them. We are making an anti-spam bot with my friend.
  8. Are you going to implement this feature in future? If yes, will it happen soon or not?
  9. Hey, is there a way to send comments to workshop items and guides?
  10. Hello, I want to make a script that'll automatically write a custom message to everyone who invites me to play CS:GO. How can I do it? And I'm a very big noob in JavaScript and Node.JS and because of it I beg you to explain everything step-by-step.
  11. I experienced this when I withdrawed some things from the site, then I checked status and it told me that everything is fine, items are in steam inventory. I didn't accept the trade by myself and even tried to send it from another account. And it successfully accepted all trades.
  12. const SteamUser = require('steam-user'); const SteamTotp = require('steam-totp'); const SteamCommunity = require('steamcommunity'); const TradeOfferManager = require('steam-tradeoffer-manager'); const client = new SteamUser(); const community = new SteamCommunity(); const manager = new TradeOfferManager({ steam: client, community: community, language: 'en' }); const logOnOptions = { accountName: 'hereismylogin', password: 'hereismypassword', twoFactorCode: SteamTotp.generateAuthCode('hereismysharedsecret') }; client.logOn(logOnOptions); client.on('loggedOn', () => { console.log(' > Logged into Steam'); client.setPersona(SteamUser.Steam.EPersonaState.Online); client.gamesPlayed("Steam Test Bot by Cubson [Not Busy]"); }); client.on('webSession', (sessionid, cookies) => { manager.setCookies(cookies, function(err) { if (err) return console.log(err); console.log(" > Got API key!"); }); community.setCookies(cookies); community.startConfirmationChecker(6000, 'hereismyidentitysecret'); }); manager.on('newOffer', (offer) => { client.gamesPlayed("Steam Test Bot by Cubson [Busy]"); if (offer.partner.getSteamID64() === 'firsttrustedguysteamid' || 'secondtrustedguysteamid') { offer.accept((err, status) => { if (err) { console.log(err); client.gamesPlayed("Steam Test Bot by Cubson [Not Busy]"); } else { community.checkConfirmations(); console.log(`Accepted offer. Status: ${status}.`); client.gamesPlayed("Steam Test Bot by Cubson [Not Busy]"); } }); } }); What's wrong? And I'm a very big noob in JavaScript and Node.JS and because of it I beg you to explain everything step-by-step. P.S. Maybe update to IPB 4?
×
×
  • Create New...