求传奇私服使用按键精灵设置自动打怪制作自动打怪,自动捡取,...

传奇SF自动打怪捡东西脚本帮忙高手帮忙看下 _ 综合讨论 - 按键精灵论坛
腾讯微博:
软件版本:2014.03软件大小:71.2M更新时间:10-25
软件版本:3.1.7软件大小:52.1M更新时间:12-12
软件版本:1.2.4软件大小:29.2M更新时间:10-28
软件版本:1.0.2软件大小:11.1M更新时间:10-28
查看: 13841|回复: 18
[General]Description=打怪v0.6BeginHotkey=81BeginHotkeyMod=2RunOnce=0Enable=1[Repeat]Type=0Number=1[CallBack]OnSetup=[Comment]Content=[Script]//大小地图比例VBS scale=30//小地图上的最大距离,可以保证人物与怪在一个屏幕VBS r=7//人怪相邻时的距离VBS d=2//纪录停步时间VBS t=0VBS tt=0//表示移动方向上的偏移,左,下,右,上VBS dim dirt(4,2)VBS dirt(0,0)=-30VBS dirt(0,1)=0VBS dirt(1,0)=0VBS dirt(1,1)=80VBS dirt(2,0)=30VBS dirt(2,1)=0VBS dirt(3,0)=0VBS dirt(3,1)=-30VBS i=0VBS dim dirt2(4,2)VBS dirt2(0,0)=-100VBS dirt2(0,1)=0VBS dirt2(1,0)=0VBS dirt2(1,1)=150VBS dirt2(2,0)=100VBS dirt2(2,1)=0VBS dirt2(3,0)=0VBS dirt2(3,1)=-100VBS ii=0//打怪时鼠标的偏移量,从站的位置开始,从左开始VBS dim fight(8,2)VBS fight(0,0)=-40VBS fight(0,1)=-40VBS fight(1,0)=-25VBS fight(1,1)=25VBS fight(2,0)=5VBS fight(2,1)=19VBS fight(3,0)=25VBS fight(3,1)=25VBS fight(4,0)=35VBS fight(4,1)=-20VBS fight(5,0)=30VBS fight(5,1)=-30VBS fight(6,0)=0VBS fight(6,1)=-50VBS fight(7,0)=-30VBS fight(7,1)=-30VBS iii=0//定义一个随机数VBS rand=5//小地图上人物坐标,此坐标固定VBS role_x0=739VBS role_y0=59//大地图上人物站立位置,此坐标固定,取两脚之间的一点VBS stand_x=390VBS stand_y=210VBS role_x1=390VBS role_y1=140//小地图上表示怪物的一点颜色为#0000FF//小地图位置:左上角680,0
左下角680,120
右下角800,120
右上角800,0Rem 杀怪//=====================寻找身边是否有怪==========================VBSCall Call FindCenterColor(role_x0-d,role_y0-d,role_x0+d,role_y0+d,"0000FF",monster_x0,monster_y0)//有怪If monster_x0>=680 and monster_y0>=0
//在身边直接打怪
//八个打怪的方向,从左开始,逆时针打过来
If role_x0>monster_x0 and role_y0-dmonster_y0
If role_x0>monster_x0 and role_y0<monster_y0
If role_x0-dmonster_x0 and role_y0<monster_y0
If role_x0<monster_x0 and role_y0<monster_y0
If role_x0<monster_x0 and role_y0-dmonster_y0
If role_x0monster_y0
If role_x0-dmonster_x0 and role_y0>monster_y0
If role_x0>monster_x0 and role_y0>monster_y0
click_x=stand_x+fight(iii,0)
click_y=stand_y+fight(iii,1)
click_x=stand_x
click_y=stand_y
MoveTo click_x click_y
LeftClick 1
Goto 杀怪EndIf //========================寻找小地图上怪物坐标===========================VBSCall Call GetCursorPos(x,y)VBSCall new_color=GetPixelColor(x,y)Rem 找怪VBSCall Call FindCenterColor(680,0,800,120,"0000FF",monster_x0,monster_y0)//有怪If monster_x0>=680 and monster_y0>=0
If monster_x0<role_x0 and monster_y0<=role_y0
//朝怪方向移动,怪在左上侧
click_x=stand_x-50
click_y=stand_y-50
If monster_x0role_y0
//朝怪方向移动,怪在左下侧
click_x=stand_x-50
click_y=stand_y+50
If monster_x0>=role_x0 and monster_y0<role_y0
//朝怪方向移动,怪在右上侧
click_x=stand_x+50
click_y=stand_y-50
If monster_x0>role_x0 and monster_y0>=role_y0
//朝怪方向移动,怪在右下侧
click_x=stand_x+50
click_y=stand_y+50
MoveTo click_x click_y
LeftClick 1
Delay 1000
//路径上有障碍,这样3秒之后还站在原地,随机变向
VBSCall Call GetCursorPos(x,y)
VBSCall new_color=GetPixelColor(x,y)
If new_color=old_color
VBSCall Call rnd=Rnd
If rnd>=0 and rnd<0.25
old_color=new_color
click_x=stand_x-50
click_y=stand_y-50
If rnd>=0.25 and rnd<0.5
old_color=new_color
click_x=stand_x-50
click_y=stand_y+50
If rnd>=0.5 and rnd<0.75
old_color=new_color
click_x=stand_x+50
click_y=stand_y-50
If rnd>=0.75 and rnd<=1
old_color=new_color
click_x=stand_x+50
click_y=stand_y+50
MoveTo click_x click_y
RightDown 1
Delay 1000
old_color=new_color
//=====================没怪跑路===========================Else
click_x=stand_x+dirt2(ii,0)
click_y=stand_y+dirt2(ii,1)
MoveTo click_x click_y
//LeftClick 1 走方式
RightDown 1
Delay 1000
//路上遇到障碍,随机变道
VBSCall Call GetCursorPos(x,y)
VBSCall new_color=GetPixelColor(x,y)
If new_color=old_color
VBSCall Call rnd=Rnd
If rnd>=0 and rnd<0.25
If rnd>=0.25 and rnd<0.5
If rnd>=0.5 and rnd<0.75
If rnd>=0.75 and rnd<=1
old_color=new_color
EndIf EndIf //==================拾取金币=============================Rem 拾金VBSCall Call FindColor(stand_x-100,stand_y-100,stand_x+100,stand_y+100,"00FFFF",x,y)If x>=0 and y>=0
MoveTo x y
LeftClick 1
Delay 1000
Goto 拾金EndIf Goto 杀怪EndScript
新手受教了
找来的不能用
脚本神二代
按键精灵开发者1级可通过提升认证等级来升级勋章:
觉得 找图 找色
脚本 通用性不太好
爱要让你看见
学习!!!!
shentong1983
lzqiang521
shentong1983 发表于
13:34 来好好学习一下!!
御龙__无双
如何使用请教教我,微信电话都是1.3.5.7.9.9.7.4.8.8.5
复制到新建脚本里面了但是出现好多错误求大神给写个自动捡取的脚本_按键精灵吧_百度贴吧
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&签到排名:今日本吧第个签到,本吧因你更精彩,明天继续来努力!
本吧签到人数:0成为超级会员,使用一键签到本月漏签0次!成为超级会员,赠送8张补签卡连续签到:天&&累计签到:天超级会员单次开通12个月以上,赠送连续签到卡3张
求大神给写个自动捡取的脚本收藏
自动捡红色字体 不要其他功能 800*600窗口
用大漠,做字库
800*600,第一时间想到了dnf
。。。。一般都做自动打怪加拾取物品的你这种要怎么拾取?不可能打完后就强行跑去捡把,万一周围有怪呢
我自己弄了个颜色捕捉 坐标定位 点击鼠标的代码 有些角度不能拾取
颜色捕捉成功后鼠标确定坐标 坐标可以设置一定偏移量吗该如何设置 比如扫描到的坐标是100.100 如何设置偏移到110.105
登录百度帐号推荐应用
为兴趣而生,贴吧更懂你。或您好,欢迎来到!
[64546]求一个按键精灵编写的传奇能自动打怪拣东西的脚本
悬赏已经到期,等待雇主评标
赏金分配:单人中标,一人独享赏金。
雇主选一人中标,一人独享中标金!
雇主已托管全部赏金,中标者可得到悬赏金的80%。
求一个传奇私服用的按键精灵脚本,能自动打怪然后能识别地上掉的元宝并拣起来用掉。
需要使用在一个私服上,相关资料请与我Q***联系 [补充于
页面加载中...
评论加载中...
所在地区:北京
信用等级:
交稿数量222
分享可赚钱,赶快告诉您的朋友吧}

我要回帖

更多关于 按键精灵设置自动打怪 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信