Jump to content
McKay Development

All Activity

This stream auto-updates

  1. Yesterday
  2. Last week
  3. Earlier
  4. Thanks, i must haven't check clearly.
  5. You can't retrieve multiple users' inventories at once, if that's what you're asking.
  6. Yes, once you're logged on you can check the publicIP property of the SteamUser object.
  7. Great, if you need any help with the new version let me know
  8. Thanks for the response, i will clarify my question,i'm looking to run this the method getUserInventoryContents mutltiple times, which will be the best way to perform this action ? There is a way to pass an array of stamid ?
  9. Thanks for the fast reply Now i should use steam-user library for connecting, but i am still confused if it is really using the proxy. Is there a way to check if the steam-user library is using a proxy or not ? something that log the currect ip maybe!
  10. Do you have any idea what "itemid" param stands for? Tried to put assetId, but no success --------------------------------------------------------------------------------------------------------- Nevermind, I was using wrong SteamId, after putting correct one, splitting works as expected. You can use asset id as itemId. Interesting is that you can split only 1 item from stack at once request, so if you have 10 items, you will need 9 requests to separate them. Thanks you so much, you saved a lot of my time!
  11. Your proxy refused your connection.
  12. Rust uses Steam Inventory Service. It's possible that you might be able to use the SplitItemStack API method. I've never tried using it.
  13. Hi Folks, I'm creating trading app with Java porting node projects. RUST supports stacked items and I need to split them in my inventory. I didn't find anything related to splitting in your node projects. Is there any known way to split them at all? Also I noticed that stack is automatically split after entering RUST game. Is this worth to debug RUST api calls? Is there any tutorial on reverse engineering Steam games? Thank you
  14. Here's the error BOOSTSENPAY00 Logged into Steam ------------------------------- BOOSTSENPAY01 Unable To Auth Error: tunneling socket could not be established, cause=connect ECONNREFUSED at ClientRequest.onError (C:\Users\SENPAY98K\Desktop\test\node_modules\tunnel-agent\index.js:177:17) at Object.onceWrapper (events.js:482:26) at ClientRequest.emit (events.js:375:28) at TLSSocket.socketErrorListener (_http_client.js:475:9) at TLSSocket.emit (events.js:375:28) at emitErrorNT (internal/streams/destroy.js:106:8) at emitErrorCloseNT (internal/streams/destroy.js:74:3) at processTicksAndRejections (internal/process/task_queues.js:82:21) { code: 'ECONNRESET' }
  15. Check what the actual error message is in the err.
  16. I am trying to connect my bots with proxies but all i get is Auth Error with community module, while it logs successfully with client module but i don't know if the proxy works or ignored. @Dr. McKay Could you check if iam missing something? // Modules const request = require('request'); const Steam = require('steam-client'); const SteamUser = require('steam-user'); const SteamTotp = require('steam-totp'); const SteamCommunity = require('steamcommunity'); const TradeOfferManager = require('steam-tradeoffer-manager'); const config = require('./config.json'); let proxyUrl = ''; let proxifiedRequest = request.defaults({ 'proxy': proxyUrl }); let community = new SteamCommunity({ request: proxifiedRequest }); let ProxyClient = new Steam.CMClient(); ProxyClient.setHttpProxy(proxyUrl); let client = new SteamUser(ProxyClient); const manager = new TradeOfferManager({ steam: client, community: community, language: 'en' }); const logOnOptions1 = { accountName: config.accountName0, password: config.password0, twoFactorCode: SteamTotp.generateAuthCode(config.twoFactorCode0) }; client.logOn(logOnOptions1); client.on('loggedOn', () => { console.log('BOOSTSENPAY00 Logged into Steam'); console.log('-------------------------------'); client.setPersona(SteamUser.EPersonaState.Online); client.gamesPlayed(440); }); community.login({ accountName: config.accountName1, password: config.password1, twoFactorCode: SteamTotp.generateAuthCode(config.twoFactorCode1) }, function (err, sessionID) { if (err) { console.log(config.accountName1 + ' Unable To Auth'); }; if (!err) { console.log(config.accountName1 + 'Successfully Logged On sessionID: ' + sessionID); }; }); OUTPUT:
  17. You can use the array filter function to filter an inventory to a specific set of items.
  18. Hello, I'm full stack dev, working on a project to improve my full stack skills with node angular and MySQL as database an i was a trader with 2500+ trades confirmed, so i pick this data source that is very interested to manage. for now i'm handling getUserInventoryContents passing an Trade Url, my question is there is a way to verify the currents items of a user inventory, by passing some list of assets id looking for this solution because there is a case, that i need to call getUserInventoryContents for more than one user and verify if this value is updated
  19. It's definitely a good idea for busy bots to prune their polldata once in a while. It should probably be done automatically by the module, but for the moment it needs to be done manually. I have a new major version in the works; I'll see about adding auto-pruning to it.
  20. Hey! So, I've been using this module for a while now, and I went through a problem that I was able to make a workaround but I think that it should have a better solution for it. If you have a busy bot with couple thousand trades a day the polldata.json file will get insanely big with time and since we deep clone it each pool it can REALLY affect the performance of the app overtime. Should we create a cleaning function for the polldata file or do you think there is other solution?
  21. I misread your code the first time. Looks like your problem is actually that addAccount doesn't return anything.
  22. I am still using express js and can get accounts array without a problem. What would you suggest instead of adding them to array ?
  23. var itemlist = require('./itemlist/itemlist.json'); client.on('friendMessage#'+Config.admin, function(steamID, message) { if (message.toUpperCase().indexOf("@changejson") >= 0) { delete require.cache[require.resolve("./itemlist/itemlist.json")] itemlist = require('./itemlist/itemlist.json').data; } }); here is code when bot get your message, it will reset itemlist to new
  24. Hello, I've been trying to code something that would join a gameserver for me and stay online but I didn't manage to do it. Any help would be appericiated.
  25. Thanks, I didn't knew this module I'll have a look Edit : Thanks, that's what I was looking for
  26. Yes, promotional free licenses are not the same as free-on-demand licenses. Those have to be added through the store site. You can use steamstore's addFreeLicense method to acquire a promotional free license.
  27. Hey, thanks for the answer Sadly I just tried with client.requestFreeLicense([640890], (err, grantedPackages, grantedAppIDs) => { log("Adding 640890"); if (err) log("Error adding 640890 : " + err); else log("New packages added : " + grantedPackages + " | New apps added : " + grantedAppIDs); }); But it didn't added the game. I got the result : New packages added : | New apps added : Am I missing something? Or maybe it's because it's promotional free?
  28. accounts is always going to be empty when your /log listener executes, so no accounts will get added and nothing will be returned. I misread the code.
  1. Load more activity
  • Create New...