Skip to content

Chrome extension for Tribal Wars that adds the premium market/stock exchange a better experience. Use your premium points to buy resources faster in early game!

License

Notifications You must be signed in to change notification settings

WoofThatByte/TWstock-Tribal-Wars-premium-market-script

Repository files navigation


Logo

Tribal Wars helper for the premium market

View App · Report Bug · Request Features

TWstock - The premium extension for the premium market

TWStock is a semi-automatic open source Chrome extension for Tribal Wars to help you buy the premium resources faster in early game. It helps you interact with the inputs elements in the Stock Market page. Works with the following links:

"https://.triburile.ro/screen=marketmode=exchange"
"https://.tribalwars.co.uk/screen=marketmode=exchange"
"https://.tribalwars.net/screen=marketmode=exchange"

Completly stealth:

  • The injected/content script runs in an isolate world. An isolated world is a private execution environment that isn't accessible to the page or other extensions. A practical consequence of this isolation is that JavaScript variables in an extension's content scripts are not visible to the host page or other extensions' content scripts. The concept was originally introduced with the initial launch of Chrome, providing isolation for browser tabs.
  • No interaction with the UI. The stock market web page is not modified.
  • Integrated in Chrome browser as an extension :accessibility:

If you experience issues try to refresh the web page

(back to top)

Built With

  • Javascript
  • HTML
  • CSS
  • Chrome Storage

Works With

  • Chrome Browser

Installation

  1. Install Chrome Browser
  2. Open Chrome -> go to Manage Extensions -> Check Developer mode -> Load unpacked -> Select the folder
  3. Activate extension (toggle button above the Premium page)
  4. Open Tribal Wars -> Market -> Stock exchange

How It Works

  1. Extension consist of two pages:
    • Premium - View to manipulate stock exchange inputs
    • Junk - View with some more or less usefull calculators like: How much resources has been lost, Time to backstab enemy, Time to autosplit under 10 minutes
premium
  1. Premium view:
    • You can enable/disable the automatic refresh for the stock market page. Automatic refresh is set in miliseconds using the input element
    • You can set how much wood, stone or iron you want to buy. By default: 10.000
    • If refresh is enabled the page wil refresh everytime untill you click in one of the three inptus elements of the stock market
    • You can click only one input
    • When you click the input the extension will fetch the available quantity in the range you set (Default: 10.000)
    • The quantity is multiplied according to exchange rate. If the exchange rate is 64 wood / 1 premium point and you set 2.000 to buy, you will get the maximum 1.984 wood if more than 2000 wood is available the time you clicked. (2000/64 = rounded to 31. Then 31*64=1984).

This is semiautomatic. You set value you want to buy -> Click input element -> logic behind will get the value for you so you dont have to type in -> enter -> enter!

junk
  1. Junk view:
    • Insert the units number to get the total resource
    • Set the time for backstab calculator in the format that has been provided
    • Set the time for autosplit calculator in the format that has been provided

(back to top)

About

Chrome extension for Tribal Wars that adds the premium market/stock exchange a better experience. Use your premium points to buy resources faster in early game!

Resources

License

Stars

Watchers

Forks

Packages

No packages published