Raised This Month: $51 Target: $400
 12% 

Simple Chat Colors (Old Version)


Post New Thread Reply   
 
Thread Tools Display Modes
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 10-01-2009 , 23:34   Re: Simple Chat Colors
Reply With Quote #31

Just using the latest stable version of SourceMod, your v1.0.1 plugin, and
PHP Code:
rcon sm plugins info 15
  Filename
gameme.smx
  Title
gameME Plugin (gameME Plugin)
  
AuthorTTS Oetzel Goerz GmbH
  Version
3.0
  URL
http://www.gameme.com
  
Statusrunning
  Reloads
Map Change if Updated
  Timestamp
06/15/2009 22:48:32 
PHP Code:
  01 "Admin File Reader" (1.2.3by AlliedModders LLC
  02 
"Admin Help" (1.2.3by AlliedModders LLC
  03 
"Admin Menu" (1.2.3by AlliedModders LLC
  04 
"Anti-Flood" (1.2.3by AlliedModders LLC
  05 
"Basic Chat" (1.2.3by AlliedModders LLC
  06 
"Basic Comm Control" (1.2.3by AlliedModders LLC
  07 
"Basic Commands" (1.2.1by AlliedModders LLC
  08 
"Basic Info Triggers" (1.2.3by AlliedModders LLC
  09 
"Basic Votes" (1.2.3by AlliedModders LLC
  10 
"Client Preferences" (1.2.3by AlliedModders LLC
  11 
"{HoM} Admin Core" (1.0by Panda USAF
  12 
"{HoM} Core Configuration" (0.1by Panda USAF
  13 
"Fun Commands" (1.2.3by AlliedModders LLC
  14 
"Fun Votes" (1.2.3by AlliedModders LLC
  15 
"gameME Plugin" (3.0by TTS Oetzel Goerz GmbH
  16 
"Kigen's Anti-Cheat" (1.2.0.0by Kigen
  17 
"{HoM} Knife Fight" (2.0by Panda USAF
  18 
"MapChooser" (1.2.3by AlliedModders LLC
  19 
"{HoM} Nade Spam" (2.0by Panda USAF
  20 
"Nextmap" (1.2.3by AlliedModders LLC
  21 
"NoBlock" (1.2.0by Otstrel.ru Team
  22 
"Map Nominations" (1.2.3by AlliedModders LLC
  23 
"Player Commands" (1.2.3by AlliedModders LLC
  24 
"{HoM} Spawn Protection" (2.0by Panda USAF
  25 
"{HoM} Quick Defuse" (1.0by pRED*, Panda USAF
  26 
"Radio Spam Block" (1.0.0by exvel
  27 
"RCON Lock" (0.3.3by devicenull
  28 
"Reserved Slots" (1.2.3by AlliedModders LLC
  29 
"Weapon Restrictions" (3.0.2by Liam
  30 
"Rock The Vote" (1.2.3by AlliedModders LLC
  31 
"{HoM} Server Rules" (1.0by haNPanda USAF
  32 
"Save Scores" (1.3.1by exvel
  33 
"{HoM} !Buy Command" (1.0by Panda USAF
  34 
"{HoM} Server Redirect" (1.1by BrainstormPanda USAF
  35 
"silencenades" (1.1by grif_ssa
  36 
"Advertisements from Database" (1.2.100by Tsunami and <eVa>Dog
  37 
"Sound Commands" (1.2.1by AlliedModders LLC
  38 
"SourceBans" (1.4.3by InterWave Studios Development Team
  39 
"Spray Tracer" (5.8by Nican132CptMooreLebson506th
  40 
"Team Bets" (2.2by GrimReaper Original by ferret
  41 
"{HoM} Swap Team" (1.0by Panda USAF
  42 
"{HoM} Team Balance" (2.0by daltoPanda USAF
  43 
"Quake Sounds" (2.7by daltoGrrrrrrrrrrrrrrrrrrr, and psychonic
  44 
"Goremod" (4.1.1by Joe 'Pinkfairie' Maley
  45 
"Dissolve" (1.0.0.1by LDuke 
If you can't reproduce the error I guess i'll boot up a dev server and try plugins one at a time.
thetwistedpanda is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 10-01-2009 , 23:39   Re: Simple Chat Colors
Reply With Quote #32

Quote:
Originally Posted by thetwistedpanda View Post
If you can't reproduce the error I guess i'll boot up a dev server and try plugins one at a time.
I am testing on a 1.3.x server (latest build I think) with nothing but base plugins. It works as intended and I do not get a double print.
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 10-01-2009 , 23:40   Re: Simple Chat Colors
Reply With Quote #33

Alright I'll get back to you shortly with my results
thetwistedpanda is offline
Xp3r7
SourceMod Donor
Join Date: Jul 2006
Old 10-01-2009 , 23:46   Re: Simple Chat Colors
Reply With Quote #34

Anyway to set admin chat color when and only when they use the "@" symbol for admin chat to all?
__________________
Xp3r7 is offline
Send a message via MSN to Xp3r7
Antithasys
Moderator
Join Date: Apr 2008
Old 10-01-2009 , 23:55   Re: Simple Chat Colors
Reply With Quote #35

Quote:
Originally Posted by Xp3r7 View Post
Anyway to set admin chat color when and only when they use the "@" symbol for admin chat to all?
No. It bugs out on @
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 10-01-2009 , 23:57   Re: Simple Chat Colors
Reply With Quote #36

Alright I loaded up an installation of 1.2.3 with base sourcemod plug-ins and the hlstatsx plugin and it still produces a double event for when users type "place" or "kdeath" in chat (the triggers that put information into chat). It doesn't do a double print on anything afaik, so it's an incompatibility between these two.
thetwistedpanda is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 10-02-2009 , 00:03   Re: Simple Chat Colors
Reply With Quote #37

Quote:
Originally Posted by thetwistedpanda View Post
Alright I loaded up an installation of 1.2.3 with base sourcemod plug-ins and the hlstatsx plugin and it still produces a double event for when users type "place" or "kdeath" in chat (the triggers that put information into chat). It doesn't do a double print on anything afaik, so it's an incompatibility between these two.
I see what you mean. The last explination was clear. HLstatsxCE is prining the result of "place", or any other public command that results in a chat response, twice. Is that what you mean?
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 10-02-2009 , 00:06   Re: Simple Chat Colors
Reply With Quote #38

Yes; sorry, explanations plus alcohol is usually a bad combination. I've found another bug for you: If a player is dead their chat either shows up as (SPEC) or not at all.
thetwistedpanda is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 10-02-2009 , 00:08   Re: Simple Chat Colors
Reply With Quote #39

Quote:
Originally Posted by thetwistedpanda View Post
Yes; sorry, explanations plus alcohol is usually a bad combination. I've found another bug for you: If a player is dead their chat either shows up as (SPEC) or not at all.
doh

replace line 499:
PHP Code:
else if (iTeam != 1
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 10-02-2009 , 00:13   Re: Simple Chat Colors
Reply With Quote #40

Quote:
Ok. There appears to be some errors in the .inc file.

It has lightgreen set to use \x03 which is a team color.
Actually lightgreen is a team color. It is server's team color when message author is client = 0. Don't know about TF but this is true for all other Source games. This was mentioned in the description. It is impossible to use red, blue or lightgreen together.

Quote:
It also has yellow set to \x04 which is green, not the new tf2 yellow/black
Yeap, this inc was created before this TF items updates were released. Just place:
PHP Code:
CTagCode[][] = {"\x01""\x06""\x06""\x03""\x03""\x03""\x05"}; 
in the profile section for TF. It will work differently just for TF then. These arrays was designed in a way that they can be changed after detection of game name.

Also {yellow} is just an alias for {green} (useful for L4D where \x04 = yellow).

I'll test \x06 color later and release an update for colors.inc for TF.
__________________
For admins: My plugins

For developers: Colors library

Last edited by exvel; 10-02-2009 at 00:18.
exvel is offline
Send a message via ICQ to exvel
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 00:58.


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