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.

Talk:Macros

From A Tale in the Desert
Jump to navigationJump to search

Confessions of a Frustrated Macro User

I'm using more macros in T4 than I did in T3. All the macros are from these donations. However, some of them do not run correctly on the first go. I found out that my monitor is (evidently) not exactly the same dimensions as noted in the macros. And while my hardware may say 1680 x 1050 it's not the precisely like one listed in the macro info text. So with the suggestions from Hikahi that I check the location/positions needed for the CC Macro from Galagah's contribution.

So, here's some tips if you are a macro "no-know-how".

  • Get the AutoIt program. This has a handly screen position reader called AutoIt v3 Window Info. This tool will stay on top of the screen you are trying to measure and you can use CTRL+ALT+F to "freeze" the position you are measuring, so you can write it down.
  • You want to measure the CLIENT, not the screen or the window. This is set in the Coord Mode option.
  • The famous I don't know "Y" - Smaller Numbers->Larger Number go from Top to Bottom of the screen. So 74 is farther DOWN the Screen than 64. (I know - I didn't invent this)

Once you get everything measured - you gotta find the RIGHT SPOT in the macro to put it. In Galagah's Anka's CC macro these are lines that I needed to adjust cause my screen is just "off".

 // Original Y Coordinates - Don't change unless you are having a problem.
 // RegY = 74      // Y coord for Regulator button
 // BeginY = 245   // Y coord for Begin Button
 // HeatY = 156    // Y coord for Heat Bar
 // WoodY = 180    // Y coord for Wood Bar
 // WaterY = 192   // Y coord for Water Bar
 // DangerY = 204  // Y coord for Danger Bar
 // StatusY = 216  // Y coord for Status Bar
 // WoodBY = 250   // Y coord for Wood and Water buttons


 // These are what I had to change them too
 // RegY = 68      // Y coord for Regulator button
 // BeginY = 234   // Y coord for Begin Button
 // HeatY = 149    // Y coord for Heat Bar
 // WoodY = 173    // Y coord for Wood Bar
 // WaterY = 184   // Y coord for Water Bar
 // DangerY = 198  // Y coord for Danger Bar
 // StatusY = 209  // Y coord for Status Bar
 // WoodBY = 243   // Y coord for Wood and Water buttons

I made one other change that made the macro (seem) to run better. I changed the heat value from 165 to 175. You can do this is the form that pops up when you run the macro or you can make the change permanent in the macro file itself.

 ed3=Editbox:Heat                  (75-188):175