1 頁 (共 1 頁)

發表於 : 週四 4月 22, 2004 6:01 pm
zxcv
harry73 寫:非常希望能法塔利帝可以加入一点教学!我实在是看不懂啊....以前没用过...
mmm...........
我有一個建議
你可以到
以下的座標點去

Northern Territory Vally
from 1768,1089

然後用下面的script去run一次
基本上
人物就會按照下面的位置去走
這樣就可以比較容易了解哪一行是做什麼

然後也可以因你所需要的功能加以修改

最後我補充一下
整段程式的

前面
是定義你要的東西

中間
就是走來走去到定點挖礦
所有的動作精華
都在

程式的最後段
寫程式的人
將所有的功能都寫在最後面
唯有等到需要的時候
再去呼叫

所以如果有不合需要的
請認真鑽研程式後段
改一個就等於全部的程式都改了

發表於 : 週一 3月 08, 2004 8:25 am
BK
zxcv 寫:ExtVar[10]=0 (ExtVar是什麼啊?另一種Var嗎?)
While ExtVar[10]=0 (當不是時?)
M1: (這是指挖的點?)
ExtVar[9]=1 (ExtVar是什麼啊?另一種Var嗎?)
Call Mining (會了)
Return (這是?)

ExtVar是可以自訂的參數,當Var不夠用時就可以用這種

M1: 到Return
這是一個副程式,當你有需要時可以呼叫
了解越多,越覺得製做者,真是神啊!!
外丟看似"很多"其實簡化到不行,也是以最簡化方式編寫。

發表於 : 週三 3月 03, 2004 2:24 pm
zxcv
ExtVar[10]=0 (ExtVar是什麼啊?另一種Var嗎?)
While ExtVar[10]=0 (當不是時?)
M1: (這是指挖的點?)
ExtVar[9]=1 (ExtVar是什麼啊?另一種Var嗎?)
Call Mining (會了)
Return (這是?)

ExtVar是可以自訂的參數,當Var不夠用時就可以用這種

M1: 到Return
這是一個副程式,當你有需要時可以呼叫

發表於 : 週三 3月 03, 2004 10:47 am
BK
zxcv 寫:相信我
真的能打贏礦怪的
還可以自動撿錢
撿礦
另外
讚成樓下仁兄的看法
想會用
我想要花的時間大概不會少於手動挖礦到GM的時間吧
再者
遊戲的樂趣本來就是自我尋找的
說真的會用這樣的東西
成就感會是想不到的大!!
剛看哇啊亂啊,感覺很難,其實看細點,還好,不過還是有幾個不會,大大能教嗎?看在跟你買過礦的份上 :oops:
ExtVar[10]=0 (ExtVar是什麼啊?另一種Var嗎?)
While ExtVar[10]=0 (當不是時?)
M1: (這是指挖的點?)
ExtVar[9]=1 (ExtVar是什麼啊?另一種Var嗎?)
Call Mining (會了)
Return (這是?)
----------------------↓有待了解中
If Color[28115000]=2626584
Break
End If
If Color[28115000]!=2626584
WaitForWghtChange(Var5)
End If
Delay Pos8
If Color[28311742]=2626584 && Color[28311744]=8946824 Then
Break
End If
End Repeat
Call CleanCorpse
--------------------------------
ExtVar[0]=GetColorPos[1048664,13435167,16384348]
If ExtVar[0]!=-1
Double Left Click ExtVar[0]
Delay Var3
Drag All From 15597876 to 12124480
Delay Var3
End If
------------------------------------
If Color[4915813]=5276848
//treasure map
ExtVar[0]=GetColorPos[4209880,Pos4,Pos5]
If ExtVar[0]!=-1
Drag All From ExtVar[0] to 12124480
Delay Var4
End If
//aqua ores
ExtVar[0]=GetColorPos[8418368,Pos4,Pos5]
If ExtVar[0]!=-1
Drag All From ExtVar[0] to 12124480
Delay Var4
End If
//iron ores
ExtVar[0]=GetColorPos[5788776,Pos4,Pos5]
If ExtVar[0]!=-1
Drag All From ExtVar[0] to 12124480
Delay Var4
End If
//aqua ores
ExtVar[0]=GetColorPos[8418368,Pos4,Pos5]
If ExtVar[0]!=-1
Drag All From ExtVar[0] to 12124480
Delay Var4
End If
//money
ExtVar[0]=GetColorPos[11416,Pos4,Pos5]
If ExtVar[0]!=-1
Drag All From ExtVar[0] to 12124480
Delay Var4
End If
End If
Return

//============================== Sub Put
//Put ores into chest
Put:
Goto 1768,1089
Delay Var3
//Drag area #1
//Pos2=3998139
//Pos3=11076170
Call Put2

//Drag area #2
//Pos2=10682806
//Pos3=12976628
//Call Put2

//Drag area #3
//Pos2=10945037
//Pos3=12059211
//Call Put2

//Pos2=3998139
//Pos3=11076170

If ExtVar[2]=1
//bandage
ExtVar[3]=100-User1
Drag ExtVar[3] From 10879319 To 9634257
Delay 1000

//used bandage
ExtVar[0]=GetColorPos[13161712,pos2,pos3]
If ExtVar[0]!=-1
Drag All from ExtVar[0] to pos7
Delay 1000
End IF
End If
ExtVar[2]=0
Var7=ExtVar[20]
Return

//============================== Sub Put2
Put2:
ExtVar[11]=0
While ExtVar[11]=0
ExtVar[12]=0
ExtVar[13]=WGHT
//Close Paperdoll
If Color[20447835]=4738136
Right Click 20447835
Delay Var3
End If
//Close & Open Backpack //force re-open
If Color[1114569]!=3167352
Sendkey(Alt+85)
Delay Var3
Sendkey(Alt+73)
Delay Var3
End If
-------------------------------------------
//Close & Open Backpack //force re-open
If Color[1114569]!=3167352
Sendkey(Alt+85)
Delay Var3
Sendkey(Alt+73)
Delay Var3
End If
//Drag ores and diamonds
//aqua
ExtVar[0]=GetColorPos[8418368,Pos2,Pos3]
If ExtVar[0]!=-1
Call Put3
End If
//black
ExtVar[0]=GetColorPos[3152928,Pos2,Pos3]
If ExtVar[0]!=-1
Call Put3
End If
//mytheril
ExtVar[0]=GetColorPos[5254184,Pos2,Pos3]
If ExtVar[0]!=-1
Call Put3
End If
//valorite
ExtVar[0]=GetColorPos[6310984,Pos2,Pos3]
If ExtVar[0]!=-1
Call Put3
End If
//verite
ExtVar[0]=GetColorPos[3167320,Pos2,Pos3]
If ExtVar[0]!=-1
Call Put3
End If
//rose
ExtVar[0]=GetColorPos[4734048,Pos2,Pos3]
If ExtVar[0]!=-1
Call Put3
End If
//golden
ExtVar[0]=GetColorPos[4220032,Pos2,Pos3]
If ExtVar[0]!=-1
Call Put3
End If
//silver
ExtVar[0]=GetColorPos[9469048,Pos2,Pos3]
If ExtVar[0]!=-1
Call Put3
End If
//shadow
ExtVar[0]=GetColorPos[3681328,Pos2,Pos3]
If ExtVar[0]!=-1
Call Put3
End If
//bloodrock ore
ExtVar[0]=GetColorPos[2628672,Pos2,Pos3]
If ExtVar[0]!=-1
Call Put3
End If
//agapite
ExtVar[0]=GetColorPos[4209744,Pos2,Pos3]
If ExtVar[0]!=-1
Call Put3
End If
//copper
ExtVar[0]=GetColorPos[4209760,Pos2,Pos3]
If ExtVar[0]!=-1
Call Put3
End If
//dull copper ore
ExtVar[0]=GetColorPos[3685472,Pos2,Pos3]
If ExtVar[0]!=-1
Call Put3
End If
//old copper
ExtVar[0]=GetColorPos[3685416,Pos2,Pos3]
If ExtVar[0]!=-1
Call Put3
End If
//rusty ore
ExtVar[0]=GetColorPos[2106424,Pos2,Pos3]
If ExtVar[0]!=-1
Call Put3
End If
//bronze ore
ExtVar[0]=GetColorPos[2634832,Pos2,Pos3]
If ExtVar[0]!=-1
Call Put3
End If
//iron ore
ExtVar[0]=GetColorPos[5788776,Pos2,Pos3]
If ExtVar[0]!=-1
Call Put3
End If
//treasure map
ExtVar[0]=GetColorPos[4209880,Pos2,Pos3]
If ExtVar[0]!=-1
Call Put4
End If
//sapphires
ExtVar[0]=GetColorPos[11033696,Pos2,Pos3]
If ExtVar[0]!=-1
Call Put4
End If
//rubies
ExtVar[0]=GetColorPos[160,Pos2,Pos3]
If ExtVar[0]!=-1
Call Put4
End If
//emeralds
ExtVar[0]=GetColorPos[3712048,Pos2,Pos3]
If ExtVar[0]!=-1
Call Put4
End If
//tourmalines
ExtVar[0]=GetColorPos[3181696,Pos2,Pos3]
If ExtVar[0]!=-1
Call Put4
End If
//star sapphires
ExtVar[0]=GetColorPos[16743528,Pos2,Pos3]
If ExtVar[0]!=-1
Call Put4
End If
//amethysts
ExtVar[0]=GetColorPos[9974936,Pos2,Pos3]
If ExtVar[0]!=-1
Call Put4
End If
//citrines
ExtVar[0]=GetColorPos[11416,Pos2,Pos3]
If ExtVar[0]!=-1
Call Put4
End If
//diamonds
ExtVar[0]=GetColorPos[16733256,Pos2,Pos3]
If ExtVar[0]!=-1
Call Put4
End If
//not found!
If ExtVar[12]=0
Break
End If
If ExtVar[13]=WGHT
Goto 1768,1089
End If
WEnd
Return

//============================== Sub Put3
Put3:
Drag All From ExtVar[0] to Pos7
Delay Var3
Sendkey(Alt+73)
Delay Var3
ExtVar[12]=1
Return

//============================== Sub Put4
Put4:
Drag All From ExtVar[0] to Pos7
Delay Var3
ExtVar[12]=1
Return

//============================= Sub Repair
Repair:
Drag 11 from 11796844 to 5177813
Delay Var3
Repeat 6
Sendmacro(13)
Delay Var3
Sendmacro(14)
Delay Var3
End Repeat
Delay 1500
Drag All From GetColorPos[11576472,4850130,5702111] to 11796844
Delay Var3
Return
----------------------------------------------------------------↑未了解

發表於 : 週日 2月 15, 2004 10:05 pm
harry73
var1=1
var2=1
var3=500
var4=500
var5=12000
var6=1
var7=15
var8=350
pos1=
pos2=3998139
pos3=11076170
pos4=4915703
pos5=13304415
pos6=
pos7=13500791
pos8=100
可不可以先解释一下这是什么?

还有,怎么设定一个挖矿范围我一点也不会啊..

發表於 : 週日 2月 15, 2004 9:59 pm
harry73
非常希望能法塔利帝可以加入一点教学!我实在是看不懂啊....以前没用过...

發表於 : 週三 2月 04, 2004 1:27 pm
zxcv
相信我
真的能打贏礦怪的
還可以自動撿錢
撿礦
另外
讚成樓下仁兄的看法
想會用
我想要花的時間大概不會少於手動挖礦到GM的時間吧
再者
遊戲的樂趣本來就是自我尋找的
說真的會用這樣的東西
成就感會是想不到的大!!

發表於 : 週三 2月 04, 2004 2:12 am
BK
eustace 寫:你說的功能我是都有啦...
不過能打贏AQ礦怪嗎....
這實在太神奇了....
雖然你是好意....
不過分享出這種script..
會用的人一多的話...整個平衡就破壞掉了....
我以前掛只要沒有pker來騷擾...
平均一個禮拜只是鐵礦就有50K囉...
採礦...當然速不少哩...
想想只有一個人偷偷用還是不好...噗...
要會用也很難吧…我都看不懂 :oops:
挖礦?手動GM的…能掛真好…練個BS 我練二個月才至60.. :cry:

發表於 : 週日 12月 28, 2003 11:25 pm
eustace
你說的功能我是都有啦...
不過能打贏AQ礦怪嗎....
這實在太神奇了....
雖然你是好意....
不過分享出這種script..
會用的人一多的話...整個平衡就破壞掉了....
我以前掛只要沒有pker來騷擾...
平均一個禮拜只是鐵礦就有50K囉...
採礦...當然速不少哩...
想想只有一個人偷偷用還是不好...噗...

發表於 : 週六 12月 27, 2003 11:58 pm
Disnep小魚
利害~~0.0
我笨啦~~完全看不懂-.-"
可以加一點教學嗎?

全自動挖礦程式範例

發表於 : 週一 12月 15, 2003 10:58 pm
fatality
--此文章已被搬移--

http://discuz.anwebhost.com/