看流星社区

 找回密码
 注册账号
查看: 2444|回复: 1

你那没图标的技能是怎么判断的?

[复制链接]

该用户从未签到

发表于 2011-4-24 10:36:46 | 显示全部楼层 |阅读模式
procedure kuaijie1;
asm
pushad
mov  eax, dword ptr [$8F04D4]
mov  eax, dword ptr [eax+$24]
mov  eax, dword ptr [eax+$8ec]
mov  eax, dword ptr [eax+$C]
mov  eax, dword ptr [eax+4*0]
mov ecx,eax
mov edx,[ecx]
mov eax,[edx+8]
call eax
popad
end;

procedure kuaijie11;
begin
InjectFunc(@kuaijie1,nil,0);
end;

procedure TfrmMain.Exec();
var
  Putong:TDateTime;
begin
  IsRunning := True ;
  Putong := Now;
  while True do
  begin
    ShowRenStat();
    if Xue <= 0 then
    begin
      Button2Click(nil);
    end;
    Application.ProcessMessages;
    if not IsRunning then break;
    if GuaiID <0 then
    begin
      if(IsLarge(Putong,5)) then
      begin
      if integer(kuaijie1) > 0  then
      begin
      kuaijie11;
      end
      else begin
      exit;
      end;
        Putong := Now;
      end;
    end;
    if GuaiID >=0 then
    ZhaoGuai;
  end;
end;



那红色的出错[Error] UMain.pas(426): Invalid typecast

该用户从未签到

发表于 2011-12-2 18:36:26 | 显示全部楼层
楼主,我可是冒着被删帖的危险给您回复的,您一定要帮我求情啊
点击按钮快速添加回复内容: 支持 高兴 激动 给力 加油 苦寻 生气 回帖 路过 感恩
您需要登录后才可以回帖 登录 | 注册账号

本版积分规则

小黑屋|手机版|Archiver|看流星社区 |网站地图

GMT+8, 2024-5-5 20:50

Powered by Kanliuxing X3.4

© 2010-2019 kanliuxing.com

快速回复 返回顶部 返回列表