TLOnline2(天龙八部辅助内存源码支持lua脚本)
VC++源码: 多线程多开
自绘界面
调用DM插件void CFunction::FUN_BackCityFunc()//走回去,或者技能回去
{
CString CstrName = pAsmRole->role_curmap().szName;//在城里就去买药吧
if ((CstrName == (CString)"洛阳") ||
(CstrName == (CString)"大理") ||
(CstrName == (CString)"苏州"))
return;
auto ASkill = pAsmSkill->AsmGetSkillData();
for (auto i : ASkill)
{
if ((CString)i.szName == (CString)_T("返回大理城"))
{
if (pAsmSkill->AsmGetSkillTime(i.nCoolTimeID) <= 0)//可以使用
{
if (pMsg->GetCurMountID() != -1)
pMsg->CallInOutRide(0);
//auto ARoleInfo = pAsmRole->GetRoleInfo();
//获取人物信息异常日志(ARoleInfo, continue)
pAsmSkill->AsmUseSkillCall(pUser->nUserRoleID/*ARoleInfo.nRoleID*/, i.nSkillId);
FUN_WaitTime(5);
Sleep(8000);
for (int i = 0; i < 8 && pMe->bRun; i++)//这里用个8秒判断,这个状态值有些延迟
{
Sleep(1000);
}
return;
}
}
}
FUN_RunToTargetEx(0xBF800000, 0xBF800000, 0);//跨地图寻路洛阳
}
|