Originally Posted by
Sh4d0wf0x
Hi Dailey, that is sad to hear ! I'll have to learn how to use SRL it seems ! Any idea how you for example can move an item to a different slot in SRL ?
make sure your spell book is set to static (right click on spell tab and disable spell filtering).
Not sure if new spells have been included since I made the include, but it should be a simple matter of updating the spell.
Alternatively you can use this (is designed for re-sizable and a custom include so you will need to change it to aerolib related stuff, specifically castBox and ChangeTab functions).
Simba Code:
function castHighAlch:boolean;
var
w, h:integer;
CastBox:Tbox;
SpellCol:TColEx;
ShiftTimer:Timer;
begin
GetClientDimensions(w, h);
CastBox := ToBox((w-60), (h-187), (w-37), (h-164));
SpellCol.create(579287, 8, 0.03, 0.40);
case random(10) of
0..5: ChangeTab('Magic');
6..10:QuickChangeTab('Magic', true);
end;
if SpellCol.findIn(CastBox) then
begin
if WaitUpTextMultiEx(['Cast High Level Alchemy', 'Cast High', 'High Level Alchemy'], 500) then
FastClick(MOUSE_LEFT)
else
MouseBox(CastBox, MOUSE_LEFT);
ShiftTimer.start();
while not isTabActive('Inv') do
begin
wait(100);
if (ShiftTimer.TimeElapsed > 1000) then
begin
writeln('[' +theDate(DATE_MONTH)+ ' - ' +msToTime(getTimeRunning(), TIME_BARE)+']: Took more than 1000ms to shift to inventory.');
exit;
end;
end;
end else
begin
writeln('Could not find spell.');
TerminateScript;
end;
result := true;
end;