Here's my suggestion: Have a file that contains predefined color codes, 4 differentiating colors per name. Use a simple algorithm for splitting the color nicely across the name. The client loads the name color from an offset in the spawn packet (a byte). That way, it's only a byte of data for the network to display roughly 16 bytes of color information. That's how I might have done it if I could reverse engineer with the quality you do.
anyone got a list of characters binaries dont allow during character creation?
Here is what ive done so far, just by adding a character to the end of the name ( I can see problems when it comes to manually typing names for whisper or for admins to find people etc. In this case i used '}' character to make the name purple.
The encoding they use (as you probably know) is CP-1252. Anything not on that list (from the link I sent you to) would work for your case. You could open "Character Map" on your computer and look at it that way too (which I'm sure you're more than familiar with). Hopefully that link helps though. As you can see, there are control characters. You could be using those if you wish (those pass Conquer's encoding and can act as controls for your colors). I still think the best option would be to just allocate a byte rather than a byte per color change. Anyways, however you do it, good luck!
[...]anyone got a list of characters binaries dont allow during character creation?[...]
Code:
if(c < ' ')
return false;
switch(c)
{
case ' ':
case ';':
case ',':
case '/':
case '\\':
case '=':
case '%':
case '@':
case '\'':
case '"':
case '[':
case ']':
return false;
}
Okey, we have our first "plugin", ive built the plugin to run on binary servers. In the DB u have a new field with NameColor = 4 bytes any ARGB value. The MSGsever loads the plugin via adapter_cfg.ini
Proof of Concept - Player HP Bars 06/05/2013 - CO2 Private Server - 11 Replies Proof of Concept - Player HP Bars - YouTube
It took us 7 hours to do, but we got it...
read video description for more
Proof of Concept - Map/Monster Scale 05/31/2013 - CO2 Private Server - 14 Replies More messing with non-standard stuff, now imagine this used in a boss fight (well, it'll be used in our Phoenix Castle boss fight).
Proof of Concept - Map and Monster Scale - YouTube
[BO2]Colored Names 11/17/2012 - Call of Duty Hacks, Bots, Cheats & Exploits - 3 Replies Hey Community,
Ich werde euch heute zeigen wie ihr in Black Ops 2 InGame Farbige namen habt!
Ändert euren namen bei steam und fügt am Anfang das hin : ^^0/1/2/3/4/5/6/7/8/9 <-- Von den Zahlen eine auswählen ^^
ungefähr so :
http://i.imgur.com/n6nyn.png
Viel Spaß damit :)
How do i make Guild names colored? 06/25/2008 - Dekaron - 2 Replies I was just wondering if anyone knew how to change the color of guild names etc?
colored names 06/24/2007 - Flyff - 0 Replies whats the deal whit colored names and how do you get one?