A Stem plugin that allows 2 accounts to trade one another to remove the captcha restriction.
Linux and OS X steps below:
- Install Stem
$ git clone https://github.com/alvinl/stem.git && cd stem
$ npm install
- Install the auto-trader plugin
$ npm install git://github.com/alvinl/auto-trader.git
- Create a config file called auto.json (this can be named anything as long as it's a json file) with the contents below.
- Make sure this file is created inside the
stem
folder.
- (Optional) If you have previous sentry files saved for your accounts you will need to copy them over. Rename them to
.<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.
- Example: If you have a sentry file for your account named
bot_1.sentry
then you can copy it over inside thestem
folder like so$ cp bot_1.sentry stem/.bot_1
. - If you use backpack.tf-automatic, run the import-hash.js script to create a sentry file that can be used with Stem.
- You can also use the import-ssfn.js script to import the sentry file (ssfn) that the Steam client uses.
- Start the bot
$ BOT_USERNAME=bot1 BOT_PASSWORD=botpass node bin/stem auto.json
repeat this command for the second bot. Remember to changeBOT_USERNAME
andBOT_PASSWORD
accordingly.- Example: Start the first bot with the following command
$ 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 ofshaSentryfile
in yoursettings.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.- The following games are currently supported:
tf2
,cs:go
,dota2
,steam
- Multiple inventories example:
"inventories": ["tf2", "cs:go"]
- The following games are currently supported:
cratesOnly
- Setting this totrue
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 reached
- Verify that the 2 accounts that are trading each other are friends with one another and have at least 5 TF2 items in each account.
- There are some cases where the bots may stall while trading each other, restarting both bots will fix this.
- If there are any crashes please open an issue with the crash log.
- If you have any questions please open an issue regarding them.
Commands that you can message the bots
.status
This command will return the amount of trades per minute and trades completed since starting the bot.