gfxgfx
 
Please login or register.

Login with username, password and session length
 
gfx gfx
gfx
76793 Posts in 13502 Topics by 1651 Members - Latest Member: Arnold99 November 23, 2024, 09:31:38 am
*
gfx*gfx
gfx
WinMX World :: Forum  |  Technical  |  Protocol Discussion  |  Color Code Question.
gfx
gfxgfx
 

Author Topic: Color Code Question.  (Read 3418 times)

0 Members and 1 Guest are viewing this topic.

Offline Jakey

  • Forum Member
Color Code Question.
« on: January 08, 2009, 02:34:33 am »
When using color codes in WinMX, I know the #c1# is just to make it easier for people to use, but how exactly are the colors sent from server-client? Is it two bytes or what?

Offline Røçkåfë££ë® §kåñK

  • WANABE WINMX CHAT SERVER HACKER
  • Forum Member
    • The Rebelion
Re: Color Code Question.
« Reply #1 on: January 08, 2009, 05:39:54 pm »
Er do you mean when a client enters? i.e. when the colour codes are defined, or when text is send to chat and then onto other users?

sorry gonna need to specify!
[ìíÍIí¯Iì·´¯ìÍ]Íì•íÌí¯`·íI¯ìIÌì í]¡í¯ìIÎ Røçkåfë££ë® §kåñK ÎIí¯ì¡[ì íÍIí¯Iì·´¯ìÍì•íÌ[Ìí¯`·íI¯ìIÌìí]

Offline Zénar

  • Forum Member
  • *****
  • Born again christian since 2010!
Re: Color Code Question.
« Reply #2 on: January 09, 2009, 09:42:32 pm »
Well... I made a server and if you want to know, here is what you want
In the packet 210, you send 0x03 and 0x0C
Replace the C by the color you want.

0x03 0x01 = #c1# = white
0x03 0x02 = #c2# = yellow
etc...

0x03 is one byte with the value 3 and 0x01 is an another byte with the value 1...

I hope this will help
[John 14:6] Jesus told him, "I am the way, the truth, and the life. No one can come to the Father except through me."
[Jean 14:6] Jésus lui dit: Je suis le chemin, la vérité, et la vie. Nul ne vient au Père que par moi.

WinMX World :: Forum  |  Technical  |  Protocol Discussion  |  Color Code Question.
 

gfxgfx
gfx
©2005-2024 WinMXWorld.com. All Rights Reserved.
SMF 2.0.19 | SMF © 2021, Simple Machines | Terms and Policies
Page created in 0.008 seconds with 22 queries.
Helios Multi © Bloc
gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!