Giter Club home page Giter Club logo

tf2-metalbot's Introduction

tf2-metalbot

Automatically craft/smelt metal to keep currencies on a threshold, using node-tf2 to interact with the Game Coordinator.

Installation

You will need node.js.

Windows

Open build.bat, it will download the dependencies with npm and compile the TypeScript files.

Linux

Same as Windows, but with build.sh.

Running

Windows

Open run.bat, or run in the cmd node src/main.js.

Linux

Open run.sh, or run in the shell node src/main.js.

Configuration

The file config.json has a few options you can configure:

  • neverLetScrapsFallBelow: The minimum number of scraps the bot will attempt to keep in your backpack. Default is 3.
  • neverLetScrapsGoOver: The maximum number of scraps the bot will attempt to keep, before crafting them into reclaimed. Default is 6.
  • neverLetReclaimedFallBelow: Same as scraps, but for reclaimed. Default is 3.
  • neverLetReclaimedGoOver: Same as scraps, but will craft into refined. Default is 6.
  • avoidMetalInActiveTradeOffers: Won't use metal that are in active trade offers on crafts/smelts. Default is true.
  • oneShot: If true, will only load your backpack and balance your metal once, and will exit. Otherwise, will actively monitor your backpack for changes. Default is false.
  • accountName: Stores your account name. Shouldn't be modified manually.
  • loginKey: Stores your login key, if you opted to remember the login. Keep this secret.
  • sharedSecret: Stores your shared secret, which, when set, can be used to avoid prompting for Steam Guard codes. Like loginKey, keep this secret.

TODOs/Remarks

  • Right now, as it needs to interact with the GC to both monitor your backpack and craft metal, while the bot is running, your account will seem to be playing TF2.
  • Consequently, opening TF2 while the bot is open will kill the bot, as you can't play the same game in two different instances.

tf2-metalbot's People

Contributors

ekisu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

tf2-metalbot's Issues

Del

Did everything as in the description, 300 items, crafting not working((

guard

Hello! Autologin with Steam guard code does not work?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.