close
標題:

按鍵之王高手幫我看看哪邊有錯

發問:

我查到紅色代碼是252藍色代碼是11040575Dim php,zv Reb = 0x0000FF //紅色 Blue = 11040575 //藍色 //熱鍵設定 1 化生符 2 紅水 3 藍水Sub Php //補血Sleep 500KeyPress F2 //隊員選擇Sleep 500 If GetPixel(350,80) != 0x0000FFSleep 200KeyPress 1 //化生符Sleep 1200EndIfEndSubSub Zv //跟隨檢物Sleep 200KeyPress z //檢物Sleep... 顯示更多 我查到紅色代碼是252 藍色代碼是11040575 Dim php,zv Reb = 0x0000FF //紅色 Blue = 11040575 //藍色 //熱鍵設定 1 化生符 2 紅水 3 藍水 Sub Php //補血 Sleep 500 KeyPress F2 //隊員選擇 Sleep 500 If GetPixel(350,80) != 0x0000FF Sleep 200 KeyPress 1 //化生符 Sleep 1200 EndIf EndSub Sub Zv //跟隨檢物 Sleep 200 KeyPress z //檢物 Sleep 1200 KeyPress F2 //隊員選擇 Sleep 100 KeyPress v EndSub Sub main While true Sleep 500 KeyPress F2 //隊員選擇 Sleep 500 If GetPixel(448,128) == 0x0000FF //打怪 Call Php If GetPixel(448,128) != 0x0000FF //怪死了 Call Zv If GetPixel(131,80) != 0x0000FF //偵測自己血 KeyPress 2 //吃紅 If GetPixel(131,80) != 11040575 //偵測自己 KeyPress 3 //吃藍 EndWhile EndSub

最佳解答:

提供按鍵之王,範例腳本參考: Dim Red, Blue //紅色 Red = 0xFF0000 //藍色 Blue = 11040575 //熱鍵設定 1 化生符 2 紅水 3 藍水 Sub main While 1==1 Sleep 500 //隊員選擇 KeyPressH F2 Sleep 500 //打怪 If GetPixel(448,128) == Red Call Php EndIf //怪死了 If GetPixel(448,128) != Red Call Zv EndIf //偵測自己血 If GetPixel(131,80) != Red //吃紅 KeyPressH 2 EndIf //偵測自己 If GetPixel(131,80) != Blue //吃藍 KeyPressH 3 EndIf EndWhile EndSub //補血 Sub Php Sleep 500 //隊員選擇 KeyPressH F2 Sleep 500 If GetPixel(350,80) != Red Sleep 200 //化生符 KeyPressH 1 Sleep 1200 EndIf EndSub //跟隨檢物 Sub Zv Sleep 200 //檢物 KeyPressH Z Sleep 1200 //隊員選擇 KeyPressH F2 Sleep 100 KeyPressH V EndSub

 

此文章來自奇摩知識+如有不便請留言告知

其他解答:

請詳述你的問題! 這看起來像是外掛的自訂腳本 並非VB,且並未說明問題何在!31C9A75CB3B14398
arrow
arrow

    rdfvjur 發表在 痞客邦 留言(0) 人氣()