Results 1 to 11 of 11

Thread: Mismatch :(

  1. #1
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default Mismatch :(

    [QUOTE]
    Line 11: [Error] (17677:56): Type mismatch in script C:\Program Files\SCAR 2.03\Scripts\RepBomb.scar
    [/QUOTE}

    I got that error when I try to run a script I made, here it is.

    SCAR Code:
    program New;
    {.include SRL/SRL.Scar}
    var
    TextGotten, Name : String;
    begin
    SetupSRL;
     Wait(5000);
     TextGotten := Trim(GetTextAtEx(7, 7, 100, UpChars, False, True, 0, 2, -1, 50, False, tr_AllChars));
     if(Pos('Walk ', TextGotten) <> 0)then // What the heck does "<>" do?
      begin
       delete(TextGotten, 1, Pos('Walk ', TextGotten)); // I take it "1" is were you want the text to start deleting at?
       Writeln(Name);
      end;
    end.

    I havn't used Pos before, so I take it it's probably an error with how I have that set up? I can't see anything wrong with it.

    Please help,

    Mike.

  2. #2
    Join Date
    Jun 2006
    Location
    Tennessee, USA
    Posts
    2,603
    Mentioned
    1 Post(s)
    Quoted
    46 Post(s)

    Default

    are you sure you get that error? Because I ran it and it compiled.

  3. #3
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    yes...compiled fine for me, too
    Interested in C# and Electrical Engineering? This might interest you.

  4. #4
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Weird... I swear it brought up an error just a second ago...

    Oh well, lol. Thanks guys

  5. #5
    Join Date
    Sep 2006
    Location
    New Jersey, USA
    Posts
    5,347
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Just curious...what's a 'RepBomb'?
    Interested in C# and Electrical Engineering? This might interest you.

  6. #6
    Join Date
    Jan 2007
    Posts
    248
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    What the heck does <> do..... is somtin I saw in your code, if thats an actual question it means Greater than or less than

  7. #7
    Join Date
    Jun 2006
    Posts
    3,861
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    TheGodfather, it means not equal to.

  8. #8
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    A RepBomb is very simple.

    You set one of your characters in an area with a bunch of level 3 mules, and run it. It'll collect names and report them for autoing.

    Well, that's what I want it to do. I'm having a bit o' trouble.

  9. #9
    Join Date
    Feb 2007
    Posts
    149
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    i guess this is sorta on topic with a repbomb, but how do you find the people? is there function that can find other players or do you try using colors? because if youre using colors, then that wont detect all players, because say if you took the skincolor, its changable so it wont detect all the players :S

    "Impressive" - Star

  10. #10
    Join Date
    Feb 2007
    Location
    SparklesProd.com
    Posts
    2,406
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Could always get the default clothes colors. lol.

    So if color of trousers and color of top and level 3 then get name and report. lol.

  11. #11
    Join Date
    Dec 2006
    Location
    Third rock from the sun.
    Posts
    2,510
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    The skin color can change, but with autoers, it usually won't. Default clothes as well as default skin

    Edit: I could have it click on white dots, starting from the inside of the MM out. 0, 0 Randomness, and the autoing scum will be right underneath you

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Type mismatch
    By batnas in forum OSR Help
    Replies: 3
    Last Post: 04-24-2008, 06:48 PM
  2. type mismatch
    By Maxcore in forum OSR Help
    Replies: 12
    Last Post: 11-10-2007, 12:54 AM
  3. Why am i getting mismatch errors?
    By RudeBoiAlex in forum OSR Help
    Replies: 5
    Last Post: 10-29-2007, 09:18 PM
  4. mismatch
    By Stevee in forum OSR Help
    Replies: 2
    Last Post: 07-27-2007, 04:55 AM

Posting Permissions

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