ffo(qq自由幻想)摆图 心形 结婚 截图
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
这是ffo(qq自由幻想)利用按键精灵来自动将物品扔到地上摆出图形的源代码!
我是新手写的代码比较多!我也不知道有没有可以简单地批量处理的!都是我一个点一个点找出来的!
如果测试不能使用请将延迟修改!红色标记的图片附在后面!
请在游戏的最小分辨率下全屏游戏!!!!!!!
FindPic 0,0,1024,768,"Attachment:\开启物品.bmp",0.9,intX,intY
If intX > 0 And intY > 0 Then
MoveTo intx+12, inty+12
Delay 100
LeftClick 1
End If
Delay 100
FindPic 0,0,1024,768,"Attachment:\物品栏.bmp",0.7,intX,intY
If intX < 0 And intY < 0 Then
MessageBox "物品栏打开失败!"
EndScript
End If
//移动物品栏
Delay 1000
MoveTo intx, inty
Delay 100
LeftDown 1
Delay 100
MoveTo 755,506
Delay 100
LeftUp 1
Delay 300
//第一块物品
MoveTo 727, 570
Delay 100
LeftClick 1
Delay 100
MoveTo 380,187
Delay 100
LeftClick 1
Delay 100
KeyPress "Num 1", 1
Delay 100
KeyPress "Enter", 1
Delay 100
//第2块物品
MoveTo 727, 570
Delay 100
LeftClick 1
Delay 100
MoveTo 358,172 Delay 100 LeftClick 1
Delay 100 KeyPress "Num 1", 1 Delay 100 KeyPress "Enter", 1 Delay 100
//第3块物品MoveTo 727, 570 Delay 100 LeftClick 1
Delay 100
MoveTo 338,162 Delay 100 LeftClick 1
Delay 100 KeyPress "Num 1", 1 Delay 100 KeyPress "Enter", 1 Delay 100
//第4块物品MoveTo 727, 570 Delay 100 LeftClick 1
Delay 100
MoveTo 315,160 Delay 100 LeftClick 1
Delay 100 KeyPress "Num 1", 1 Delay 100 KeyPress "Enter", 1 Delay 100
//第5块物品MoveTo 727, 570 Delay 100 LeftClick 1
Delay 100
MoveTo 296,163 Delay 100 LeftClick 1
Delay 100
KeyPress "Num 1", 1 Delay 100 KeyPress "Enter", 1 Delay 100
//+++++
MoveTo 727, 570 Delay 100 LeftClick 1
Delay 100
MoveTo 277,175 Delay 100 LeftClick 1
Delay 100 KeyPress "Num 1", 1 Delay 100 KeyPress "Enter", 1 Delay 100
//第6块物品MoveTo 727, 570 Delay 100 LeftClick 1
Delay 100
MoveTo 265,190 Delay 100 LeftClick 1
Delay 100 KeyPress "Num 1", 1 Delay 100 KeyPress "Enter", 1 Delay 100
//第7块物品MoveTo 727, 570 Delay 100 LeftClick 1
Delay 100
MoveTo 260,211 Delay 100 LeftClick 1
Delay 100 KeyPress "Num 1", 1 Delay 100 KeyPress "Enter", 1 Delay 100
//第8块物品
MoveTo 727, 570 Delay 100 LeftClick 1
Delay 100
MoveTo 266,235 Delay 100 LeftClick 1
Delay 100 KeyPress "Num 1", 1 Delay 100 KeyPress "Enter", 1 Delay 100
//第9块物品MoveTo 727, 570 Delay 100 LeftClick 1
Delay 100
MoveTo 277,259 Delay 100 LeftClick 1
Delay 100 KeyPress "Num 1", 1 Delay 100 KeyPress "Enter", 1 Delay 100
//第10块物品MoveTo 727, 570 Delay 100 LeftClick 1
Delay 100
MoveTo 290,279 Delay 100 LeftClick 1
Delay 100 KeyPress "Num 1", 1 Delay 100 KeyPress "Enter", 1 Delay 100
//第11块物品MoveTo 727, 570 Delay 100 LeftClick 1
Delay 100
MoveTo 306,295