万王之王 KOK King of Kings

 找回密码
 加入我们
查看: 744|回复: 3

放一个本人用按键精灵+大漠写了个挂机工具,希望可以帮助大家

[复制链接]
发表于 2018-1-4 12:20 | 显示全部楼层 |阅读模式
本帖最后由 蚊子 于 2018-2-1 23:17 编辑

说明:
1.基于按键精灵+大漠插件开发的。执行文件是编译后的按键小精灵exe
2.基本功能:支持文字判断,自动重连,多开,白屏重开,外挂txt代码
3.特色:程序小、挂机代码极度精简
4.缺点:听说按键精灵的多线程不怎么稳定;不知道按键小精灵有没有后门;个人能力有限,应该是最终版了,暂时不考虑更新


食用方法:
1.下载后解压 然后点击注册大漠插件。bat
2.请仔细阅读jkok更新日志
3.能看懂下面的代码就基本可以用了
4.运行jkok。exe
5.设置ikingxp。exe的路径
6.编写你的代码后。点击加载代码,如果不见开始运行按钮就点一下右边的代码路径
7.登录kok
8.点击 开始运行


更新了1.4和1.05 可以不用大漠插件来判断文字了。1.4支持新的1.4客户端





本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?加入我们

x
 楼主| 发表于 2018-1-4 12:27 | 显示全部楼层
本帖最后由 蚊子 于 2018-1-4 12:32 编辑

下面是代码 大家先看看
巫术单坑20钱坑的


%bc public
shutdown::给我下线
relink::连线中断
call:reply%$)告诉你:%*

%var id
aaaa

%var acc
aaaaa

%var pw
aaaaa

%var a
0,20
0,19
7,19
8,20
7,3
8,2
2,3
2,2
1,20
1,19
8,19
9,20
9,2
8,3
1,2
1,3
0,2
0,3
10,2
9,3
10,20
9,19
2,20
2,19


%var p
4,10
4,9
5,8
5,9
6,10
5,11
5,12
4,11



%var o
56,116



%var s
3670126


%begin main
stime 2
for 9999
        %i0 =%i0+1
        %i4 = 0
        stime 0
        500:::sing 开工
        call drop
              judgeoffline
        foreach a/3
                %i4=%i4+1
                5000:20:consider:consider %po,%pa
                stime 1
                1000:::kill %po,%pa
                delay 2000
                call kill8
                etime 1
                500:::sing 第 %i4 波用时 %t1 秒
        loop
        etime 0
        500:::sing 第 %i0 屏用时 %t0 秒
        if %i0>0
                etime 2
                %i1 = formatnumber(%t2 / %i0,2)
                500:::sing 打了 %i0 屏,平均每屏用时 %i1 秒
        endif
       
next
end main


%sub kill8
        foreach p
                800::soul:cast soul_steal on %po,%pp
                if %mp > 750
                        exit for
                end if
        loop
        delay 4000
        5000:3:lance:cast ice_lance on
        delay 5000
        8000:2:lance:cast ice_lance on
        etime 1
        500:::sing 杀怪用时 %t1 秒
              28000::meditate:meditate
        1000:::look 1@%vs
        foreach p
                700:::get ALL_ITEM_IN %po,%pp
                700:4:sell:sell 1
           loop
        700:::sell 1
              28000::meditate:meditate
end kill8

%sub reply
500:::tell %0 收到 %1
if %1 > 10
  500:::sing 暂停 %1 分钟开始
   delay %1
   500:::sing 暂停 %1 分钟结束
end if
end reply

%sub drop
500:::drop vest
500:::drop cloak
500:::drop boots
500:::drop two_hand_sword
end drop

%bc soul
exit::镇定地与你的
exit::里没有任何
exit::不在战斗中
next::觉得一股能量
retry:400:上一个动作
retry:400:正忙
retry:400:什么事也没
retry:400:面前的符咒突然


%bc lance
exit::里没有任何
exit::不在战斗中
//next:800:双手一挥
retry:400:上一个动作
retry:400:正忙
retry:400:什么事也没
retry:400:你划出来的符咒


%bc sell
retry::正忙
exit::个东西你正装备
exit::不能把这个东西

%bc meditate
next::精神正好
next::从冥思中醒来
retry:2000:的精神还没
retry:2000:无法冥思
//retry::的精神恢复
//retry:10000:盘膝坐了下来

%bc consider
exit:3000:他跟你势均力敌
retry:1000:里没有这种

 楼主| 发表于 2018-1-4 12:30 | 显示全部楼层
本帖最后由 蚊子 于 2018-1-4 12:39 编辑

这是牧师跑2坑钱坑


%bc public
shutdown::给我下线
relink::连线中断
call:reply%$)告诉你:%*

%var id
aaa

%var acc
aaaa

%var pw
aaaa

%var a
0,20
0,19
7,19
8,20
7,3
8,2
2,3
2,2
1,20
1,19
8,19
9,20
9,2
8,3
1,2
1,3
0,2
0,3
10,2
9,3
10,20
9,19
2,20
2,19

%var p
4,10
4,9
5,8
5,9
6,10
5,11
5,12
4,11

%var o
26,18
46,18

%var s
5,4

%begin main
for 9999
        500:::city tell我 1 指定大臣
        call drop
        foreach o
                judgeoffline
                1000:10::run %vo
                located %vo
                foreach a/3
                        1000:::kill %ca
                        90000:2:word:cast holy_word on
                        call looksell
                        foreach p
                                500:::get ALL_ITEM_IN %cp
                                500:4:sell:sell 1
                        loop
                        700:8::purify
                        if %mp<300
                                30000::meditate:meditate
                        end if
                loop
        loop
next
end main

%sub reply
500:::tell %0 收到 %1
if %1 = 1
500:::sing %0 把头伸过来,我给你加buff
1000:::appoint %0
1000:::
500:::sing 搞掂,记得请食饭。
end if
if %1 > 10
  500:::sing 暂停 %1 分钟开始
   delay %1
   500:::sing 暂停 %1 分钟结束
end if
end reply

%sub drop
500:::drop vest
500:::drop cloak
500:::drop shield
500:::drop lance
end drop

%sub looksell
1000:::look 1@%cs
500:2::sell 1
end looksell

%bc word
exit::里没有任何
exit::不在战斗中
//next::结束了你的
retry:14500:开始诵念
retry:1000:上一个动作
retry:1000:正忙
retry:400:什么事也没

%bc sell
call:looksell:what
exit::个东西你正装备
exit::不能把这个东西
retry:400:正忙

%bc meditate
next::精神正好
next::从冥思中醒来
retry:2000:的精神还没
retry:2000:无法冥思
//retry::的精神恢复
//retry:10000:盘膝坐了下来

 楼主| 发表于 2018-2-1 23:18 | 显示全部楼层
人工置顶一下  睡觉去
您需要登录后才可以回帖 登录 | 加入我们

本版积分规则

小黑屋|手机版|万王之王 king of kings

GMT+8, 2024-3-29 00:45

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表