Results 1 to 12 of 12

Thread: Invalid number of parameters

  1. #1
    Join Date
    Jan 2012
    Location
    Sydney, Australia
    Posts
    877
    Mentioned
    12 Post(s)
    Quoted
    368 Post(s)

    Default Invalid number of parameters

    Hi all,

    I decided at 1am that it would be an awesome time to break free from my leeching ways and try to learn how to script in Simba. Haven't had a huge amount of scripting experience before, except for Eventscripts Source for Counter-strike:Source.

    I am working on a simple script that will click on the first slot in my inventory (Tarromin) and then click on the last slot (vial of water). It is then supposed to move to chat box and right click the unf potion and click Make All.

    I seem to have run into a bit of trouble though; the script is coming up saying Invalid number of parameters at line 24. Line 24 has nothing but begin on it.

    Anyway, if anyone is able to point out my mistake, i would really appreciate it. Have spent the last hour trying to fix it :\

    Code:
    program TarroPots;
    {$I SRL-OSR/SRL.Simba}
    
    Procedure DeclarePlayers;
    begin
      HowManyPlayers := 1;
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer := 0;
    
      Players[0].Name :='';
      Players[0].Pass :='';
      Players[0].Nick :='';
      Players[0].Active:=True;
    end;
    
    
    procedure makeUnfPots;
    var
      x, y: integer;
    
    begin
      Mouse(578, 234, 3, 3);
      if WaitUpTextMulti(['arromin', 'min', 'Tar', 'arro'],300 + random(200)) then
      begin //---------------------------Line 24
        GetMousePos(x, y);
        HoldMouse(x, y, mouse_Left);
        GetMousePos(x, y);
        ReleaseMouse(x, y, mouse_Left);
        wait(300+random(200));
        Mouse(704, 450, 3, 3);
        wait(100+random(100));
        if WaitUpTextMulti(['arromin','ial', 'ater', 'Wate'],300 + random(200)) then
        begin
          GetMousePos(x, y);
          HoldMouse(x, y, mouse_Left);
          GetMousePos(x, y);
          ReleaseMouse(x, y, mouse_Left);
          wait(300+random(200));
          Mouse(258, 413, 6, 6);
          wait(600+random(200));
          GetMousePos(x, y);
          HoldMouse(x, y, mouse_Right);
          GetMousePos(x, y);
          ReleaseMouse(x, y, mouse_Right);
          ChooseOption('All');
          wait(100+random(100));
        end;
      end;
    end;
    
    
    begin
    SetUpSRL;
    ActivateClient;
    DeclarePlayers;
    LoginPlayer;
    makeUnfPots;
    end.
    Thank you in advanced!

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

    Default

    I'm not familiar with the OSR SRL include but don't you need what you want the mouse to actually specified a couple of lines above, e.g. mouse_Left
    <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.

  3. #3
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

    Default

    Simba Code:
    mouse(578, 234, 3, 3);
    should be
    Simba Code:
    MMouse(578, 234, 3, 3);
    or
    Simba Code:
    mouse(578, 234, 3, 3, MOUSE_MOVE);

    From documentation:

    Simba Code:
    (*
    MMouse
    ~~~~~~

    .. code-block:: pascal

        procedure MMouse(x, y, rx, ry: integer);

    Moves the mouse. rx and ry are total range of the randomness for the mouse. i.e. if rx:=6 then the randomness of the mouse will be from x-3 to x+3.

    ..

    I believe you were trying to use mouse(), which requires the button parameter. That can be MOUSE_LEFT, MOUSE_RIGHT, or MOUSE_MOVE.
    Simba Code:
    (*
    Mouse
    ~~~~~

    .. code-block:: pascal

        procedure Mouse(mousex, mousey, ranx, rany: Integer; button: variant);

    Moves then clicks mouse (will only move if 'mouse_move' passed).

    I would also recommend more randomness than just 3 pixels

  4. #4
    Join Date
    Jan 2012
    Location
    Sydney, Australia
    Posts
    877
    Mentioned
    12 Post(s)
    Quoted
    368 Post(s)

    Default

    Quote Originally Posted by Clarity View Post
    Simba Code:
    mouse(578, 234, 3, 3);
    should be
    Simba Code:
    MMouse(578, 234, 3, 3);
    or
    Simba Code:
    mouse(578, 234, 3, 3, MOUSE_MOVE);

    From documentation:

    Simba Code:
    (*
    MMouse
    ~~~~~~

    .. code-block:: pascal

        procedure MMouse(x, y, rx, ry: integer);

    Moves the mouse. rx and ry are total range of the randomness for the mouse. i.e. if rx:=6 then the randomness of the mouse will be from x-3 to x+3.

    ..

    I believe you were trying to use mouse(), which requires the button parameter. That can be MOUSE_LEFT, MOUSE_RIGHT, or MOUSE_MOVE.
    Simba Code:
    (*
    Mouse
    ~~~~~

    .. code-block:: pascal

        procedure Mouse(mousex, mousey, ranx, rany: Integer; button: variant);

    Moves then clicks mouse (will only move if 'mouse_move' passed).

    I would also recommend more randomness than just 3 pixels
    That makes more sense!

    Thank you heaps for the info and the help!

  5. #5
    Join Date
    Jan 2012
    Location
    Sydney, Australia
    Posts
    877
    Mentioned
    12 Post(s)
    Quoted
    368 Post(s)

    Default

    I have continued on with my scripting journey and have moved onto banking, withdrawing and creating the unfinished pots.

    I have hit yet another invalid number of parameters problem. Have been wracking my brain for the past couple of hours trying to fix it

    Any assistance would be really appreciated as I would love for this to be my first working script

    PHP Code:
    program TarroPots;
    {
    $I SRL-OSR/SRL.Simba}


    Procedure DeclarePlayers;
    begin
      HowManyPlayers 
    := 1;
      
    NumberOfPlayers(HowManyPlayers);
      
    CurrentPlayer := 0;

      
    Players[0].Name :='';
      
    Players[0].Pass :='';
      
    Players[0].Pin  :='';
      
    Players[0].Nick :='';
      
    Players[0].Active:=True;
    end;

    procedure bankUnfPots;
    var
      
    xyinteger;

    begin
      repeat
        OpenbankGlass
    ('lumbridge');
        
    wait(600+random(200));
        if 
    PinScreen then
        begin
          InPin
    ('Players[0].Pin');
          
    writeLn('Entering Pin');
        
    end;
      
    until bankScreen.isOpen(3000);
      if 
    BankScreen then
      begin
        
    if (invCount) > 1 then
        begin
          writeLn
    ('Stuff in inventory - Depositing');
          
    DepositAll;
          
    wait(200+random(200));
        
    end;
        
    MMouse(139821515);
        
    wait(400+random(300));
        if 
    WaitUpTextMulti(['arromin''min''Tar''arro'], 300 random(200)) then
        begin
          GetMousePos
    (xy);
          
    HoldMouse(xymouse_Right);
          
    GetMousePos(xy);
          
    ReleaseMouse(xymouse_Right);
          if (
    chooseOption.isOpenthen
          begin
            
    if not chooseOption.optionsExist(['ithdraw-14']) then
            begin
              writeLn
    ('No option for 14 units - doing X');
              
    chooseOption('X');
              
    wait(1000+random(400));
              
    Typesend('14');
              if 
    not (invCount 14then
              begin
                writeLn
    ('Didnt withdraw for some reason - trying again');
                
    DepositAll;
                
    GetMousePos(xy);
                
    HoldMouse(xymouse_Right);
                
    GetMousePos(xy);
                
    ReleaseMouse(xymouse_Right);
                
    chooseOption('X');
                
    wait(2000+random(600));
                
    Typesend('14');
                if 
    not (invCount 14then
                begin
                  writeLn
    ('Cannot Withdraw 14 Tarromin for some reason. Closing Script');
                  
    Logout;
                  
    TerminateScript;
                
    end;
              
    end;
            
    end;
            
    writeLn('Withdrawing 14 Tarromin');
            
    chooseOption('14');
          
    end;
        
    end;
        
    MMouse(88851515);
        
    wait(400+random(300));
        if 
    WaitUpTextMulti(['arromin','ial''ater''Wate'],300 random(200)) then
        begin
          writeLn
    ('Withdrawing Vials of Water');
          
    GetMousePos(xy);
          
    HoldMouse(xymouse_Right);
          
    GetMousePos(xy);
          
    ReleaseMouse(xymouse_Right);
          
    chooseOption('All');
          
    wait(1200+random(400));
          if 
    not (invCount 28then
          begin
            writeLn
    ('Didnt withdraw for some reason - trying again');
            
    MMouse(88851515);
            
    GetMousePos(xy);
            
    HoldMouse(xymouse_Right);
            
    GetMousePos(xy);
            
    ReleaseMouse(xymouse_Right);
            
    wait(1200+random(300));
            if 
    not (invCount 28then
            begin
              writeLn
    ('Cannot Withdraw 14 Water Vials some reason. Closing Script');
              
    Logout;
              
    TerminateScript;
            
    end;
          
    end;
        
    end;
        if (
    invCount 28then
        begin
          writeLn
    ('Have 28 items in inventory - Closing Bank');
          
    CloseBank;
          
    wait(1200+random(1100));
        
    end else
        
    begin
          writeLn
    ('For some reason we dont have 28 items. Closing script');
          
    Logout;
          
    TerminateScript;
        
    end;
      
    end;
    end;

    procedure makeUnfPots;
    var
      
    xyinteger;
      
    BoxTBox;

    begin
      MMouse
    (5782341010);
      if 
    WaitUpTextMulti(['arromin''min''Tar''arro'],300 random(200)) then
      begin
        GetMousePos
    (xy);
        
    HoldMouse(xymouse_Left);
        
    GetMousePos(xy);
        
    ReleaseMouse(xymouse_Left);
        
    wait(300+random(200));
        
    MMouse(7044501010);
        
    wait(100+random(100));
        if 
    WaitUpTextMulti(['arromin','ial''ater''Wate'],300 random(200)) then
        begin
          GetMousePos
    (xy);
          
    HoldMouse(xymouse_Left);
          
    GetMousePos(xy);
          
    ReleaseMouse(xymouse_Left);
          
    wait(300+random(200));
          
    MMouse(2584132020);
          
    wait(600+random(200));

          
    mouseBox(205387327444MOUSE_RIGHT);
          
    chooseOption('All');

          
    wait(500+random(300));
        
    end;
      
    end else
      
    begin
        
    if WaitUpTextMulti(['arromin''otion''potio''unf'],300 random(200)) then
        begin
          writeLn
    ('The first slot is an unf potion - banking');
          
    bankUnfPots;
        
    end else
        
    begin
          writeLn
    ('Unknown Object in first inventory slot - Attempting to bank');
          
    bankUnfPots;
        
    end;
      
    end;
    end;

    procedure waitForPotsMade;
    begin
      
    if WaitInvMinCount(1411000+random(2000)) then
      begin
        
    if not (invCount 14then
        begin
          wait
    (2500+random(300));
          
    writeLn('Still not finished - Waiting a few more seconds');
          
    wait(4000+random(2000));
          if 
    not (invCount 14then
          begin
            writeLn
    ('Something has gone wrong - Attempting to make potions again');
            
    makeUnfPots;
          
    end;
        
    end;
      
    end else
      
    begin
        writeLn
    ('Waiting for Unf potions to be made');
      
    end;
    end;






    procedure checkBankClosed;
    begin
      writeLn
    ('Checking if bank screen is closed');
      if 
    BankScreen then
      begin
        
    if not (invCount 28then
        begin
          writeLn
    ('Its still open - Running bank block again');
          
    bankUnfPots;
        
    end;
        
    CloseBank;
      
    end;
    end;






    begin
    SetUpSRL
    ;
    ActivateClient;
    DeclarePlayers;
    LoginPlayer;
    makeUnfPots;
    waitForPotsMade;
    bankUnfPots;
    checkBankClosed;
    end

  6. #6
    Join Date
    Dec 2011
    Posts
    2,147
    Mentioned
    221 Post(s)
    Quoted
    1068 Post(s)

    Default

    Quote Originally Posted by Dan the man View Post
    I have continued on with my scripting journey and have moved onto banking, withdrawing and creating the unfinished pots.

    I have hit yet another invalid number of parameters problem. Have been wracking my brain for the past couple of hours trying to fix it

    Any assistance would be really appreciated as I would love for this to be my first working script
    FYI, you can use [SIMBA] tags in forum posts to share your script code

    An error I noticed was from your usage of OpenBankGlass(). The function in SRL-OSR is as follows:
    Simba Code:
    function OpenBankGlass(WhichBank: string; ChangeCompass, ChangeAngle: Boolean): Boolean;
    This requires a string and two booleans as parameters. In your script, you only provide the string:
    Simba Code:
    OpenbankGlass('lumbridge');
    Additionally, this function appears to only accept the following strings:
    Simba Code:
    {'feb' (Falador East Bank)
    'fwb' (Falador West Bank)
    'veb' (Varrock East Bank)
    'vwb' (Varrock West Bank)
    'db'  (Draynor Bank)
    'akb' (Al-Kharid Bank)
    'eb'  (Edgeville Bank)
    'ctb' (Catherby bank)
    'clt' (Camelot bank)
    'nab' (North Ardougne bank)
    'sab' (South Ardougne bank)
    'ynb' (Yanille bank)
    'ngb' (North gnome bank)
    'sgb' (South gnome bank)
    'wgb' (Warrior guild bank)
    'fgb' (Fishing guild bank) }
    You would need to provide something like this in your code:
    Simba Code:
    OpenbankGlass('akb', false, false);
    ...depending on whether you want the compass/angle manipulated.

    OpenBankFast(), however, only requires a string argument, like so:
    Simba Code:
    function OpenBankFast(Location: String): Boolean;
    OpenBankFast('wgb'); //Example usage

    Hope this helps you!
    Last edited by Clarity; 07-04-2015 at 06:40 AM.

  7. #7
    Join Date
    Jan 2012
    Location
    Sydney, Australia
    Posts
    877
    Mentioned
    12 Post(s)
    Quoted
    368 Post(s)

    Default

    Quote Originally Posted by Clarity View Post
    FYI, you can use [SIMBA] tags in forum posts to share your script code

    An error I noticed was from your usage of OpenBankGlass(). The function in SRL-OSR is as follows:
    Simba Code:
    function OpenBankGlass(WhichBank: string; ChangeCompass, ChangeAngle: Boolean): Boolean;
    This requires a string and two booleans as parameters. In your script, you only provide the string:
    Simba Code:
    OpenbankGlass('lumbridge');
    Additionally, this function appears to only accept the following strings:
    Simba Code:
    {'feb' (Falador East Bank)
    'fwb' (Falador West Bank)
    'veb' (Varrock East Bank)
    'vwb' (Varrock West Bank)
    'db'  (Draynor Bank)
    'akb' (Al-Kharid Bank)
    'eb'  (Edgeville Bank)
    'ctb' (Catherby bank)
    'clt' (Camelot bank)
    'nab' (North Ardougne bank)
    'sab' (South Ardougne bank)
    'ynb' (Yanille bank)
    'ngb' (North gnome bank)
    'sgb' (South gnome bank)
    'wgb' (Warrior guild bank)
    'fgb' (Fishing guild bank) }
    You would need to provide something like this in your code:
    Simba Code:
    OpenbankGlass('akb', false, false);
    ...depending on whether you want the compass/angle manipulated.

    OpenBankFast(), however, only requires a string argument, like so:
    Simba Code:
    function OpenBankFast(Location: String): Boolean;
    OpenBankFast('wgb'); //Example usage

    Hope this helps you!
    Thank you kindly!

    I am in the process of hitting one after the other but I am doing some old fashion googling to make sure the functions are correct if I need to post again.

    I really appreciate your help

  8. #8
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

  9. #9
    Join Date
    Jan 2012
    Location
    Sydney, Australia
    Posts
    877
    Mentioned
    12 Post(s)
    Quoted
    368 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    @Daniel; is that you?
    Haha nah think you have mistaken me for someone else

  10. #10
    Join Date
    Jan 2012
    Location
    Sydney, Australia
    Posts
    877
    Mentioned
    12 Post(s)
    Quoted
    368 Post(s)

    Default

    Ok so I have got an alpha version of my script almost ready to go, but I cannot for the life of my figure out why my banking keeps looping?

    It starts by logging in, opening the bank, clicking the deposite all button, withdrawing the right items and then closes the bank, but then it repeats the process over and over.

    I think it may be my loop but I am not sure..

    Simba Code:
    program TarroPots;
    {$I SRL-OSR/SRL.Simba}

    var
      enteredX: Boolean;
      currentTask: String;
      Pin: integer;


    Procedure DeclarePlayers;
    begin
      HowManyPlayers := 1;
      NumberOfPlayers(HowManyPlayers);
      CurrentPlayer := 0;

      Players[0].Name :='';
      Players[0].Pass :='';
      Pin := ;
      Players[0].Nick :='';
      Players[0].Active:=True;

      enteredX := False;
      currentTask := 'OpenTheBank';
    end;




    procedure _openBank;
    var
      TPA: TpointArray;
      ATPA: T2DPointArray;
      I: Integer;
      TP: TPoint;
      theOptions: TStringArray;
      x, y: integer;
      x1, y1: integer;
    begin
      theOptions := ['Bank Bank booth', 'Bank Banker'];
      ColorToleranceSpeed(2);
      SetColorSpeed2Modifiers(0.78, 0.98);
      findColorsTolerance(TPA, 4401964, MSX1, MSY1, MSX2, MSY2, 11);
      colorToleranceSpeed(1);
      setColorSpeed2Modifiers(0.2, 0.2);
      ATPA := TPAtoATPAEx(TPA, 20, 40);
      SortATPAFromMidPoint(ATPA, Point(MSCX, MSCY));
      for I := 0 to High(ATPA) do
      begin
        if Length(ATPA[I]) < 100 then
           Continue;
        TP := middleTPA(ATPA[I]);
        mMouse(TP.X, TP.y, 5, 5);
        clickMouse2(MOUSE_RIGHT);
        chooseOption('Bank Banker');
        writeLn('Bank Open');
        wait(1000+random(200));
        if PinScreen then
        begin
          InPin(Players[CurrentPlayer].Pin);
          writeLn('Entering Pin');
        end;
        mouseBox(431, 288, 454, 308, MOUSE_LEFT);
        writeLn('Depositing inventory');
        wait(500+random(300));
        mouseBox(127, 68, 148, 87, MOUSE_MOVE);
        if WaitUpTextMulti(['arromin', 'min', 'Tar', 'arro'], 300 + random(200)) then
        begin
          if not enteredX then
          begin
            writeLn('Tarromin Found - Right Clicking it');
            GetMousePos(x, y);
            HoldMouse(x, y, mouse_Right);
            GetMousePos(x, y);
            ReleaseMouse(x, y, mouse_Right);
            writeLn('Quantity 14 not on dialog - Creating it');
            y1 := y + 85;
            x1 := x;
            MMouse(x1, y1, 30, 5);
            wait(200+random(100));
            GetMousePos(x, y);
            HoldMouse(x, y, mouse_Left);
            GetMousePos(x, y);
            ReleaseMouse(x, y, mouse_Left);
            wait(1000+random(400));
            sendKeys('14',50, 50);
            typeByte(VK_ENTER);
            enteredX := true;
          end else
          begin
            writeLn('Tarromin Found - Right Clicking it');
            GetMousePos(x, y);
            HoldMouse(x, y, mouse_Right);
            GetMousePos(x, y);
            ReleaseMouse(x, y, mouse_Right);
            wait(1600+random(400));
            chooseOption('14');
            wait(1500+random(400));
          end;
        end;
        mouseBox(79, 70, 94, 87, MOUSE_MOVE);
        if WaitUpTextMulti(['arromin','ial', 'ater', 'Wate'],300 + random(200)) then
        begin
          writeLn('Withdrawing Vials of Water');
          GetMousePos(x, y);
          HoldMouse(x, y, mouse_Right);
          GetMousePos(x, y);
          ReleaseMouse(x, y, mouse_Right);
          y1 := y + 100;
          x1 := x;
          MMouse(x1, y1, 30, 5);
          wait(200+random(100));
          GetMousePos(x, y);
          HoldMouse(x, y, mouse_Left);
          GetMousePos(x, y);
          ReleaseMouse(x, y, mouse_Left);
          wait(1200+random(400));
          mouseBox(479, 18, 492, 42, MOUSE_LEFT);
          currentTask := 'BankCloseCheck';
          Break;
        end;
      end;
    end;



    procedure makeUnfPots;
    var
      x, y: integer;

    begin
      writeLn('Beginning Unf Pots');
      MMouse(578, 234, 10, 10);
      if WaitUpTextMulti(['arromin', 'min', 'Tar', 'arro'],300 + random(200)) then
      begin
        GetMousePos(x, y);
        HoldMouse(x, y, mouse_Left);
        GetMousePos(x, y);
        ReleaseMouse(x, y, mouse_Left);
        wait(300+random(200));
        MMouse(704, 450, 10, 10);
        wait(100+random(100));
        if WaitUpTextMulti(['arromin','ial', 'ater', 'Wate'],300 + random(200)) then
        begin
          GetMousePos(x, y);
          HoldMouse(x, y, mouse_Left);
          GetMousePos(x, y);
          ReleaseMouse(x, y, mouse_Left);
          wait(300+random(200));
          MMouse(258, 413, 20, 20);
          wait(600+random(200));

          mouseBox(205, 387, 327, 444, MOUSE_RIGHT);
          chooseOption('All');

          currentTask := 'CheckPotionsAreReady';

          wait(500+random(300));
        end;
      end else
      begin
        if WaitUpTextMulti(['arromin', 'otion', 'potio', 'unf'],300 + random(200)) then
        begin
          writeLn('The first slot is an unf potion - banking');
          currentTask := 'OpenTheBank';
        end else
        begin
          writeLn('Unknown Object in first inventory slot - Attempting to bank');
          currentTask := 'OpenTheBank';
        end;
      end;
      writeLn('Completed Unf Pots');
    end;

    procedure waitForPotsMade;
    begin
      if WaitInvMinCount(14, 11000+random(2000)) then
      begin
        if not (invCount = 14) then
        begin
          wait(2500+random(300));
          writeLn('Still not finished - Waiting a few more seconds');
          wait(4000+random(2000));
          if not (invCount = 14) then
          begin
            writeLn('Something has gone wrong - Attempting to make potions again');
            currentTask := 'MakePotions';
          end;
        end else
        begin
          writeLn('Potions are complete - time to bank');
          currentTask := 'OpenTheBank';
        end;
      end else
      begin
        writeLn('Waiting for Unf potions to be made');
      end;
    end;






    procedure checkBankClosed;
    begin
      writeLn('Beginning Check bank Closed');
      writeLn('Checking if bank screen is closed');
      if BankScreen then
      begin
        if not (invCount = 28) then
        begin
          writeLn('Its still open - Running bank block again');
          currentTask := 'OpenTheBank';
        end;
        mouseBox(479, 18, 492, 42, MOUSE_LEFT);
        wait(2200+random(2000));
        writeLn('Closed the bank');
      end else
      begin
        currentTask := 'MakePotions';
        writeLn('Completed Check bank Closed');
      end;
    end;


    procedure scriptLoop();
    var
      currentstate: string;

    begin
      currentstate := 'OpenTheBank';
      case currentstate of
        'OpenTheBank'           :      _openBank();
        'BankCloseCheck'        :      checkBankClosed();
        'MakePotions'           :      makeUnfPots();
        'CheckPotionsAreReady'  :      waitForPotsMade();
      end;
    end;






    begin
      SetUpSRL;
      ActivateClient;
      DeclarePlayers;
      LoginPlayer;
      mouseSpeed := 10;

      Repeat
        scriptLoop();
      Until(false);
    end.

    Think i solved it. Created a new string rather than use the current one.
    Last edited by Dan the man; 07-04-2015 at 11:05 AM.

  11. #11
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

  12. #12
    Join Date
    Jan 2012
    Location
    Sydney, Australia
    Posts
    877
    Mentioned
    12 Post(s)
    Quoted
    368 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    currentState <> currentTask? You probably need to keep them the same
    Yeah saw that before. I have been learning by looking at how other people have designed their scripts and sometimes I forget that some of the variables are custom lol. All sorted now though, is working well!

    Just need to look at making it more human and add anti ban then its off to testing

Thread Information

Users Browsing this Thread

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

Posting Permissions

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