Results 1 to 6 of 6

Thread: Dropping problem

  1. #1
    Join Date
    Sep 2007
    Posts
    73
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Dropping problem

    Can someone please confirm if ChooseOption() is working, it just right clicks for me and moves the mouse away

  2. #2
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Yes it works.
    Maybe getting new simba will help:
    http://villavu.com/forum/showthread.php?t=68510
    Specific DL Link: https://www.moparisthebest.com/jenki...i386-win32.exe

    What are you entering as your string to chooseoption?

  3. #3
    Join Date
    Sep 2007
    Posts
    73
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Procedure DropItem;
    Var
    Item: integer;
    Begin
    Item := DTMFromString('........................');
    GameTab(tab_Inv);
    If finddtm(Item, x, y, 550, 203, 731, 464) Then
    Begin
    Mouse(x, y, 3, 3, False);
    Wait(100 + Random(100));
    ChooseOption('rop');
    Wait(100 + Random(100));
    End;
    FreeDTM(Item);
    End;

    I have Simba 977

  4. #4
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    That's really odd... I just ran a script that uses chooseoption today!
    One thing though to save some time instead of having an arbitrary wait before the chooseoption you can use
    Simba Code:
    {*******************************************************************************
    function WaitOption(S: String; Time: Integer): Boolean;
    By: N1ke!
    Description: Waits for an Option and selects it
    *******************************************************************************}

    function WaitOption(S: string; Time: Integer): Boolean;
    begin
      Result := WaitOptionMultiEx([S], 'all', ClickLeft, Time);
    end;
    instead! And just make the wait to be like 2000.

    Also when you post code put it in Simba tags please .
    No clue what the problem is :/.

    E: In fact! Maybe the problem is that you are not waiting long enough, so the above procedure will actually solve your problem!

  5. #5
    Join Date
    Sep 2007
    Posts
    73
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Still, It rt clicks the item wait there for 2 sec and move away, it is now clicking drop

  6. #6
    Join Date
    Sep 2007
    Posts
    73
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Still need help

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
  •