Topic: How to add font color in Battle.net news updates?
If it's related to Warcraft 3
I forgot to mention that It would be for D2
Where did you see colored news for Diablo 2 (screenshot)?
Anyway I don't know how to do it. May be Meanski knows if it's possible.
I have a couple of ideas, Harpy.
Pretty busy with work this week then I'm travelling this weekend but I may have a couple spare hours on Friday night to test my ideas.
@Topaz - I'll update this thread in the next couple of days with what I find.
@Harpy I sent you a PM with the screenshot cause the server is not mine and I want to avoid any possible trouble
I connected to that server and see in wireshark dump a hex color code before each colored text.
Programmatically I found the following color codes that are available in Diablo 2:
These colors are in attached txt file for better undestanding.
So, just edit news.txt or termsofservice.txt in any hex editor to add a predefined hex color code before a text that you want to be colored. Text is colored until a line break if not other color is defined between.
Is not working for me. I'm using this pvpgn version: 184.108.40.206- PRO and color codes looks like this
Well, there are different hex codes for termsofservice.txt (where I tested above) and news.txt.
And colored text does not work in motd.
For news.txt ff must be replaced to c3bf.
For example, replace ff6332 -> c3bf6332
Also note about news caching:
- in bncache.dat on a client side; the file can be removed and game client must be restarted
- in pvpgn; can be updated with /rehash news