脚本纯抓图和抓色,没有读取内存。.2、游戏设置为1024X576窗口模式。★注意是 1024X576★.3、启动脚本前可移动游戏窗口,但不能遮拦窗口标题和图标,脚本启动后不能移动游戏窗口,否则会出错。.4、脚本自动找怪、打怪;自动拾取;自动喝红、蓝;验证报警。.★★在本人的普屏显示器测试正常使用,朋友家的宽屏不能使用,可能图片或抓色原因。会修改的,自己修改下吧。★本人按键版本6.50下测试,好久没用按键写东西了! ^ ^★[Attachment]UEsDBBQAAgAIABwc2jzchd/6rQMAACQFAAAIABEAR0RYWS5ibXBVVA0AB750JUyA0iRMQFwlTHPyVWFlAAMzINYAYhkg5gdiRgYJsPg7FgYGIW4IhoGfqUy/Mph/ZzNHOoSxyjSwyiSmXv6YePdv172fmec+phx4nLbpluusU9YFkydne97Kkvyfx/wvhxGEspjQULMEFwR9S2QGGuvpkM0im8sqE8IiYqC45kL2/b9csZ08WXMYpIwZNJy4C1fyGLam5WSdzlYF6v2VxQhEf1MZgOhnCiMQAc35DwNA7tcExgiXSG7dVin/ubyWnRxq8RKFk9Z9/a8XX2925Q97/Sa2/AnS+98zGaYLKFXcTBUFOgCEwEb9TGAAov9IAGg4UORErAyHZru4Z2fQsa8qCbM5lENkrMO3//if3rfQ5+gL++JuXgFRpznbxAIqWcRCMp0dgP6CIKBjgAhuFJwBREF+0cLLXrEmLxDb8t/n0j/rxrUTLz69/Pffo9//b/74P/XW64htl4Jvvddfd1W8Zp2Qdz3UtCgGIPqPDQDN5G88KrP0n9yK/wKLr7DPeWJ/7o+sR07m+sM//v0PyK48/emPppmXqk9M6olnjIpurIqpHxOYP0UzANG7CAa4IUA2MlfKtdL3+J/gY/9FkiYL6Aaw2+T4rL7hPuNQXFZRQfvk/S8+u0bniKo71n39y2GaxqqW9yaWGYRiGF4jGQJkI3MdghoaLn879uu/Qdq84rWn9ePbNU3cvSNTlu899ff//x2n70gaBDKLmwnblrFoxbEo58INfBGJMORVKAMQwbmeocW5XQsXnH0tF1LWcPnhtr//mw89OfT0w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mJiBiamXj3dhYf6E/p6+vu621qbExAQrW1spRUUOXn5OAQGQG4AKRUVkpIUkJYE6FNRUdQyNtA0MNHR0BCUlBMQlOAUFgEHDJSgASpUAUEsBAhcLFAACAAgAHBzaPNyF3/qtAwAAJAUAAAgACQAAAAAAAAAgAICBAAAAAEdEWFkuYm1wVVQFAAe+dCVMUEsBAhcLFAACAAgAJCDaPC+ZLWAvAgAAuAIAAAgACQAAAAAAAAAgAICB5AMAAEd1YWkuYm1wVVQFAAeueyVMUEsBAhcLFAACAAgAEjfaPGxYdJmmAgAAzAIAAAgACQAAAAAAAAAgAICBSgYAAEJhb0ouYm1wVVQFAAeppCVMUEsFBgAAAAADAAMAvQAAACcJAAAAAA==[Script]//=========玩家自定义模块,可自行修改数值=============UserVar hp=50 当血(HP)小于%几时,使用红药。UserVar mp=40 当蓝(MP)小于%几时,使用蓝药。UserVar HPKj=DropList{0键:48|1键:49|2键:50|3键:51|4键:52|5键:53|6键:54|7键:55|8键:56|9键:57}=0 红药快捷键UserVar MPKj=DropList{0键:48|1键:49|2键:50|3键:51|4键:52|5键:53|6键:54|7键:55|8键:56|9键:57}=1 蓝药快捷键UserVar JNKj1=DropList{0键:48|1键:49|2键:50|3键:51|4键:52|5键:53|6键:54|7键:55|8键:56|9键:57}=2 技能1快捷键UserVar JNKj2=DropList{0键:48|1键:49|2键:50|3键:51|4键:52|5键:53|6键:54|7键:55|8键:56|9键:57}=3 技能2快捷键UserVar JNKj3=DropList{0键:48|1键:49|2键:50|3键:51|4键:52|5键:53|6键:54|7键:55|8键:56|9键:57}=4 技能3快捷键UserVar JN1ON=DropList{开:0|关:1}=0 技能1开关UserVar JN2ON=DropList{开:0|关:1}=0 技能2开关UserVar JN3ON=DropList{开:0|关:1}=0 技能3开关UserVar JN1time=1 技能1释放时间(秒)UserVar JN2time=1 技能2释放时间(秒)UserVar JN3time=1 技能3释放时间(秒)VBS JN1time=JN1time*1000:JN2time=JN2time*1000:JN3time=JN3time*1000//====================================================VBSCall FindPic(1,1,1023,767,"Attachment:\GDXY.bmp",0.8,X,Y)VBS GDX=X : GDY=YVBS HPX=GDX+106+1.32*hp : HPY=GDY+73//计算HP坐标,勿动!重要!VBS MPX=GDX+106+1.32*MP : MPY=GDY+76//计算MP坐标,勿动!重要!If X>0 and Y>0Else VBSCall MessageBox("脚本执行出错,已停止!请参阅使用说明!")EndScript EndIf //======主程脚本=================//======主程脚本=================Rem 开始Delay 200KeyPress 9,1Delay 300Rem 打怪Gosub 补红蓝VBSCall FindPic(GDX+270,GDY+52,GDX+333,GDY+98,"Attachment:\Guai.bmp",0.7,X,Y)If X>0 and Y>0 For 3 Gosub 技能攻击 EndFor Goto 打怪Else Gosub 拾物 Gosub 验证报警 Goto 开始EndIf //==========子程脚本=============//==========子程脚本=============Sub 补红蓝 Rem 补红 IfColor HPX,HPY,016F44,2 Else KeyPressH HPKj 1 Delay 300 EndIf Rem 补蓝 IfColor MPX,MPY,664401,2 Else KeyPressH MPKj 1 Delay 300 EndIf Return 补红蓝//=======================Sub 技能攻击 If JN1ON=0 KeyPressH JNKj1 1 Delay JN1time Gosub 补红蓝 EndIf If JN2ON=0 KeyPressH JNKj2 1 Delay JN2time Gosub 补红蓝 EndIf If JN3ON=0 KeyPressH JNKj3 1 Delay JN3time Gosub 补红蓝 EndIf Return 技能攻击//=======================Sub 拾物 For 2 KeyPress 32,1 Delay 200 EndFor Return 拾物//=======================Sub 验证报警 VBSCall FindPic(GDX+17,GDY+57,GDX+1000,GDY+500,"Attachment:\BaoJ.bmp",0.6,X,Y) If X>0 and Y>0 For 10 Beep Delay 200 EndFor Else EndIf Return 验证报警 以上是资源码但我不知怎么使用,请高手指点下