Proof of concept - Colored Names

08/01/2013 02:53 Spirited#31
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.
08/01/2013 18:11 Ultimation#32
thats not a bad idea :)

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.

[Only registered and activated users can see links. Click Here To Register...]
08/01/2013 23:05 Spirited#33
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!
08/02/2013 01:13 CptSky#34
Quote:
Originally Posted by Ultimation View Post
[...]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;
		}
08/03/2013 15:47 urfinator#35
Cool! :D

REally cool :
08/05/2013 15:07 Ultimation#36
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

Here is the output

[Only registered and activated users can see links. Click Here To Register...]
08/09/2013 01:58 [V.I.P]Coder[PM]#37
i shocked how did you do that
08/09/2013 03:13 ImmuneOne#38
Quote:
Originally Posted by [V.I.P]Coder[PM] View Post
i shocked how did you do that
Your name is fancy.
09/21/2013 11:20 .Ocularis#39
Related? Big5 isn't installed on my laptop so the chinese charset is funky on my screen.

[Only registered and activated users can see links. Click Here To Register...][Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
09/21/2013 11:43 Smaehtin#40
Quote:
Originally Posted by .Ocularis View Post
Related? Big5 isn't installed on my laptop so the chinese charset is funky on my screen.
No, that's a new system TQ introduced not long ago called Jiang Hu. It changes your name's color based on your Jiang Hu level or whatever.
09/23/2013 11:28 GameHackerPM#41
Lol .. thats great!
10/04/2013 18:09 Soulfly25#42
WHen Will You Release this? :D hehehe
I like it.