Name | Modified | Size | Downloads / 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
tofalse
to use this feature, and an option to automatically create sell order by settingpricelist.autoAddPaintedItems
totrue
) (#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 indetails.buy
ordetails.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
andecosystem.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
andtemplate-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 intopolldata.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) resetnote.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 oldoptions.json
file into another folder (use as a reference to update the new options.json file). - Delete
node_modules
anddist
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!