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/SkillsTimer

From A Tale in the Desert
< User:Cegaiel‎ | Macros
Revision as of 07:06, 6 December 2010 by Cegaiel (talk | contribs)
Jump to navigationJump to search

Digging and Skills Timer

  • It will walk you through the setup process via GUI menus
  • Monitors the black/red text in skills tab and only clicks when they are black (no longer tired)
  • Option to stop at a certain number of clicks or let run continuously
  • Option to eat grilled foods at the correct time, repeatedly
  • This script was created for dig sites and digging limestone/dirt, primarily. However, it would work with anything that uses a skills timer (ie the popup box that says "you are too tired to do something")
  • Idea Uses: Dig sites, Limestone, Dirt, Sand Mines, Pumping Acqueduct, Carving, Barrel Grinder, Deep Well, Kitchen (ie Seperating Coconuts), Loom, Clinker Vat, Hookah more...


Updated: 2/23/2010

  • It now will ask you to enter the amount of clicks. Leave blank for Unlimited clicks (but you will need to stop manually, as in the first version). This is idea if you know how many clicks you need to complete your task (ie you have 600 twine, which requires 10 clicks to convert into 10 canvas on your loom).


Updated: 3/05/2010

  • Speeded up the mouse movements.
  • It will now also ask, during setup menu, if you have grilled food. If you answer yes, then it will also ask you to set the Eat grilled food click position (pin this menu up). Once the script starts, it will first eat a grilled food and then eat a grilled food every 10 Teppy mins (11:00 real time).


Updated: 3/06/2010

  • New GUI/Status bar - showing the Click # (idea to keep track of pulls on Sand Mines)
  • In addition, if you choose the option to eat grilled foods, it will visually countdown (in seconds) until the next time you will automatically eat.

Updated: 3/11/2010

  • Added a F2 hotkey: While the script is running hold the F2 key down for a second or two.
It will pause the script and reset the click # to zero. While paused you still can see the last click number (in case you need it). Hit Ctrl+P to unpause/resume the script and it will begin at 0 clicks again. It will still remember your recorded click positions, so you will not need to set those again.
Idea where this comes handy: When building/tearing down sand mines until you get the good drop rate (ie 6-8 pulls to 1 gem ratio). Heres how I do it. First, pin your sand mine position in the upper left or right corner. This way, your Work Mine click position will be in the same spot everytime you pin up the new sand mine menu. Set click positions and skill timer position as normal. Let it run about 100 clicks and do a sample. Now hit the F2 hotkey to pause the script and reset the counter. Divide number of sand in the sand mine by the total number of gems. If its a bad rate (10 or higher) then tear it down and rebuild a new one. Pinup the new sand mine menu in upper right or left corner (previous click/skill position is still remembered, no need to set those again). Now hit Ctrl+P to resume/restart the script. It will begin again, starting counting from zero. Do another sample. So by using the F2 hotkey, you saved a few steps of having to set the click positions again.


Updated: 3/24/2010

  • Added routine to check for ingame popup boxes (errors).
    • Anytime a popup box is detected, script will pause/halt and a windows error sound will be made. Just figure out what caused the popup and resume the script where it left of at (Ctrl+P). The current click# and recorded positions will still remain intact.


Updated: 6/20/2010

  • Tweaked some of the code to run more smoothly.


Updated: 12/04/2010

  • Updated to search for the included file, ok.png. Popup box detection now searches for the word OK, so this will stop false popup alerts on sand terrains.


Updated: 12/06/2010

  • Bored, wanted to update my old favorite macro, 'Old Betsy' , with some bells and whistles.
    • New hotkeys Numpad - or + to subtract/add click numbers off GUI menu. F1 to force eat/reset eat timer.
    • Eat Timer is now shown in minutes and seconds (instead of seconds only)
    • Updated GUI to show more information, stats, help tips


Instructions:

  • Upon starting the script, it will ask you to enter the amount of clicks (leave blank for unlimited) and if you are eating grilled foods.
Note it will eat food when the script begins (so dont eat manually first). Then it will eat every 10 Teppy Mins (11:00 real time)
  • It will then ask you to hover a black letter (ie a black letter in the word Endurance, in skills tab). A tooltip will display while you are moving mouse around and confirm when you are hovering a black letter. Then press F2 to set this position.
  • Next it will tell you to hover, where you want it to click (Pinup menu or an icon), and press F2 again to set.
    • If you chose the Grilled Food option, then it will then ask you to set the click position of your Consume pinup menu. Hover and hit F2 to set that location.
  • At anytime the script is running hold the F2 key a second and it will reset the click number to zero (but will still remember the previously set skill timer monitor location and the click position.
  • Optional: If you want the script to pause/halt whenever an ingame popup box error occurs, then view the instructions "How to configure popup box detection" under the 3/24/2010 update notes. Otherwise, disregard, the script will work correctly without it or even with incorrect info :)


It will now go to work by monitoring the black letters in skills tab. When it is black (no longer tired) it will click. While it is red (tired), it will not click and continue monitoring until the letters turn black for another click, repeat.


.zip file includes .ahk, .exe and ok.png files. Make sure the ok.png is in the same folder as the scripts.


Download .zip file from Wiki Note wiki will produce a corrupt .zip file if downloaded with IE. Download with Firefox or Chrome.

Download .zip file from Mirror Site - No corrupt errors when downloaded with IE. Firefox/Chrome is fine too, of course.

Verify the last upload date (Current), for the EXE. Make sure the latest update, matches the Last Update date, at top.