Skip to content

A script to provide various utilities on backpack.tf

Notifications You must be signed in to change notification settings

LucasHenriqueDiniz/bptf-utilities

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 

Repository files navigation

backpack.tf Bot Utilities

This user script provides various utilities on backpack.tf.

If you have any suggestions or bug reports, please create an Issue.

Features

  • Automatically inputs the item value in classifields when creating a new listing
  • Copy item price to clipboard

old features

All of the below buttons copy their respective commands to your clipboard

  • "Item SKU" button on item hover
  • "Add to pricelist" button on item hover
  • "Update pricelist" button on item hover
  • "Remove from pricelist" button on item hover
  • "Pricecheck item" button on item hover
  • "Match listing" button on item hover
    • Note: Current key prices are fetched automatically. Please be sure to double-check item prices before sending the command to your bot! I will not be held responsible for incorrect item prices as a result of this command!

Installation

To use user scripts you need to first install a user script manager. Here are managers for various browsers:

  • Greasemonkey - Firefox
  • Tampermonkey - Chrome, Microsoft Edge, Safari, Opera, Firefox (also with support for mobile Dolphin Browser and UC Browser)
  • Violentmonkey - Chrome, Firefox, Maxthon, Opera

To install this user script, simply navigate to this link and click "Install".

You can also install this script by manually pasting the code found in the above link into a new user script.

Note: To receive automatic updates when this script updates, please be sure to enable automatic update checking for this script on your preferred User Script Manager.

Example

Item Hover Buttons

Newly added buttons for easily copying commands are highlighted above

Changelog

1.0.18

Fixed:

  • Issue with stale KeyData from previous versions

1.0.17

Updated:

  • Automatic key price fetching to use the autobot.tf API instead of the now-obsolete prices.tf API
  • KeyData storage logging

Fixed:

  • KeyData storage

1.0.16

Fixed:

  • Issue where sometimes the copy command buttons would not copy the commands to the clipboard

1.0.15

Added:

  • Automatic fetching and storage of current key prices for the "Match Listing" command

1.0.14

Fixed:

  • Refactored event code to be outside element definition code. Should prevent some rare cases where commands would return "undefined"

1.0.13

Added:

  • Match listing command to match buy/sell order prices

1.0.12

Fixed:

  • SKU generation for Chemistry Sets - @Preport

1.0.11

Fixed:

  • SKU generation for Unusualifiers - @Preport

1.0.10

Fixed:

  • SKU generation for War Paints - @Preport

1.0.9

Added:

  • Add SKU generation support for Strangifiers - @Preport
  • Add SKU generation support for Kit Fabricators - @Preport

1.0.8

Fixed:

  • Stock item mapping for the "Construction PDA"

1.0.7

Fixed:

  • Stock item mapping for the "Sapper"

1.0.6

Fixed:

  • Wrong def index mapping for stock items

1.0.5

Improved:

  • Add "Target" item attribute to SKU lookup

1.0.4

Improved:

  • "Pricecheck item" button on item hover (Reverted)
  • Removed text from SKU button and condensed text for Pricecheck button
  • Add "Australium" item quality to SKU lookup
  • Add "Crate Series" item attribute to SKU lookup

1.0.3

Added:

Removed:

  • "Pricecheck item" button on item hover (due to very niche use cases)

1.0.2

Added:

  • "Pricecheck item" button on item hover - @luigia

1.0.1

Improved:

  • Moved pricelist buttons to above the search link buttons

1.0.0

Added:

  • "Add to pricelist" button on item hover
  • "Update pricelist" button on item hover
  • "Remove from pricelist" button on item hover

Credits

About

A script to provide various utilities on backpack.tf

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%