Results 1 to 3 of 3

Thread: First ever script... and it didn't work xD

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

    Default First ever script... and it didn't work xD

    Wrong forum, sorry
    Last edited by rjk1990; 04-15-2012 at 01:04 AM.

  2. #2
    Join Date
    Mar 2012
    Location
    Over there
    Posts
    840
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default

    Well, it doesn't look that bad, although you might want to use some different things to find the objects on the screen such as DTMs or TPAs. One thing I see it that after you BuyFood you never close the window so how is it supposed to find the bank booth??? So all you need to do is add CloseWindow;

    Simba Code:
    Procedure BuyFood;
    var x, y: integer;
    begin
    if findObj(x,y, 'hoco', 1452102, 5)then
    begin
    mouse(x, y, 2, 1, false);
    chooseoption('all') ;
    end;
    CloseWindow;
    end;

    Also, the reason it probably isnt opening the shop is because the color you have chosen isn't good enough because every time you log in/out the colors change on runescape. You can use ACA(Auto Color Aid) which you can find somewhere around the forums.

    This thread was very helpful to me when I started scripting, might want to bookmark it.

  3. #3
    Join Date
    Apr 2012
    Posts
    31
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    The colors change? Oh god, i didn't even know that xD thanks!

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
  •