Results 1 to 5 of 5

Thread: Small Script For Conquer Online ISO Help Please :)

  1. #1
    Join Date
    Mar 2007
    Posts
    26
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Small Script For Conquer Online ISO Help Please :)

    Script Below:
    program New;
    Var x,y : Integer;
    Begin
    Repeat
    if (findcolorSpiral(x, y, 197560,10, 100,1018, 659)) then
    Clickmouse(x+17, y+37, True);
    Else
    If (FindColorSpiral(x, y, 12450815,10, 100,1018, 659))Then
    ClickMouse(x,y,True);
    Wait(100);
    ClearDebug;
    Until(False);
    End.

    Error Returned:
    Line 7: [Error] (7:1): Identifier expected in script

  2. #2
    Join Date
    Jan 2007
    Location
    Tennessee
    Posts
    642
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    I don't use else very often but I'm pretty sure you have to use it with an end; like this- "end else"

    SCAR Code:
    program New;
    Var x,y : Integer;
    Begin
    Repeat
    if (findcolorSpiral(x, y, 197560,10, 100,1018, 659)) then
    Clickmouse(x+17, y+37, True);
    end Else
    If (FindColorSpiral(x, y, 12450815,10, 100,1018, 659))Then
    begin
    ClickMouse(x,y,True);
    end;
    Wait(100);
    ClearDebug;
    Until(False);
    End.

  3. #3
    Join Date
    Mar 2007
    Posts
    26
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ok ill have to try that might have been the mistake thanks in advance and if anyone else has insight please input thanks ~Brandon

    Edit:
    i figured it out i think XD
    Revised:
    program New;
    Var x,y : Integer;
    Begin
    Repeat
    if (findcolorSpiral(x, y, 197560,10, 100,1018, 659)) then
    Clickmouse(x+17, y+37, True);
    If (FindColorSpiral(x, y, 12450815,10, 100,1018, 659))Then
    begin
    ClickMouse(x,y,True);
    end;
    Wait(100);
    ClearDebug;
    Until(False);
    End.
    __________________________________
    Solution:
    Remove Line 7 ^_^ thanks guys but it still looks "bottish" any way to make it appear a little more human would be wonderful

  4. #4
    Join Date
    Feb 2007
    Location
    Alberta, Canada
    Posts
    4,615
    Mentioned
    50 Post(s)
    Quoted
    429 Post(s)

    Default

    mmouse? or mouse? SRL things so you need to include SRL

  5. #5
    Join Date
    Mar 2007
    Posts
    26
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Trying to have this script kill a monster after finding the Hp bar. I've got that part. then once the monster drops Gold(12450815) to click the mouse on the gold pile until the gold pile is no longer there. Perhaps if i explain what im trying to do i could get pointed in the propper direction.

    1. program New;
    2. Var x,y : Integer;
    3. Begin
    4. Repeat
    5. if (findcolorSpiral(x, y, 197560,10, 100,1018, 659)) then //Monster Hp Bar
    6. Clickmouse(x+17, y+37, True);//Monsters Location in Refrence to Hp Bar
    7. Wait(1000);
    8. If (FindColorSpiral(x, y, 12450815,10, 100,1018, 659))Then//Gold Pile
    9. begin
    10. ClickMouse(x,y,True);
    11. Until (Not (FindColorSpiral(x, y, 12450815,10, 100,1018, 659))
    12. end;
    13. Wait(100);
    14. ClearDebug;
    15. Until(False);
    16. End.

    Line 11: [Error] (11:1): Identifier expected in script

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Bored Script to Keep your person online
    By camdo2 in forum RS3 Outdated / Broken Scripts
    Replies: 12
    Last Post: 02-07-2008, 07:48 AM
  2. Conquer Online Private Server Help
    By martoon in forum OSR Help
    Replies: 0
    Last Post: 09-27-2007, 07:37 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
  •