Repository navigation
Releases
Releases · TF2Autobot/tf2autobot
v5.18.1
v5.18.0
✨ New
- ✅ Added
acknowledgeTradeProtectionfunctionality (#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
offerMessagesandunfriendMessagein theglobalDisableoption (#2020)- Less aggressive version of
globalDisable.messages.
- Less aggressive version of
- ✅ Added a prebuild script to automatically delete the
distfolder when executingnpm run build(5e14706)- 🔄️ Updated
!updaterepocommand (0a2ff05)
- 🔄️ Updated
🔄️ Updates
- 🚮 Removed sku standardization on pricelist during startup (#2013, 63c5ee9)
- Only affecting those that added items to the pricelist with the
idparameter, 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
idparameter.
- Only affecting those that added items to the pricelist with the
- 🛑 Disabled schema auto update 5 minutes interval (#2016 - 9f63907, f96cdb9, 4a3df37)
- The bot will now listen for
itemSchemaevent from @tf2autobot/tf2 before updating the items schema.
- The bot will now listen for
- 🔨 Refactor codes (#2017)
- ↩️ Reverted 2321999, back to original endpoints (
/itemsinstead of/item) for custom pricer (6a3f4ce) - 🔄️ Bumped dependencies
🔨 Fixes
- 🔨 Fixed improper handling of Discord webhook rate limit (#2015, #2018)
- 🔨 Fixed outdated listings not being removed (#2019) - @SachinVenugopalan30 and @OliverPerring
Changes in options.json: 9c125e8
v5.17.3
v5.17.2
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
- 🚮 Removed #1993
- 🔄️ Improved polling handling on #1987 (#2005)
Fixes
- 🐛 Fixed wrong logic with commands confirmation (#1998, #2001)
- 🐛 Fixed
!premiumand!donatebptfcommands (#2002)
Update your bot
- Automatic update with
!updaterepoavailable. - Manual update:
git pull --prune && npm ci --no-audit && npm run buildand 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
Changes in v5.17.1
- 🔄️ Bumped TF2Autobot/node-steamcommunity@481fa61...9f49e38 - Credit [Discord: .jukie.]
- 🚮 Removed User-Agent
axios/0.26.1header on inventory request, which might be the reason for HTTP 429 errors.
- 🚮 Removed User-Agent
- 🔄️ Bumped TF2Autobot/node-steam-tradeoffer-manager@90d5576...8b5174c
- 🔄️ Just bump the above module.
- 🚮 Automatically delete
refreshToken.txtfile if more than 90 days (#1993)
Undocumented push to the master branch (already in v5.17.0)
- 🔄️ Bumped https://github.com/TF2Autobot/node-tf2-schema (a39b84b)
- ⚡ Optimization: TF2Autobot/node-tf2-schema#8 - Credit @OliverPerring
- 🐛 Fixed "Frostbite Fit", "Bonk! Atomic Kicks", "Atomic Bomber", and all kind of Strange Filters (example: "Non-Craftable Strange Filter: Competitive") returning
null(TF2Autobot/node-tf2-schema@6254643...a502384) - Credit Anonymous
Update your bot
- Automatic update with
!updaterepoavailable. - Manual update:
git pull --prune && npm ci --no-audit && npm run buildand 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
✨ New
- ✨ Added
amountparameter to the!expandcommand (#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_amwithconfirm=yesorconfirm=true
- Change the long confirmation parameter
- 🔄️ Replaced steamrep with rep.tf for link generations (#1948)
- Resolves #1895
- 🔄️ Replaced remnants of prices.tf with pricedb.io (#1949)
- 🔄️ Updated backpack.tf Premium purchase (
!premiumcommand) (#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
pollIntervalfrom every 5 seconds to every 10 seconds (bee5f7e, 799e735, 3a96211) - 🔄️ Replaced
npm installwithnpm ci(#1952, #1970)- Should help prevent errors while using
!updaterepoor when manually updating the bot. - No need to run
git reset HEAD --hardin the future.
- Should help prevent errors while using
- 🔄️ Replaced deprecated
requestpackage with the nativefetch(#1951, ff477b9)- Applied to the Steam related dependencies.
- 🔄️ Replaced
axiospackage with the nativefetch(#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
- 🔨 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)
Notes
- The command
!updaterepohas 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
sudoon Linux/run as administrator on Windows):npm install -g npm@latestnpm install -g typescript@latest
- If you run your bot with
pm2, run:npm install -g pm2@latestpm2 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
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
v5.16.0
🔄️ 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
- 🔨 Fixed listings disappearing issue (#1923) - Credit @Hexenum and @OliverPerring
- 🔨 Patched crashes caused by some name changes (#1926)
v5.15.0
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
vitestinstead ofjestas I was unable to get jest working with ESModules mixed with CommonJS modules and TS - Fix eslint issues created by new
typescript-eslintdefaults