The Wiki for Tale 4 is in read-only mode and is available for archival and reference purposes only. Please visit the current Tale 11 Wiki in the meantime.
If you have any issues with this Wiki, please post in #wiki-editing on Discord or contact Brad in-game.
User:Cegaiel/Macros/BarrelVise
- Start script with Ctrl+Alt+W
- You need 100 boards, 2 copper straps and about 100 wood per barrel in inventory.
- Macro monitors the flame and fuel bars. It watches the flame bar and fuel bar simutaneously. It the fuel bar has one wood, it will add one more. If the flame bar is getting too high (around 3/4 bar) then it will not add wood and wait until fuel runs out (causing flame to drop). If this happens, it adds 2 wood back to back, otherwise it only adds one wood at a time to keep the fuel at 2 wood constantly.
- Makes a barrel in about 5m 45s real time (6:19 Teppy time)
- This version has modifications (read below)
- 1024x768 resolution only!
CREDIT: Full credit goes to Daniels Barrel Vise Macro which runs in 1280x1024 resolution. My first try with his macro was working as it should, initially, but quickly incinerated the barrel. I suspect the reason was that the coordinates for barMaxFlameX was a tad too high (and it stoked while the flame bar was very far towards the end). If you prefer the higher resolution, then go for it (try Daneiel's script). But I recommend lowering the value of barMaxFlameX by at least 10-20.
MODIFICATIONS:
I have fully tested this at 1024x768 and have never had a failed project. Additionally I have added a few of modifications to the macro:
- Upon starting the script, it will ask how many barrels you want to make (and stop making barrels when the number is reached). Daniels' version is looped 100 times (to make 100 barrels). This means, previously, you needed to manually abort the script when making less than 100 barrels.
- My version constantly searches for in game popup boxes, which would be one of two conditions. 1) It tried to make a barrel, but you did not have the correct resources in your inventory. 2) Your barrel incinerated. Either way, any popup boxes detected will cause the script to immediately exit and reload. By reload I mean, you would need to restart it again with the Ctrl+Alt+W.
- New (4/17/2010): It now has a GUI status bar while the script runs.
Important Note:
The coordinates are set for either a guilded or a public vise bench. In other words, 2 lines in the label. Line 1 saying "This is a/your Barrel Vise". Line 2 saying "Usable by ???". If you are using your own Barrel Vise, then you will only have one line: "This is your Barrel Vise" and thats it. The lack of a second line, in the label, will throw all the coordinates in the macro off. You can temporarily set it to Public permission to add a 2nd line. By setting permissions to anyone, it will add a 2nd line "Usable by Anyone".
The macro is in .zip format. The reason is that it includes an image of the word "Take..." that appears when the barrel is finished. Upon detecting the word "Take...", the macro knows the barrel is done.
Note: Downloading the .zip file with Internet Explorer will cause a corrupt error when trying to open the file. This is a known issue with the wiki and IE. You will likely have to download with Firefox. But I am also including a link to an outside (mirror) website that will download with IE correctly.
Download .zip file:
Download from Wiki (Likely to give corrupt zip file error if downloaded with IE, but OK with Firefox)
Mirror Download Link (IE + Firefox friendly)