Results 1 to 5 of 5

Thread: BUG Report - printToAll Command, Magenta and Yellow displays White.

  1. #1

    BUG Report - printToAll Command, Magenta and Yellow displays White.

    BUG Report - printToAll Command, Magenta and Yellow displays White.

    RGB value for 1, 1, 0 for Yellow shows white text instead.
    RGB value for 1, 0, 1 for Magenta shows white text instead.
    RGB value for 0, 0, 0 for Black shows white text instead.

    The only colors for PrintToAll Command that seem to work are the following:
    Cyan, Blue, Red, White, Green

  2. #2
    You can only pick exact player colors.

    And I'm not sure why you are listing 3 specific colors when there are billions of combinations that will all result in white.


    These are the exact players colors which are all that will work, you can also get them by calling stringColorToRGB( string color ) ( stringColorToRGB( "Red" ) which returns a table with the values as r g b
    Code:
    function onload()
    	players = { "White" ,"Brown" ,"Red" ,"Orange" ,"Yellow" ,"Green" ,"Teal" ,"Blue" ,"Purple" ,"Pink" , "Black"}
    	notes = ""
    	for k,v in ipairs(players) do
    		notes = notes .. v .. ": \t"
    		notes = notes .. stringColorToRGB(v).r .. " , "
    		notes = notes .. stringColorToRGB(v).g .. " , "
    		notes = notes .. stringColorToRGB(v).b .. "\n"
    	end
    	setNotes(notes)
    end
    Code:
    White:	1 , 1 , 1
    Brown:	0.442999988794327 , 0.231000006198883 , 0.0900000035762787
    Red:	0.856000006198883 , 0.100000001490116 , 0.0939999967813492
    Orange:	0.955999970436096 , 0.391999989748001 , 0.112999998033047
    Yellow:	0.904999971389771 , 0.898000001907349 , 0.172000005841255
    Green:	0.19200000166893 , 0.700999975204468 , 0.167999997735024
    Teal:	0.128999993205071 , 0.694000005722046 , 0.60699999332428
    Blue:	0.118000000715256 , 0.529999971389771 , 1
    Purple:	0.626999974250793 , 0.125 , 0.940999984741211
    Pink:	0.959999978542328 , 0.439000010490417 , 0.806999981403351
    Black: 	0.25 , 0.25 , 0.25
    from my experience you need at least 0.01 precision for it to work and not print out white.
    Last edited by XoXFaby; 04-03-2016 at 04:02 AM.

  3. #3
    Join Date
    Feb 2016
    Location
    Sweden
    Posts
    77
    I believe {1, 0, 0}, {0, 1, 0} and {0, 0, 1} work too.

    EDIT: As noted by OP /:

  4. #4
    Join Date
    Apr 2016
    Posts
    174
    Shouldn't all primary combinations work? Isn't that the point?

  5. #5
    Join Date
    Jul 2015
    Posts
    159
    The print functions' text color should allow any RGB color values. This is not working as intended and will be fixed in a future patch. Thanks!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •