Results 1 to 7 of 7

Thread: Problem when running scripts...

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

    Default Problem when running scripts...

    Every script I try to run that has anti-bans gives me the following error:

    Line 244: [Error] (15364:4): Unknown identifier 'RandomRClickEvery' in script

    Line 244 is the "1:" in the AntiBan coding below...

    Code:
    Procedure TheAntiBan;
    begin
      TheAntiRandoms;
      Status('Preforming Antiban')
      if ( not ( LoggedIn )) then Exit;
      DONTBAN:= 1 + Random(140)
      case DONTBAN of
         1: RandomRClickEvery(2 + Random(10));
         2: HoverSkill('woodcutting', false);
         3: HoverSkill('random', false);
         4: DoEmote(1 + Random(20));
         6: PickUpMouse;
         9: MMouse(MSX1,MSX2,10,10)
        12: GameTab(1+random(7))
        13: HighestAngle;
        14: TypeSend('Lol my wc lvl is ' +IntToStr (WClevel)  + '.')
        15: TypeSend('Wc lvl ' +IntToStr (WClevel) + '! Sweet!')
        16: TypeSend('Grr, my wc lvl is only ' +IntToStr (WClevel) + '')
        17: GetSkillLevel('WoodCutting')
        18: GameTab(1+Random(7))
        21: TypeSend('I''m lvl ' +IntToStr (WClevel) + ', but I want ' +IntToStr (WClevel + 3 + Random(8)) + '')
        22: TypeSend('' +IntToStr (WClevel) + ' woodcuting.../')
        23: TypeSend('I can''t wait till im lvl ' +IntToStr (WClevel + 4 + Random(7)) + '')
        24: TypeSend('Hmm... im only lvl ' +IntToStr (WClevel) + ' woodcutting... i should go for ' +IntToStr (WClevel + 6 + Random(8))+'')
        25: TypeSend('yay... lvl ' +IntToStr (WClevel) + 'wc... still...')
        26: TypeSend('cool! only ' + IntToStr (10+random(8)) + 'k xp till lvl ' +IntToStr (WClevel + 1 + random(4)) + ' wc')
        27: TypeSend('WC lvl ' +IntToStr (WClevel) + '')
        28: TypeSend('hmph... only ' +IntToStr (WClevel) + '')
        end;
      TheAntiRandoms;
    end;
    Does anybody know how to fix this error?

  2. #2
    Join Date
    Aug 2007
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Help please?

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

    Default

    change it to
    RandomRClick;

    btw, why dont u just rune ''case random(28) of''? instand of case dontban of?

  4. #4
    Join Date
    Jan 2007
    Location
    Illinois.. >.<
    Posts
    1,158
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Dont double post. Here's your fix, place this towards the top of the script, right underneath {.include SRL\SRL.scar}.

    SCAR Code:
    {.include SRL\SRL\Extended\xAntiBan.scar}

    I'm aware that SRL 4.0 doesnt have an extended folder in it, so you wont have this file, so i have attached mine. Make a new folder in the SRL directory, where it already has the folders, "core", "misc", and "skill", and name the new folder "Extended"(without quotes) and place xAntiBan.scar in there. That should solve your problem.

  5. #5
    Join Date
    Oct 2006
    Posts
    2,297
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Plz note that the extended folder (SRL 4.0 BETA's current one) doesn't works at all, a lot of errors occures
    [QUOTE=Santa_Clause;277761]I love you too TSN :p[/QUOTE]
    [CENTER][URL="http://www.stats.srl-forums.com/sigs"][IMG]http://www.stats.srl-forums.com/sigs/1324.png[/IMG][/URL][/CENTER]

  6. #6
    Join Date
    Apr 2007
    Posts
    57
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Line 287: [Error] (13419:19): Unknown identifier 'RandomChatMark' in script C:\Program Files\SCAR 3.11\Scripts\BH_Varrock_Yew_Cutter+Banker_V1.5.sca r
    can someone help me?

  7. #7
    Join Date
    Jan 2009
    Posts
    19
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i get the same exact problem but instead its a different line and instead of the click thing its 'creatTPAFfromtext' help me pleeaase

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Problem with running scripts
    By kevin0095 in forum OSR Help
    Replies: 8
    Last Post: 08-13-2008, 01:10 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
  •