Results 1 to 10 of 10

Thread: Can't find colors :(

  1. #1
    Join Date
    Sep 2006
    Posts
    322
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default Can't find colors :(





    The 2nd one doesn't work(trying to pick up armor). So how should I get the color? If I make it search for the color through the whole screen, lots of things are that color..
    Last edited by uncfan1119; 10-18-2009 at 07:17 PM.
    "SRL is the best SCAR community in the World, with the most talented programmers: adjust your volume."
    -Wizzup?

  2. #2
    Join Date
    Feb 2009
    Posts
    2,155
    Mentioned
    4 Post(s)
    Quoted
    42 Post(s)

    Default

    well u can drag the crosshairs over the objectr and then select coords around the object if its in the same place everytime and try that



    srry if i didnt help i couldnt see the pic

  3. #3
    Join Date
    Aug 2009
    Location
    Inside the Matrix...yes it has me, and it has you too.
    Posts
    1,896
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    try GameTab(Tab_Inv);
    NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN

  4. #4
    Join Date
    Sep 2006
    Posts
    322
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by J_Pizzle View Post
    well u can drag the crosshairs over the objectr and then select coords around the object if its in the same place everytime and try that



    srry if i didnt help i couldnt see the pic
    The #s after the color# are the "box" coords

    Quote Originally Posted by bionicle1800 View Post
    try GameTab(Tab_Inv);
    Thanks for reading??
    "SRL is the best SCAR community in the World, with the most talented programmers: adjust your volume."
    -Wizzup?

  5. #5
    Join Date
    Aug 2009
    Location
    Inside the Matrix...yes it has me, and it has you too.
    Posts
    1,896
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by uncfan1119 View Post
    Thanks for reading??
    GameTab(Tab_Inv) clicks on the inventory game tab. is faster and takes up less space then the method in your script. I have no idea why its failing, so i suggested an alternative. Sorry for trying to help.
    NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN

  6. #6
    Join Date
    Sep 2006
    Posts
    322
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by bionicle1800 View Post
    GameTab(Tab_Inv) clicks on the inventory game tab. is faster and takes up less space then the method in your script. I have no idea why its failing, so i suggested an alternative. Sorry for trying to help.
    I'm not trying to get the invntory, I know how to do that. If you read, the problem is it's failing to pick up the bronze armor.
    "SRL is the best SCAR community in the World, with the most talented programmers: adjust your volume."
    -Wizzup?

  7. #7
    Join Date
    Aug 2009
    Location
    Inside the Matrix...yes it has me, and it has you too.
    Posts
    1,896
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by uncfan1119 View Post
    I'm not trying to get the invntory, I know how to do that. If you read, the problem is it's failing to pick up the bronze armor.
    OH i see. Sorry .

    Just a thought...maybe the color its searching for, your character is standing on?

    Other then that, no idea.
    NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN NYAN

  8. #8
    Join Date
    Feb 2007
    Location
    Alberta, Canada
    Posts
    4,615
    Mentioned
    50 Post(s)
    Quoted
    429 Post(s)

    Default

    Just make this:

    SCAR Code:
    x := MSCX;
    y := MSCY;
    FindColorSpiralTolerance(x, y, Color, MSX1, MSY1, MSX2, MSY2, Tolerance);

    That will spiral from the center (your player) to the outside, looking for the colour. It will return the coords at x,y.

    Scripts: Edgeville Chop & Bank, GE Merchanting Aid
    Tutorials: How to Dominate the Grand Exchange

    Quote Originally Posted by YoHoJo View Post
    I like hentai.

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

    Default

    Problem solved, been helping mah buddy on AIM witht this foreverrrr
    Doing
    MSCX-30,MSCY-30,MSCX+30,MSCY+30
    The spiral out from center is also a good idea

  10. #10
    Join Date
    Feb 2007
    Location
    Alberta, Canada
    Posts
    4,615
    Mentioned
    50 Post(s)
    Quoted
    429 Post(s)

    Default

    Quote Originally Posted by YoHoJo View Post
    Problem solved, been helping mah buddy on AIM witht this foreverrrr
    Doing
    MSCX-30,MSCY-30,MSCX+30,MSCY+30
    The spiral out from center is also a good idea
    Yay. I had a good idea XD.

    Hope you get this baby working well

    Scripts: Edgeville Chop & Bank, GE Merchanting Aid
    Tutorials: How to Dominate the Grand Exchange

    Quote Originally Posted by YoHoJo View Post
    I like hentai.

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
  •