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

Simple Chat Colors (Old Version)


Post New Thread Reply   
 
Thread Tools Display Modes
Antithasys
Moderator
Join Date: Apr 2008
Old 08-11-2011 , 14:31   Re: Simple Chat Colors
Reply With Quote #411

Sure, I can add a translation file.

The compatibility with the base plugin antiflood is problematic. The base plugin does not use any commands to hook, nor does it provide any global forwards that I could use. Really, the only solution is to replace the base plugin functions with almost exact copies in this plugin. What doesn't make sense to me just yet is why it doesn't work already. The forward that antiflood uses is fired even when reproducing chat, like this plugin does. So... all I can really do is replace it at this point.
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
nikedu45
Senior Member
Join Date: May 2011
Old 08-12-2011 , 05:45   Re: Simple Chat Colors
Reply With Quote #412

Otherwise instead of making it compatible add a small function that a time interval between messages in milliseconds or seconds or a limited number of messages in X seconds, or another idea to stop the flooder. (If it's all too complicated and feasible in your opinion)
__________________
Bl4ck-And-White.fr
I'm French !!
nikedu45 is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 08-15-2011 , 20:24   Re: Simple Chat Colors
Reply With Quote #413

Quote:
(15/08/11): Version 1.2.1
-----------------------
+ Added support for antiflood
+ Added translation support
! Fixed clanchat flag being reset on client disconnect
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 08-15-2011 , 22:09   Re: Simple Chat Colors
Reply With Quote #414

After i updated the plugin to the latest version, it started spamming my chat with the error saying you can't use two team colors together but i'm not. BEFORE i updated the plugin, it worked just fine.

Code:
 "STEAM_0:0:38264375"
 {
  "flag"    ""
  "tag"     "[O]"
  "tagcolor"  "{red}"
  "namecolor"  "{green}"
  "textcolor"  "{default}"
 }
 "Admin"
 {
  "flag"    "d"
  "tag"     "[A]"
  "tagcolor"  "{red}"
  "namecolor"  "{green}"
  "textcolor"  "{default}"
 }
 "Premium"
 {
  "flag"    "a"
  "tag"     "[P]"
  "tagcolor"  "{blue}"
  "namecolor"  "{green}"
  "textcolor"  "{default}"
 }
Drixevel is offline
Snaggle
AlliedModders Donor
Join Date: Jul 2010
Location: England
Old 08-16-2011 , 02:29   Re: Simple Chat Colors
Reply With Quote #415

I reported the same problem on the previous page r3dw3r3w0lf. He tells you there the reason.
Snaggle is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 08-16-2011 , 02:31   Re: Simple Chat Colors
Reply With Quote #416

I did read what colors you can use and what colors you can't use at the same time, i don't see any errors in that file. :[
Drixevel is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 08-16-2011 , 11:46   Re: Simple Chat Colors
Reply With Quote #417

The problem is in the CFormat function in the colors.inc file. I am looking into it.

Edit:

Quote:
(16/08/11): Version 1.2.2
-----------------------
! Fixed more than one team color error firing incorrectly
__________________
[my plugins]

When you think about asking a question... consider what have you tried?

Last edited by Antithasys; 08-16-2011 at 16:59. Reason: version upgrade
Antithasys is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 08-16-2011 , 16:56   Re: Simple Chat Colors
Reply With Quote #418

Almost done with v1.3.0

I have added a banned word filter and some more debugging information. If there are any additional feature request now is the time. Not saying I can do them, but will add anything that is warranted.
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
nikedu45
Senior Member
Join Date: May 2011
Old 08-16-2011 , 18:53   Re: Simple Chat Colors
Reply With Quote #419

Thank you for this version: D
If I can ask one last favor please, it would instead add a lot of control in the "Overrides" would be to put all his sentences begin with ! and / in Overrides
__________________
Bl4ck-And-White.fr
I'm French !!
nikedu45 is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 08-16-2011 , 18:55   Re: Simple Chat Colors
Reply With Quote #420

Quote:
Originally Posted by nikedu45 View Post
Thank you for this version: D
If I can ask one last favor please, it would instead add a lot of control in the "Overrides" would be to put all his sentences begin with ! and / in Overrides
That is already in there:

scc_triggerbackup 1

This causes any sentence that starts with ! or / be to sent directly to SourceMod.
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
Reply



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 19:58.


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