Results 1 to 6 of 6

Thread: how to use getdoorcolor;

  1. #1
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default how to use getdoorcolor;

    i thought about

    didnt write it in scar because i made it in the post i posted now

    SCAR Code:
    function handledoor:boolean;
    begin
      getdoorcolor;// and then wat? i doesnt stores coords
     if findcolorspiraltolerance( x, y, MSx1, MSy1, MSx2, MSy2, doorcolor,10);then
       begin
       mmouse(x,y,0,0);
       mouse(x, y, 0, 0, false);
       wait(150);
       if  isuptextmulti(Open, pen, open) then
       begin
       mouse(x, y, 0, 0, true);
       result:=true
       writeln('opened door')
       end else
       if  isuptextmulti(ose, close, lose) then
       begin
       result:=true
       writeln('door already opened')
       end;
    end;
    end;
    ~Hermen

  2. #2
    Join Date
    Oct 2006
    Location
    finland, helsinki
    Posts
    2,501
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    getdoorcolor is for minimap...

    Code:
    • Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
    • Solarwind: Dude, you are like... t3h s3x.
    • Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
    • benjaa: woah.... Jukka is the man Guildminer pwns all
    • NaumanAkhlaQ: And JuKKa Is my Her0!

  3. #3
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    it is lol?
    how can i use it for ms?//or how can i autocolor a door lol?
    and if i know that before i a was very happy thanks for help!
    please?
    help please?
    ~Hermen

  4. #4
    Join Date
    Oct 2006
    Location
    finland, helsinki
    Posts
    2,501
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Try using tolerance

    Code:
    • Narcle: I recall Jukka releasing a bunch of scripts like this before... Its how he rolls I think. rofl
    • Solarwind: Dude, you are like... t3h s3x.
    • Hy71194: JuKKa you're a machine! You released 3 scripts in 10 minutes! :O
    • benjaa: woah.... Jukka is the man Guildminer pwns all
    • NaumanAkhlaQ: And JuKKa Is my Her0!

  5. #5
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    k i will but this looks good?
    and how to use it on mm map?
    ~Hermen

  6. #6
    Join Date
    Sep 2006
    Posts
    5,219
    Mentioned
    4 Post(s)
    Quoted
    1 Post(s)

    Default

    Get ACA by Nielisie in Snippets section. Take a few bitmaps of the door you want, from different angles, closed and open. Crop them so that just the door is in the pic. Go to Bitmap tab in ACA, load up the bitmaps. It will tell you a good color and tolerance to use. Do what I said on the other thread to get a good view, and then FindColorTolerance.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. ehm somthing with getdoorcolor
    By ShowerThoughts in forum OSR Help
    Replies: 2
    Last Post: 08-25-2007, 07:58 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
  •