Well come on, what I changed and I think the right thing was the color "of the pixel", I can't say very well but this code
Code: Select all - Toggle Line numbers
0x61BEDD
,it is part of a LINE of the script that I will leave it in one piece for you .. With the "color" that he provided I did not get any answer .. but with the color that I adapted which is the
Code: Select all - Toggle Line numbers
0x8D43A
I had the answer to at least heal him, that is, press the "8" key but WITHOUT STOPPING .. so I don't know much more to explain .. if you can help me I would be very grateful .. I know there are many who play Tibia who know a lot about AUtohotkey, but unfortunately they are charging to help others .. I will leave below the script of the author of the video, and below my script (adapted from him) and his video, I ask that if anyone wants to help watch the video to help please ..
and on the lines that I changed the pixel, if you watch the video lesson you saw that it changes from monitor to monitor, then the author himself teaches how and says he should change the pixels .. my ONLY change was later on "0x .... "which I think is the color it is based on to cure ..
video lesson on youtube>www.youtube.com/watch?v=If6hWLOyqso
video lesson author script
Code: Select all
Coordmode, Pixel, Tibia
Coordmode, Mouse, Tibia
b::
MsgBox, Start
Check-healing:
FoundX := 0
FoundY := 0
PixelSearch, FoundX, FoundY, 189, 6, 952, 14, 0x6A6AD2, 3, Fast
If (ErrorLevel = 2)
Goto, Check-Healt
If (ErrorLevel = 1)
Goto, Check-Healt
x := FoundX
y := FoundY
Controlsend, , 5, Tibia
Sleep, 900
Goto, Check-healing
Check-Healt:
FoundX := 0
FoundY := 0
PixelSearch, FoundX, FoundY, 189, 6, 952, 14, 0x61BEDD, 3, Fast
If (ErrorLevel = 2)
Goto, Check-Mana
If (ErrorLevel = 1)
Goto, Check-Mana
x := FoundX
y := FoundY
Controlsend, , 8, Tibia
Sleep, 900
Goto, Check-Mana
Check-Mana:
FoundX := 0
FoundY := 0
PixelSearch, FoundX, FoundY, 1382, 7, 1729, 13, 0x2A2B2A, 3, Fast
If (ErrorLevel = 2)
Goto, Check-healing
If (ErrorLevel = 1)
Goto, Check-healing
x := FoundX
y := FoundY
Controlsend, , 9, Tibia
Sleep, 900
Goto, Check-healing
a::Pause
Code: Select all
Coordmode, Pixel, Tibia
Coordmode, Mouse, Tibia
b::
MsgBox, Start
Check-healing:
FoundX := 0
FoundY := 0
PixelSearch, FoundX, FoundY, 5, 445, 518, 804, 0x8D43A, 3, Fast
If (ErrorLevel = 2)
Goto, Check-Healt
If (ErrorLevel = 1)
Goto, Check-Healt
x := FoundX
y := FoundY
Controlsend, , 5, Tibia
Sleep, 10
Goto, Check-healing
Check-Healt:
FoundX := 0
FoundY := 0
PixelSearch, FoundX, FoundY, 5, 445, 518, 804, 0x8D43A, 3, Fast
If (ErrorLevel = 2)
If (ErrorLevel = 1)
Goto, Check-Mana
x := FoundX
y := FoundY
Controlsend, , 8, Tibia
Sleep, 900
Goto, Check-Mana
Check-Mana:
FoundX := 0
FoundY := 0
PixelSearch, FoundX, FoundY, 1382, 7, 1729, 13, 0x2A2B2A, 3, Fast
If (ErrorLevel = 2)
Goto, Check-healing
If (ErrorLevel = 1)
Goto, Check-healing
x := FoundX
y := FoundY
Controlsend, , 9, Tibia
Sleep, 900
Goto, Check-healing
a::Pause
![Wtf? :wtf:](./images/smilies/icon_wtf.gif)
![Wtf? :wtf:](./images/smilies/icon_wtf.gif)