Page 1 of 2 12 LastLast
Results 1 to 25 of 26

Thread: Finalizing Project: NewAutoColor.scar!

  1. #1
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default Finalizing Project: NewAutoColor.scar!

    Hello,

    NewAutoColor works. I would like to see more (symbol) colors in it, though.

    How can you add a color?
    You need to start at one world. Make sure you get a loading screen.
    After the loading screen, pick one of the colors(C_Old1) that are already in the NewAutoColor array, let's take the grey rock in this example. Pick the color that you would like to add (C_New1).

    Switch to a new world. (Make sure the applet loads again)
    Get that annoying loading screen so the colors with get their constant value.
    Pick the grey rock color again([B]C_Old2). Pick the other color that you would like to add. ([B]C_New2)

    You should only add the color if it has a constant relationship with, in this case, the grey RockColor.
    Which is true if: (C_Old1 - C_New1 = C_Old2 - C_New2)

    Now, you cannot just add it to the array, because all the colors in the newAutoColor array are picked from one world (or picked from a different one, and adepted afterwards.)

    Let us now adept the color.

    Taken from NewAutoColor.scar:

    SCAR Code:
    {Note by Sumilion :
      All colors in this list are from the same world. Might you find a
      new color that fits in here aswell, and if you add it from your
      world it will not work. What you should do then is get the constant
      difference between your color and an item in this list (from your
      world). Then apply that difference to the color that is set in this
      list. You will the have the color like it should be in the world
      these colors were taken in at the time.
    }

    So, what we do now is copy the Grey RockColor(5790810) from the array.
    SCAR Code:
    srl_refColors[1].Name := 'Grey Rock';
      srl_refColors[1].Color := 5790810;

    We either take C_Old1, or C_Old2.
    Now, we can get the 'difference'.
    If we use C_Old1, the color we will add to the array will look like this:

    SCAR Code:
    NewColor := C_New1 + (C_Old1 - 5790810}));
    {5790810 = grey rock color from old array}

    If we used C_Old2, it would look like this:

    SCAR Code:
    NewColor := C_New2 + (C_Old2 - 5790810}));
    {5790810 = grey rock color from old array}

    One final note.
    If you are going to add SymbolColors, make sure you 'pick' the symbol colors that SRL GetSymbolColor returns.


    I hope you can help us add more colors to this wonderfull include!

    ~Wizzup?



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  2. #2
    Join Date
    Jan 2007
    Location
    Kansas
    Posts
    3,760
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    Thank you, I was looking to add colors to this earlier but I wasn't sure how. So thanks.


  3. #3
    Join Date
    Oct 2006
    Posts
    2,297
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Wiz, can you explain me in dutch plz?

    I picked the upper left color (van de vin <- dutch) of the fish from the fishing symbol, after a "loading please wait" screen. The color is: 16764462.

    -Tsn.
    [QUOTE=Santa_Clause;277761]I love you too TSN :p[/QUOTE]
    [CENTER][URL="http://www.stats.srl-forums.com/sigs"][IMG]http://www.stats.srl-forums.com/sigs/1324.png[/IMG][/URL][/CENTER]

  4. #4
    Join Date
    Oct 2006
    Location
    Ontario,Canada
    Posts
    1,718
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Cactus color in Al Kharid
    SCAR Code:
    srl_refColors[15].Name := 'Cactus';
      srl_refColors[15].Color := 3972993;

  5. #5
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Added.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  6. #6
    Join Date
    Oct 2006
    Location
    Ontario,Canada
    Posts
    1,718
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    ill find somemore later tonight. off to bball practice now.

  7. #7
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    Verrekte Koekwous

  8. #8
    Join Date
    Mar 2006
    Posts
    3,051
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by mastaraymond View Post

    Worked for RockColor and StoneColor


    Good thinking!


  9. #9
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Quote Originally Posted by mastaraymond View Post
    Yes. I used the RS Minimap too.
    The problem is, the colors on the RS Minimap are always constant, and some colors do not have a constant relation, like the tree symbol. You must first make sure the colors have no certain relation for the RS Minimap, hence why I removed it from my 'small tutorial' on how to pick the colors, slyboots.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  10. #10
    Join Date
    Jun 2007
    Location
    La Mirada, CA
    Posts
    2,484
    Mentioned
    1 Post(s)
    Quoted
    3 Post(s)

    Default

    would this be able to work for things such as trees, possibly the different greens or possibly the trunk colors on MM. if so ill look into it, also is this possible for like fences, roadcolors, watercolors, etc...?

    "Failure is the opportunity to begin again more intelligently" (Henry Ford)


  11. #11
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Quote Originally Posted by HyperSecret View Post
    would this be able to work for things such as trees, possibly the different greens or possibly the trunk colors on MM. if so ill look into it, also is this possible for like fences, roadcolors, watercolors, etc...?
    Does not work for RoadColor, WaterColor, WallColor, TreeSymbol and probably quite some more colors, too.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  12. #12
    Join Date
    Oct 2006
    Location
    Ontario,Canada
    Posts
    1,718
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    take out the one i gave you for cactus. worked for like three different worlds now doesnt work. man what a coincidence!

  13. #13
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Quote Originally Posted by XcanadamanX View Post
    take out the one i gave you for cactus. worked for like three different worlds now doesnt work. man what a coincidence!
    Alright, I'll remove it again.
    What other color did you use, to test the cactus color relation with?
    I personally like using either the grey or brown rock, you can't easily pick the 'wrong' color, unlike when you use symbols.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  14. #14
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Wizzup? View Post
    Alright, I'll remove it again.
    What other color did you use, to test the cactus color relation with?
    I personally like using either the grey or brown rock, you can't easily pick the 'wrong' color, unlike when you use symbols.
    The brown rock and the cactus have a firm relation.
    Verrekte Koekwous

  15. #15
    Join Date
    Feb 2007
    Location
    Het ademt zwaar en moedeloos vannacht.
    Posts
    7,211
    Mentioned
    26 Post(s)
    Quoted
    72 Post(s)

    Default

    Quote Originally Posted by mastaraymond View Post
    The brown rock and the cactus have a firm relation.
    I can confirm that. If that one doesn't have a constant relation I gonna kill myself.
    I made a new script, check it out!.

  16. #16
    Join Date
    May 2006
    Location
    Amsterdam
    Posts
    3,620
    Mentioned
    5 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Markus View Post
    I can confirm that. If that one doesn't have a constant relation I gonna kill myself.
    And I'm gonna help you.
    Verrekte Koekwous

  17. #17
    Join Date
    Oct 2006
    Location
    Ontario,Canada
    Posts
    1,718
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Wizzup? View Post
    Alright, I'll remove it again.
    What other color did you use, to test the cactus color relation with?
    I personally like using either the grey or brown rock, you can't easily pick the 'wrong' color, unlike when you use symbols.
    i used the quest symbol color from the getsymbolcolor. so maybe it does work. i donno

  18. #18
    Join Date
    Nov 2007
    Location
    Nowhereville
    Posts
    1,155
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Edit: I saw the end of the first post, don't add these colors in, I will be working at finding new ones.

    Cut em2 it
    Formerly known as Cut em2 it

  19. #19
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Did anyone get some color relations yet?



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  20. #20
    Join Date
    Oct 2006
    Location
    Ontario,Canada
    Posts
    1,718
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    2 of them were not working for me.

    SCAR Code:
    ref_Bank = 1431274;
    and
    SCAR Code:
    ref_Mining_Spot = 8289911;

    those are the fixes. they seem to be working fine right now.

  21. #21
    Join Date
    Mar 2006
    Posts
    3,051
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Jagex messed with some of the color relationships a couple of weeks ago.


  22. #22
    Join Date
    May 2007
    Location
    in a pineapple under the sea
    Posts
    1,040
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default



    rock old - new = difference

    Code:
    2438464 - 861506 = 1576958
    cactus old - new = difference

    Code:
    2844994 - 1268036 = 1576958
    the differences between those to old and new are the same... we got a relationship.

    i did this between a few worlds and it worked.
    [SIZE="4"][CENTER][URL="http://www.youtube.com/watch?v=5YsGJz3j4os"]LOL u mad bro?[/URL][/CENTER][/SIZE]

  23. #23
    Join Date
    Oct 2006
    Location
    Ontario,Canada
    Posts
    1,718
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    did you check the colors of the middle "easy to get" spots? to see if there is a connection there.

  24. #24
    Join Date
    Mar 2007
    Posts
    3,116
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Thanks Timo, now I understand this

  25. #25
    Join Date
    Oct 2006
    Location
    Ontario,Canada
    Posts
    1,718
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    brown rock by ak bank. tested and works with the cactus color. its the light color in the middle of the rock. see post above by Timo

    ref_Ak_Brown_Rock = 2969732;

Page 1 of 2 12 LastLast

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
  •