Richard
2009-07-09 02:18:57
Well I've been working on a new auto cast, using a shorter method. I have the coords from the previous spells, but I'm not sure if they work with the new spell buttons. Also there isn't a luminance checker, due to me not current owning an account with access to all the spells.
Here it is, please just tell me if it clicks or not:
Just start logged in, it should do that rest.
Note: I've only been working on this for about half an hour, so it may look a bit scruffy.
Thanks
EDIT: Due to the new gametabs, just comment out that line, and start on the first gametab.
Here it is, please just tell me if it clicks or not:
Procedure SetupAutoCast(Spell: String; Defensive: Boolean);
Var
SpellNames: Array [0..1] of Array [0..3] of String;
TSA: TStringArray;
i: Integer;
ii, SpellInt: TIntegerArray;
Begin
if not GameTab(1) then Exit;
SpellNames[0] := ['wind', 'water', 'earth', 'fire'];
SpellNames[1] := ['strike', 'bolt', 'blast', 'wave'];
Mouse(655, ((Integer(not(Defensive)) * 33) + 253), 50, 25, True);
TSA := srl_Explode(Spell, ' ');
For i := 0 to 1 do
For ii[i] := 0 to 3 do
If (TSA[ii[i]] = SpellNames[i][ii[i]]) then
Begin
SpellInt[i] := ii[i];
Break;
end;
Mouse(((SpellInt[0] * 40) + 503), ((SpellInt[1] * 61) + 124), 3, 3, True);
end;Just start logged in, it should do that rest.
Note: I've only been working on this for about half an hour, so it may look a bit scruffy.
Thanks
EDIT: Due to the new gametabs, just comment out that line, and start on the first gametab.