Results 1 to 3 of 3

Thread: Withdrawing Broke!

  1. #1
    Join Date
    Dec 2007
    Posts
    47
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default Withdrawing Broke!

    when bot gos to withdraw item fails to withdraw and keep click to withdraw then clicking to withdraw again never withdrawing x

  2. #2
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    http://villavu.com/forum/showthread.php?t=81735

    Withdrawing isn't broken.. Whoever updated the SRL include broke it. I have scripts currently withdrawing using custom functions. The SRL ones will not work due to the change in the ChooseOptions in specific areas.

    For example, that change broke my entire waterfiends withdrawing whereas reverting fixed it. It's because the mouse moves off the menu if the option isn't there upon click and so the withdrawing functions with their delays in them do not get the options.

    I've tested this by doing:
    Simba Code:
    if (Not WaitOptionMulti......) then
         /////////////
    writeln(GetChooseOptions);    //This line comes up blank since the mouse made the menu disappear.
    I am Ggzz..
    Hackintosher

  3. #3
    Join Date
    Feb 2012
    Location
    Somewhere, over the rainbow...
    Posts
    2,272
    Mentioned
    3 Post(s)
    Quoted
    45 Post(s)

    Default

    You can always use:
    Simba Code:
    (*
    SlideMouse
    ~~~~~

    .. code-block:: pascal

        procedure SlideMouse(cx, cy, rx, ry: Integer);

    Moves the mouse 'cx' across the x axis and 'cy' along the y axis
    with a randomness of rx and ry

    .. note::

        by abu_jwka
    *)


    procedure SlideMouse(cx, cy, rx, ry: Integer);
    var
      x, y: Integer;
    begin
      GetMousePos(x, y);
      MMouse(x + cx, y + cy, rx, ry);
      GetMousePos(x, y);
    end;

    Just work out how many pixels down the option is you want to choose and do:
    Simba Code:
    procedure WithdrawMe(Uptext: String);
    var
      x, y: Integer;
    begin
      if WaitUpText(Uptext, 3000) then
      begin
        Mouse(x, y, 0, 0, False);
        Wait(20 + Random(30));
        SlideMouse(0, 45, 5, 0); // moves the mouse to your option
        Mouse(x, y, 0, 0, True);
      end;
    end;

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
  •