Raised This Month: $32 Target: $400
 8% 

[Dyn Native] ColorChat v0.3.2 (04 jul 2013)


Post New Thread Reply   
 
Thread Tools Display Modes
supergreg
Senior Member
Join Date: Jul 2007
Location: Oslo, Norway
Old 06-23-2009 , 16:56   Re: [Native] ColorChat v0.1.0
Reply With Quote #21

Thank you, it is very useful and works very well, both in the modified adminchat and in my own plugin, excellent!

Only one very small thing; It is confusing that this thread is called colorchat, and you refer to the plugin as "colorchat", but doing #include <colorchat> will not work as the file itself is called chatcolor.inc - I just wanted to let you know before everyone starts using it - if you want to change this filename it should be now before everyone starts using it ;)
supergreg is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 08-14-2009 , 15:21   Re: [Native] ColorChat v0.1.0
Reply With Quote #22

I find this rather useless and I don't see why this was made into a plugin. Why didn't you just post this in the code snippets section? I don't really want to unapprove this but I also find it difficult to approve. I'm going to ask BAILOPAN about this case.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-14-2009 , 15:55   Re: [Native] ColorChat v0.1.0
Reply With Quote #23

Because of all this plugins using that colorchat include so that code is duplicated in all of them.
Anyway, the plugin is released, feel free to unapprove.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
supergreg
Senior Member
Join Date: Jul 2007
Location: Oslo, Norway
Old 08-14-2009 , 18:24   Re: [Native] ColorChat v0.1.0
Reply With Quote #24

I really like this, I have included it into several of the plugins we use on our servers, as well as the ones I hack away at myself. I really like the idea of collecting widely used functions like these in separate files+methods. Thanks a bunch!

I have one question regarding the adminchat on page 2; When regular players use "say_team @", their message is now displayed BOTH in regular teamchat as well as amxchat (picture). Is this caused by us running ultimate_chat where admin is set to see all text, or is this a bug that should be fixed? We didn't have this problem before switching to the adminchat on page 2 here, and have been running ultimate_chat all along.
supergreg is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-15-2009 , 03:15   Re: [Native] ColorChat v0.1.0
Reply With Quote #25

This is cause by ultimate chat, which one of the plugin have you declared in first in plugins.ini ? (Should be adminchat to avoid that bug)
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 08-15-2009 , 16:48   Re: [Native] ColorChat v0.1.0
Reply With Quote #26

I didn't really get a useful reply from BAILOPAN, although he stated that he agrees with me in that this would be useful as a snippet.

For this reason, I have decided to move this plugin to the code snippets section. I am also marking it as approved (so it appears in your plugin list).
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
in0x0rable7
Junior Member
Join Date: Dec 2008
Old 08-19-2009 , 05:31   Re: [Native] ColorChat v0.1.0
Reply With Quote #27

I'm getting error:
"L 08/19/2009 - 12:25:28: [AMXX] Plugin "adminchat.amxx" failed to load: Module/Library "chatcolor" required for plugin. Check modules.ini."
when I start my server. I don't know what could cause it. adminchat.amxx is the plugin from 2nd page in this topic. I completed it (.sma) locally (without any errors) and chatcolor.inc is in include folder.
in0x0rable7 is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 08-19-2009 , 06:50   Re: [Native] ColorChat v0.1.0
Reply With Quote #28

Get chatcolor.sma too...
__________________
xPaw is offline
in0x0rable7
Junior Member
Join Date: Dec 2008
Old 08-19-2009 , 07:16   Re: [Native] ColorChat v0.1.0
Reply With Quote #29

Thanks, my mistake.
This stuff would be really great if another amxx plugin wouldn't be neccesary.
in0x0rable7 is offline
supergreg
Senior Member
Join Date: Jul 2007
Location: Oslo, Norway
Old 09-10-2009 , 21:47   Re: [Native] ColorChat v0.1.0
Reply With Quote #30

I'm using this to print to amx_chat if the connecting user is an admin.
Problems arise when users have one of the color triggers as part of their nicks, for instance "r!tual is an admin" shows up as rual is an admin.
So I need to escape that, I am just wondering how to escape only the nicks/user input while still maintaining my intended colorchange triggers.

Any help appreciated.
supergreg is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:36.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode