Results 1 to 3 of 3

Thread: What is my problem

  1. #1
    Join Date
    May 2007
    Location
    Florida
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default What is my problem

    //obtain ores from bank
    //
    procedure obtainore;
    begin
    OpenBankQuiet('akb');
    depositall;
    if (x,y,ore1)then
    begin ( <- this is 116)
    mouse(x,y,3,3,false);
    PopUp('Withdraw X');
    wait(750+random(150));
    SendText(orenum1+chr(13));
    wait(1250+random(500));
    end
    ---------------------------------------
    Failed when compiling
    Line 116: [Error] (14517:6): Close round expected in script

  2. #2
    Join Date
    Nov 2006
    Location
    NSW, Australia
    Posts
    3,487
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    End
    It should be end;
    [CENTER][img]http://signatures.mylivesignature.com/54486/113/4539C8FAAF3EAB109A3CC1811EF0941B.png[/img][/CENTER]
    [CENTER][BANANA]TSN ~ Vacation! ~ says :I Love Santy[/BANANA][/CENTER]

    [CENTER][BANANA]Raymond - Oh rilie? says :Your smart[/BANANA][/CENTER]

  3. #3
    Join Date
    May 2007
    Location
    Canada
    Posts
    261
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    That is also a problem, but the one that he posted was on this line
    SCAR Code:
    if (x,y,ore1)then

    I have no idea what you were trying to do there. A good way to find the ore would be to make a DTM or a Bitmap of the ore, and do
    SCAR Code:
    If (FindBitmapToleranceIn(THEBITMAP, x, y, MSX1, MSY1, MSX2, MSY2, 60)) then

    For a DTM it would be
    SCAR Code:
    If (FindDTM(THEDTM, x, y, MSX1, MSY1, MSX2, MSY2)) then

    Colors don't work as well, if that was what you were trying to do.
    On vacation from July 2nd till middle of August


    Account Creator and Tutorial Island Runner (member | public) Errors fixed


    Check out my Complete forms tutorial. It will teach you everything you need to know about forms.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. problem...
    By Blumblebee in forum OSR Help
    Replies: 4
    Last Post: 12-28-2008, 07:22 AM
  2. help big problem
    By goblanca in forum OSR Help
    Replies: 3
    Last Post: 05-19-2007, 10:41 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
  •