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.

Difference between revisions of "User:Cegaiel/Macros/BarrelVise"

From A Tale in the Desert
Jump to navigationJump to search
Line 2: Line 2:
 
*You need 100 boards, 2 copper straps and about 100 wood per barrel in inventory.
 
*You need 100 boards, 2 copper straps and about 100 wood per barrel in inventory.
 
*Macro monitors the flame and fuel bars.
 
*Macro monitors the flame and fuel bars.
*It keeps the fuel bar at 2 wood, no more. It will add 2 wood if fuel is empty or add 1 wood if fuel already has 1 wood in it.
+
*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 to 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.
*If the flame bar gets to a certain point (tad over 3/4), then it will wait until it goes down before adding more wood
 
  
  

Revision as of 06:15, 15 April 2010

  • 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 to 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.


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 added wood). If you prefer the higher resolution, then go for it. But I recommend lowering the value of barMaxFlameX by at least 10-15.


I have fully tested this at 1024x768 and have never had a failed project. Additionally I have added a couple 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).
  • 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.


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 "Take..." that appears when the barrel is finished. Upon detecting the word "Take...", the macro knows the barrel is done.


I am in the process of tweaking it and the download link will appear here when complete. check back later!