Page 9 of 11 FirstFirst ... 7891011 LastLast
Results 201 to 225 of 258

Thread: A brief lesson on fixing annoying errors :P

  1. #201
    Join Date
    Apr 2008
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hey, I dont know if anybody's mentioned this yet, but if you can tell me how to fix it that'd be cool =)...What do you do when it says "Type mismatch in script"? Thanks

  2. #202
    Join Date
    Apr 2008
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Sorry, double post =O

  3. #203
    Join Date
    Mar 2008
    Posts
    34
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    always get this error Line 48: [Error] (13122:8): Unknown identifier 'FindMime' in script

    please help

  4. #204
    Join Date
    Jun 2007
    Location
    Liverpool ,Nsw,Australia
    Posts
    740
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Pu3rto0wn View Post
    always get this error Line 48: [Error] (13122:8): Unknown identifier 'FindMime' in script

    please help
    you dont need that just use

    SCAR Code:
    FindNormalRandoms
    Quote Originally Posted by Darkmage View Post
    I got 2 questions'
    #1. When i run the script will it automatically pick up the mouse and move?

  5. #205
    Join Date
    Mar 2008
    Posts
    34
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok but what about the scripts i want tuse but have that in it

  6. #206
    Join Date
    Jan 2008
    Location
    Frankfurt, Germany
    Posts
    742
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I came across a different comma exptected in script error (again ), and I don't know if it has been posted before, but if it hasn't, here is the problem and how to solve it:
    Problem:
    SCAR Code:
    Writeln('Hi, I am 'IntToStr(age)' years old');
    Solution:
    SCAR Code:
    Writeln('Hi, I am '+IntToStr(age)+' years old');
    Explanation: The pluses are missing...
    It is because of the simplicity of the error that it appears almost every time I write a script

    Edit: To The Person who posted above me:
    Question:
    ok but what about the scripts i want tuse but have that in it
    Answer: Select the entire "FindFastRandoms" and delete it. after that you schould get an error like: "unknown identifier" a couple of times, jumping to the lines in which the procedure is still called for. just delete all of those, too. btw: scripts using FindFastRandoms are probably way outdated, so the probability that they should work for someone with little Scar knowledge is at about 0%. Get an up-to-date script, or maybe kindly ask the person if he/she could update it. Easy solution to an easy problem.
    (I'm really in the mood today to help, I'd better shut my pc off now, or I might get annoying )
    There is nothing right in my left brain and there is nothing left in my right brain.

  7. #207
    Join Date
    Apr 2008
    Posts
    86
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    im getting this come up
    [Runtime Error] : Out Of Range in line 1211 in script C:\Program Files\SCAR 3.15\includes\SRL/SRL/Core/AntiRandoms/AntiRandoms.scar

    is this like your
    Error 10: Out of range error.



    Solution:
    This is most commonly caused by not setting your players right in the player arrays. When you set the number of players, you are setting the number of slots that there are players for, ACTIVE OR NOT! so if you have 2 users active, but there are 6 slots, then you still have the how many players as 6.
    because if it is im confuse because im sure i have my players setup right and i dont have 1211 lines to my script and it popped up with anti randoms

    rep++ for help

  8. #208
    Join Date
    Jul 2007
    Location
    So Cal
    Posts
    410
    Mentioned
    0 Post(s)
    Quoted
    16 Post(s)

    Default

    how you fix this?

    Line 61: [Error] (12724:20): colon (':') expected in script D:\Documents and Settings\kids\Desktop\powerminner.scar

    edit: nvm got help on irc

  9. #209
    Join Date
    Apr 2008
    Posts
    11
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    thats very helpful

  10. #210
    Join Date
    Jun 2007
    Location
    I live in a hobbit hole.
    Posts
    30
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Please help, i made this procedure and keep getting this error on script below.

    Line 26: [Error] (12680:112): Type mismatch in script C:\Users\----\Desktop\A Work In Progress.scar


    SCAR Code:
    procedure locatebanksign;
           var
            x, y :integer;
            acc :string;
            angle :string;
           begin
             Writeln('Finding Bank Symbol');
             FindDeformedBitmapToleranceRotationIn(BankSymbol, x, y, 536, 12, 711, 158, 30, 2, acc, PI/10, 0, 2 * PI, angle)true; // line 26
             Result : acc;
             end;


    And this error for script below.

    Line 75: [Error] (12729:69): Type mismatch in script C:\Users\-----\Desktop\A Work In Progress.scar


    SCAR Code:
    procedure open bank;
         Var
         Points :integer;
         x, y :integer;
         a, b :integer;
           begin;
             MakeCompass('n');
             FindColorsSpiralTolerance(x, y, Points, 4679037, 5, 5, 514, 336, 70)true;  //Line 75
             FindBitmapToleranceIn(BankBooth, a, b, 536, 12, 711, 158, 25);
             ClickMouseSpline(X, Y, 4, 4, True);
             Wait(1000+Random(500));
             ClickMouseSpline(a, b, 4, 4, true);
             end;
    http://img511.imageshack.us/img511/3...2bannerlx0.gifhttp://img367.imageshack.us/img367/5641/mybannerst2.gif
    انا عربي حتى لا تكون عنصرية!
    If you have a PSP and you are bored with it go here and look around.

  11. #211
    Join Date
    Mar 2007
    Location
    Alberta, Canada
    Posts
    1,780
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default

    so I keep getting this invalid number of parameters in script. Does this mean that mean I have to check my entire script for where it could be?

  12. #212
    Join Date
    May 2008
    Location
    San Jose, California
    Posts
    0
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thank You, great thread by the way
    I wish I knew about this before I started messing with random stuff lol

  13. #213
    Join Date
    May 2008
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thank you i <3 you! Helped me!

  14. #214
    Join Date
    May 2008
    Location
    Oregon, USA
    Posts
    154
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default thanks

    thanks this will help...

  15. #215
    Join Date
    May 2008
    Posts
    1
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default nice

    ty... helped out alot much love

  16. #216
    Join Date
    May 2008
    Posts
    93
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Sometimes i get this error "Line XX: [Error] (13122:8): Unknown identifier 'RunBack' in script/// or instead of RunBack is DropTo :\

    any ideas?

    Anyways Great Tutorial, clarified a few things for me )

  17. #217
    Join Date
    May 2007
    Location
    England
    Posts
    4,140
    Mentioned
    11 Post(s)
    Quoted
    266 Post(s)

    Default

    Hey,I get this error:

    Code:
    Line 79: [Error] (12741:20): colon (':') expected in script D:\Program Files\SCAR 3.15\Scripts\mysecond script.scar
    From this part of my script that I am trying to make:

    Code:
          1: Mouse(x, y, 4, 4, False);
             ChooseOption('ine');
          2: Mouse(x, y, 4, 4, True);
    Please reply ASAP.
    Thanks,
    Richard.
    <3

    Quote Originally Posted by Eminem
    I don't care if you're black, white, straight, bisexual, gay, lesbian, short, tall, fat, skinny, rich or poor. If you're nice to me, I'll be nice to you. Simple as that.

  18. #218
    Join Date
    May 2008
    Posts
    31
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    i'm a beginner at scripting and kept getting loads of these errors

  19. #219
    Join Date
    May 2008
    Posts
    31
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Having read this though I am finding it much easier to script and fix other peoples scripts.

  20. #220
    Join Date
    May 2008
    Posts
    31
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Thanks!!!!!!!

  21. #221
    Join Date
    May 2008
    Posts
    31
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Thanks JAD please make more!

  22. #222
    Join Date
    May 2008
    Location
    Brazil
    Posts
    26
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Very useful Tutorial, i learned how to fix like 3 or 4 errors that i used to have :P, here.
    I hope other noobs have the 'inteligence' to read this post before triple posting the same thread with the same error.
    In search for Knowledge... if i don`t get bored
    http://www.stats.srl-forums.com/sigs/5382.png

  23. #223
    Join Date
    Dec 2006
    Location
    Florida
    Posts
    18
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Wow Ty Jad this was extremely helpful.

  24. #224
    Join Date
    Mar 2008
    Posts
    41
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i got this error, it isnt mentioned on your guide
    'Line 2570: [Error] (15224:44): Type mismatch in script C:\Documents and Settings\ur mum\anal rape\1337 pwn4g3\Runescape\Scar\GuildMiner 30 Release.scar
    Code:
    http://img147.imageshack.us/img147/9...trycopyyh0.png
    Siggy made by me using Photoshop CS3.
    Willing to test any script that isn't member or pointless.

  25. #225
    Join Date
    Jun 2008
    Location
    Scotland
    Posts
    10
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by JAD View Post




    Error 2: Include file C:\Program Files\SCAR 2.03\includes\SRL/SRL.scar does not exist. (or something like that)



    Solution: this is the biggest error of all time. all you need to do for this is read the tutorial for installing SRL in the Install SRL forum. Moving on..
    I got this, it could also mean the script you are using is out of date I think. Thats the problem I got.

Page 9 of 11 FirstFirst ... 7891011 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. A brief lesson on RadialWalk
    By WT-Fakawi in forum OSR Intermediate Scripting Tutorials
    Replies: 80
    Last Post: 05-02-2012, 12:18 PM
  2. College Homework Lesson
    By Moloch in forum OSR Help
    Replies: 2
    Last Post: 11-05-2008, 02:04 PM
  3. 4 errors Need Help Fixing
    By NiCbaZ in forum OSR Help
    Replies: 1
    Last Post: 04-11-2008, 06:10 AM
  4. Fixing Errors [Video]
    By JuKKa in forum Outdated Tutorials
    Replies: 0
    Last Post: 06-09-2007, 02:27 PM
  5. Fixing This Simple Errors.
    By kooldude in forum OSR Help
    Replies: 2
    Last Post: 05-16-2007, 07: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
  •