VastlySuperior
2012-07-06 05:10:16
Hey All
I need Some help here. I don`t know what I`m doing wrong. I`m working on a all in one pottery script. I have Simba open and use select a client to work with the browsers RuneScape Client. The script go to the right procedure but does not execute it.
Here is the code. Can Someone tell me what I`m doing wrong, where to look for the problem in finding the potters wheel.
Includes
It Does not Set the camera Angle, neither set the compass location and as far as I can tell neither does it find the potters wheel. What am I doing wrong? According to me it should at least set the camera angle as well as the compass setting, but it does`nt even do that.
I would appreciate some suggestions and help. Be gentle as I`m new to this, also is it possible to use something else to find the potters wheel than FindObjTPA?
Thanks in advance for the help.
I need Some help here. I don`t know what I`m doing wrong. I`m working on a all in one pottery script. I have Simba open and use select a client to work with the browsers RuneScape Client. The script go to the right procedure but does not execute it.
Here is the code. Can Someone tell me what I`m doing wrong, where to look for the problem in finding the potters wheel.
Includes
//{$DEFINE SMART}
//{$DEFINE PAINT}
{$i SRL\SRL.simba}
//{$i SRL\SRL\Misc\PaintSmart.simba}
{$i sps\sps.simba}
{$I SRL\SRL\Skill\magic.simba}
{$i ObjectDTM\ObjDTMInclude.simba}// Create Pottery
procedure MakePottery;
var
x, y , PlusOne, PotteryCounter: Integer;
Wheel: Boolean;
Begin
// Setup Pottery For Finding Item To Use
// If Pottery Then Find Wheel
// If Pottery Is made Find Oven
WriteLn('In Pottery Shop');
SetAngle(SRL_ANGLE_HIGH); // Set Camera Angle
MakeCompass('W');
x:=MSCX; // This is the Center Of the Main Screen Where Your Character is standing at the moment
y:=MSCY; // The Search for your object will start from this location outwards in a spiral
WriteLn('Looking For Pottery Wheel');
If FindObjTPA(x, y, 9079697, 6, 1, 15, 60, 600, ['Pott']) then
Begin
Case random(2) of
0: Begin
WriteLn('Left Clicked Potters Wheel');
GetMousePos(x,y); // Get Mouse Current Position
mouse(x, y, 5, 5, True); // Left Click On Potters Wheel
End;
1: Begin
WriteLn('Right Clicked Potters Wheel');
GetMousePos(x,y); // Get Mouse Current Position
mouse(x, y, 5, 5, False); // Right Click To Bring Up Options
WaitOption('Form', 500); // Wait A Certain X Amount Of Seconds Before Clicking Option
End;
End;
End;
End; It Does not Set the camera Angle, neither set the compass location and as far as I can tell neither does it find the potters wheel. What am I doing wrong? According to me it should at least set the camera angle as well as the compass setting, but it does`nt even do that.
I would appreciate some suggestions and help. Be gentle as I`m new to this, also is it possible to use something else to find the potters wheel than FindObjTPA?
Thanks in advance for the help.