这个根据某个脚本修改的,全自动交易想要的东西非常稳定学习也是不错选择,放出部分代码。
do c @skillall
# if ($.map = prontera) goto auto1
log ———-$ee—————
if ($ee < 3) goto auto1
$ee = 0
do respawn
goto auto1
:jiaoyi
$ee++
release dealwith
$dealnum = 0
$hehe = 0
while ($hehe <= $dealmax) as loop
$hehe++
$ss = @arg (“$dealitem”, $hehe)
$dealitnu = @arg (“$dealitemnum”, $hehe)
log @inventory ($ss)
if (@inventory ($ss) >= 0) goto auto4
end loop
call auto4ex
# goto auto2
stop
automacro setting {
run-once 1
call {
[
$lockspot = prontera 160 98
#範例 $lockspot = prontera 120 139
$stornpc = prontera 146 88
$remain = 5000000
#外掛交易完之後留在身上最低zeny
$sellnpc = prontera 168 110
$dealitem = 组织的团结力,無名青铜宝箱,祝福宝石,红色钥匙,升级宝石,合成宝石,精炼宝石,幸运宝石,金元宝,巴风特娃娃,俄塞里斯娃娃,黄色钥匙,天主教-圣经上卷,良品头饰兑换卷,天主教-圣经下卷,黑色钥匙,绿色钥匙,不死之证,良品翅膀兑换卷,蓝色钥匙,1威望货币,
#上面這一行是輸入要交易或取倉的物品
$dealitemnum = 500,500,500,500,500,500,500,500,500,500,500,500,500,500,500,500,500,500,500,500,500,
#上面這一行則是輸入前一行要交易物品的數量,格子請對好,第一個數字對應第一項物品,第二個對應第二項以此類推
$dealmax = 21
#你現在$dealitem設定了幾項物品?
$list = kinglin;$user1 = user01;$user2 = user02;$user3 = user03;$user4 = user04;$user5 = user05;$user6 = user06;$user7 = user07;$user8 = user08;$user9 = user09;$user10 = user11;
#记录$user1 = user01;$user2 = user02;$user3 = user03;$user4 = user04;$user5 = user05;$user6 = user06;$user7 = user07;$user8 = user08;$user9 = user09;$user10 = user11;
#$user1 = user12;$user2 = user13;$user3 = user14;$user4 = user15;$user5 = user16;$user6 = user17;$user7 = user18;$user8 = user19;$user9 = user20;$user10 = user21;
#记录$user1 = dc01;$user2 = dc02;$user3 = dc03;$user4 = dc04;$user5 = dc05;$user6 = dc06;$user7 = dc07;$user8 = dc08;$user9 = dc09;$user10 = dc10;
$zhanghaomax = 10;
#你現在$user设置多少个账号
#本行白名單可自行增加
]############################################################################################################################################
do c @skillall
# if ($.map = prontera) goto auto1
log ———-$ee—————
if ($ee < 3) goto auto1
$ee = 0
do respawn
goto auto1
:jiaoyi
$ee++
release dealwith
$dealnum = 0
$hehe = 0
while ($hehe <= $dealmax) as loop
$hehe++
$ss = @arg (“$dealitem”, $hehe)
$dealitnu = @arg (“$dealitemnum”, $hehe)
log @inventory ($ss)
if (@inventory ($ss) >= 0) goto auto4
end loop
call auto4ex
# goto auto2
stop
:auto1
do ai manual
do move $lockspot
do move $lockspot
# do pm $list 已回到集合點,等待指令
goto jiaoyi
stop
:auto2
[
do conf sellAuto_npc $sellnpc
$resell = @config(sellAuto)
do conf sellAuto 1
do conf storageAuto 0
do ai auto
]
do autosell
do ai manual
# do pm $list 已完成自動賣物,正在趕回集合點
do conf sellAuto $resell
pause 2
do move $lockspot
do move $lockspot
call auto4ex
stop
:auto4
do deal @player($list)
stop
:auto4ex
call auto4ex
stop
:auto5
$lockmapname = @config(lockMap)
do pm $list 恢復自動模式,即將返回鎖定地圖$lockmapname
do ai auto
do move $lockmapname
stop
}
}automacro dealwith2 {
console /对方正在交易./
call {
release setting
}
}automacro dealwith {
console /交易忙 (.*)./
timeout 1
disabled 1
exclusive 1
call {
if ($.lastMatch1 == “$list”) goto deal
pause 1
do deal no
stop:deal
do pm $list 請先按確定,以防外掛無法完成交易
$money = @eval($.zeny-$remain)
pause 0.5
if (($money < 0)||($money == 0)) goto nozeny
do deal add z $money
pause 1
goto nozeny
:nonitem
if ($deal == ) goto termination
do pm $list 目前身上沒有 $deal
:nozenywhile ($dealnum <= $dealmax) as loop
$dealnum++
$deal = @arg (“$dealitem”, $dealnum)
$dealitnu = @arg (“$dealitemnum”, $dealnum)
if (@inventory ($deal) < 0) goto nonitem
do deal add @Inventory($deal) $dealitnu
end loop
:termination
pause 1
do deal
pause 0.5
do deal
pause 0.5
do deal
release setting
stop
}
}macro auto4ex {
$ii = 0
lock dealwith
release auto4ex
# do pm $list 請在3秒內同意交易,並請在進入交易畫面後先按一次確認,以防外掛交易失敗
do deal @player($list)
pause 3
do i
pause 3
do pm $list 沒有卡片可以交易,交易即將取消
do deal no
call huanhao
# release dealwith
stop
}automacro auto4ex {
disabled 1
console /(.*) (.*)卡片 x (.*)/
timeout 1.5
call {
do deal add @Inventory($.lastMatch2卡片) $.lastMatch3
pause 1.5
$ii++
call check4
}
}automacro auto4ex1 {
console /你不能把任何道具加入到交易/
call {
lock auto4ex
call check4
}
}macro check4 {
do i
pause 0.5
do deal
pause 2
do deal
do deal
pause 0.5
release dealwith
release auto4ex
release auto4ex1
if ($ii >= 10) {
call auto4ex
}
call huanhao
stop
}macro huanhao {
do respawn
if (@config (username) = $user1) {
do conf username $user2
do relog @rand(5,10)
$ee = 0
release setting
} elsif (@config (username) = $user2) {
do conf username $user3
do relog @rand(5,10)
$ee = 0
release setting
} elsif (@config (username) = $user3) {
do conf username $user4
do relog @rand(5,10)
$ee = 0
release setting
} elsif (@config (username) = $user4) {
do conf username $user5
do relog @rand(5,10)
$ee = 0
release setting
} elsif (@config (username) = $user5) {
do conf username $user6
do relog @rand(5,10)
$ee = 0
release setting
} elsif (@config (username) = $user6) {
do conf username $user7
do relog @rand(5,10)
$ee = 0
release setting
} elsif (@config (username) = $user7) {
do conf username $user8
do relog @rand(5,10)
$ee = 0
release setting
} elsif (@config (username) = $user8) {
do conf username $user9
do relog @rand(5,10)
$ee = 0
release setting
} elsif (@config (username) = $user9) {
do conf username $user10
do relog @rand(5,10)
$ee = 0
release setting
} elsif (@config (username) = $user10) {
do conf username $user1
do stop
}}
###########################测试#####################
主题测试文章,只做测试使用。发布者:fu4k,转转请注明出处:https://1991.run/199.html