Jump to content
McKay Development

Go Fast

Member
  • Posts

    21
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Go Fast reacted to Dr. McKay in getSteamUser only updates after I reset my bot   
    You should really just use the WebAPI instead.
  2. Like
    Go Fast got a reaction from Dr. McKay in Auto messages sent every few hours   
    This could be considered as spam, so I wouldn't do it that frequently or at least be more cautious about doing that 
  3. Like
    Go Fast reacted to Dr. McKay in How can I modify values in a Json file?   
    let sold = JSON.parse(require('fs').readFileSync('TotalSold.json').toString('utf8'));
    sold.TotalItemsTraded.TotalKeys += something;
    require('fs').writeFileSync('TotalSold.json', JSON.stringify(sold, undefined, "\t"));
  4. Like
    Go Fast reacted to Dr. McKay in How do I choose the right server host?   
    DigitalOcean is fine. I'd recommend them more now that they've dropped their prices than I would in the past. If you're going with a VPS then you need to read up on security so you don't get pwned.
     
    You probably want at least 2 GB of RAM. 1 GB might work but keep in mind that it also needs to support the entire OS too.
     
    On a reputable host your files are safe. You don't need to encrypt them unless you're really paranoid, and if you do go that route you can't store the key on the server or it'll defeat the purpose.
  5. Like
    Go Fast reacted to Dr. McKay in How can I send offers containing items from 2 different games   
    Sure, just load two inventories and add two items from different games.
    Change the amount property on the item. For example:

    manager.getUserInventoryContents(steamID, 753, 6, true, (err, inv) => {
    if (err) {
    throw err;
    }

    let gems = inv.filter(item => item.market_hash_name == "Gems");
    let item = gems[0];
    item.amount = 300;
    offer.addMyItem(item);
    });
×
×
  • Create New...