Results 1 to 12 of 12

Thread: Coloring problem

  1. #1
    Join Date
    Jan 2008
    Posts
    89
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default AutoColoring?

    Recently the findcolorspiraltolerance has really been bothering me cuz if i put the tolerance too high it finds a diff color and if its too low it doesnt find the proper color. I Know about the findroadcolor etc. that is not what i am asking.

    i know i read somewhere about updating colors dynamically. a tutorial using arrays and stuff, but i didnt understand it at all...if anyone is willing to help me through msn, i could rep++ you or whatever...or a short explanation here would be great as well...my msn is aku_hassam@hotmail.com

    thanks in advance,
    prince

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

    Default

    It may be a bit advanced for you right now, but you might want to learn color tolerance speeds and color tolerance speed 2 modifiers. There's a tutorial on color tolerance speeds, but I don't think there's one on the CTS2 modifiers.

  3. #3
    Join Date
    Jan 2008
    Posts
    89
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    couldn't find any tuts...plus i dont think im ready for that, i just need some quick explanation on how i would dynamically update colors, im trying to do a bruteforce autocolor, but its proving to be difficicult, nontheless i am trying it and am going to keep trying until someone can help me!

    thanks in advance,
    prince

  4. #4
    Join Date
    Jun 2007
    Location
    Ohio
    Posts
    341
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    is it a road color your trying to click on? because if it is you can autocolor using like some procedure. i think its like

    getroadcolor;
    or
    getfallyroadcolor;
    or
    getvarrockroadcolor;

    you may need to look in the srl scripts to find it. but ive used it somewhere before if i recall.

  5. #5
    Join Date
    Jan 2008
    Posts
    89
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    No sir, it isnt roadcolor. lol i know those autocoloring functions, its a specific color. if u must know, its the color of the purple of the flax on the minimap, also i need to get the color for the grass so i can properly radialwalk...any suggestions anyone?

  6. #6
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    Nielsie has a tutorial called Autocoloring for Intermediates in the intermediates tutorial section. i suggest you look at that.

    i also suggest you pick the right color every time you run the script, that''ll help it find the right color.

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  7. #7
    Join Date
    Jun 2007
    Location
    Belgium
    Posts
    333
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Have you tryed to see if the rockcolor and flaxcolor relate to each other?
    Assuming you're starting in Seers bank, there're a few rocks near it, get that color with FindRockColor(color a), next walk to the Flax and pick the color of flax there(color b). Substract the rockcolor with the flaxcolor(color a - color b = number c). Next put in your script something like this
    Flaxcolor := FindRockcolor - number c;

    If they relate you should have the excact color each time you run the script.

  8. #8
    Join Date
    Jan 2008
    Posts
    89
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Sorry and i know this sounds like a really nubby question..but how would they relate to eachother?
    what im thinking is that everytime i subtract the flaxcolor from the rock color that the diffrence is always the same? otherwise how would they relate?

  9. #9
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    Quote Originally Posted by prince View Post
    Sorry and i know this sounds like a really nubby question..but how would they relate to eachother?
    what im thinking is that everytime i subtract the flaxcolor from the rock color that the diffrence is always the same? otherwise how would they relate?
    it's exactly what you said. and since there's an autocoloring function for the rock color...

    AutoColorRock - difference = Flax Color.
    try it on different worlds, but be sure to always get the same spot on the flax and on the rock.

    ~RM

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  10. #10
    Join Date
    Jan 2008
    Posts
    89
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    well it doesnt appear to work well...the diffrence is..diffrent LOL...yeah so im gonna try and bruteforce it but it only changed colors 3 times in the wholeday today lol...so yeah ima try and bruteforce it with these 3. thanks a lot...if anyone has any other ideas, tips, suggestions, whatever i need one bad

    thanks,
    prince

  11. #11
    Join Date
    Feb 2007
    Location
    EST (US East Coast)
    Posts
    250
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    It's best to reload the entire game (like go to main menu -> play -> low detail... etc) every time you want to pick a color. They reload for sure when you load the game again. If you aren't doing that then the color is most likely fairly static, unlike the road colors which change all the time.
    Temporarily inactive.

  12. #12
    Join Date
    Jan 2008
    Posts
    89
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    alright. thank you very much..
    GOT IT...finally it autofinds the flaxcolor!! woot...but now the hard part....the grass..lol any ideas on autocoloring grass? i cant even bruteforce it...bah

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Damn grass..a little coloring problem here
    By Prince in forum OSR Help
    Replies: 7
    Last Post: 02-15-2008, 08:00 AM
  2. Auto coloring + DTM tut
    By ub3r |<1||3r*1337* in forum OSR Advanced Scripting Tutorials
    Replies: 18
    Last Post: 05-03-2007, 04:02 PM
  3. auto rock coloring help
    By scarscaper4life in forum OSR Help
    Replies: 1
    Last Post: 03-18-2007, 09:53 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
  •