Skip to content
Maximilián Maliar edited this page May 9, 2020 · 13 revisions

Using the GUI

Configuration

You should already have installed your tf2-automatic bot and have run it atleast once. If you haven't, please do that first.

Before starting the GUI, you should stop your bot and move its pricelist file from the files folder (located at /tf2-automatic/files/{botusername}/pricelist.json) to the GUI's config folder (/tf2-automatic-gui/config/. Simply copy and paste or move it there.
Don't have a pricelist file? No problem, simply create a pricelist.json file in the gui's config folder and add [] as only contents.

Double-clicking the start.bat file will open up a terminal window and when it is done setting up, it will automatically open your default browser where you will see this page:

This is the home page for the GUI, you can access it at any time by clicking Home or the TF2-Automatic text in the navigation bar at the top.

When you are done adding items, move the updated pricelist file from the config folder back to the bot's files folder and !restart your bot for the updated pricelist to take effect.

The trades tab and profit tab will require your bot to have received or sent trades as it uses the polldata.json file, located at the same place as your pricelist.json file. This should also be placed in /tf2-automatic-gui/config/ folder if you wish to use these features. This doesn't need to placed back with your bot at the end of a GUI session.

Adding items

I will use the Mann Co. Supply Crate Key for all the examples below. Although it will work with any other item.

You can add an item using any one of the attributes below:

  • SKU.
  • Full name.
  • backpack.tf/stats page.

Singular additions

Type the item's name into the Name box and select the item from the drop-down menu. This will also work with unusual effects, killstreaks, australium etc.

Items can also have their pricing changed here, along with their limits and intents (see editing items for more info).

Bulk additions

Click "Bulk Add" and in the popup type the items you wish to add. Separate items using a new line like so:

NB: It is also possible to add an item list using the backpack.tf select markdown: (http://prntscr.com/qse3b1 http://prntscr.com/qse3h6). You do not have to remove "with x and x parts" or "painted pink", the GUI does that for you.

Non-autopriced items

Adding unpriced items from https://prices.tf is also possible. It works largely the same, except you have to manually add the item's price (remember to disable the autoprice toggle):

After clicking Add/Save on either menu and waiting for the items to be priced, you will see the following page:

You can toggle list view using the buttons at the top Clicking the SKU in the list view or an items popup page, will open that items backpack.tf stats page in a new tab.

Editing items

After adding an item, you can also change its price from the home screen by clicking the item you wish to edit. This will show a popup where you can change any info/prices. I think this speaks for itself:

Removing items

You can remove items from your price list in three ways.

  1. By clicking on an item, and then "Delete item".
  2. By clicking "Delete all items".
  3. By clicking "Select multiple items" and then selecting the items you want to delete and then clicking "Delete selected" like so:

Option 2 and 3 show an extra confirmation popup asking if you are sure.

Trades Tab

The trades tab shows the bot's most recent trades their total value, contents, timestamp, ID and partner ID:

  • Trades can be searched either by trade ID or partner ID.
  • Trades can be ordered from newest -> oldest or from oldest -> newest.
  • Failed trades can be ignored using the "Accepted only toggle".

Profit Tab

The profit tab can be used to view your bot's profits over a specific interval:

It shows your total profit, profit over your interval, number of trades, overpay, and a graph over time of profit. This is pretty self-explanatory.