Skip to content

Releases: TF2Autobot/tf2autobot

minor update

29 Jul 12:41
Compare
Choose a tag to compare

#37

  • add an option to not get a price on each INVALID_ITEMS items (da014d8)
    --- new variable added: DISABLE_GET_INVALID_ITEMS_PRICE

update: added/fixed/changed

29 Jul 12:02
Compare
Choose a tag to compare

#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

27 Jul 15:09
Compare
Choose a tag to compare

#35
Mention on accepted INVALID_ITEMS overpay:

  • fix bot mention if a trade on the trade partner side contains any craftweapons (5e13b5a)
  • add our side check (62274c0)
  • more strict check before mentioning (59de6de)
  • change reset location (b6a31f8)

update

26 Jul 23:54
Compare
Choose a tag to compare

#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 and SCRAP_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

23 Jul 07:44
Compare
Choose a tag to compare

#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

18 Jul 19:09
Compare
Choose a tag to compare

#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

18 Jul 13:29
Compare
Choose a tag to compare

#31
fix: only show list if exist in inventory - for !craftweapon and !uncraftweapon commands. (a776243)

Major update

18 Jul 13:05
Compare
Choose a tag to compare

#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 item assetid or sku or both. (1ab4bb9, f9c2461, 4272596, 0a41762)
  • add an option to accept INVALID_ITEMS/OVERSTOCKED overpay: (0735688, dfd625a)
    -- DISABLE_ACCEPT_INVALID_ITEMS_OVERPAY and DISABLE_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

16 Jul 02:21
Compare
Choose a tag to compare

#28

  • fix Autokeys not buying keys when refs >= maxRef (ca7eab7)

Update/fix

15 Jul 12:05
Compare
Choose a tag to compare

#27

  • 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)