You know how in the 5165 source when you use the /c command it says your name so like I use /c qwerty it says "[System]CharName: qwerty.." in white letters, how do I change it so that it only says "[System]qwerty" but in red? and no it doesn't say the name of whoever broadcasted it.. like tq bins.
You know how in the 5165 source when you use the /c command it says your name so like I use /c qwerty it says "[System]CharName: qwerty.." in white letters, how do I change it so that it only says "[System]qwerty" but in red? like tq bins.
At the start of your packet, you have the color in RGB.
It's likely the function he's using already takes a color parameter, and if not has an overloaded method to take one. I'm willing to bet that 0 at the end is the color, so red would be 0xFFFF0000 (A = 255, R = 255, G = 0, B = 0)
2011 is the White text... you need to find out the red one id that all... iam not giving out more info :P
No, it really isn't.
2011 is the chat TYPE (center of screen)
The color is most likely an optional overload. The packet takes a chat color value in RGB which can be altered. I'd find it very strange if there was no optional version of the chat method that did not take color as a parameter.
Note:
if you add a reference to say... Windows.Form you could do something like (uint)Color.Red instead of writing it out in hex
Alright cool, but got any idea how to make the text red?
Change the fourth offset of your message packet, which is a "UInt32" and determines the color. You can use System.Drawing.Color.(Your Color).ToArgb() method to figure out a color's RGB version, represented by an uint. Don't forget to reference System.Drawing on the references window.
[Question]LUA Command 06/20/2010 - Metin2 Private Server - 3 Replies Hallo, meine Frage ist, wie ist der Befehl an den Spieler für die Gilde-Zugang?
Aus einem anderen Forum hat mir gesagt, dass es keinen solchen Befeh :(
{Question}about ingame broadcast 01/15/2010 - EO PServer Hosting - 3 Replies hey everyone i was wondering how to add broadcast on my website like demons online did so people cansee the broadcast while they not in the game im just wondering cause it looks cool
[Question]About a Command 12/12/2009 - CO2 Private Server - 6 Replies How can I make a command from console that sends a message similar to /c into in-game to people?
question about gm command 07/31/2009 - Dekaron Private Server - 12 Replies I was wondering, is there a GM command for getting items into ur inventory, or u always have to get them from drop or manually database
cause in most games there is like a /get function :P
I searched the entire forum but couldn't find the answer so dont blame me for not looking around
Quitta