Download Latest Version v5.8.2.zip (556.5 kB)
Email in envelope

Get an email when there's a new version of tf2autobot

Home / v3.0.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2021-02-03 9.1 kB
v3.0.0.tar.gz 2021-02-03 391.7 kB
v3.0.0.zip 2021-02-03 492.1 kB
Totals: 3 Items   892.9 kB 0

https://github.com/TF2Autobot/tf2autobot/pull/238 https://github.com/TF2Autobot/tf2autobot/pull/278

Added

New major features

  • โœจ support creating generic unusual buy order (#230) - @joekiller
  • โœจ๐ŸŽ€ support creating separate pricelist entry for painted items (sell orders only, must set normalize.painted.our to false to use this feature, and an option to automatically create sell order by setting pricelist.autoAddPaintedItems to true) (#271, [#283]) - @idinium96
  • โœจ an option to choose which side to apply normalization - @idinium96
  • โœจ support buy order for Festivized items - @idinium96
  • โœจ prioritize items your bot have to create sell order, then sort based on lowest buying price to your bot current pure to create buy order - @idinium96

New commands

  • โœจ !updaterepo - @idinium96
  • โœจ !autoadd and !stopautoadd (#255) - @idinium96
  • โœจ !clearfriends - @idinium96
  • โœจ !statsdw - @idinium96
  • โœจ !paints - @idinium96

Others

  • โœจ add startup time to startup summary, ๐Ÿ” tidied up startup summary - @Bonfire
  • โœจ include profit in !stats command, with more detailed stats - @idinium96 / @arik123
  • โœจ an option to send stats every x time(s) - @idinium96
  • โœจ an option to show items prices (except trade with admins/donate/buyPremium) (#200) - @idinium96
  • โœจ an option to change sort type (#241) - @idinium96
  • โœจ display non-friend trade partner name in the log when sending messages (#198)- @idinium96
  • โœจ add an option to customize %uses% parameter in details.buy or details.sell when the bot is buying/selling Dueling Mini-Game (5x uses) or Noise Maker (25x uses) - @idinium96
  • โœจ send alert to Discord Webhook if bot crashed - @idinium96
  • โœจ add new ๐ŸŸง_DISABLED_ITEMS reason - @idinium96
  • โœจ perform auto-restart on escrow check failed (if occurred more than or equal to 2 times) - @idinium96
    • Only if you're running the bot with PM2
    • Bot will determine whether it's a good time to restart or not (it will first check if bptf or steam is down or not).
  • โœจ an option to mention based on value instead of sku - @idinium96
  • โœจ an option to toggle mention (Discord Webhook) - @idinium96
  • โœจ add the Wiki to the main repository - open for contribution - @idinium96

Changed

Major Changes

  • ๐Ÿ”„โœจ New options.json with more customization (#226) - @idinium96
  • ๐Ÿ”„โœจ New polldata.json saved patterns, thus reducing file size - @idinium96
  • ๐Ÿ”จ๐ŸŽจ major refactorization - @idinium96 / @joekiller

For users

  • โœ… bring back "Do" (or advanced time formatting) support for custom time format - @idinium96
  • ๐Ÿ”„ update check.ts - better Dueling Mini-Game/Noise Maker check - @idinium96
    • โšก run check only if needed
    • ๐Ÿ”„ take only assetids with 5x/25x uses
  • ๐Ÿ”„ use async-await instead of a callback to get trade partner name and avatar (for Discord Webhook) - @idinium96
  • ๐Ÿ”„ update Steam GroupID in .env and ecosystem.json templates - @idinium96
  • ๐Ÿ”„ update TF2Autobot Discord server invite link - @idinium96
  • ๐Ÿ”„ prioritize checking items, banned/escrow last - @idinium96
  • ๐Ÿ”„ add "[๐€๐ฎ๐ญ๐จ๐ค๐ž๐ฒ๐ฌ] " directly, not in the note - @idinium96
  • ๐ŸŽจ improve alert send on full-backpack error - @idinium96
  • ๐Ÿ”จ ignore items the bot can't trade and apply normalization when auto-refresh listings - @idinium96
  • ๐Ÿ”จ prevent the bot from crashing when getting war paint name that doesn't exist - @idinium96
  • ๐Ÿ”จ prevent adding item as stock weapons (Quality = 0) - @idinium96
  • ๐Ÿ”จ prevent the bot from crashing due to โ›” command spamming - @idinium96
  • ๐Ÿšซ prevent user input non-integer value when using !withdraw and !deposit commands (#267) - @idinium96
  • ๐Ÿšซ prevent pricing key with keys property - @idinium96
  • ๐Ÿ”ฅ remove template-two-bots.ecosystem.json and template-three-bots.ecosystem.json files, will cover this on the Wiki or in a tutorial video later - @idinium96
  • ๐Ÿ”ฅ remove removeLinkProtocol(...) from !config command - @idinium96
  • ๐Ÿ”ฅ remove repetitive operation (the checkBySKU function was called twice after every successful trade) - @idinium96
  • ๐Ÿ”ฅ remove !resetqueue command - @idinium96
  • ๐Ÿ”ฅ remove weapon shuffling, โšก increase performance - @idinium96
  • ๐Ÿ”ฅ remove statistics.starter - โšก not call stats every trades - @idinium96

For devs

  • ๐Ÿ”„ update/upgrade dependencies - @idinium96
  • ๐ŸŽจ encapsulate socket operations. fix double bindings - @joekiller
  • ๐ŸŽจ all listeners need to be different bound functions - @joekiller
  • ๐ŸŽจ move patching into BotManager constructor - @joekiller
  • ๐ŸŽจ ensure getPricesTF returns a price parsed with Currency() - @joekiller
  • ๐ŸŽจ use accessors on almost every class methods - @idinium96
  • ๐ŸŽจ better return syntax - @idinium96
  • ๐ŸŽจ clean up code and tests ๐Ÿ”จ - @joekiller
    • ๐Ÿ”„ make MyHandler the handler of Bot
    • ๐ŸŽจ better linting config
    • ๐Ÿ”ฅ remove getHandler as it is unnecessary
    • โœจ๐Ÿงช add minor tests for pricelist
    • โœจ๐Ÿงช add ptf-api mocks
    • โœจ๐Ÿงช add removeCliOptions and schema validation tests
    • ๐Ÿ”„ ensure mocks and tests don't build into prod
    • ๐Ÿ”„ allow failsafe to detect required options in Options object
  • ๐Ÿ”„ refactor Carts.ts - no more separate for weapons - @idinium96
  • ๐Ÿ”จ always unset _dupeCheck key so it will never get saved into polldata.json file - @idinium96
  • ๐Ÿ”จ add default (customizable) message to be sent to the trade partner when the owner manually declined an offer - @idinium96
  • ๐Ÿ”จ fix the problem with trade partner always put "The" when using !price/!buy/!sell commands - @idinium96
  • ๐Ÿ”จ refactor: avoid variable declaration inside for loop - @idinium96

Fixed

  • ๐Ÿ› fix folded addition to total items (#251) - @idinium96
  • ๐Ÿ› fix Autokeys not triggered when updating option - @idinium96
  • ๐Ÿ› fix possible error when sending a request to discord webhook - @idinium96
  • ๐Ÿ› fix unable to list Unusual War Paint/Skins - @idinium96
  • ๐Ÿ› fix unable to list certain Killstreak Kit (Basic) - @idinium96
  • ๐Ÿ› fix bot unable to detect Strange Haunted/Genuine/etc - @idinium96
  • ๐Ÿ› fix always false logic on empty highValue['sheens' or 'killstreakers' or 'strangeParts' or 'painted'] array - @idinium96
  • ๐Ÿ› fix bot crash when canceling an offer (with !cancel command) - @idinium96
  • ๐Ÿ› fix bot crash when updating entry group (all=true) - @idinium96
  • ๐Ÿ› fix missing listings (sell orders) for strange items - @idinium96
  • ๐Ÿ› fix the wrong amount in !withdraw command (#286) - @idinium96
  • ๐Ÿ› prevent bot crash on failure to update schema (also related to [#214]) - @idinium96
  • ๐Ÿ› fix typo for Pumpkin Bombs spell - @idinium96
  • ๐Ÿ› fix bot always remove newly added friends - @idinium96
  • ๐Ÿ› fix disabled-received high-valued items got listed to sell - @idinium96
  • ๐Ÿ› fix unable to update items with withoutgroup parameter - @idinium96
  • ๐Ÿ› fix update note.buy parameter on an item (or items with group) reset note.sell parameter and vice versa - @idinium96

Upgrade your bot now!

Windows users

  • Stop your bot
  • Open your tf2autobot folder and go to ~\files\STEAM_ACCOUNT_NAME\ folder, backup, or temporarily put your old options.json file into another folder (use as a reference to update the new options.json file).
  • Delete node_modules and dist folders
  • Open command prompt and run:

    git reset HEAD --hard && git checkout master && git pull && npm install && npm run build - Now run your bot to generate the new options.json file. - Stop your bot to update your new options.json file or use !config command to update your options.

IMPORTANT: DO NOT COPY AND PASTE THE ENTIRE OLD OPTIONS.JSON INTO THE NEW OPTIONS.JSON, ONLY THE VALUES**

Linux/VPS users

  • Stop your bot
  • Backup your old options.json file (use as a reference to update the new options.json file).
  • Open the terminal and make sure you're in tf2autobot folder (cd tf2autobot).
  • Run:

    git reset HEAD --hard && git checkout master && git pull && rm -rf node_modules && npm install && rm -rf dist && npm run build - Once done, now run your bot to generate the new options.json file. - Stop your bot to update your new options.json file or use !config command to update your options.

IMPORTANT: DO NOT COPY AND PASTE THE ENTIRE OLD OPTIONS.JSON INTO THE NEW OPTIONS.JSON, ONLY THE VALUES**


NEW OPTIONS.JSON CONFIGURATION WIKI: https://github.com/TF2Autobot/tf2autobot/wiki/Configure-your-options.json-file


๐Ÿ†˜ Need help? Ask in TF2Autobot Discord Server

๐Ÿ’— The more the better! Show your love by sharing your bot trades in #๐Ÿ”ด๏ฝœcommunity-2 channel on TF2Autobot Discord Server! Send me a DM for your unique Discord Webhook URL!

โญ Enjoyed using TF2Autobot? Give a star! Simply click on the Star button!

Source: README.md, updated 2021-02-03