[Plugin] Colored chat

Oxxy

New member
Messages
142
Points
0
Location
Estonia, Tallinn
Emulator
Building plugins under Windows
Building plugins under Linux

What this plugin does?:

It allows you to make your chat colored!


New commands:

2 script commands:*color2hex(var) - converts the decimal value into hex, showing the color in #HEXFORMAT (like #FF0000);*setcolor(var) - sets CHAT_COLOR variable to var value;

Code:
@color "HEX_COLOR";example usage: @color 0x0000FF - will set your chat color to Blue.
Changelist:

version 1.0: initial release


Screenshots:
vU4MDQmmqiU.jpg

udfH89tTpG4.jpg


Added other version of chat_color, now it doesn't disguise you and make you targetable, tho you can't see by yourself the color of your chat. That is done this way because the packet 0x2C1 actually was made to be used only by npcs. For you it will look like normal (green in chat, white above the head), others will see the true color(red, for example, if you set your @color 0xFF0000). :-)

Example script to set color:

Code:
prontera,150,150,6   script    chat color    700,{    mes color2hex(CHAT_COLOR);    mes CHAT_COLOR;    if(select("close:set color value") == 1) close;    input .@a$;    setcolor(axtoi(.@a$));    close;}
chat_color.c

chat_colorA.c

 

Attachments

Last edited by a moderator:
Zratinel said:
when i type a msg. my GM sprite gone.. why is this happening??..

and my character become targetable..

not yet saying any msg.
2q8o5et.jpg


after typing a msg..

n2k7r9.jpg


and become targetable..

2d6p6id.jpg
Because of this
Great, a feature to remove gm sprites in game, now make a command to put them back
default_tongue.png
 
Zratinel said:
when i type a msg. my GM sprite gone.. why is this happening??..

and my character become targetable..

not yet saying any msg.
2q8o5et.jpg


after typing a msg..

n2k7r9.jpg


and become targetable..

2d6p6id.jpg
Because of this
Great, a feature to remove gm sprites in game, now make a command to put them back
default_tongue.png
It does remove it only for a short amount of time and other players see you using GM sprite anyway :-)

 
Last edited by a moderator:
Is possible only name color?
Name coloring requires doing some reverse engineering with exe. Its not about the sources only. So, its not possible with this modification.
 correrct only possibel with Client Reverse Enging

xiwd46A.png
Share it
Can you tell us how to do that?
As I said, its paid modification that requires reverse engineering skills. I could give you a contact of a man, that sells it for 35$

tbh, lets keep the topic clean, guyz.

 
Last edited by a moderator:
Yes. Please stay on topic. If you want more questions regarding the name colour, open a new topic or get in contact. 

 
Back
Top