Raised This Month: $ Target: $400
 0% 

CoD-Style Color Codes


Post New Thread Reply   
 
Thread Tools Display Modes
DrWagstaff
SourceMod Donor
Join Date: Apr 2010
Location: Livermore
Old 05-14-2010 , 05:09   Re: CoD-Style Color Codes
Reply With Quote #11

I tried this and suddenly all my "Custom Votes" votes didn't work. I have another server owner telling me he isn't having this problem, but I figured I'd post this just incase.
DrWagstaff is offline
Send a message via AIM to DrWagstaff
Afronanny
Veteran Member
Join Date: Aug 2009
Old 05-14-2010 , 06:35   Re: CoD-Style Color Codes
Reply With Quote #12

Quote:
Originally Posted by Laser32 View Post
yellow dont work ?

^6 is Black

pls help
It will be black until the item_found event is triggered. Until someone finds or crafts an item, it will be black.

Quote:
Originally Posted by DrWagstaff View Post
I tried this and suddenly all my "Custom Votes" votes didn't work. I have another server owner telling me he isn't having this problem, but I figured I'd post this just incase.
The only thing I can think of is to have this plugin load after Custom Votes. There's not much of a way around this.
Afronanny is offline
bouncer
Veteran Member
Join Date: Apr 2009
Old 05-15-2010 , 08:04   Re: CoD-Style Color Codes
Reply With Quote #13

Only problem I see is servers that have something like [ADMIN] tag and green chat and all that....people can imposter them.

If possible, maybe you could do some sort of check or something so people cannot imposter that?
__________________


bouncer is offline
Afronanny
Veteran Member
Join Date: Aug 2009
Old 05-16-2010 , 00:04   Re: CoD-Style Color Codes
Reply With Quote #14

Quote:
Originally Posted by bouncer View Post
Only problem I see is servers that have something like [ADMIN] tag and green chat and all that....people can imposter them.

If possible, maybe you could do some sort of check or something so people cannot imposter that?
Updated to fix that. It only checks for an adminid, which means your donors will be able to wear the [admin] tag, assuming you give them an admin flag for their donor features. If you want a cvar for specific flags, give me a holler.
Afronanny is offline
meecrob
Senior Member
Join Date: Jan 2010
Old 06-06-2010 , 04:04   Re: CoD-Style Color Codes
Reply With Quote #15

This is an interesting plugin, although it seems to break the chat commands for kill streak orgasms and n1g-tf2-ranks.
__________________
meecrob is offline
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 06-25-2010 , 19:59   Re: CoD-Style Color Codes
Reply With Quote #16

I want this but I don't want peoples names to have the ^# symbol. Perhaps a better way to do it would be to use the client cookie system and allow someone to do:
sm_chatname "^1[^2w00t^3] ^4My Name"

This is stored locally, and affects chat only. This way as an admin, I don't have to type in the symbols when kicking or banning or any other admin functionality.

I've never used the client cookie thing but I'm guessing this would also then migrate to any other server using the plugin too. It would just pickup the cookie from the client.
Thraka is offline
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 07-08-2010 , 01:21   Re: CoD-Style Color Codes
Reply With Quote #17

Doh... when people chat it's not logging it so I see them in HLSW. And when the console chat, the plugin errors.

22:19:42 L 07/07/2010 - 22:19:44: [SM] Native "GetUserAdmin" reported: Client index 0 is invalid
22:19:42 L 07/07/2010 - 22:19:44: [SM] Displaying call stack trace for plugin "codcolors.smx":
22:19:42 L 07/07/2010 - 22:19:44: [SM] [0] Line 48, /home/groups/alliedmodders/forums/files/5/9/5/2/1/65272.attach::Command_Say()
Thraka is offline
Afronanny
Veteran Member
Join Date: Aug 2009
Old 07-08-2010 , 23:54   Re: CoD-Style Color Codes
Reply With Quote #18

Quote:
Originally Posted by Thraka View Post
Doh... when people chat it's not logging it so I see them in HLSW. And when the console chat, the plugin errors.

22:19:42 L 07/07/2010 - 22:19:44: [SM] Native "GetUserAdmin" reported: Client index 0 is invalid
22:19:42 L 07/07/2010 - 22:19:44: [SM] Displaying call stack trace for plugin "codcolors.smx":
22:19:42 L 07/07/2010 - 22:19:44: [SM] [0] Line 48, /home/groups/alliedmodders/forums/files/5/9/5/2/1/65272.attach::Command_Say()
Fixed the console chat error.
Afronanny is offline
Thraka
AlliedModders Donor
Join Date: Aug 2005
Old 07-09-2010 , 09:15   Re: CoD-Style Color Codes
Reply With Quote #19

Additionally I noticed last night that when I spoke in chat as dead it didn't say *dead like the game (TF2) normally does. I don't know if that was because I was admin though.

Additionally the say and team_say with @ at the start (admin speak) displays the admin speak correctly but then repeats it to everyone in chat.

I'm guessing because of this that the / at the start probably also repeats in chat when it isn't supposed to while ! commands are.
Thraka is offline
Silesti
Junior Member
Join Date: May 2010
Old 07-10-2010 , 06:57   Re: CoD-Style Color Codes
Reply With Quote #20

What about just remove ^1 ^2 etc from player's name, so ^1S^6i^8l^7e^6s^7t^1i will be renamed to Silesti without any colors, just to make name readable.
Silesti 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:57.


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