SRL Archive - OSR Help

Missing Includes from simba folder


kriss1993

2013-05-22 13:11:01

First of all this is not the 07 includes (however it is my goal to be able to script in 07 in the end) im looking for that many of u may think. Im looking for includes like {$I SRL\Misc\Stats.simba} and some others that would help me get started at scripting I was follwing YoHoJoSRL scripting tutorial video called 'Scripting Tutorial #2 (1/2): Creating Your First Runescape Script' so I got started on it and first thing I run into was FindObjectCostum which is not included in my simba folder. I was also trying to find it from forums but didnt find it from anywhere I'd appreciate if some1 would help me on this1 ty.

Also I've attached a image which will say 1000 words (hopefully)

u can also add me into skype 'kristensro' if u rly feel like helpig me on this1.

uploaded image here http://www.upload.ee/image/3329422/4post.png

Edit: what actually happened I was stupid its FindObjCostum however im still missing the includes and cant run the script.
Also I think the tutorial might be outdated but most likely its just me being stupid again but if any1 got some time take a look of this screen too; http://www.upload.ee/image/3329463/umm.dib


also the code is here if u guys wanna try it urself.

program new;
//{$Define Smart8}
{$I SRL\SRL.Simba}

Function KolgiAga:Boolean;
var
x, y: Integer;

begin
If FindObjCustom(x, y, ['chop', 'down', 'p d'], [5013154, 4485264, 4287626, 5211306], 5), Then
writeLn('k2es raibe');
end;
begin
SetupSRL;
repeat
KolgiAga;
Until(false);
end.

Smidqe

2013-05-22 14:15:18

Stats are already included when you include SRL in your script. They were moved from stats.simba to globalstats.simba and are automatically included when you included SRL.simba. So you don't need to have {$i srl/srl/misc/stats.simba} in the script.

Also you have an extra comma in your if FindObjCustom() then line just before the then.

kriss1993

2013-05-22 17:15:48

Thnx for the answer Ill check it

kriss1993

2013-05-23 06:58:42

dam u were right xD I was just being stupid thnx so much.