Results 1 to 2 of 2

Thread: help please !

  1. #1
    Join Date
    Apr 2012
    Posts
    34
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default help please !

    ok on a script im making i need it to right click the man and right click the item to buy,so i thought this would be code,but its not any advice? also i need it to walk to bank after full inv,as he only has 10 i need it to buy 10 hop world buy 10 hop buy 10? if u understand me then once inv full bank and repeat any help beacuse yohojos guide is for powerchopper so doesnt show about going to bank or hoping


    Function findman:boolean;
    var
    x, y, Plusone, barcounter: integer;
    begin
    plusone:= Invcount + 1;
    If FindObjCustom(x, y, ['name', 'h R'], [5726875, 2836576], 20) Then
    begin
    StatsGuise('hooray we found him');
    getmousepos(x, y);

    case random(1) of
    0: begin
    mouse (x, y, 10, 10, false);
    WaitOption ('Trade', 3000);
    end;
    case random(1) of
    0: begin
    mouse (x, y, 10, 10, false);
    WaitOption ('item', 3000);
    end;
    end;

  2. #2
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    All you are doing in that piece of code is opening the shop screen, then doing nothing. What is this "item" you are searching for? Since your x and y variables never change their value (they stay on the shop keeper), you'll need to add another function to find what you're looking for.

    Also, I would add a Wait(); statement between each and every interaction you do with the game
    You may contact me with any concerns you have.
    Are you a victim of harassment? Please notify me or any other staff member.

    | SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |

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
  •