Results 1 to 4 of 4

Thread: Screen Freezes

  1. #1
    Join Date
    Nov 2007
    Location
    SCAR central
    Posts
    116
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Screen Freezes

    Whenever i run my script on the rs window... the scar window always crashes and i cant get back into so i have to do ctr+alt+del and click delete there

    can u tell me a solution?

    Heres my script

    program PowerWoodCutter;

    {.include SRL/SRL.scar}

    var
    x,y: Integer;
    i: Integer;

    const
    TreeColor=1922123;

    Procedure Chop;
    begin
    SetupSRL
    If(FindColor(x,y,TreeColor,117,179,889,709)) then
    begin
    MoveMouse(374,366); //Moveing mouse to the tree
    Wait(500+random(1000));
    ClickMouse(374,366,true); //Clicks the tree
    TypeSend('Boring!!!');
    Wait(10000+random(20000));//waits 10-20 seconds
    end;
    begin
    i:= 0
    Repeat
    i:= i + 1;
    Chop;
    MMouse(790,150)
    MMouse(723,170)
    MMouse(793,331)
    MMouse(822,338)
    if InvFull = true then
    DropItems(2,28)
    false = Chop;
    Until(i >= 50);
    end.

  2. #2
    Join Date
    Mar 2007
    Location
    Netherlands->Amersfoort.
    Posts
    1,615
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    its because you call setupsrl more then ones.
    you call the procedure Chop. so you call setupsrl again.

  3. #3
    Join Date
    Aug 2007
    Posts
    1,404
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    In the procedure "Chop" you are using MoveMouse and ClickMouse, which is not only pure-bannage but also much worse than SRL's procedure "Mouse".

    And everytime you will call upon the procedure "Chop" you will type out "Boring!!!", which is a bit detectable. Replace it with some Antiban.

    -Knives

  4. #4
    Join Date
    Nov 2007
    Location
    SCAR central
    Posts
    116
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thank you

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Trade Screen and Duel Screen?
    By Hey321 in forum OSR Help
    Replies: 18
    Last Post: 12-14-2006, 11:13 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
  •