Function
2010-01-25 19:57:28
Alright so I haven't checked out how the current CheckHitpoints (if there even is one) sees how much hitpoints you have. But what about my idea that would be completely stable and never fail(in theory unless they change it which I don't think they will.)
Now I've found that the yellow color in the stats thing never changes. So couldn't we just do a count color?
If there is an easier way to do this please tell me. But if not then I will contiune to do this.
Just trying to help :)
All of them so far have been tested and work.
(I have a lvl 115 main which I could get the rest up to 89 if we decide to do this.)
Now I've found that the yellow color in the stats thing never changes. So couldn't we just do a count color?
If there is an easier way to do this please tell me. But if not then I will contiune to do this.
Just trying to help :)
function CheckHitpoints: integer;
begin
//MouseBox(558, 177, 575, 196, 1); //To click on the stats icon thing
case CountColor(65535, 631, 231, 646, 244) of
11: begin
if(GetColor(637, 240) = 65535)and
(GetColor(639, 235) = 65535)then
begin
result := 7 //
end else
result := 1;
end;
15: begin
if(GetColor(641, 240) = 65535)and
(GetColor(640, 240) = 65535)then
begin
result := 2; //
end else
begin
if(GetColor(640, 238) = 65535)and
(GetColor(637, 236) = 65535)and
(GetColor(640, 233) = 65535)then
begin
result := 5; //
end else
result := 9; //
end;
end;
13: begin
if(GetColor(638, 240) = 65535)and
(GetColor(639, 240) = 65535)then
begin
result := 3; //
end else
result := 4; //
end;
18: result := 6; //
19: result := 8; //
25: result := 10; //
end;
end;
All of them so far have been tested and work.
(I have a lvl 115 main which I could get the rest up to 89 if we decide to do this.)