Releases: TF2Autobot/tf2autobot
Releases · TF2Autobot/tf2autobot
minor update
update: added/fixed/changed
#36
Added
- list out accepted INVALID_ITEMS overpay in summary (6295c05)
- an option to not invite people to join groups (0e7dce2)
--- new variable added:DISABLE_GROUPS_INVITE
- a missing dueling check option when constructing an offer (7fb264d)
- a missing noise maker check option when constructing an offer (3810854)
Changed
- always mention for accepted invalid items overpay (397e0b0)
Fixed
- fix connection timeout to TF2GC, might also solve the auto-bump (auto-relist) issue. To make sure it's working, please disable the crontab job for auto-restart your bot. (8afaed8)
minor update: fix
update
#34
Added
!inventory
command - show current total items in your bot inventory (7576f03)- an option to show it on Discord Webhook trade summary (7576f03)
--- new variable added:DISCORD_WEBHOOK_TRADE_SUMMARY_SHOW_INVENTORY
Improvements
- Autokeys: add an option to do scrap adjustment (9bb11b8, cfb1a07)
--- new variables added:DISABLE_SCRAP_ADJUSTMENT
andSCRAP_ADJUSTMENT_VALUE
- get the suggested value of an INVALID_ITEMS from Prices.TF (which also mean INVALID_ITEMS review will no longer show 0 keys, 0 ref, except if that item is not priced on Prices.TF) (06f43e5)
- auto accept INVALID_ITEMS/OVERSTOCKED overpay: Only if our side is not 0, and itemsToGive is not more than 1, else will be sent for review.
Changed
- only craft duplicated weapons if not exist in pricelist (93ef10a)
- use ∞ symbol if max is set to -1 (a239874)
- Autokeys: reduce the check if not synced with backpack.tf to more than 2 from 4 (5235c1f)
- correction on
!sales
command (8259a80) - some cleaning (a5461e2, 8314ca9, cfb1a07)
Fixed
- ghost items listed on INVALID_ITEMS/OVERSTOCKED for review offer (9d425b5)
- Discord Webhook: add another possible Discord formatting replacer (1378eba, f86e544)
- mention on accepted INVALID_ITEMS overpay didn't work well, use previous (1b00548)
Removed
/pre
for review offer - hard to read (Steam Chat)
minor update - added/fixed/changed
#33
added
!sales sku=<sku>
or!sales name=<name>[&other parameters]
command - Gets a list of listings that have been removed (removed, is like it means that item has been sold with that price, but it is not so accurate since more and more bot owner now auto-restart their bot(s)). (6c89635)
fixed
- bot crashed when
CUSTOM_PLAYING_GAME_NAME
does not exist in your ecosystem.json file. (56a143d) - bot crashed when using
!block <steamID>
and!unblock <steamID>
, if the owner forgot to put targeted<steamID>
in it. (d644875) - weird review offer messages when using Steam Chat.
changed
- For auto-accept INVALID_ITEMS/OVERSTOCKED, it is now only accepted if overpaid (equal value or not same will be sent for a review).
- update dependencies
minor add/improve/fix
#32
added
- added trade summary when declining INVALID_VALUE trade (5c727c1)
- mention if invalid items/overstocked trade accepted when enabling mention owner (5b7c4fe, ed812d0)
- added auto decline IValue note variable
--AUTO_DECLINE_INVALID_VALUE_NOTE
variable added.
improved
fixed
- fixed bot crashed when declining a trade (5423a13)
Minor update
Major update
#30
New features:
- add a parameter
%amount_can_buy%
for the buying listing note. (4ac0c7f) - add an option to customize playing game name (limited to only 45 characters). (dfa03ab)
--CUSTOM_PLAYING_GAME_NAME
variable added. - decline non-5x Uses Dueling Mini-Game is now an option: (ede73bd)
--DISABLE_CHECK_USES_DUELING_MINI_GAME
variable added. - add an option to only buy 25x Uses Noise Maker: (82a46e9)
--DISABLE_CHECK_USES_NOISE_MAKER
variable added. - add
!craftweapon
and!uncraftweapon
commands. (ce434e9) !delete
command now can delete an item with an itemassetid
orsku
or both. (1ab4bb9, f9c2461, 4272596, 0a41762)- add an option to accept
INVALID_ITEMS/OVERSTOCKED
overpay: (0735688, dfd625a)
--DISABLE_ACCEPT_INVALID_ITEMS_OVERPAY
andDISABLE_ACCEPT_OVERSTOCKED_OVERPAY
variables added. - add option to automatically decline ONLY INVALID_VALUE trade while manual review enabled: (b87850c, 1a4da92, dd73aa1, 069da3e)
--DISABLE_AUTO_DECLINE_INVALID_VALUE
variable added.
Extra
- add ecosystem.json templates for multiple bots (b944df5)
Note
*Make sure you've updated your ecosystem.json
/.env
first.
If you are using .env
, newly added variables are:
DISABLE_CHECK_USES_DUELING_MINI_GAME=false
DISABLE_CHECK_USES_NOISE_MAKER=false
DISABLE_ACCEPT_INVALID_ITEMS_OVERPAY=false
DISABLE_ACCEPT_OVERSTOCKED_OVERPAY=false
DISABLE_AUTO_DECLINE_INVALID_VALUE=false
CUSTOM_PLAYING_GAME_NAME="tf2-automatic"
After adding it all and edit to your preferences, save the file and run, run: git pull && npm install && npm run build
and run node dist/app.js
to start your bot.
Else, for ecosystem.json
(or actually just use the template and save as ecosystem.json
to prevent confusion):
"DISABLE_CHECK_USES_DUELING_MINI_GAME": false,
"DISABLE_CHECK_USES_NOISE_MAKER": false,
"DISABLE_ACCEPT_INVALID_ITEMS_OVERPAY": false,
"DISABLE_ACCEPT_OVERSTOCKED_OVERPAY": false,
"DISABLE_AUTO_DECLINE_INVALID_VALUE": false,
"CUSTOM_PLAYING_GAME_NAME": "tf2-automatic",
Save your ecosystem.json then run: git pull && npm install && npm run build
and restart your bot using pm2 restart ecosystem.json --update-env
to apply this update and then pm2 save
to save PM2 process.
Thank you for using this bot!
fix Autokeys
Update/fix
- add parameters to custom welcome message (
%name%
and%admin%
) (ccf2869)
-- Read: https://github.com/idinium96/tf2autobot/tree/v1.1.6#others - change pure stock format (from
Keys: x, Ref: y refs
-->x keys, y ref
) (b0c7495) - add an option to disable accepting friend request (c4b3e85)
-- added new variable in ecosystem.json:DISABLE_ADD_FRIENDS
- fix offer message not replace discord formatting (8f6e6b6)
- make it also check for queue in one other spot (e8abe3f)
- update dependencies (8ee6cad)
- Autokeys: Will buy keys if banking enabled & if ref > minRef (19f05e8)
- Autokeys: fix still selling keys when both keys and ref>=max (24af4cb)
- Autokeys: change from only
<
to<=
(fb76345)