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:Nisu Bastet/macro/blades"

From A Tale in the Desert
Jump to navigationJump to search
Line 3: Line 3:
 
; U Have to set personally the Top left position of the carpentry blade!
 
; U Have to set personally the Top left position of the carpentry blade!
 
; Also make sure u can use Hotkeys
 
; Also make sure u can use Hotkeys
 +
; Anvil has to face north south
 +
; the blades sharp side has to be east
 +
; pin menu to start carpentry blade top left
 +
; works only on a particular resolution (old macro, needs to be checked again)
 +
; u need to adjust blade position, maybe carpentry blade entry position and the complete project position
  
 
<pre>
 
<pre>
 
; F8 double view, zoom all in, stand top right of anvil
 
; F8 double view, zoom all in, stand top right of anvil
x := 422 ; the top left position of the carpentry blade
+
x := 485 ; the top left position of the carpentry blade
y := 486
+
y := 517
 
{
 
{
 
loop
 
loop
Line 13: Line 18:
 
loop
 
loop
 
{
 
{
pixelgetcolor, bbb, 43, 78 ;checks for B from carpentry
+
pixelgetcolor, bbb, 75, 68 ;checks for B from carpentry blade entry
 
sleep 300
 
sleep 300
 
if bbb != 0
 
if bbb != 0
Line 25: Line 30:
 
}
 
}
 
}
 
}
mouseclick, right, 43, 78, 1, 0 ;choose carpentry
+
mouseclick, right, 75, 68, 1, 0 ;choose carpentry entry
 
sleep, 1300
 
sleep, 1300
 
Mousemove, x+80, y
 
Mousemove, x+80, y

Revision as of 19:56, 19 March 2010

AHK Macro

U Have to set personally the Top left position of the carpentry blade!
Also make sure u can use Hotkeys
Anvil has to face north south
the blades sharp side has to be east
pin menu to start carpentry blade top left
works only on a particular resolution (old macro, needs to be checked again)
u need to adjust blade position, maybe carpentry blade entry position and the complete project position
; F8 double view, zoom all in, stand top right of anvil
x := 485  ; the top left position of the carpentry blade
y := 517
{
loop
{
loop
{
pixelgetcolor, bbb, 75, 68 ;checks for B from carpentry blade entry
sleep 300
if bbb != 0
{
mouseclick, right, 166, 85, 1, 0
sleep 300
}
if bbb = 0
{
break
}
}
mouseclick, right, 75, 68, 1, 0 ;choose carpentry entry
sleep, 1300
Mousemove, x+80, y
send, B
sleep, 500
send, 9
sleep, 500
Mouseclick, right, x+69, y+21, 1,0 ; ???? -- mid top
sleep, 500
Mouseclick, right, x+69, y+31, 1,0 ; B 9
sleep, 500
Mouseclick, right, x+71, y+183, 1, 0 ; ???? -- mid down
sleep, 500
Mouseclick, right, x+71, y+193, 1, 0 ; B 9
sleep, 500
Mouseclick, right, x+17, y+188, 1, 0 ; B 9 left down
sleep, 500 
Mouseclick, right, x+7, y+177, 1, 0 ; B 9
sleep, 500
Mouseclick, right, x+21, y+44, 1, 0 ; B 9 left top
sleep, 500 
Mouseclick, right, x+5, y+48, 1, 0 ; B 9
sleep, 500 
Mousemove, x+80, y
sleep, 500 
send, C
sleep, 500
send, 9
sleep, 500
Mouseclick, right, x+144, y+38, 1, 0 ; C 9
sleep, 500
Mouseclick, right, x+144, y+88, 1, 0 ; C 9
sleep, 500
Mouseclick, right, x+144, y+138, 1, 0 ; C 9
sleep, 500
Mouseclick, right, x+144, y+188, 1, 0 ; C 9
sleep, 500 

; qualität 5150-5200

send, 6
sleep, 500
Mouseclick, right, x+134, y+38, 1, 0 ; C 6
sleep, 500
Mouseclick, right, x+134, y+88, 1, 0 ; C 6
sleep, 500
Mouseclick, right, x+134, y+138, 1, 0 ; C 6
sleep, 500
Mouseclick, right, x+134, y+188, 1, 0 ; C 6
sleep, 500 
Mouseclick, right, x+144, y+38, 1, 0 ; C 6
sleep, 500
Mouseclick, right, x+144, y+88, 1, 0 ; C 6
sleep, 500
Mouseclick, right, x+144, y+138, 1, 0 ; C 6
sleep, 500
Mouseclick, right, x+144, y+188, 1, 0 ; C 6

; qualität 5900-6000

sleep, 500
send, 9
sleep, 500
Mouseclick, right, x+144, y+38, 1, 0 ; C 9

; qualität 6050-6150

sleep, 500
send, r
sleep, 500
send, 5
sleep, 500
Mouseclick, right, x+114, y+23, 1, 0 ; C 9
sleep, 500
Mouseclick, right, x+114, y+43, 1, 0 ; C 9
sleep, 500
Mouseclick, right, x+30, y+172, 1, 0 ; C 9

sleep, 500
send, c
sleep, 100
send, 5
sleep, 500
Mouseclick, right, x+107, y+46, 1, 0 ; C 9

sleep, 500
send, 9
sleep, 500
Mouseclick, right, x+144, y+22, 1, 0 ; C 9
sleep, 500
send, q
sleep, 100
Mouseclick, right, x, 245, 1, 0 ; closing
sleep, 500
Mouseclick, right, 600, 535, 1, 0 ; yes
sleep, 1500
}
}
return