Crash Override
06-07-2012, 11:32 AM
Hi im new to SIMBA.
I need some help if possible. I am working on my first script: YakHideCollector
I am having a few issues as being new to SIMBA most people do.
ISSUE 1:
I use AVA2 for picking the color and i am still having trouble. It right-clicks fine. But instead of picking up yak-hides it picks up yak-hair....
heres the part of the script
Procedure PickUpHides;
var x, y: integer;
begin
repeat
if FindObj(x, y, 'ake', 1780016, 35) then
begin
Mouse(x, y, 0, 0, false);
ChooseOption('ake');
end;
repeat
wait(400+random(250));
AntiBan;
Until not IsUpText('air,') or (InvFull);
until(InvFull);
end;
ISSUE 2:
How do you actually make a walking script work? I have made my own walking script it works but how do i actually activate it? I would like to walk after my inventory is full. How do you do that? Do you need to add an IF statement or something? I tried this
Procedure WalkToBank;
var
myPath:TPointArray;
begin
SetupSRL;
SPS_Setup(RUNESCAPE_SURFACE,['2_3']);
myPath := [Point(338, 247), Point(344, 227), Point(351, 214), Point(366, 216), Point(384, 218), Point(390, 222), Point(397, 230), Point(388, 239), Point(385, 238)];
SPS_WalkPath(myPath);
end;
ISSUE 3:
When walking if their is an obstacle such as a shut gate or door, How do you tell the script to open them? I assume its an IF statement of some sort.
I know that these are really easy to a lot of you. And after i am told how to do it it will be easy for me too... I also know that this is a very bad script but after i get it working and do a heap of tweaking it will be flawless XD
Thanks guys.
-Crash Ovveride!:sasmokin:
I need some help if possible. I am working on my first script: YakHideCollector
I am having a few issues as being new to SIMBA most people do.
ISSUE 1:
I use AVA2 for picking the color and i am still having trouble. It right-clicks fine. But instead of picking up yak-hides it picks up yak-hair....
heres the part of the script
Procedure PickUpHides;
var x, y: integer;
begin
repeat
if FindObj(x, y, 'ake', 1780016, 35) then
begin
Mouse(x, y, 0, 0, false);
ChooseOption('ake');
end;
repeat
wait(400+random(250));
AntiBan;
Until not IsUpText('air,') or (InvFull);
until(InvFull);
end;
ISSUE 2:
How do you actually make a walking script work? I have made my own walking script it works but how do i actually activate it? I would like to walk after my inventory is full. How do you do that? Do you need to add an IF statement or something? I tried this
Procedure WalkToBank;
var
myPath:TPointArray;
begin
SetupSRL;
SPS_Setup(RUNESCAPE_SURFACE,['2_3']);
myPath := [Point(338, 247), Point(344, 227), Point(351, 214), Point(366, 216), Point(384, 218), Point(390, 222), Point(397, 230), Point(388, 239), Point(385, 238)];
SPS_WalkPath(myPath);
end;
ISSUE 3:
When walking if their is an obstacle such as a shut gate or door, How do you tell the script to open them? I assume its an IF statement of some sort.
I know that these are really easy to a lot of you. And after i am told how to do it it will be easy for me too... I also know that this is a very bad script but after i get it working and do a heap of tweaking it will be flawless XD
Thanks guys.
-Crash Ovveride!:sasmokin: