Skip to content

Releases

v5.18.1

Choose a tag to compare

@idinium96 idinium96 released this 08 Oct 20:31
v5.18.1
1cd6ca2

#2042

Updates

Fixes

  • 🐛 Fixed pricedb reconnect spam (#2021)
  • 🔨 Fixed possible bug (#2022)
  • 🐛 Fixed error (InvalidParam) while sending offer (#2041)

v5.18.0

Choose a tag to compare

@idinium96 idinium96 released this 07 Aug 22:58
v5.18.0
6c9dfad

#2014

✨ New

  • ✅ Added acknowledgeTradeProtection functionality (#2012)
    • 🔨 Fixed stuck offers state.
    • You can also do this manually by login into your bot Steam account on a browser and go to the /tradeoffers page and click "Acknowledge and Close" if appears.
  • ✅ Added offerMessages and unfriendMessage in the globalDisable option (#2020)
    • Less aggressive version of globalDisable.messages.
  • ✅ Added a prebuild script to automatically delete the dist folder when executing npm run build (5e14706)
    • 🔄️ Updated !updaterepo command (0a2ff05)

🔄️ Updates

  • 🚮 Removed sku standardization on pricelist during startup (#2013, 63c5ee9)
    • Only affecting those that added items to the pricelist with the id parameter, which appears to be missing upon restart/updating to v5.17.2 or later.
    • Also added some missing safeguard when adding or updating items with id parameter.
  • 🛑 Disabled schema auto update 5 minutes interval (#2016 - 9f63907, f96cdb9, 4a3df37)
    • The bot will now listen for itemSchema event from @tf2autobot/tf2 before updating the items schema.
  • 🔨 Refactor codes (#2017)
    • 🔨 Set unused saveAppTickets to false on steam-user module (bfec4e9)
    • 🎨 Filter backpack.tf listings errors (e5fa43e, 655bc44, 03601b0)
  • ↩️ Reverted 2321999, back to original endpoints (/items instead of /item) for custom pricer (6a3f4ce)
  • 🔄️ Bumped dependencies

🔨 Fixes

Changes in options.json: 9c125e8

v5.17.3

Choose a tag to compare

@idinium96 idinium96 released this 06 Aug 14:29
v5.17.3
4533253

#2011

Minor patch

  • 🔨 Separated initialization and connect on pricedb websocket so that it won't be called twice while booting (439950f)
  • 🚮 Removed the addition of s on custom pricer endpoints (2321999)
    • This was added while replacing prices.tf remnants (054f0e7) on v5.17.0, which affected those that use custom pricer.
  • 🔄️ Bumped dependencies

v5.17.2

Choose a tag to compare

@idinium96 idinium96 released this 03 Aug 04:51
v5.17.2
eb0b639

#2000

Updates

  • 🔄️ Bumped core dependencies and apply necessary changes (#1999, #2004)
    • ⚠️ Please create a backup of your pricelist.json file before update. Read #1999 for more info.
  • 🔄️ Updated handling of the Steam reconnection (#2003) - @OliverPerring
  • 🔄️ Improved polling handling on #1987 (#2005)

Fixes

  • 🐛 Fixed wrong logic with commands confirmation (#1998, #2001)
  • 🐛 Fixed !premium and !donatebptf commands (#2002)

Update your bot

  • Automatic update with !updaterepo available.
  • Manual update: git pull --prune && npm ci --no-audit && npm run build and restart your bot.
  • If you're still below v5.17.0, it's highly recommended to do manual update as mentioned in the release note.

v5.17.1

Choose a tag to compare

@idinium96 idinium96 released this 27 Jul 11:20
v5.17.1
4593edc

#1994

Changes in v5.17.1

Undocumented push to the master branch (already in v5.17.0)

Update your bot

  • Automatic update with !updaterepo available.
  • Manual update: git pull --prune && npm ci --no-audit && npm run build and restart your bot.
  • If you're still below v5.17.0, it's highly recommended to do manual update as mentioned in the release note.

v5.17.0

Choose a tag to compare

@idinium96 idinium96 released this 24 Jul 18:01
v5.17.0
5196b6e

#1954

✨ New

  • ✨ Added amount parameter to the !expand command (#1978)
  • ✨ Send summary of accepted trade offer with escrow/trade hold (#1984)

🔄️ Updates/Changes

  • ✂️ Simplified command confirmation (#1979)
    • Change the long confirmation parameter i_am_sure=yes_i_am with confirm=yes or confirm=true
  • 🔄️ Replaced steamrep with rep.tf for link generations (#1948)
  • 🔄️ Replaced remnants of prices.tf with pricedb.io (#1949)
  • 🔄️ Updated backpack.tf Premium purchase (!premium command) (#1950)
    • Update to the new pricing
  • 🔈 Reduced pricedb price update logs (79e2021)
  • 🚮 Removed Steamrep API call (#1958) - @OliverPerring
    • 🚮 Removed Steamrep entirely, align with rep.autobot.tf (#1977)
  • 🔄️ Updated pollInterval from every 5 seconds to every 10 seconds (bee5f7e, 799e735, 3a96211)
  • 🔄️ Replaced npm install with npm ci (#1952, #1970)
    • Should help prevent errors while using !updaterepo or when manually updating the bot.
    • No need to run git reset HEAD --hard in the future.
  • 🔄️ Replaced deprecated request package with the native fetch (#1951, ff477b9)
    • Applied to the Steam related dependencies.
  • 🔄️ Replaced axios package with the native fetch (#1962)
    • Applied to the main repository and other dependencies.
  • 🔄️ Replaced deprecated url.parse() with native URL (#1971)
  • 🔄️ Bumped dependencies (ff477b9, ba98c54, 06ea355, 64160d7)
  • 🔄️ Bumped dev dependencies (335ccfc)
  • 🚮 Removed unused dependencies (b5dd9a4, e14d2bc, 5798e47)

Fixes/Patches

  • 🔨 Handle Steam re-login on disconnected/loggedOff event (#1953) - @OliverPerring
    • Automatically try to login to Steam when disconnected/logged off.
  • 🔨 Applied alternative way to get tradeOfferUrl (#1955) - @OliverPerring
    • Improvements over previous implementations (#1947, #1937)
  • 🔨 Fixed inconsistency on #1923 with listing disappearing issue (#1956) - @Hexenum
  • 🔨 Fixed 5xx error while deleting listings (stopping/starting the bot) (#1957) - @Hexenum, @OliverPerring
    • The error was previously being ignored
  • 🔨 Fixed schema not updating every 5 minutes (#1959, d915a38)
    • Follow-up or patch on (#1925)
  • 🔨 Fixed missing declined reasons (#1960)
    • Prevent confusion
  • 🔨🎨 Fixed PPU bulk update message generation (#1961)
  • 🔨 Fixed inconsistent command prefix on the bot replies (#1980)
    • Only affected those that use custom prefix.
  • 🔨 Fixed missing logics to process incoming offer (#1981, d9faba1)
  • 🔨 Make the Escrow Web API as a backup (#1987, 78cbf93)
    • Revised version of previous implementation #1944 to mitigate issue with bots accepting trade offers with escrow.
    • Also ignore incoming trade offer with missing items (54b133e)

Notes

  • The command !updaterepo has been temporarily disabled when updating to this version.
  • Please make sure that your system, and other packages installed during the first setup is up to date.
  • Minimum Nodejs version to run is v22.x from now on. v24.x LTS is also recommended:
    • Windows: Visit Node.js
    • Linux: Visit NodeSource and make sure to select runtime Node.js.
    • Nodejs v26.x is having an issue for now. So please only install up to v24.x.
  • Update your packages to the latest version (make sure to add sudo on Linux/run as administrator on Windows):
    • npm install -g npm@latest
    • npm install -g typescript@latest
  • If you run your bot with pm2, run:
    • npm install -g pm2@latest
    • pm2 update (if pm2 stuck, reboot your system).
  • Update the bot with the following commands:
    • (Make sure you're already on the tf2autobot folder/directory)
    • Windows: rmdir /s /q dist node_modules | Linux: rm -rf dist node_modules (this will delete those folders/directories)
    • npm ci --no-audit && npm run build
    • Restart the bot.

Changes in options.json: 6161c73

v5.16.2

Choose a tag to compare

@idinium96 idinium96 released this 10 Jul 18:48
v5.16.2
b74c06d

#1946

Improvements/Fixes

  • ⌛Implemented retry mobile confirmation up to 5 times with backoff (#1943) - @hashdashme
    • Applied during accepting incoming offers, countering offers, and sending offers.
  • 🔨 Fixed Steam 429 on Escrow checks (#1944) - @Hexenum
    • Utilize WebAPI before HTML fallback.
  • 🔨 Patched missed request headers addition on Steam related packages (#1945) - @Hexenum
  • 🔄️ Improved handle trade offer URL 429 during startup (#1947) - @Hexenum
    • Improved implementation from the previous one: (#1937)
    • The startup would take up to 5 minutes if Steam decided to throw 429 error.
    • Once the bot successfully obtained the tradeOfferUrl, it will be cached and saved into ../tf2autobot/files/<botSteamUsername>/tradeOfferUrl.txt.

v5.16.1

Choose a tag to compare

@idinium96 idinium96 released this 10 Jul 10:42
v5.16.1
85458ea

#1939

Fixes

  • 🔨 Added bypass getTradeOfferURL if already cached/created (#1937, 73b54b1)
  • 🔨 Fixed Steam indefinite 429 error (#1938) -- Hopefully not a temporary fix @OliverPerring

v5.16.0

Choose a tag to compare

@idinium96 idinium96 released this 08 Jul 11:50
v5.16.0
e51fba1

#1928

🔄️ Changes/Updates

  • 🔨 Added missing Taunt Unusualifier images for Discord webhook (#1924)
  • 🔄️ Changed schema update interval from every 24 hours to 5 minutes (#1925)
  • 🔨 Added new CEconItem assetProperties for future use (#1929)
  • 🔄️ Bumped dependencies (#1927)
  • 🔄️ Bumped @tf2autobot/bptf-listings with changes from @Hexenum
    (#1930)

🔨 Fixes

v5.15.0

Choose a tag to compare

@arik123 arik123 released this 06 Jan 00:17
v5.15.0
6098f8b

NEW PRICER

Prices.tf was replaced pricedb.io pricer made by @OliverPerring bots should now be fully functional again with automatic pricing included

Maintanence

  • Update dependencies
  • Fix tests after dependency update, migrate to vitest instead of jest as I was unable to get jest working with ESModules mixed with CommonJS modules and TS
  • Fix eslint issues created by new typescript-eslint defaults