QUOTE(DaMOB @ Jan 2 2009, 09:11 AM)

QUOTE(MigZ @ Jan 2 2009, 03:20 AM)

QUOTE(pastuh @ Jan 1 2009, 07:57 PM)

Hi, im using simple macro. But i put locations for my monitor and colors for my monitor..
U can use this, but i think you need some changes to do.
CODE
// Naudojama rezoliucija: 1024x768 || Fullscreen //
SetActiveWindow Lineage II
Delay 5000
While 1 = 1
Constants
Heal = {F7} //Susidek i sita shortcuta gyvybes
End
LoadRGB 130, 41
if {RGBRed} < 99
keydown $Heal 250 //Hp potas naudojamas
say Healing
End
Delay 6000
LoadRGB 85, 41
if {RGBRed} < 99
keydown $Heal 250 //Hp potas naudojamas
say Healing
End
Delay 6000
LoadRGB 45, 41
if {RGBRed} < 99
keydown $Heal 250 //Hp potas naudojamas
say Healing
End
Delay 6000
LoadRGB 16, 41
if {RGBRed} < 99
say dead
End
End
So much End... any loop of this?
Uhmm... ill try to confuse my self again.. MOD's PLS post a Section
where u can have aTUT on know how to use RBG/Colors in ACTOOL
MORE POWER ill USE SEARCH FIRST>>> XD
BTW THANKZ PAZTU
CODE
Procedure SetRGB using CoordX, CoordY
//Sets the RGB values from a particular location on the screen
LoadRGB $CoordX, $CoordY
SetConst RValue = {RGBRED}
SetConst GValue = {RGBGREEN}
SetConst BValue = {RGBBLUE}
End
To use the above code snippet just have a constants section with the RValue, GValue, BValue declared then to actually use it
CODE
Call SetRGB 130,41
if $RValue < 99
...
...
end
setactivewindow ???????
while 1=1
keys z
delay 100
keys z
delay 100
keys 2
delay 100
keys 2
delay 100
keys 2
delay 100
end
Procedure SetRGB using CoordX, CoordY
//sets the RBG values from a particular location on the screen
LoadRGB $CoordX, $CoordY
SetConst RValue = {RGBRED}
SetConst GValue = {RGBGREEN}
SetConst BValue = {RGBBLUE}
Call SetRGB 130,41
if $BValue < 500
keys 3
delay 100
end
thats my code:
im wondring where i got wrong?
it states that missing procedure Coord x and Y
Question: Where can u tell your coordinate in the map?
sigh.. i got head ache..... ill try again .. Can someone direct me to HELP section xD....