Results 1 to 11 of 11

Thread: Help required in tweaking an anti-logout

  1. #1
    Join Date
    Oct 2006
    Location
    H0M3
    Posts
    142
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Help required in tweaking an anti-logout

    hi i am working on an anti-logout script ath the moment using srl.
    this is only my second script, so please be patient with me.
    i need some help in adding anti-randoms.
    i would be very greatfull if someone helped me with this script

    the error i get is

    Successfully compiled
    [Runtime Error] : Exception: Access violation at address 0065154B in module 'scar.exe'. Read of address 00000000 in line 620 in script C:\Program Files\SCAR 2.03\includes\srl\srl\core\Text.scar


    and here is my scrip:
    SCAR Code:
    program New;
    {.include srl/srl.scar}
    {.include srl/srl/skill/WoodCutting.scar}
    {.Include SRL\SRL\Misc\PlayerForm.scar}
    {.Include SRL/SRL/Extended/xMapWalk.Scar}


    var
      ModulationY:integer;
      trips: integer;




    ///  -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_   ///





    procedure Findrandoms;
    begin
      Findnormalrandoms;
      LeaveScreenEvery(1);
      if (FindFight) then
      begin
        Writeln('Shit were in a freaking fight');
        RunAwayDirection('E');
        wait(6000 + random(99));
        RunBack;
        Writeln('That was freaking close! Better be glad im watching you!');
      end;
    end;

    Procedure SetModulationy;
    begin
    ModulationY:=0
    ModulationY:=random(2)+1;
    end;


    procedure Report;
    begin
    Trips := Trips + 1
    wait(500 + random(345))
    end;


    procedure ProgressReport;
    begin
      writeln(' ');
      writeln('<=================Progress Report================ > ');
       writeln('Modulated And Clicked ' + inttostr(Trips) + ' times.');
      writeln(' ');
      writeln('<=================Randoms Report================ > ');
      writeln(' This Script Dosent Have AntiRandoms ');
      writeln(' If You Would Like To Help Me Make AntiRandoms ');
      writeln(' Please Contact Apx900 On Fagex.net ');
      writeln(' ');
     writeln('<================================================ > ');
    end;

    Procedure Clicking;
    begin
    SetModulationy;
    Clickmouse(590,190 + Random(2),true)
    Report;
    ProgressReport;
    Wait(30000 + Random(10000));

    SetModulationy;
    Clickmouse(652,183 + Random(1),true)
    Report;
    ProgressReport;
    Wait(30000 + Random(10000));

    SetModulationy;
    Clickmouse(576,178 + Random(2),true)
    Report;
    ProgressReport;
    Wait(30000 + Random(10000));

    SetModulationy;
    Clickmouse(715,182 + Random(3),true)
    Report;
    ProgressReport;
    Wait(30000 + Random(20000));

    SetModulationy;
    Clickmouse(554,192 + Random(3),true)
    Report;
    ProgressReport;
    Wait(30000 + Random(20000));

    SetModulationy;
    Clickmouse(715,182 + Random(3),true)
    Report;
    ProgressReport;
    Wait(15000 + Random(10000));
    end;

    Procedure actualwork;
    begin
    SetModulationy;
    Clicking;
    SetModulationy;
    Clicking;
    repeat
    until(false)
    end;

    Begin
    Findrandoms;
    actualwork;
    end.

  2. #2
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    2,984
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    RunAwayDirection isnt in the normal SRL files anymore, it's in extended now, but try using RunTo instead of RunAwayDirection.

  3. #3
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default

    Or just add this {.Include SRL/SRL/Extended/xMapWalk.Scar}

  4. #4
    Join Date
    Oct 2006
    Location
    H0M3
    Posts
    142
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ok done that now i get:

    Failed when compiling
    Line 37: [Error] (15815:1): Identifier expected in script C:\Program Files\SCAR 2.03\Scripts\To FAGEX\antilogout.scar

  5. #5
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    2,984
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    SCAR Code:
    procedure Findrandoms;
    begin
      Findnormalrandoms;
      LeaveScreenEvery(1);
      if (FindFight) then
      begin
        Writeln('Shit were in a freaking fight');
        RunAwayDirection('E');
        wait(6000 + random(99));
        RunBack;
        Writeln('That was freaking close! Better be glad im watching you!');
      end;

    What i see there is 2 begins and 1 end... hmmm....

  6. #6
    Join Date
    Oct 2006
    Location
    H0M3
    Posts
    142
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Sumilion View Post
    SCAR Code:
    procedure Findrandoms;
    begin
      Findnormalrandoms;
      LeaveScreenEvery(1);
      if (FindFight) then
      begin
        Writeln('Shit were in a freaking fight');
        RunAwayDirection('E');
        wait(6000 + random(99));
        RunBack;
        Writeln('That was freaking close! Better be glad im watching you!');
      end;

    What i see there is 2 begins and 1 end... hmmm....
    a million thanks to you man. no errors, just gonna test it. and then release the final version.

  7. #7
    Join Date
    Oct 2006
    Location
    H0M3
    Posts
    142
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Omg this script just wont leave me alone.
    now i i get this error but forsome reason its compiling fine:

    Successfully compiled
    [Runtime Error] : Exception: Access violation at address 0065154B in module 'scar.exe'. Read of address 00000000 in line 620 in script C:\Program Files\SCAR 2.03\includes\srl\srl\core\Text.scar

  8. #8
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    6,136
    Mentioned
    28 Post(s)
    Quoted
    17 Post(s)

    Default

    You forgot to call SetupSRL;
    SRL is a Library of routines made by the SRL community written for the Program Simba.
    We produce Scripts for the game Runescape.

  9. #9
    Join Date
    Oct 2006
    Location
    H0M3
    Posts
    142
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by WT-Fakawi View Post
    You forgot to call SetupSRL;
    Shank you veeery much.
    thank u verry verry much.

  10. #10
    Join Date
    Jun 2006
    Location
    Canada
    Posts
    1,610
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    > i always come here to help people but it seems i'm always beaten to the punch

    Accept that the waters around you have grown.

  11. #11
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    2,984
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Hah, then be online more XD
    It's just pure luck that i get to solve a lot of errors

    EDIT : YEAH ! my 400th post !

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. anti logout
    By roboroofer1 in forum RS3 Outdated / Broken Scripts
    Replies: 8
    Last Post: 08-06-2008, 08:57 PM
  2. [srl][rs2] Anti-logout
    By apx900 in forum RS3 Outdated / Broken Scripts
    Replies: 6
    Last Post: 05-22-2007, 12:53 AM
  3. anti logout
    By macromacro123 in forum OSR Help
    Replies: 1
    Last Post: 03-09-2007, 09:36 PM
  4. Anti-ban help required.
    By yorkshireknight in forum OSR Help
    Replies: 8
    Last Post: 02-16-2007, 04:40 PM

Posting Permissions

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