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/Glassbench"

From A Tale in the Desert
Jump to navigationJump to search
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Glass Bench==
 
==Glass Bench==
  
*Configured for 1280x1024, but easily configurable for other resolutions (just edit the two lines in the script, under "Configuration"...
+
Note, I recommend and endorse Jimbly's Veggie Tales for Glass benches now. His will handle multiple windows, should work at any resolution and can recover from user errors, unlike mine. I use it faithfully now :)
**Use my [[User:Cegaiel/Macros/GetMousePosition | GetMouse Position]] macro to gather the correct coords (if you are not using 1024x768)...
 
*Timed Macro for CC and Make Glass, but also watches heat bar (will not make project outside of correct range 1600-2200) and will not add 2 cc if heat is over 2200.
 
*Added: 6/2/2010
 
*Updated 6/6/2010: Corrected multiple minor bugs affecting the script continuing after it should have been done - I feel this is the final version, works great!)
 
*Updated 6/24/2010: Adjusted time to teppy time (ie 120s will say 130s on timer). Was clicking making a new project a few seconds before prior one was done, occassionaly. I think this is due to the server being on a new computer now, teppy time a tad faster. Also adjusted some click times to help prevent misclicks. Fixed macro not exitting correctly after the glass qty/counter was reached.
 
*Updated 10/13/2010: Adjusted coordinates for curHeatMinX and curHeatMaxX for 1280x1024. This will like also work at 1024x768
 
  
  
 +
*Configured for 1280x1024, but easily configurable for other resolutions (just edit the two lines in the script), under "Configuration".
 +
**Use my [[User:Cegaiel/Macros/GetMousePosition | GetMouse Position]] macro to gather the correct coords (if you are not using 1280x1024)...
 +
*Timed Macro for CC and Make Glass, but also watches heat bar (will not make project outside of correct range 1600-2200) and will not add 2 cc if heat is over 2200.
  
No hotkey to execute script. Once you launch it, it will guide you though the necessary setup.
 
  
 +
*Added: 6/2/2010
 +
*Updated 10/13/2010: Adjusted coordinates for curHeatMinX and curHeatMaxX for 1280x1024, for T5. This will likely (not confirmed) also work at 1024x768
 +
*Updated 10/14/2010: Adjusted CurHeatMinX coords to 99, down from 102. This was making the min heat range be near 1680 than 1605 (@ 99). Also adjusted the teppy time multiplier from 1.09 to 1.1.  Some rare instances, it was trying to click to make a new glass product 1-4 seconds prematurely.  The new multiplier should fix that. You might be waiting an extra 4-6 seconds on some projects, before making the next... But thats better than trying to make a project while the timer is still running (with a couple of seconds remaining).
 +
*Updated 11/28/2010: Minor edit to some of the text in GUI. Also updated bug in Time remaining to next 2 charcoal. If you start macro (F2) while temp is too high (Cooling down). It would incorrectly show the Add 2 CC timer activated (counting down), even though no charcoal was added. Previously the add 2 cc timer would countdown, even though no charcoal was added (Only when macro is started with temperature too high, using F2 key). No charcoal is ever added when the temperature is too high, so the counter/countdown should not have activated (when starting macro, with temp too high, with F2 key). Also increase temperature (if too low) more efficiently. It now adds 2cc, waits 15 seconds for next tick, then another 2cc to increase temperature quicker.
 +
*Updated 1/14/2011: Previous versions were configured using Normal Glass benches only. But I realized, today, that Soda/Jewel glass benches are smaller (in width) than Normal glass benches.  I have added, to the GUI, a question of if you're using Normal or Soda/Jewel glass.  This will offset the click position, thus make the macro behave when using Soda/Jewel glass benches...
  
  
*This DOES work on T5, however coordinates on these two lines needs to be adjusted. I am now using 1280x1024 and forgot to record the new coords. I will update the files next time I make glass. I will also put the T5 symbol on the page once completed.
 
 
 
 
<pre>
 
;X Position of the heat bar
 
curHeatMinX = 102 ; Around 1600-1650
 
curHeatMaxX = 131 ;Around 2200 degrees
 
</pre>
 
  
 +
Pin up the one bench menu at the upper left corner. Once you launch it, it will guide you though the remaining setup.
  
  
Line 33: Line 26:
  
 
[http://sharpnetwork.net/atitd/macros/glassbench/glassbench.zip Mirror Download Link] (IE + Firefox friendly)
 
[http://sharpnetwork.net/atitd/macros/glassbench/glassbench.zip Mirror Download Link] (IE + Firefox friendly)
 +
 +
 +
[http://www.atitd.org/wiki/tale4/Image:Glassbench.zip Verify the last update]

Latest revision as of 05:23, 17 March 2011

Glass Bench

Note, I recommend and endorse Jimbly's Veggie Tales for Glass benches now. His will handle multiple windows, should work at any resolution and can recover from user errors, unlike mine. I use it faithfully now :)


  • Configured for 1280x1024, but easily configurable for other resolutions (just edit the two lines in the script), under "Configuration".
    • Use my GetMouse Position macro to gather the correct coords (if you are not using 1280x1024)...
  • Timed Macro for CC and Make Glass, but also watches heat bar (will not make project outside of correct range 1600-2200) and will not add 2 cc if heat is over 2200.


  • Added: 6/2/2010
  • Updated 10/13/2010: Adjusted coordinates for curHeatMinX and curHeatMaxX for 1280x1024, for T5. This will likely (not confirmed) also work at 1024x768
  • Updated 10/14/2010: Adjusted CurHeatMinX coords to 99, down from 102. This was making the min heat range be near 1680 than 1605 (@ 99). Also adjusted the teppy time multiplier from 1.09 to 1.1. Some rare instances, it was trying to click to make a new glass product 1-4 seconds prematurely. The new multiplier should fix that. You might be waiting an extra 4-6 seconds on some projects, before making the next... But thats better than trying to make a project while the timer is still running (with a couple of seconds remaining).
  • Updated 11/28/2010: Minor edit to some of the text in GUI. Also updated bug in Time remaining to next 2 charcoal. If you start macro (F2) while temp is too high (Cooling down). It would incorrectly show the Add 2 CC timer activated (counting down), even though no charcoal was added. Previously the add 2 cc timer would countdown, even though no charcoal was added (Only when macro is started with temperature too high, using F2 key). No charcoal is ever added when the temperature is too high, so the counter/countdown should not have activated (when starting macro, with temp too high, with F2 key). Also increase temperature (if too low) more efficiently. It now adds 2cc, waits 15 seconds for next tick, then another 2cc to increase temperature quicker.
  • Updated 1/14/2011: Previous versions were configured using Normal Glass benches only. But I realized, today, that Soda/Jewel glass benches are smaller (in width) than Normal glass benches. I have added, to the GUI, a question of if you're using Normal or Soda/Jewel glass. This will offset the click position, thus make the macro behave when using Soda/Jewel glass benches...


Pin up the one bench menu at the upper left corner. Once you launch it, it will guide you though the remaining setup.


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)


Verify the last update