给Oliver的东西。。。大家也可以看。(一个EZ
-
MaxJustice
- 高級玩家

- 文章: 853
- 註冊時間: 週三 12月 26, 2001 8:00 am
xiaochong 寫:为Oliver专门优化的打铁ezs
// pos1:鐵磚位置
// pos2:自己身上
// pos4:放小刀的包包---注意pos4要堆畳一堆小包包@@"---
// pos5:放装好小刀的包包的箱子
// pos7:包包左上
// pos8:包包右下
Repeat 10
// ---- 打小刀 ----
repeat 5
SendMacro(15)
Delay(6000)
end repeat
// ----- 搬小刀 -----
while getcolorpos[var5,pos7,pos8]>0
drag all from getcolorpos[var5,pos7,pos8] to pos4
//var5如果是菜刀就是9473168
delay(800)
var8=var8+1
//var8是计数器,计算做了多少小刀
if var8=100
//當做滿100個就把小包包放到大包包
drag all from pos4 to pos5
delay(800)
var8=0//重新計數
end if
wend
// ----- 搬鐵磚到包包 -----
If Wght<200
Drag 100 From Pos1 to Pos2
Delay(800)
End If
End Repeat
歐歐歐~~xi跟mars的大姐感情還真好~~莫非....妳就是傳說中大姐頭的男朋友!?
-
xiaochong
- 初級玩家

- 文章: 29
- 註冊時間: 週日 8月 18, 2002 5:40 pm
支持做匕首了(大家鼓掌~~)
改动地方
请注意var5,var8
// pos1:鐵磚位置
// pos2:自己身上
// pos3:食物位置
// pos4:放小刀的包包---注意pos4要堆畳一堆小包包@@"---
// pos5:放装好小刀的包包的箱子
// pos7:包包左上
// pos8:包包右下
// ----- 吃東西 -----
Left DbClick pos3
Repeat 10
// ---- 打小刀 ----
repeat 5
SendMacro(16)
Delay(5000)
end repeat
// ----- 搬小刀 -----
while getcolorpos[var5,pos7,pos8]>0
drag all from getcolorpos[var5,pos7,pos8] to pos4
//var5如果是菜刀就是9473168
//var5如果是匕首就是1575960
delay(500)
var8=var8+1
//var8是计数器,计算做了多少小刀
if var8=100
//做菜刀var8为100,匕首为250
//當做滿var8個就把小包包放到大包包
drag all from pos4 to pos5
delay(500)
var8=0//重新計數
end if
wend
// ----- 搬鐵磚到包包 -----
If Wght<200
Drag 100 From Pos1 to Pos2
Delay(500)
End If
End Repeat
改动地方
请注意var5,var8
// pos1:鐵磚位置
// pos2:自己身上
// pos3:食物位置
// pos4:放小刀的包包---注意pos4要堆畳一堆小包包@@"---
// pos5:放装好小刀的包包的箱子
// pos7:包包左上
// pos8:包包右下
// ----- 吃東西 -----
Left DbClick pos3
Repeat 10
// ---- 打小刀 ----
repeat 5
SendMacro(16)
Delay(5000)
end repeat
// ----- 搬小刀 -----
while getcolorpos[var5,pos7,pos8]>0
drag all from getcolorpos[var5,pos7,pos8] to pos4
//var5如果是菜刀就是9473168
//var5如果是匕首就是1575960
delay(500)
var8=var8+1
//var8是计数器,计算做了多少小刀
if var8=100
//做菜刀var8为100,匕首为250
//當做滿var8個就把小包包放到大包包
drag all from pos4 to pos5
delay(500)
var8=0//重新計數
end if
wend
// ----- 搬鐵磚到包包 -----
If Wght<200
Drag 100 From Pos1 to Pos2
Delay(500)
End If
End Repeat
-
xiaochong
- 初級玩家

- 文章: 29
- 註冊時間: 週日 8月 18, 2002 5:40 pm
为Oliver专门优化的打铁ezs
// pos1:鐵磚位置
// pos2:自己身上
// pos4:放小刀的包包---注意pos4要堆畳一堆小包包@@"---
// pos5:放装好小刀的包包的箱子
// pos7:包包左上
// pos8:包包右下
Repeat 10
// ---- 打小刀 ----
repeat 5
SendMacro(15)
Delay(6000)
end repeat
// ----- 搬小刀 -----
while getcolorpos[var5,pos7,pos8]>0
drag all from getcolorpos[var5,pos7,pos8] to pos4
//var5如果是菜刀就是9473168
delay(800)
var8=var8+1
//var8是计数器,计算做了多少小刀
if var8=100
//當做滿100個就把小包包放到大包包
drag all from pos4 to pos5
delay(800)
var8=0//重新計數
end if
wend
// ----- 搬鐵磚到包包 -----
If Wght<200
Drag 100 From Pos1 to Pos2
Delay(800)
End If
End Repeat
// pos1:鐵磚位置
// pos2:自己身上
// pos4:放小刀的包包---注意pos4要堆畳一堆小包包@@"---
// pos5:放装好小刀的包包的箱子
// pos7:包包左上
// pos8:包包右下
Repeat 10
// ---- 打小刀 ----
repeat 5
SendMacro(15)
Delay(6000)
end repeat
// ----- 搬小刀 -----
while getcolorpos[var5,pos7,pos8]>0
drag all from getcolorpos[var5,pos7,pos8] to pos4
//var5如果是菜刀就是9473168
delay(800)
var8=var8+1
//var8是计数器,计算做了多少小刀
if var8=100
//當做滿100個就把小包包放到大包包
drag all from pos4 to pos5
delay(800)
var8=0//重新計數
end if
wend
// ----- 搬鐵磚到包包 -----
If Wght<200
Drag 100 From Pos1 to Pos2
Delay(800)
End If
End Repeat
-
xiaochong
- 初級玩家

- 文章: 29
- 註冊時間: 週日 8月 18, 2002 5:40 pm
Oliver注意:重新优化了一下代码,并且增加了一个功能。
代码如下:
// pos1:鐵磚位置
// pos2:自己身上
// pos3:食物位置
// pos4:放小刀的包包---注意pos4要堆畳一堆小包包@@"---
// pos5:放装好小刀的包包的箱子
// pos7:包包左上
// pos8:包包右下
// ----- 吃東西 -----
Left DbClick pos3
Repeat 10
// ---- 打小刀 ----
repeat 5
SendMacro(15)
Delay(6000)
end repeat
// ----- 搬小刀 -----
while getcolorpos[var5,pos7,pos8]>0
drag all from getcolorpos[var5,pos7,pos8] to pos4
//var5如果是菜刀就是9473168
delay(500)
var8=var8+1
//var8是计数器,计算做了多少小刀
if var8=100
//當做滿100個就把小包包放到大包包
drag all from pos4 to pos5
delay(500)
var8=0//重新計數
end if
wend
// ----- 搬鐵磚到包包 -----
If Wght<200
Drag 100 From Pos1 to Pos2
Delay(500)
End If
End Repeat
不知道说明是否详细。程序未曾测试。。。你自己试试。。如果不明白就继续po!
代码如下:
// pos1:鐵磚位置
// pos2:自己身上
// pos3:食物位置
// pos4:放小刀的包包---注意pos4要堆畳一堆小包包@@"---
// pos5:放装好小刀的包包的箱子
// pos7:包包左上
// pos8:包包右下
// ----- 吃東西 -----
Left DbClick pos3
Repeat 10
// ---- 打小刀 ----
repeat 5
SendMacro(15)
Delay(6000)
end repeat
// ----- 搬小刀 -----
while getcolorpos[var5,pos7,pos8]>0
drag all from getcolorpos[var5,pos7,pos8] to pos4
//var5如果是菜刀就是9473168
delay(500)
var8=var8+1
//var8是计数器,计算做了多少小刀
if var8=100
//當做滿100個就把小包包放到大包包
drag all from pos4 to pos5
delay(500)
var8=0//重新計數
end if
wend
// ----- 搬鐵磚到包包 -----
If Wght<200
Drag 100 From Pos1 to Pos2
Delay(500)
End If
End Repeat
不知道说明是否详细。程序未曾测试。。。你自己试试。。如果不明白就继续po!
- Virginia
- 高級玩家

- 文章: 858
- 註冊時間: 週三 7月 31, 2002 12:48 am
這個是別人給我的
但是看不太懂
也許你會看得懂
就PO拉
// pos1:鐵磚位置
// pos2:自己身上
// pos3:食物位置
// pos4:放小刀的箱子
// pos7:包包左上
// pos8:包包右下
// ----- 吃東西 -----
Left DbClick pos3
Repeat 10
// ---- 打小刀 ----
SendMacro(8)
Delay(7000)
SendMacro(8)
Delay(7000)
SendMacro(8)
Delay(7000)
SendMacro(8)
Delay(7000)
SendMacro(8)
Delay(7000)
// ----- 搬小刀 -----
Var5=GetColorPos[16751756,pos7,pos8]
Delay(1000)
While Var5>0
drag all from Var5 to pos4
Delay(1000)
Var5=GetColorPos[16751756,pos7,pos8]
Wend
// ----- 搬鐵磚到包包 -----
If Wght<300
Drag 100 From Pos1 to Pos2
Delay(500)
End If
End Repeat
但是看不太懂
也許你會看得懂
就PO拉
// pos1:鐵磚位置
// pos2:自己身上
// pos3:食物位置
// pos4:放小刀的箱子
// pos7:包包左上
// pos8:包包右下
// ----- 吃東西 -----
Left DbClick pos3
Repeat 10
// ---- 打小刀 ----
SendMacro(8)
Delay(7000)
SendMacro(8)
Delay(7000)
SendMacro(8)
Delay(7000)
SendMacro(8)
Delay(7000)
SendMacro(8)
Delay(7000)
// ----- 搬小刀 -----
Var5=GetColorPos[16751756,pos7,pos8]
Delay(1000)
While Var5>0
drag all from Var5 to pos4
Delay(1000)
Var5=GetColorPos[16751756,pos7,pos8]
Wend
// ----- 搬鐵磚到包包 -----
If Wght<300
Drag 100 From Pos1 to Pos2
Delay(500)
End If
End Repeat
-
[F.R]Demon
- 頂級玩家

- 文章: 4107
- 註冊時間: 週四 7月 12, 2001 8:00 am
誰在線上
正在瀏覽這個版面的使用者:沒有註冊會員 和 5 位訪客