Page 8 of 13 FirstFirst ... 678910 ... LastLast
Results 176 to 200 of 321

Thread: [07Scape] TheAutoCurser

  1. #176
    Join Date
    Mar 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Got this error

    C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(282:145): Invalid number of parameters at line 281
    Compiling failed.

    Let me know if it is a simple fix. Thanks.

  2. #177
    Join Date
    Mar 2013
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Got this when trying to run, not sure if it's the anti-leach, nor am I sure on how to find the anti-leach.

    Code:
    [Error] C:\Simba\Includes\SRL/SRL/core/text.simba(791:13): Unknown identifier 'UpChars' at line 790
    Compiling failed.

  3. #178
    Join Date
    Mar 2013
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by Chromosomes View Post
    Got this when trying to run, not sure if it's the anti-leach, nor am I sure on how to find the anti-leach.

    Code:
    [Error] C:\Simba\Includes\SRL/SRL/core/text.simba(791:13): Unknown identifier 'UpChars' at line 790
    Compiling failed.
    I just started getting this. Never got it before.

  4. #179
    Join Date
    Mar 2013
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Could you add anti-random?
    Last edited by imJD; 03-28-2013 at 05:41 AM.

  5. #180
    Join Date
    Mar 2013
    Posts
    56
    Mentioned
    0 Post(s)
    Quoted
    16 Post(s)

    Default

    Quote Originally Posted by flash977 View Post
    Got this error

    C:\Simba\Includes\SRL/SRL/misc/SmartParams.Simba(282:145): Invalid number of parameters at line 281
    Compiling failed.

    Let me know if it is a simple fix. Thanks.
    I've got the same thing happening.

  6. #181
    Join Date
    Feb 2013
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Great script, runs really well. Just a few minor issues; It occasionally clicks on other spells which is not so much of a problem with most spells as it carries on as normal but when it clicks on the enchant bolt spell the mouse just hovers- perhaps you could add in a fail safe in case this happens? It also sometimes clicks attack on the skeletons in the sewer rather than cursing them. Seems to be working flawlessly at the monk.

  7. #182
    Join Date
    May 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Good script for the first run, then when i bought more runes and i load it up it ONLY loads EoC, this only happens with this script. I have done everything correctly.

  8. #183
    Join Date
    Dec 2008
    Location
    ohioo
    Posts
    308
    Mentioned
    0 Post(s)
    Quoted
    22 Post(s)

    Default

    How much is mud staff? I really need to get my mage up for teles

  9. #184
    Join Date
    Mar 2013
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    It says Paired with smart and just sits there

    Edit - says failed to detect clients

  10. #185
    Join Date
    Mar 2013
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Hey can someone help me out? I got a message when trying to start this "Exception in Script: Unable to find file 'SRL/SRL.Simba'" I have Simba saved in my C drive. What do I need to do?
    Thanks.

  11. #186
    Join Date
    Feb 2013
    Posts
    8
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by paulftw View Post
    Hey can someone help me out? I got a message when trying to start this "Exception in Script: Unable to find file 'SRL/SRL.Simba'" I have Simba saved in my C drive. What do I need to do?
    Thanks.
    Have you set up SMART for 07? If not read through the link posted in the thread and follow it, should have no problems if you've done it correctly.

  12. #187
    Join Date
    Mar 2013
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    where do i put my username and password into this script?

  13. #188
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by aegistitan View Post
    where do i put my username and password into this script?
    In the form...

  14. #189
    Join Date
    Mar 2013
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by RJJ95 View Post
    In the form...
    What line is that in?

  15. #190
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    Quote Originally Posted by aegistitan View Post
    What line is that in?
    Sorry man, I can't help you from here it's extremly self explanatory

  16. #191
    Join Date
    Mar 2013
    Posts
    13
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by RJJ95 View Post
    Sorry man, I can't help you from here it's extremly self explanatory
    anybody want to tell me what line to put username and password in? I don't know what a "form" is

  17. #192
    Join Date
    Mar 2013
    Posts
    7
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by aegistitan View Post
    anybody want to tell me what line to put username and password in? I don't know what a "form" is
    i lol'ed this here is a form

    Just start the script and this should open

  18. #193
    Join Date
    Jun 2012
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    script ran well. occasionally the bot would begin selecting another player to cast curse on, which was pretty funny to watch at times. but other than that the script will do its job at low pop hours.

  19. #194
    Join Date
    Jan 2012
    Location
    Florida
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Hey guys. I believe this is my first post. Anyways, I'm what you would consider a "noob" with Simba. The script ran great before I updated the "SPS"(I believe). Well, after I updated the SPS & tried running the script, it brought me to world 36 in RS, not an Oldschool world. All I want to know is how I can fix this and get the script to put me back into an Oldschool world. Any help would be appreciated. Thanks for reading.

  20. #195
    Join Date
    Feb 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Can anyone help?

    [Error] C:\Simba\Includes\P07Include.Simba(57:51): Invalid number of parameters at line 56
    Compiling failed.

    Anti-Leach or what?

  21. #196
    Join Date
    Oct 2011
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    How to make this shit faster its unusable atm.. so slow

  22. #197
    Join Date
    Apr 2013
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Could you add support for Fight Caves? No randoms and less chance of ban.

  23. #198
    Join Date
    Mar 2013
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by Z3tt View Post
    Hey guys. I believe this is my first post. Anyways, I'm what you would consider a "noob" with Simba. The script ran great before I updated the "SPS"(I believe). Well, after I updated the SPS & tried running the script, it brought me to world 36 in RS, not an Oldschool world. All I want to know is how I can fix this and get the script to put me back into an Oldschool world. Any help would be appreciated. Thanks for reading.
    I had the same thing can anyone help us?

  24. #199
    Join Date
    Nov 2006
    Posts
    49
    Mentioned
    0 Post(s)
    Quoted
    18 Post(s)

    Default

    Simba Code:
    Program TheAutoCurser;

    {$DEFINE SMART8}
    {$I SRL/SRL.Simba}
    {$I P07Include.Simba}

    (********************************************************)
    (*           TheAutoCurser - Made by Sequence           *)
    (********************************************************)
    (*      1. Specify how many casts you want to do.       *)
    (*      2. Start the script, and enter login info       *)
    (*      3. Be sure to stand at the Monk of Zamorak      *)
    (*         in the cage at Varrock Castle                *)
    (********************************************************)

    var
      x, y, MonkColor, SkeletonColor1, SkeletonColor2, Casts, I : Integer;
      CastsDone, CastsPerHour, TimeGone : Integer;
      DsgnForm : TForm;
      Username, Password : TEdit;
      StartBtn : TButton;
      NPCLocSetting : Integer;
      NPCCombo : TComboBox;

    const
      ScriptVersionNumber = '1.32';
      default = 'Calibri';

    procedure DTM;
    begin
      Casts := 3184; //Change to specify how many casts you want to do.
      MonkColor := 3742030;
      SkeletonColor1 := 334238;
      SkeletonColor2 := 3368652;
    end;

    procedure LogOutPlayer;
    begin
    P07_TabInventoryTab(11);
    Wait(RandomRange(400, 700));
    P07_MouseBox(575, 362, 706, 388, mouse_left);
    TerminateScript;
    end;

    procedure CheckFriends;
    begin
    P07_TabInventoryTab(9);
    Wait(RandomRange(300, 500));
    MMouse(650, 270, 3, 3);
    Wait(RandomRange(2000, 3000));
    end;

    procedure CheckInventory;
    begin
    P07_TabInventoryTab(4);
    Wait(RandomRange(200, 600));
    end;

    procedure ProgressReport;
    begin
      ClearDebug;
      TimeGone := (GetTimeRunning/1000);
      CastsPerHour :=(3600*(CastsDone))/((TimeGone));
      begin
        Writeln('********************************************************');
        Writeln('            TheAutoCurser - Made by Sequence            ');
        Writeln('********************************************************');
        Writeln('              Time running: ' + MsToTime((GetTimeRunning), Time_Short));
     (*   Writeln('                     Casts: ' + IntToStr(CastsDone) + ' ');
        Writeln('                 Casts p/h: ' + IntToStr(CastsPerHour) + ' ');
        Writeln('********************************************************');    *)

      end;
    end;

    procedure AutoUpdateScript;
    var
        NewFile : Integer;
        OnlineVersion, NewScript, NewFileName : String;
    begin
      begin
        Writeln('Checking TheAutoCurser VersionNumber');
        OnlineVersion := GetPage('http://07scape-theautocurser.googlecode.com/svn/trunk/TheAutoCurser/AutoScriptUpdate.txt');
        Writeln('Local : ' + ScriptVersionNumber + ' / Latest : ' + OnlineVersion);
        if (Trim(OnlineVersion) > ScriptVersionNumber) then
        begin
          Writeln('New TheAutoCurser Version Available! Updating...');
          NewScript := GetPage('http://07scape-theautocurser.googlecode.com/svn/trunk/TheAutoCurser/TheAutoCurser.simba');
          NewFileName := AppPath + 'Scripts\TheAutoCurser v' + OnlineVersion + '.simba';
          NewFile := RewriteFile(NewFileName, true);
          try
            WriteFileString(NewFile, NewScript);
          except
            begin
              Writeln('Fatal error writing to ' + NewFileName + '!');
              TerminateScript;
            end;
          end;
          CloseFile(NewFile);
          Writeln('New TheAutoCurser Version Downloaded Please Restart Simba!');
          Writeln('TheAutoCurser version ' + OnlineVersion + ' has been added to your Simba/Scripts folder.');
          TerminateScript;
        end else
          writeln('You already have version ' + OnlineVersion + ' of TheAutoCurser');
      end;
    end;

    procedure StartUp;
    begin
      ClearDebug;
      SetupP07Include;
      AutoUpdateScript;
      P07_AutoUpdateMe;
      //P07_DeclarePlayer;
      ActivateClient;
      Wait(2000);
      If (Not P07_LoggedIn) Then
        P07_LogInPlayer;
      //P07_MakeCameraAngleHigh;
      //P07_MakeCompassEast;
      DTM;
    end;

    Function AntiBan : Boolean;
    begin
      case random(300) of
      //0: P07_HoverSkill('magic', random(5000));
      1: P07_MakeCompassDegree(RandomRange(140, 170));
      2: P07_MakeCompassDegree(RandomRange(190, 220));
      //3: MMouse(random(650), random(350), 0, 0);
      //4: CheckInventory;
      //5: CheckFriends;
      end;
    end;

    Function AntiBan2 : Boolean;
    begin
      case random(300) of
      0: P07_HoverSkill('magic', random(5000));
      1: P07_MakeCompassDegree(RandomRange(140, 170));
      2: P07_MakeCompassDegree(RandomRange(190, 220));
      3: MMouse(random(650), random(350), 0, 0);
      4: CheckInventory;
      5: CheckFriends;
      end;
    end;

    procedure CastCurse;
    begin
    if P07_TabInventoryTab(7) then
      begin
        //P07_MouseBox(661, 258, 673, 269, mouse_left)
        MMouse(667, 263, RandomRange(3, 5), RandomRange(3, 5));
        Wait(RandomRange(100, 260));
        ClickMouse2(mouse_left);
      end;
    end;

    procedure CastCurseMonk;
    begin
    P07_MakeCompassEast;
    P07_MakeCameraAngleHigh;
    WriteLn('You have choosen to curse the Monk of Zamorak in Varrock Castle');
      repeat
        (*If (Not FindColorSpiralTolerance(x, y, MonkColor, 176, 84, 393, 320, 20)) then
          LogOutPlayer
        else*)

        If FindColorSpiralTolerance(x, y, MonkColor, 176, 84, 393, 320, 20) then
        begin
          P07_MakeCompassEast;
          P07_MakeCameraAngleHigh;
          //P07_CastSpell(12);
          CastCurse;
          Mouse(x, y, random(RandomRange(3, 4)), random(RandomRange(3, 4)), mouse_left);
          //MMouse(RandomRange(X - 3, X + 3), RandomRange(y - 3, y + 3), 0, 0);
          //ClickMouse2(mouse_left);
          ProgressReport;
          AntiBan;
          Inc(CastsDone);
        end;
      Until(I = Casts);
    end;

    procedure CastCurseSkeleton;
    begin
    repeat
      P07_MakeCompassDegree(20);
      P07_MakeCameraAngleLow;
      WriteLn('You have choosen to curse Skeletons at the Varrock sewer');
        begin
        Wait(RandomRange(200, 350));
        //P07_CastSpell(12);
        CastCurse;
        Wait(randomRange(500, 700));
        if P07_FindObjCustom(x, y, ['ek'], [SkeletonColor1, SkeletonColor2], 5) then
          begin
            ClickMouse2(mouse_left);
            Wait(RandomRange(400, 600));
            Inc(CastsDone);
          end
       (*   else
            (begin
              Wait(RandomRange(1034, 1503));
              if (Not P07_FindObjCustom(x, y, ['Skeleton', 'Ske', 'ton', 'Skelet', 'leton'], [8885140, 9804448], 14)) then
              WriteLn('NPC Not found, terminating script...');
              Wait(RandomRange(100, 300));
              Mouse(992, 293, random(5), random(5), true);
              Wait(RandomRange(500, 1000));
              LogOutPlayer;
              Wait(RandomRange(500, 1000));
              TerminateScript;
            end; *)

          end;
        ProgressReport;
        AntiBan2;
        Inc(I);
      until(I = Casts);
    end;

    procedure CastCurseGlobal;
    begin
      case NPCLocSetting of
        0: CastCurseMonk;
        1: CastCurseSkeleton;
      end;
    end;

    procedure SaveSettings(Sender: TObject);
    begin
      DsgnForm.ModalResult := mrOk;
      P07_PlayerName := Username.TEXT;
      P07_PlayerPass := Password.TEXT;
      NPCLocSetting := NPCCombo.ITEMINDEX;
      DsgnForm.CLOSE;
    end;

    procedure YourClickProcedure(Sender: TObject);
    begin
      //ShowMessage('click');
    end;

    procedure InitForm;
    begin
    //DsgnForm
     DsgnForm:=TForm.Create(nil);
      with DsgnForm do
        begin
          Caption:='TheAutoCurser - by Sequence';
          Left:=93;
          Top:=163;
          Width:=320;
          Height:=144;
          Font.Name:=default;
          Font.Color:=clDefault;
          Font.Size:=11;
      end;

    //Username
     Username:=TEdit.Create(DsgnForm);
      with Username do
        begin
          Parent:=DsgnForm;
          Text:='Username';
          Left:=10;
          Top:=10;
          Width:=300;
          Height:=23;
          Font.Name:=default;
          Font.Color:=clDefault;
          Font.Size:=11;
      end;

    //Password
     Password:=TEdit.Create(DsgnForm);
      with Password do
        begin
          Parent:=DsgnForm;
          Text:='Password';
          Left:=10;
          Top:=43;
          Width:=300;
          Height:=23;
          Font.Name:=default;
          Font.Color:=clDefault;
          Font.Size:=11;
          Password.PASSWORDCHAR:='*';
          Password.MAXLENGTH:=20;
      end;

    //NPCCombo\\
    NPCCombo:=TComboBox.Create(DsgnForm);
    with NPCCombo do
      begin
        Caption:='Select NPC and Location';
        Parent:=DsgnForm;
        Left:=10;
        Top:=76;
        Width:=300;
        Height:=23;
        Items.Add('Monk of Zamorak - Varrock Castle');
        Items.Add('Skeleton - Varrock Sewer');
        Text := Items[0];
        OnClick:=@YourClickProcedure;
        Font.Name:=default;
        Font.Color:=clDefault;
        Font.Size:=11;
      end;

    //StartBtn
     StartBtn := TButton.Create(DsgnForm);
      with StartBtn do
        begin
          Parent:=DsgnForm;
          Caption:='Save Settings';
          Left:=10;
          Top:=109;
          Width:=300;
          Height:=25;
          OnClick:=@SaveSettings;
          Font.Color:=clDefault;
          Font.Size:=11;
      end;
    end;

    procedure SafeInitForm;
    var
      v: TVariantArray;
    begin
      setarraylength(V, 0);
      ThreadSafeCall('InitForm', v);
    end;


    procedure ShowFormModal;
    begin
      DsgnForm.ShowModal;
    end;


    procedure SafeShowFormModal;
    var
      v: TVariantArray;
    begin
      SetArrayLength(V, 0);
      ThreadSafeCall('ShowFormModal', v);
    end;

    Begin
    SetupSRL;
    SafeInitForm;
    SafeShowFormModal;
    StartUp;
    CastCurseGlobal;
    end.


    This seems to work for Tz-Kek under the monk settings.
    Last edited by pescados666; 04-05-2013 at 10:36 AM.

  25. #200
    Join Date
    Apr 2013
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Why does mine open eoc?

Page 8 of 13 FirstFirst ... 678910 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •