solidxxx
2007-03-16 16:31:27
im working on my magic skills and couldn't find a automager that could do crumble of undead. do you know of one?
2007-03-16 16:31:27
2007-03-16 16:49:04
2007-03-16 18:06:32
procedure CrumbleUndead(TimesToCast, MonsterColor: Integer; MonsterName: String);
var
TimesDone, Tries : Integer;
begin
repeat
Wait(1000 + Random(1000));
GameTab(7);
Wait(500 + Random(500));
MouseBox(595, 306, 605, 316, 1);
TimesDone := TimesDone + 1;
if(FindColorSpiralTolerance(x, y, MonsterColor, MSX1, MSY1, MSX2, MSY2, 5))then
begin
repeat
MMouse(x, y, 2, 2);
Tries := Tries + 1;
if(Tries >= 5)then
begin
KeyDown(37);
Wait(1000 + Random(500));
KeyUp(37);
Tries := 0;
end;
until(IsUpText(MonsterName) or (Not(LoggedIn)));
if(Not(LoggedIn))then
TerminateScript;
begin
Mouse(x, y, 2, 2, False);
ChooseOption(x, y, 'Attack');
Wait(1000 + Random(500));
end;
end;
until(TimesDone >= TimesToCast);
end;
CrumbleUndead(5, Color, 'Name');
2007-03-16 18:29:06
2007-03-16 20:53:12
From: Jason2gs
By your post count, you don't know much about scripting.
2007-03-16 22:39:18
From: solidxxx
lol yea you got that right, i attempted to make my own before i posted. i think i got some stuff right but was never able to get past the being able to find the spell book part lol. thanks a lot for your help, ill try this out.
p.s: your one of the few people who actually help when people have questions. thanks again
2007-03-17 10:06:22
2007-03-18 13:48:14
From: 3garrett3
I wanted to help! I just didnt want to post the whole thing there for him! I didnt learn anything when people posted those sort of things, and i actually wanted him to learn it.
2007-03-18 13:53:17