Jump to content
McKay Development

All Activity

This stream auto-updates     

  1. Today
  2. If the language is specified at all, it's going to retrieve item descriptions from Steam.
  3. i think i'll just have to do it via commands since the bot can access item's market name and market hash name even without specifying language in the constructor. btw is it okay to set language in the constructor as blank or really have to remove the language option upon instantiating it? because i want to run my bot with the option of having it enabled or not and access the language from a json file, blank to disable and en to set
  4. Yesterday
  5. I'm trying to do in-game purchase in CS:GO by node-globaloffensive, it need some params. I must to login Steam and CS:GO client to get item_def_id and cost_in_local_currency. Can I get this params by node-globaloffensive? Thank you.
  6. is it possible to get item descriptions without specifying language in the constructor? edit: forgot about this if I set it to 0 and i set a directory in dataDirectory, will it save me memory usage or 0 and 500 does not have much difference?
  7. Last week
  8. You can pass your own request instance to the constructor, with a proxy configured using request.defaults.
  9. Fixed some warnings about deprecated Buffer usage When using inclTokens, package tokens are now automatically grabbed from the license list if available (bug #318) Added support for family sharing (issue #267, thanks to @mlajx in PR #293) This is still considered experimental Docs are available on the GitHub wiki View on GitHub
  10. The config in your screenshot doesn't look like the config for the command_triggers plugin, but I don't think you could attach two commands to the same trigger with that plugin.
  11. Another question then, how is it possible I could add two command triggers to one command in one usage for your commands_triggers code? https://forums.alliedmods.net/showthread.php?p=1850358 One you published here.
  12. I don't think that's going to be possible with your current setup, but maybe that plugin has an option to spoof who the command came from. Dunno.
  13. Keeping data about item descriptions in memory is going to use memory. You can try lowering assetCacheMaxItems.
  14. The rate-limiting is just really aggressive on the confirmation endpoints. If you're running multiple bots on the same IP, you'll need to use a different IP or a proxy.
  15. Hi, I'm not even a little familiar with coding, but I've got my own stuff on hand ready, and I need something quickly. I've a plugin that triggers other commands with a single one. Here comes my question, I've configured a "!bagis" command to send 200 in-game credits to the warden in JB mode, and also write "Console: The warden has received a bonus for their stay." as an in-game-hud message. What I want is to add the name of the code user to the message that pops up prior to the usage of the command, and not - Console. EDIT: What I need more exactly is to make the message show the name of the user whoever uses the command. https://prnt.sc/ta4gs2
  16. After doing offer.send(), I use this function : setTimeout(confirm2FA, 5000, offer.id, 0); function confirm2FA(offerID,tries) { return new Promise((resolve, reject) => { community.acceptConfirmationForObject(config.coinflip.identitySecret, offerID, (err) => { if (err) { if(tries < 2) { tries++; setTimeout(confirm2FA, 25000, offerID, tries); reject('Offer confirmation 2FA: ' + err); } else { console.log("couldnt confirm"); } } else { console.log("confirmed"); resolve(true); // Offer is confirmed by 2FA } }); }); } and I get rate limited (error 429) pretty often, what am I doing wrong? (It usually confirms on the 3rd time)
  17. I am okay with it running 1.5gb2gb but then after around 10-20minutes it crashes with core dump and i have a 3gb server.
  18. Removing the language from the constructor will certainly reduce memory usage if that's a huge concern for you, but of course you'll lose item description data. If all you really need is the items' asset IDs, then that will work.
  19. is there a way to clear them up? btw: here's my instance of tradeoffermanger steamtrademanager = new TradeOfferManager({ 'steam': steam, 'language': 'en', 'pollInterval': 5 * 1 * 1000, 'cancelTime': 1000 * 60 * settings.canceltime,// has value of 30 'pendingCancelTime': 1000 * 60 * settings.pendingcanceltime // has value of 1 });
  20. it has 250 incoming offer history and 500 sent offer history edit: no pending for both category
  21. Added a workaround for a Node.js memory usage issue when loading very large inventories (issue #254) View on GitHub
  22. Does it have tons of trade offers in its near history or something?
  23. sorry for taking too long to reply so, I deleted everything from the directory and the directory itself it is still running around 1.5-1.8gb ram eventhough there's literally no tradable items in the said account compared to the new account where I transferred all of the items, running the same script with just 300-500mb of ram(the buggy account is only run until saving trade-offer-manager cookies)
  1. Load more activity
  • Create New...