喊话器是游戏中聊天的一种方式,通过外挂来实现,减轻我们手动输入,但现在的游戏都封了组合按键,所以只有用大漠的命令sendstring()来实现,下面给出了源码和视频教程。
喊话器部分源码:
.版本 2.支持库 spec.子程序 喊话延迟 (50)KeyPress (13, 1)延迟 (50)SendString2 (hwnd, 编辑框1.内容, 1)延迟 (50)KeyPress (13, 1)延迟 (2000)SendString2 (hwnd, 编辑框2.内容, 1)延迟 (50)KeyPress (13, 1)延迟 (2000)SendString2 (hwnd, 编辑框3.内容, 1)延迟 (50)KeyPress (13, 1)延迟 (2000)SendString2 (hwnd, 编辑框4.内容, 1)延迟 (50)KeyPress (13, 1)延迟 (2000)
源码:《剑侠情缘》后台喊话器制作