Results 1 to 10 of 10

Thread: Bone Color????

  1. #1
    Join Date
    Mar 2007
    Location
    Under a rock
    Posts
    813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Bone Color and Pickup Function?????

    Im trying to pick up bones in the lumbrage chicken pen but the color of the bone i pick is always the same as the chickens and flowers. I tried the white, grey, and all parts of the bone but i can't find a unique bone color. Someone please tell me what to do.


    Also, would this work to find the bone on ground, right click it, and click on Take bone?
    SCAR Code:
    Procedure Pickup;
             Begin
               Findcolor(x,y,bonecolor,5,5,515,340) //i have bonecolor as constant
               Mouse(x, y, 1, 1, False);
               If(ChooseOption(x, y, 'bon'))then
               Mouse(x, y, 1, 1, True);
    end;
    If not, please correct me, Ty

  2. #2
    Join Date
    Dec 2006
    Location
    Ky
    Posts
    390
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ok I would probably use a bitmap, especially since you are near other itmes that are the same color... Then try using chooseoption(x,y,'one'); alot of times the first letter gets ignored because it is capitalized.
    SUMMER BREAK be back when I want to

  3. #3
    Join Date
    Mar 2007
    Location
    Under a rock
    Posts
    813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    Procedure Pickup;
             Begin
               Findcolor(x,y,bonecolor,5,5,515,340) //i have bonecolor as constant
               Mouse(x, y, 1, 1, False);
               If(ChooseOption(x, y, 'one'))then
               Mouse(x, y, 1, 1, True);
    end;
    When i try this, it will continue to right click eveyrhting white, but when it does right click the bone, it will still click cancel like everything else instead of clicking Take bone.

    I know nothing about bitmap, so can you post a pre-made bitmap of a bone i could use and how lol. I was tryin to make the script as easy as possible, but if I have to, ill use a bitmap i guess. Ty

  4. #4
    Join Date
    Dec 2006
    Location
    Ky
    Posts
    390
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    Procedure Pickup;
      Begin
       Findcolor(x,y,bonecolor,5,5,515,340) //i have bonecolor as constant
       Mouse(x, y, 1, 1, False);
       ChooseOption(x, y, 'one'); { remove the if then, if you use an if then than you need Begin}    
    end;


    Dealing with BitMaps: Read some tutorials in the tutorial section.. I know that you are eager to get going and get your rewards but you must invest some time before you will get anythign out of it.
    SUMMER BREAK be back when I want to

  5. #5
    Join Date
    Mar 2007
    Location
    Under a rock
    Posts
    813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    New problem lol, how do i stop it from clicking "Examine Bones" and only click "Take Bones"? I tried to put in 'ake Bo' and 'ke bon' but they didnt work for some reason.

  6. #6
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    2,984
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Code:
    procedure PickUpBones;
    begin
      if(FindObj(x, y, 'ake bo', BoneColor, 10))then
      begin
        Mouse(x, y, 3, 3, False);
        ChooseOption(x, y, 'ake bo');
      end;
    end;
    thats pretty much the basic picking. Might have messed some of the text up ...
    Administrator's Warning:


  7. #7
    Join Date
    Mar 2007
    Location
    Under a rock
    Posts
    813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    SCAR Code:
    Procedure Pickup;
      Begin
       Findcolor(x,y,bonecolor,6,6,516,341)
       Mouse(x, y, 3, 3, False);
       ChooseOption(x, y, 'ake Bon');
       Wait(1800);
    end;
    This is what i want, but it cant find 'ake Bon', but it can find 'Bone' and 'Take'.

    Can you answer why it cant find 'ake Bon' on the ChooseOption???? it must be the two words are different colors or soemthing. It will click examine most of the time, so i need it to know to Take the bones.

  8. #8
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    2,984
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Nop, i cant answer that question, dont see why it wont work. My procedure should do it however
    Administrator's Warning:


  9. #9
    Join Date
    Mar 2007
    Location
    Under a rock
    Posts
    813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    but most of the time, the bones are below feathers and raw chicken, my way will right click it even if its below a lot of items since it finds the outside of the bone color. Once i find a good, unique bone color and tell it to find Take Bone, it will be finished.

  10. #10
    Join Date
    Jun 2006
    Location
    The Netherlands
    Posts
    2,984
    Mentioned
    3 Post(s)
    Quoted
    1 Post(s)

    Default

    Mine does too, just try it.
    Administrator's Warning:


Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Bone?
    By Goodpeople in forum OSR Help
    Replies: 10
    Last Post: 01-27-2009, 03:41 AM
  2. Replies: 5
    Last Post: 07-31-2007, 07:23 PM
  3. Useing grass color as road color??????
    By ronny.m.p in forum OSR Help
    Replies: 7
    Last Post: 04-28-2007, 09:42 PM
  4. Bone burrier
    By shadowblade in forum OSR Help
    Replies: 5
    Last Post: 12-21-2006, 09:20 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
  •