Results 1 to 9 of 9

Thread: Sell at store problem

  1. #1
    Join Date
    Mar 2007
    Posts
    138
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Sell at store problem

    I have a problem. I am done a script that chops willows then sells in store. Just i have one problem. With my DTM it finds it but it right clicks on the willows in the store not in my Inventory. What do I do? I keep trying to change the cords 582, and 230.

    SCAR Code:
    if FindDTM(Logs, x, y, 0, 0, 582, 230)

    What can I do so it right clicks on the willows in my Inventory instead of in the store. Here's the part of my script that clicks the wrong willows.

    SCAR Code:
    begin
        logs := DTMFromString('78DA639CCFC4C0F098010544062A324802694' +
          '620FE0F048C33816AEE30A00146B81A306F2A116A1601D5DC24A0' +
          '661950CD1B026AA603D57CC4AF060001280E78');
        repeat
          wait(800 + random(200));
          if FindDTM(Logs, x, y, 0, 0, 582, 230) then
          begin

            wait(400 + random(100));
            MMouse(x, y, 0, 0);
            Mouse(x, y, 4, 6, false);
            wait(500);
            if (ChooseOption(x, y, 'Sell 10')) then
          end;
        until (not (FindDTM(logs, x, y, 0, 0, 710, 444)));

    Also if you don't understand me completely underneath is a picture of my problem. Takes awhile to load so wait until you can see it. Thanks for the help and this script will be released as soon as I get this right

    [IMG]www.freewebs.com/Runescape-Scar-Scripts/Help.bmp[/IMG]

  2. #2
    Join Date
    Jun 2006
    Posts
    3,861
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Use FindDTM like
    SCAR Code:
    FindDTM(logs, x, y, MIX1, MIY1, MIX2, MIY2)
    Because the MIX1 and those are the coordinates of your inventory.

  3. #3
    Join Date
    Mar 2007
    Posts
    138
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    k thanks ill try that

  4. #4
    Join Date
    Apr 2007
    Location
    Finland
    Posts
    938
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

  5. #5
    Join Date
    Dec 2006
    Location
    Australia
    Posts
    698
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Bullzeye nailed it, there are different things
    MSX1, MSY1, MSX3, MSY2 - refers to the main screen
    MIX1, MIY1, MIX3, MIY2 - refers to the Inventory
    MMX1, MMY1, MMX3, MMY2 - refers to the minimap
    MCX1, MCY1, MCX2, MCX2 - Referes to the chat (From bullzeye) I didnt no that one thanks..


    Ofcourse your also able to set certian parameters for the mouse to search in.
    X1 is the rightess point to search
    Y1 is the highest point
    X2 is the leftess point to search
    Y2 is the lowest point.

  6. #6
    Join Date
    Oct 2006
    Location
    New Zealand
    Posts
    423
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Thought you posted this already

  7. #7
    Join Date
    Mar 2007
    Posts
    138
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ya he did but it didnt work the first time, i also had to change some things once i understood it

  8. #8
    Join Date
    Jun 2006
    Posts
    3,861
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Just to add on to me_ntal's post, there's also MCX1, MCY1, MCX2, and MCY2, which are the coordinates for the chat part.

  9. #9
    Join Date
    Mar 2007
    Posts
    138
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    kk thx alot

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. store pos???err look
    By chitin in forum OSR Help
    Replies: 6
    Last Post: 06-03-2008, 07:02 PM
  2. Store Coordinates?
    By Putnam in forum OSR Help
    Replies: 5
    Last Post: 04-21-2008, 03:57 PM
  3. The Moparisthebest store
    By Bebe in forum News and General
    Replies: 20
    Last Post: 08-03-2007, 04:47 PM
  4. Sell At Store HELP!
    By steth1010 in forum OSR Help
    Replies: 7
    Last Post: 05-22-2007, 08:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •