A Stem plugin that allows 2 accounts to trade one another to remove the captcha restriction.
Linux and OS X steps below:
$ git clone https://github.com/alvinl/stem.git && cd stem
$ npm install
$ npm install git://github.com/alvinl/auto-trader.git
stem
folder..<username>
and place in the stem folder, where <username>
is the bot's username (not display name).
This is to avoid having to login again with SteamGuard and avoid the 7 day trade ban.
bot_1.sentry
then you can copy it over inside the stem
folder like so $ cp bot_1.sentry stem/.bot_1
.$ BOT_USERNAME=bot1 BOT_PASSWORD=botpass node bin/stem auto.json
repeat this command for the second bot. Remember to change BOT_USERNAME
and BOT_PASSWORD
accordingly.$ BOT_USERNAME=bot1 BOT_PASSWORD=botpass node bin/stem auto.json
and the second via $ BOT_USERNAME=bot2 BOT_PASSWORD=botpass node bin/stem auto.json
Remember to check the notes section and available commands
Updates can be installed by going into the stem
folder and running the following command:
$ npm install git://github.com/alvinl/auto-trader.git
.
The following scripts are located in the scripts
folder and can be used to import and convert sentry files into a format that Stem can use.
Use this script to create a sentry file from the shaSentryfile
field in your settings.json
file if you use BP.tf's automatic bot. While inside the stem
folder run the following command to create the sentry file.
$ node node_modules/auto-trader/scripts/import-hash.js <username> <shaSentryfile>
username
- The accounts usernameshaSentryfile
- The value of shaSentryfile
in your settings.json
file.Use this script to create a sentry file that is compatible with stem from the sentry file that the Steam client uses (also known as a ssfn file). While inside the stem
folder run the following command to create the sentry file.
$ node node_modules/auto-trader/scripts/import-ssfn.js <username> <ssfnLocation>
username
- The accounts usernamessfnLocation
- The location of the ssfn file.{
"admins": ["76561198042819371", "76561198042819371"],
"plugins": ["auto-trader"],
"initBot": "76561198089129440",
"initTradeBot": "76561198089063899",
"inventories": ["tf2"],
"cratesOnly": false,
"notifyThreshold": 5500
}
Config values
The following properties need to be filled out:
admins
- An array of strings containing the steamID's of adminsinitBot
- The steamID of the first bot that will be tradinginitTradeBot
- The steamID that the first bot will be trading withinventories
- An array of inventories you want to trade items from.
tf2
, cs:go
, dota2
, steam
"inventories": ["tf2", "cs:go"]
cratesOnly
- Setting this to true
will only allow crates, chests, or cases to be traded.notifyThreshold
- The bot will message users in the admins array once this number of trades has been reachedCommands that you can message the bots
.status
This command will return the amount of trades per minute and trades completed since starting the bot.