cabal with Qmacro^^

02/26/2008 14:45 tcstang#1
//------------------------------------------------------------------------------
//-------------------------------- [ 声明变量 ] --------------------------------
//------------------------------------------------------------------------------
dim color(2)
dim ys,a,t1,t2,t3,i,key,x,y,mx,my
//----------------------------------------------------------------- [ 定义变量 ]
UserVar ys=1100 设置技能冷却时间
color(0)="00FFFF":color(1)="40BEC0":color(2)="8080 80"
t1=-1:t2=-1:t3=-1
key=115
//------------------------------------------------------------------------------
//-------------------------------- [ 主 程 序 ] --------------------------------
//------------------------------------------------------------------------------
Rem 『主程序』
i=0:a=0
Gosub 捡物
Delay 10
Gosub BUFF
Delay 10
//------------------------------------------------------------- [ 区域找怪颜色 ]
For 3
VBSCall FindCenterColor(10,80,1010,670,color(i),x,y)
//区域找怪名字颜色
If x>=10 and y>=80
s=0
VBSCall SetCursorPos(x+10,y+8)
Delay 100
Gosub 打怪
Else
a=a+1
If a>=3
//如果三种颜色都没找到
IfColor 21 671 000000 1
IfColor 1 686 000000 1
//如果聊天框没打开
KeyDownH 39 1
Delay 500
KeyUpH 39 1
//旋转屏幕
EndIf
EndIf
EndIf
EndIf
i=i+1
Delay 10
EndFor
Delay 50
Goto 『主程序』
//------------------------------------------------------------------------------
//-------------------------------- [ 子 程 序 ] --------------------------------
//----------------------------------------------------------- [ 自动打怪子程序 ]
Sub 打怪
VBSCall FindColorEx(x-60,y-30,x+60,y,"3737C5",0,0.6,mx,my)
//鼠标移到怪身上后 查找该区域是否出现怪血条颜色
VBSCall Shape=GetCursorShape(0)
//获取鼠标特征码
If mx>=0 and my>=0 or Shape=1439279395
Delay 50
LeftClick 1
EndIf
Delay 300
Rem run
IfColor 384 42 1E42EA 2
IfColor 384 44 0993FB 2
//如果怪血条存在
Delay 10
KeyPressH key 1
Delay 10
key=key-1
Gosub 捡物
If key<113
key=115
EndIf
Delay ys
Goto run
EndIf
EndIf
Return 打怪
//--------------------------------------------------------------- [ 捡物子程序 ]
Sub 捡物
For 5
KeyPressH 121 1
Delay 20
EndFor
Return 捡物
//----------------------------------------------------------- [ 辅助技能子程序 ]
Sub BUFF
If datediff("s",t1,now)>=110 or t1=-1
//以此为例 110是技能持续时间 可以自己修改
Delay 50
KeyPressH 118 1
Delay 2000
t1=now
EndIf
If datediff("s",t2,now)>=370 or t2=-1
Delay 50
KeyPressH 119 1
Delay 2000
t2=now
EndIf
If datediff("s",t3,now)>=290 or t3=-1
Delay 50
KeyPressH 120 1
Delay 2000
t3=now
EndIf
Return BUFF
__________________________________________________ ______________-

(auto+hp)

__________________________________________________ ______________
UserVar hp=70 设置自动补红百分比
hpx=int((229-58)/100*hp+58)
While true
IfColor hpx 46 4A4A4A 2
Delay 100
KeyPressH 53 1
EndIf
Delay 10
EndWhile

__________________________________________________ _______________

anyone can convert it into english version?????

im noob to use Qmacro
anyone can teach me ?????

1st script is for hunting
2nd is for auto hp
02/26/2008 14:50 charmdan#2
where did you get this? qmacro works without a need to bypass GG?
02/26/2008 15:32 tcstang#3
u need bypass GG/XTRAP before use Qmacro
02/26/2008 20:31 sinx000#4
wouldn't tat mean qmacro is useless?
02/26/2008 21:10 djb#5
i believe its a waste of time, but google translator might work.
03/02/2008 02:29 MirrorConflict#6
I read on a forum that you can auto combo with Qmacro but when I set it up it actually works but it's not that good.
03/02/2008 19:50 tcstang#7
anyone have a good macro ???/

share with me ^^ thx
03/05/2008 17:16 leewen#8
hey, i'm wondering there's 2 macro program i found on the web, which do you guys use? Quick macro 6.2 or quick macros 2? which is better?
03/05/2008 22:06 manbearpig#9
doesnt work
03/06/2008 21:43 abouttodie5598#10
i love runescape what do you guys think of it?:)