Skip to content
IdiNium edited this page Oct 25, 2020 · 21 revisions

Table of Contents

Steam Desktop Authenticator

Steam Desktop Authenticator is a desktop implementation of Steam's mobile authenticator app. Which you can use if you for example do not have a phone, or if you need easy access to your account secrets for a bot account.
You can download it here

Where are my account secrets?

You can find your shared_secret and identity_secret by going to your Steam Desktop Authenticator folder, then into the maFiles folder. Here you will find account files. Find the one with your steamID and open it.
If you are unable to read anything, your file is likely encrypted. Check out Decrypting and Encrypting below.
If it is not encrypted, simply copy and paste the shared_secret and identity_secret into your bots ecosystem.json or .env file. Depends on which one you are using.

Decrypting and Encrypting

If your file is encrypted, meaning the contents probably look something like AJHSASJLDHASKLJHD87ASDASLNJ3S..., you can decrypt it by opening Steam Desktop Authenticator, clicking Setup Encryption on the top right, enter your passkey and then click Accept 2 more times, without entering in a new passkey.
Now re-open your maFile. You should be able to get your secrets now.

Trading

I set my items to bank, my bot bought one but never put it to sell. Why?

For your information, every time the bot bought/sold any items, it will run a check on the price list whether a listing for that item already been created or removed. When your bot did not put an item that it bought to sell, it's probably because Backpack.tf still did not fully load your items in their item server. If you see your bot backpack and the item already appeared, make sure it's not in Using Fallback status, or you can try to send !refreshlist to your bot, which your bot will execute checks on all items that it has and create sell orders for the missing items.

Why are my buy orders just suddenly disappearing by time?

We don't have enough information regarding this issue. It could be a ratelimit with backpack.tf when your bot updating prices on a lot of items. The only way to solve this issue is by restarting your bot, or just let it recover by itself.

How much does bot count a Craftable weapon as? 0.05 or 0.11 ref?

All craft weapons listed here are counted as 0.05 ref IF you set DISABLE_CRAFTWEAPON_AS_CURRENCY as false and you did not add that particular item in your price list.

IF you set DISABLE_CRAFTWEAPON_AS_CURRENCY to false AND you manually add and set the price, it will not count as 0.05 ref, instead will follow your manually set prices.

IF you set DISABLE_CRAFTWEAPON_AS_CURRENCY to true, then all of that craft weapons will not be priced if you not manually set the prices.

Why my bot don't accept/decline the trade automatically?

If someone sent an offer with wrong values, any items that are not in the pricelist, items that already reached maximum stock and etc, and ENABLE_MANUAL_REVIEW is set to true, then you should expect this to happen.

Some descriptions of each reason:

🟥_INVALID_VALUE

The value of your side (Asked) and the trade partner side (Offered) and not equal or more. If you want to automatically decline any offer that ONLY has this reason, you need to set DISABLE_AUTO_DECLINE_INVALID_VALUE to false. You can also set an exceptional value for an offer with this reason to be accepted by filling the item sku(s) in the INVALID_VALUE_EXCEPTION_SKUS array and set the INVALID_VALUE_EXCEPTION_VALUE_IN_REF value. Find more about it here.

🟦_OVERSTOCKED

Some of their items might already in your bot inventory and will reach or have already reached maximum stock if you accept the trade. The bot will automatically accept overstocked offers by default if the trade partner is overpaying. If you don't want this, simply set DISABLE_ACCEPT_OVERSTOCKED_OVERPAY to true. If you want your bot to automatically decline any offer that ONLY has this reason, you'll need to set DISABLE_ACCEPT_OVERSTOCKED_OVERPAY to false.

🟩_UNDERSTOCKED

Some of our items will be less than the minimum stock if you accept the trade (if you set the item minimum to other than 0). Your bot will automatically accept understocked offers by default if the trade partner is overpaying. If you don't want this, simply set DISABLE_ACCEPT_UNDERSTOCKED_OVERPAY to true. If you want your bot to automatically decline any offer that ONLY has this reason, you'll need to set DISABLE_ACCEPT_UNDERSTOCKED_OVERPAY to false.

🟨_INVALID_ITEMS

Some of the items are not in your bot price list. If you have used tf2-automatic before, any INVALID_ITEMS items will not be priced (0 keys, 0 ref value), but TF2Autobot will get the price of that particular item from prices.tf and price it by default. You can disable this feature by changing the DISABLE_GIVE_PRICE_TO_INVALID_ITEMS default value to true. Your bot will also accept invalid items offers by default if the trade partner is overpaying (set DISABLE_ACCEPT_INVALID_ITEMS_OVERPAY to true if you want to disable it).

Don't worry, if your bot has accepted any INVALID_ITEMS, your bot will mention you (if you enable Discord Webhook for trade summary), AND your bot will automatically add that particular item(s) to the pricelist with intent=sell (if and only if the items are priced with prices.tf).

🟫_DUPED_ITEMS

The setting for this can be found here. ENABLE_DUPE_CHECK is enabled by default. If some items the trade partner is/are offering more than MINIMUM_KEYS_DUPE_CHECK value, then your bot will run a duped check on that particular item. If it's found that it's duped, then you should expect your bot to send this to you. If you want to decline duped items that are more than the MINIMUM_KEYS_DUPE_CHECK value, simply set the DECLINE_DUPES to true.

🟪_DUPE_CHECK_FAILED

This might occur if the item is not fully loaded by backpack.tf, which the history page of that particular item is not available.

⬜_ESCROW_CHECK_FAILED

This can occur when the Steam Client is down. It's temporary but if the trade partner keeps on sending it, you might just manually accept it. Escrow means trade holds, in which your and their items will be held to the Steam items server for some period of time. If you don't care about Escrow, simply set ALLOW_ESCROW to true.

⬜_BANNED_CHECK_FAILED

This can occur when Steamrep.com or backpack.tf is down. This is temporary and will be back in operation when Steamrep.com or backpack.tf is online. You will need to manually browse the trade partner backpack.tf page to see if that person is banned on Steamrep or not. If you just blindly accept the trade, your bot has the potential of getting banned from using backpack.tf services.

Custom settings

How to set a custom welcome/success messages?

All settings for custom messages can be found here and here (the one with _NOTE).

When you're applying your custom messages, make sure to always obey the JSON format. You can not add a new line with ENTER, but instead you'll need to add \n for the new line. The \ symbol is called escape characters. Another important escape characters are:

\n - new line \" - double quote \\ - backslash

Click here to see some example.

accept-message

What it looks like in your environment file:

ecosystem.json "CUSTOM_SUCCESS_MESSAGE": "/quote ✅Success! The offer went through successfully. Want a bot like this? Visit: https://github.com/idinium96/tf2autobot and join our Discord Server: https://discord.gg/ZrVT7mc\n\nFeel free to leave +rep!\nSteam: https://steamcommunity.com/id/IdiNium-Fumino/\nThanks!",

.env CUSTOM_SUCCESS_MESSAGE="/quote ✅Success! The offer went through successfully. Want a bot like this? Visit: https://github.com/idinium96/tf2autobot and join our Discord Server: https://discord.gg/ZrVT7mc\n\nFeel free to leave +rep!\nSteam: https://steamcommunity.com/id/IdiNium-Fumino/\nThanks!"

Clone this wiki locally