Results 1 to 6 of 6

Thread: Need Banking Help (selects wrong option)

  1. #1
    Join Date
    Dec 2008
    Posts
    160
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Question Need Banking Help (selects wrong option)

    Ok so basicaly I don't get why my script is doing this
    Simba Code:
    Function BankFish:Boolean;
    var
    x,y: Integer;
    begin
       x:=MSCX
       y:=MSCY
       if FindObjTPA(x,y,Banker,5,1,5,25,20, ['lk-to']) then
       begin
         WriteLn('Found Banker...clicking');
          begin
            Mouse(x,y,5,5,False);
            ChooseOption('Bank');
          end;
       end;
    end;
    It finds the banker and then it right clicks but then it selects the option Talk-to not Bank??
    Why is it doing this sorry I'm still a uber noob scripter

    SOLVED
    Last edited by poopy2177; 01-15-2012 at 09:04 PM.
    My Soul Wars Scipt Proggress:[100%....]
    Probably won't release though I like it for myself

  2. #2
    Join Date
    Mar 2007
    Location
    Alberta, Canada
    Posts
    1,780
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default

    Never use capitals when using ChooseOption. So it should just be
    Simba Code:
    ChooseOption('ank');

  3. #3
    Join Date
    Dec 2011
    Location
    P2P :)
    Posts
    561
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Simba Code:
    Function BankFish:Boolean;
    var
    x,y: Integer;
    begin
       x:=MSCX
       y:=MSCY
       if FindObjTPA(x,y,Banker,5,1,5,25,20, ['lk-to']) then
       begin
         WriteLn('Found Banker...clicking');
          begin
            Mouse(x,y,5,5,False);
            ChooseOption('Bank');//This is your issue. Try something like 'ank Ban' since I am sure there are multiple options with 'Bank' in it.
          end;
       end;
    end;
    I wear my scars like the rings on a pimp
    I live life like the captain of a sinking ship
    Always sell your product for ATLEAST mid to ensure that the market doesn't drop.

  4. #4
    Join Date
    Dec 2008
    Posts
    160
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Griff View Post
    Never use capitals when using ChooseOption. So it should just be
    Simba Code:
    ChooseOption('ank');
    Thanks for the tip but that's what I had at first and it still chooses talk to?
    also I can't find a color that really works well with bankers using aca should I do NPC DTM's instead?

    Quote Originally Posted by Hero View Post
    Simba Code:
    Function BankFish:Boolean;
    var
    x,y: Integer;
    begin
       x:=MSCX
       y:=MSCY
       if FindObjTPA(x,y,Banker,5,1,5,25,20, ['lk-to']) then
       begin
         WriteLn('Found Banker...clicking');
          begin
            Mouse(x,y,5,5,False);
            ChooseOption('Bank');//This is your issue. Try something like 'ank Ban' since I am sure there are multiple options with 'Bank' in it.
          end;
       end;
    end;
    That worked thanks(:
    Last edited by poopy2177; 01-15-2012 at 08:30 PM.
    My Soul Wars Scipt Proggress:[100%....]
    Probably won't release though I like it for myself

  5. #5
    Join Date
    Dec 2011
    Location
    P2P :)
    Posts
    561
    Mentioned
    0 Post(s)
    Quoted
    5 Post(s)

    Default

    Yeah it is mostly because there are more then one option with the choice of words you use. So you have to try to be a tad bit more specific. I had this issue when I first started too. Good luck
    I wear my scars like the rings on a pimp
    I live life like the captain of a sinking ship
    Always sell your product for ATLEAST mid to ensure that the market doesn't drop.

  6. #6
    Join Date
    Dec 2008
    Posts
    160
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Hero View Post
    Yeah it is mostly because there are more then one option with the choice of words you use. So you have to try to be a tad bit more specific. I had this issue when I first started too. Good luck
    alright thank you!
    I'm just about done with my first script now! all I gotta do is add a progress report!
    My Soul Wars Scipt Proggress:[100%....]
    Probably won't release though I like it for myself

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
  •