mage11561
|
  |
| Joined: 03 Sep 2008 |
| Total Posts: 13217 |
|
|
| 05 Feb 2012 09:56 PM |
I know if you're in a Team, it's the TeamColor, but what about when you aren't?
My chat color is always orange (unless in a Team) and always has been, so is it a Property in the Player or something?
I've always wondered this, thanks. |
|
|
| Report Abuse |
|
|
LocalChum
|
  |
| Joined: 04 Mar 2011 |
| Total Posts: 6906 |
|
|
| 05 Feb 2012 09:57 PM |
| I think it's a number from the characters in your username looked up in a table of colors. Nobody knows, really. |
|
|
| Report Abuse |
|
|
mage11561
|
  |
| Joined: 03 Sep 2008 |
| Total Posts: 13217 |
|
|
| 05 Feb 2012 09:58 PM |
Oh, so it's based on your name? My friend's name ends in 2865, and my name ends in 11561, and we both have orange chat... hmm. |
|
|
| Report Abuse |
|
|
|
| 05 Feb 2012 10:00 PM |
| What's your friend's name? |
|
|
| Report Abuse |
|
|
LocalChum
|
  |
| Joined: 04 Mar 2011 |
| Total Posts: 6906 |
|
|
| 05 Feb 2012 10:00 PM |
| No, a numeric hash of the characters looked up in a table, if you know what I mean. Not name:match("%d+")... |
|
|
| Report Abuse |
|
|
mage11561
|
  |
| Joined: 03 Sep 2008 |
| Total Posts: 13217 |
|
|
| 05 Feb 2012 10:01 PM |
I sorta think I know what you're saying.
and my friends name is p51mustang2865 if that means anything in regards to chat color. |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 05 Feb 2012 10:03 PM |
I think it's random.
<'+1 Post. Ujelly?'> |
|
|
| Report Abuse |
|
|
mage11561
|
  |
| Joined: 03 Sep 2008 |
| Total Posts: 13217 |
|
|
| 05 Feb 2012 10:06 PM |
| Somebody should find out if there's any pattern to it :P |
|
|
| Report Abuse |
|
|
LocalChum
|
  |
| Joined: 04 Mar 2011 |
| Total Posts: 6906 |
|
|
| 05 Feb 2012 10:08 PM |
@nate
Oh, it's static. It's loaded by Roblox the same every time, even if you're offline, so it isn't random. |
|
|
| Report Abuse |
|
|
|
| 05 Feb 2012 10:10 PM |
It isn't random. It is based on your name. The proof is that, when using RBXPri, if we take the name of a player, the color we get in the chat is the same as the one that person gets. Yet, RBXPri doesn't have access to ROBLOX's website, so the color was necessarily calculated on the name.
Also, the userId doesn't matter, only the name does. |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 05 Feb 2012 10:11 PM |
I think that as soon as you join a random colour is chosen and the data is saved, so when you join a game it'll be the colour that was saved when you first created your account
<'+1 Post. Ujelly?'> |
|
|
| Report Abuse |
|
|
Samacado
|
  |
| Joined: 16 Feb 2008 |
| Total Posts: 25119 |
|
|
| 05 Feb 2012 10:11 PM |
someone figured it out at some point. it's weird and elaborate. |
|
|
| Report Abuse |
|
|
mage11561
|
  |
| Joined: 03 Sep 2008 |
| Total Posts: 13217 |
|
|
| 05 Feb 2012 10:11 PM |
What does ROBLOX do with your name to get what color you would have?
And what part of a game handles the color of your chat? |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 05 Feb 2012 10:12 PM |
I've tried to figure it out, no one except for the person who came up with the colour idea knows. (And possibly some other administrators)
<'+1 Post. Ujelly?'> |
|
|
| Report Abuse |
|
|
mage11561
|
  |
| Joined: 03 Sep 2008 |
| Total Posts: 13217 |
|
|
| 05 Feb 2012 10:14 PM |
Time to bribe the admins to find it out then :P
I guess you could make a script in your game that records (with data persistance i guess) what the name of a person is, and what their chat color is, but how would you get the chat color using a script? |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 05 Feb 2012 10:15 PM |
"someone figured it out at some point."
Fluke, hax, or complete guesses?
<'+1 Post. Ujelly?'> |
|
|
| Report Abuse |
|
|
mage11561
|
  |
| Joined: 03 Sep 2008 |
| Total Posts: 13217 |
|
|
| 05 Feb 2012 10:17 PM |
| maybe they just looked at a lot of peoples usernames, what their chat color was, and then somehow ascertained the relationship between the two. |
|
|
| Report Abuse |
|
|
Samacado
|
  |
| Joined: 16 Feb 2008 |
| Total Posts: 25119 |
|
|
| 05 Feb 2012 10:18 PM |
deduced it by generating a bunch of hashes as names. I think it was anaminus, cos' he posted on twitter about it a while back? |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 05 Feb 2012 10:19 PM |
Hm, actually, I've changed my name in game using CE awhile ago to test this out, changed it to 'ROBLOX' (Orange if I could remember), so don't know why I'd say it was random.
<'+1 Post. Ujelly?'> |
|
|
| Report Abuse |
|
|
mage11561
|
  |
| Joined: 03 Sep 2008 |
| Total Posts: 13217 |
|
|
| 05 Feb 2012 10:19 PM |
| he best be telling us those results :o |
|
|
| Report Abuse |
|
|
|
| 05 Feb 2012 10:21 PM |
:D Mine is based off of what I denoted as my favourite colour when I joined :D I win. |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 05 Feb 2012 10:23 PM |
":D Mine is based off of what I denoted as my favourite colour when I joined :D " When I joined on my first account, my name colour was blue (My favourite colour), when my brother joined, his was green (his favourite colour). hehehe
<'+1 Post. Ujelly?'> |
|
|
| Report Abuse |
|
|
mage11561
|
  |
| Joined: 03 Sep 2008 |
| Total Posts: 13217 |
|
|
| 05 Feb 2012 10:24 PM |
when i joined my favorite color was orange...
now it's blue, but orange is my 2nd favorite.
lol. |
|
|
| Report Abuse |
|
|
Quenty
|
  |
| Joined: 03 Sep 2009 |
| Total Posts: 9316 |
|
|
| 05 Feb 2012 10:30 PM |
| It's probably something really simple. Like super simple. :D |
|
|
| Report Abuse |
|
|
stravant
|
  |
 |
| Joined: 22 Oct 2007 |
| Total Posts: 2893 |
|
|
| 05 Feb 2012 10:31 PM |
It's probably something simple like:
colors[ sum(each_character:byte()) % num_colors ]; |
|
|
| Report Abuse |
|
|