SRL Archive - OSR Help

Slayer Bot


cradlefatal

2013-02-24 15:09:23

I am working on a slayer script I've been trying to figure a way to come about it so what I have in mind is for it to withdraw your gem first so this is the code that I have so far can someone reread it and let me know if there might be any errors and any suggestions on how to make it click the gem after it pulls out your food so it will know what monster you are supposed to fight


program SuperSlayer5000;
{$DEFINE SMART8}
{$DEFINE SMART}
{$i SRL\SRL.simba}
{$i ObjectDTM\ObjDTMInclude.simba}
begin
Players[0].Name := '';
Players[0].Pass := '';
Players[0].Nick := '';
Players[0].Member := True;
Players[0].Pin := '';
end;
Smart_Server := 10;
Smart_Members := True;
Smart_Signed := True;

ClearDebug;

SetupSRL;
ObjDTM_Setup;

DeclarePlayers;

if (not LoggedIn) then
LoginPlayer;
end.
Begin
Gem:= DTMFromString('78DA639464606010664001EBD6AD03D38C503' +
'EA314909043552323EB88AA4601487032A001265435207BA408A8' +
'110712FC04D42801097154158242EA986A0450D5282AFBA1A8010' +
'00A5204C0');
if FindDTM(Gem,x, y,1, 1, 200, 200) then
end.


So far all I have is the DTM for the Enchanted Gem

Sjoe

2013-02-24 15:36:22

From: cradlefatal
I am working on a slayer script I've been trying to figure a way to come about it so what I have in mind is for it to withdraw your gem first so this is the code that I have so far can someone reread it and let me know if there might be any errors and any suggestions on how to make it click the gem after it pulls out your food so it will know what monster you are supposed to fight


program SuperSlayer5000;
{$DEFINE SMART8}
{$DEFINE SMART}
{$i SRL\SRL.simba}
{$i ObjectDTM\ObjDTMInclude.simba}
begin
Players[0].Name := '';
Players[0].Pass := '';
Players[0].Nick := '';
Players[0].Member := True;
Players[0].Pin := '';
end;
Smart_Server := 10;
Smart_Members := True;
Smart_Signed := True;

ClearDebug;

SetupSRL;
ObjDTM_Setup;

DeclarePlayers;

if (not LoggedIn) then
LoginPlayer;
end.
Begin
Gem:= DTMFromString('78DA639464606010664001EBD6AD03D38C503' +
'EA314909043552323EB88AA4601487032A001265435207BA408A8' +
'110712FC04D42801097154158242EA986A0450D5282AFBA1A8010' +
'00A5204C0');
if FindDTM(Gem,x, y,1, 1, 200, 200) then
end.


So far all I have is the DTM for the Enchanted Gem


If this is your first script, try and work on something simple first like a PowerMiner or so :)