仙境傳說好用外掛openkore掛小初 洗初水箭矢筒,將以下內容openkore複製到macros.txt 裡文件裡面就可以啟動openkore外掛,進入RO遊戲裡面開始掛小初 洗初水箭矢筒嚕~簡單吧!
automacro deletecreate {
hook charSelectScreen
timeout 3
exclusive 1
call dc
}
macro dc {
$email = 打EMAIL
$login = 2
do eval $::messageSender->sendCharDelete($::chars[2]{charID}, '$email');$::AI::temp::delIndex = 2;$::timeout{'charlogin'}{'time'} = time;
pause 4
do eval $::timeout{'charlogin'}{'time'} = time;
pause 4
$login = @eval($login + 1)
log its char select screen
$num = @rand(1, 1000)
$masterName = 腳色名子
$name = @eval("$masterName" . "$num")
do eval $::messageSender->sendCharCreate(2, '$name', 9, 9, 9, 1, 1, 1, 2, 3);$::timeout{'charlogin'}{'time'} = time;
pause 5
do conf char 2
do eval $::messageSender->sendCharLogin(2);$::timeout{'charlogin'}{'time'} = time;
pause 4
do eval $::timeout{'charlogin'}{'time'} = time;
pause 4
release NovicePotion
}
automacro NovicePotion {
base == 1
call np
run-once 1
}
macro np {
#set config
do conf logConsole 0
do conf attackAuto 0
do conf route_randomWalk 0
do conf autoTalkCont 1
do conf itemsGatherAuto 0
do conf dcOnDeath 0
pause 3
do move 148 112
pause 3
do move 100 24
pause 3
#絲普拉琪
do talk @npc (100 29)
pause 5
do talk @npc (100 29)
pause 5
do talk resp 0
pause 5
#室內布萊伊德
do talk @npc (100 105)
pause 5
do talk @npc (100 105)
pause 5
do eq @inventory (初學者蛋殼帽)
do eq @inventory (初學者鐵盾)
do eq @inventory (初學者笨拙短劍)
do eq @inventory (初學者陰險披肩)
do eq @inventory (初學者忍者斗篷)
do eq @inventory (初學者海灘鞋)
do talk @npc (100 105)
pause 4
do move 113 118
pause 2
#陳河
do talk @npc (115 120)
pause 5
do talk resp 0
pause 5
do talk @npc (115 120)
pause 5
do talk resp 1
pause 5
#室內布萊伊德
do talk @npc (100 105)
pause 5
do talk @npc (100 105)
pause 5
do talk resp 1
pause 5
#秀克拉
do talk @npc (33 172)
pause 5
#卡姐
do talk @npc (30 176)
pause 10
do talk resp 4
pause 5
#准它
do talk @npc (33 176)
pause 5
#士兵
do talk @npc (36 176)
pause 5
#秀克拉
do talk @npc (33 172)
pause 10
#室外布萊伊德
do talk @npc (96 30)
pause 4
do conf attackAuto 2
do conf route_randomWalk 2
do conf route_randomWalk_inTown 1
}
automacro mon {
job = 10
call mon1
timeout 15
}
macro mon1 {
$poring = 1
}
automacro jpcheck {
location new_1-3
base > 8
call jpc
timeout 15
exclusive 1
}
macro jpc {
log kill poring $poring
if ($poring == 1) goto ok
stop
k
call cont
stop
}
macro cont {
pause 2
do conf attackAuto 0
do conf route_randomWalk 0
do conf route_randomWalk_inTown 0
pause 2
do move 98 31
pause 2
#室外布萊伊德
do talk @npc (96 30)
pause 4
do move 113 39
pause 5
#弓箭手
do talk @npc (113 41)
pause 10
do talk resp 1
pause 5
do talk resp 1
pause 5
#ADD SKILLS
do skills add 1
do skills add 1
do skills add 1
do skills add 1
do skills add 1
do skills add 1
do skills add 1
do skills add 1
do skills add 1
pause 5
do move 64 66
pause 5
#弓箭手公會人員
do talk @npc (64 71)
pause 10
do talk resp 0
pause 5
do move 64 56
pause 5
do move 55 120
pause 5
do conf logConsole 1
pause 5
#斐揚洞外卡姐
do talk @npc (55 123)
pause 10
do talk resp 0
pause 5
$i = @storamount (初學者專用藥水)
$j = @storamount (卡普拉倉庫 免費利用券)
$k = @storamount (卡普拉傳送點 免費利用券)
$l = @storamount (箭矢筒)
$m = @storamount (銀箭矢筒)
$n = @storamount (火箭矢筒)
if ($i > 29600) goto over
if ($i <= 29600) goto empty
if ($j > 29981) goto over
if ($j <= 29981) goto empty
if ($k > 29970) goto over
if ($k <= 29970) goto empty
if ($l > 29999) goto over
if ($l <= 29999) goto empty
if ($m > 29999) goto over
if ($m <= 29999) goto empty
if ($n > 29999) goto over
if ($n <= 29999) goto empty
stop
ver
log 倉庫已滿 目前初水 $i 瓶
log 倉庫已滿 目前開倉券 $j 張
log 倉庫已滿 目前傳送券 $k 張
log 倉庫已滿 目前箭矢筒 $l 筒
log 倉庫已滿 目前銀箭矢筒 $m 筒
log 倉庫已滿 目前火箭矢筒 $n 筒
pause 5
do conf logConsole 0
stop
:empty
pause 5
do storage add 0
pause 5
do storage add 1
pause 5
do storage add 2
pause 5
do storage add 3
pause 5
do storage add 4
pause 5
do storage add 5
pause 5
$t = @storamount (初學者專用藥水)
$u = @storamount (卡普拉倉庫 免費利用券)
$v = @storamount (卡普拉傳送點 免費利用券)
$w = @storamount (箭矢筒)
$x = @storamount (銀箭矢筒)
$y = @storamount (火箭矢筒)
pause 5
log 倉庫初水數量 $t 瓶
log 倉庫開倉券 $u 張
log 倉庫傳送券 $v 張
log 箭矢筒 $w 筒
log 銀箭矢筒 $x 筒
log 火箭矢筒 $y 筒
pause 3
do conf char none
pause 3
release jpcheck
pause 3
do conf logConsole 0
pause 3
do charselect
pause 3
call dc
}
automacro error {
console /Error (.*)/
call er
timeout 10
exclusive 1
run-once 1
}
automacro error1 {
console /Syntax Error (.*)/
call er
timeout 10
exclusive 1
run-once 1
}
automacro error2 {
console /Unable to (.*)/
location not new_1-3
call er
timeout 10
exclusive 1
run-once 1
}
macro er {
pause 5
do charselect
release all
}
然後
改PM
去下載此版OP 為外掛聯合國版主修正的 請點此開啟連結或下載檔案
安裝好後
config.txt人物那邊不用選 不坐下 不撿物 存倉開 可是不用設NPC
買物賣物領倉也不用 練功地圖也不用 倉庫密碼要打
腳色一率用第3個人物喔就是2 刪錯腳色不負責喔
第1次洗之前第3格要先有1隻腳色喔
角色會洗到9等然後去轉職 嫌太久我能設定接任務的
以下為外掛聯合國61大提供的
下面這個是Automacro.pm的部分修改
這個檔案會在plugins資料夾裡面的Macro資料夾裡
找到之後把它打開來
然後找到sub automacroCheck 這一部分
再來把跟下面這段內容相同的部分
用下面這段內容替換
也就是複製蓋過去........
別貼錯了多一個字(或符號)少一個字都不行
return if (defined $queue && !$queue->interruptible);
有人反應看到這行的&是三個...........
如果看到三個的自己改成兩個.......兩個才是正確的
PS:請用WordPad開這種.pm的檔不然你會看到一堆亂碼
Automacro.pm
===============(虛線以下才貼不包含此線)===============
sub automacroCheck {
my ($trigger, $args) = @_;
return unless $conState == 5 || $trigger =~ /^(?:charSelectScreen|Network)/;
if ($trigger =~ /^(?:charSelectScreen|Network)/) {
my (undef, $args) = @_;
$timeout{'charlogin'}{'time'} = time;
$args->{return} = 2;
}
# do not run an automacro if there's already a macro running and the running
# macro is non-interruptible
return if (defined $queue & !$queue->interruptible);
===============(虛線以上才貼不包含此線)===============
|