View Full Version : Custom Character Name Colors?

11-08-2014, 01:44 AM
Hey there EmuDevs!

I am just curious if its possible to change the color of a character's name. I want to use this as like a loyalty feature of being loyal to the server, where they can change their name any color they would like.

So far, I have tried: Changing the length of the database field "name" to 20 characters to allow the color changing effect. For example, in my database a character's name is |cFFFF0000Teryaki|r, changing the name "Teryaki" red. Now, I get this problem, it shows red on the character screen, but gives me a character rename flag when entering the world.



I thought it was a problem with the server checks, so I went into the world config and changed a few things like the name restrictions, such as having a character like | but that didn't work either. Is there some DBC editing I need to do client sided, or is there something I am missing server side?

Thanks for the help!


11-08-2014, 02:19 AM
i think its due to names can only contain letters . not numbers or symbols.
but this is a kewl idea for something like saaayyy a nice premium system.. or long term players .
i do hope to see and end product for this. :D GL

11-08-2014, 07:49 AM
I don't think that the ingame names will be red. Afaik it's hardcoded.

11-08-2014, 03:15 PM
rather than adding the color hex code directly into the character name in the DB. is there a way to add it just before the name string gets sent to the cleint?
the way it appears, the core checks the character name and flags it for errors, but thats just my guess..
maybe find where it gets packed up and sent to the client and inject the hex code to the string there(based on the fact the account does have this perk).