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

Simple Chat Processor


Post New Thread Reply   
 
Thread Tools Display Modes
4bdul
AlliedModders Donor
Join Date: Dec 2011
Location: United Kingdom
Old 03-13-2012 , 13:32   Re: Simple Chat Processor
Reply With Quote #31

Any support for Garrys Mod?
4bdul is offline
ProMT
Junior Member
Join Date: Jan 2010
Old 03-21-2012 , 08:38   Re: Simple Chat Processor
Reply With Quote #32

you can do Phrases for HL2DM?
ProMT is offline
Antithasys
Moderator
Join Date: Apr 2008
Old 04-09-2012 , 21:14   Re: Simple Chat Processor
Reply With Quote #33

Greetings all. RL pulls me away months on end and causes issues with continual updates. The problem with this processor is related to the usermessage getting called once for every player in the game. This creates problems if you rely on the callback for more then what is being displayed to the client. I have not given your issues much thought, but will look into them and see if I can come up with a solution.
__________________
[my plugins]

When you think about asking a question... consider what have you tried?
Antithasys is offline
minimoney1
SourceMod Donor
Join Date: Dec 2010
Old 04-09-2012 , 21:31   Re: Simple Chat Processor
Reply With Quote #34

Quote:
Originally Posted by Antithasys View Post
Greetings all. RL pulls me away months on end and causes issues with continual updates. The problem with this processor is related to the usermessage getting called once for every player in the game. This creates problems if you rely on the callback for more then what is being displayed to the client. I have not given your issues much thought, but will look into them and see if I can come up with a solution.
Yeah, hence why the Simple-DeadAllChat doesn't function properly.
You could do multiple hooks ("say", "say_team" + HookUserMessage AND hook the event "player_say") to prevent that issue, while still getting the info needed from the original SayText2 UserMessage, just like this guy does it.
http://forums.alliedmods.net/showthread.php?t=171734

Last edited by minimoney1; 04-09-2012 at 21:46.
minimoney1 is offline
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 04-10-2012 , 02:27   Re: Simple Chat Processor
Reply With Quote #35

Just today I was thinking of this plugin. ^^ Good to see you back Antithasys - hope everything is well on your end.
11530 is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 06-03-2012 , 20:14   Re: Simple Chat Processor
Reply With Quote #36

Can you add cs go support by chance? Its erroring out with translations because its per game.

L 06/03/2012 - 17:13:22: [simple-chatprocessor.smx] [SCP] Translation file is not present
L 06/03/2012 - 17:13:22: [SM] Plugin encountered error 25: Call was aborted
L 06/03/2012 - 17:13:22: [SM] Native "SetFailState" reported: Translation file is not present
L 06/03/2012 - 17:13:22: [SM] Displaying call stack trace for plugin "simple-chatprocessor.smx":
L 06/03/2012 - 17:13:22: [SM] [0] Line 140, /home/groups/alliedmodders/forums/files/3/6/9/5/4/92887.attach::OnPluginStart()
__________________

DontWannaName is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 06-15-2012 , 17:28   Re: Simple Chat Processor
Reply With Quote #37

Quote:
Originally Posted by DontWannaName View Post
Can you add cs go support by chance? Its erroring out with translations because its per game.

L 06/03/2012 - 17:13:22: [simple-chatprocessor.smx] [SCP] Translation file is not present
L 06/03/2012 - 17:13:22: [SM] Plugin encountered error 25: Call was aborted
L 06/03/2012 - 17:13:22: [SM] Native "SetFailState" reported: Translation file is not present
L 06/03/2012 - 17:13:22: [SM] Displaying call stack trace for plugin "simple-chatprocessor.smx":
L 06/03/2012 - 17:13:22: [SM] [0] Line 140, /home/groups/alliedmodders/forums/files/3/6/9/5/4/92887.attach::OnPluginStart()

Yes, CS:GO support would rock
__________________
View my Plugins | Donate
TnTSCS is offline
minimoney1
SourceMod Donor
Join Date: Dec 2010
Old 06-15-2012 , 17:36   Re: Simple Chat Processor
Reply With Quote #38

I think it's already supported. Just download scp.cstrike.phrases.txt and rename it to scp.csgo.phrases.txt and it should work for that error (don't know if it would work in general)
minimoney1 is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 06-15-2012 , 17:39   Re: Simple Chat Processor
Reply With Quote #39

I tried that, was hoping the author would post an official one in the OP... anyways... I added csgo to the enums... it works with the attached files... not all colors work, just FYI... I upped the version number by .1

use http://www.quickdiff.com/ to check the diff
Attached Files
File Type: sp Get Plugin or Get Source (simple-chatprocessor.sp - 697 views - 13.9 KB)
File Type: smx simple-chatprocessor.smx (7.5 KB, 350 views)
File Type: txt scp.csgo.phrases.txt (977 Bytes, 387 views)
File Type: inc scp.inc (3.8 KB, 333 views)
__________________
View my Plugins | Donate

Last edited by TnTSCS; 06-15-2012 at 17:44.
TnTSCS is offline
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 06-15-2012 , 19:40   Re: Simple Chat Processor
Reply With Quote #40

Quote:
Originally Posted by TnTSCS View Post
use http://www.quickdiff.com/ to check the diff
That is an amazingly useful site, thanks. Bookmarked.
__________________
11530 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 21:51.


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