Results 1 to 7 of 7

Thread: I have questions.

  1. #1
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default I have questions.

    First One:
    Why doesn't "ChooseOption()" work?

    I have everything correct, it doesn't work :L

    Second One:
    Can someone teach me about Case statements?
    Here are my if's:
    Simba Code:
    if FindObjCustom(x2, y2, ['Smelt'], [6055530], 5) then
      begin
        MouseItem(1, True);
        Mouse(x2,y2,0,0,True);
        wait(2000);
      end;
    if FindObjCustom(x3,y3,['Make'], [2347505,2279913,2346735,1874882,2279398], 3) then
      begin
        Mouse(x3,y3,0,0,False);
        wait(1000);
        ChooseOption('ll');
      end;

    Third One:
    Can someone show me how to use PixelShift?
    It'd be very helpful in my scripts.

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

    Default

    ll might be weird to find, also instead of a wait and then chooseoption just use waitoption
    Try
    WaitOption('Al', 2000);

  3. #3
    Join Date
    Feb 2011
    Location
    Earth
    Posts
    1,784
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    I've used ChooseOption('ll) before, and it worked for me...

    Currently: Working on Defending&Attacking in my Castle-Wars Script
    Project Rebuild: 90M/170M

  4. #4
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Not anymore, its all messed up :s

    I tried -
    'Make All'
    'All'
    'ake All'
    'e All'


    which none worked

  5. #5
    Join Date
    Dec 2011
    Location
    New York, USA
    Posts
    1,242
    Mentioned
    12 Post(s)
    Quoted
    193 Post(s)

    Default

    Make sure at the beginning of your script, SRL is followed by .simba not .scar. That was my problem when choose option didn't work for me earlier today. it was changed to .simba for srl 5.

  6. #6
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Im still on SRL4 lul..

  7. #7
    Join Date
    Feb 2006
    Location
    Canada
    Posts
    2,254
    Mentioned
    21 Post(s)
    Quoted
    238 Post(s)

    Default

    You should definitely update to SRL 5, then tell us if it works for you or not.

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
  •