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

Simple Chat Processor (Redux)


Post New Thread Reply   
 
Thread Tools Display Modes
Donski
Senior Member
Join Date: Sep 2012
Old 07-13-2014 , 09:09   Re: Simple Chat Processor (Redux)
Reply With Quote #251

It's nothing critical but if you wish to get rid of it you can fix the updater URL or disable it altogether then recompile the plugin, or you can try to use the one attached a few posts up.
Donski is offline
Sketchy
Senior Member
Join Date: Nov 2010
Old 07-20-2014 , 16:17   Re: Simple Chat Processor (Redux)
Reply With Quote #252

The last 2 versions of simple-chatprocessor.smx that are posted in this thread on the last page, both have issues on CSGO.

The version by 2Nasty4You (as Poel also pointed out) spams errors in the error log. I end up with a 100mb-200mb error log.
Code:
L 07/20/2014 - 00:00:32: [SM] Native "PbReadString" reported: Invalid field "params" for message "CCSUsrMsg_SayText2"
L 07/20/2014 - 00:00:32: [SM] Displaying call stack trace for plugin "simple-chatprocessor.smx":
L 07/20/2014 - 00:00:32: [SM]   [0]  Line 333, C:\cmgservers\csgo3\csgo\addons\sourcemod\scripting\simple-chatprocessor.sp::OnSayText2()
The version a few posts down by Meitis that fixes that error but creates a new problem, in that every time someone who is on Team Spectator types anything in chat, it repeats/spams once for every person on the server. By this i mean, if there are 10 peopel on the server and someone in Spectator types, it repeats what they typed 10 times. If 25 people are on the server, it gets repeated 25 times, etc.

The only difference in the .sp for both versions, is 1 line of code at line 351.
Code:
//This produces errors in the error log
		PbReadString(bf, "params", cpMessage, sizeof(cpMessage));

//But this causes the spectator chat spam issue i mentioned above.
		PbReadString(bf, "params", cpMessage, sizeof(cpMessage), 1);

Last edited by Sketchy; 07-20-2014 at 16:23.
Sketchy is offline
2NASTY4U
Senior Member
Join Date: Mar 2014
Old 07-20-2014 , 17:51   Re: Simple Chat Processor (Redux)
Reply With Quote #253

Yeah. Really sad, author is not interested in developing this plugin I think.
2NASTY4U is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 07-20-2014 , 21:35   Re: Simple Chat Processor (Redux)
Reply With Quote #254

This one works for me with no errors.

Quote:
Originally Posted by Dr. McKay View Post
Advertisements uses colors.inc, which fires SayText2. It also doesn't pass USERMSG_BLOCKHOOKS.

====

I've attached the compiled version of my DoD:S-supported version of SCP for anyone who wants to try it out before it goes official.
__________________
Neuro Toxin is offline
PresidentEvil
AlliedModders Donor
Join Date: Jun 2012
Old 07-25-2014 , 14:23   Re: Simple Chat Processor (Redux)
Reply With Quote #255

so does this work for csgo
__________________
PresidentEvil is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 07-25-2014 , 18:22   Re: Simple Chat Processor (Redux)
Reply With Quote #256

Quote:
Originally Posted by PresidentEvil View Post
so does this work for csgo
All I know: It took me friken ages to find a working copy of this plugin for csgo. I tried recoding / compiling with no success.

I ended up finding an edited version attached in this thread. Im prity sure its the post I quoted previously.
__________________
Neuro Toxin is offline
RavensBro
Veteran Member
Join Date: Sep 2009
Location: Wisonsin USA
Old 09-11-2014 , 11:33   Re: Simple Chat Processor (Redux)
Reply With Quote #257

L 09/10/2014 - 21:15:54: SMC parsing error on line 0
L 09/10/2014 - 21:15:54: [0] URL: http://dev.xadgaming.com/simple-chat...er/updater.txt
L 09/10/2014 - 21:15:54: [1] ERROR: Line contained too many invalid tokens
L 09/10/2014 - 21:54:51: SMC parsing error on line 0
L 09/10/2014 - 21:54:51: [0] URL: http://dev.xadgaming.com/simple-chat...er/updater.txt
L 09/10/2014 - 21:54:51: [1] ERROR: Line contained too many invalid tokens
L 09/11/2014 - 07:426: SMC parsing error on line 0
L 09/11/2014 - 07:426: [0] URL: http://dev.xadgaming.com/simple-chat...er/updater.txt
L 09/11/2014 - 07:426: [1] ERROR: Line contained too many invalid tokens
RavensBro is offline
karil
SourceMod Donor
Join Date: Jan 2010
Old 09-12-2014 , 09:48   Re: Simple Chat Processor (Redux)
Reply With Quote #258

As I can see on bitbucket - https://bitbucket.org/minimoney1/sim...or/commits/all he forgot to compile it in .smx. He updated just the .sp uncompiled file. So I did that and it works.

You cannot find the 2.0.2 anywhere in this thread. As Neuro Toxin said earlier there is a csgo version that loads (didn't try how it behaves, just sm plugins info command) -> 2.0.0 version in here at https://forums.alliedmods.net/showpo...&postcount=160

So I am posting a WORKING (tested on csgo) compiled 2.0.2 version . If you don't trust me, you can compile it yourself with included scp.inc and updater.inc.
Attached Files
File Type: zip ChatProcessor 2.0.2.zip (22.7 KB, 261 views)
File Type: sp Get Plugin or Get Source (simple-chatprocessor.sp - 255 views - 20.7 KB)
File Type: smx simple-chatprocessor.smx (12.4 KB, 199 views)
karil is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 09-12-2014 , 19:37   Re: Simple Chat Processor (Redux)
Reply With Quote #259

I havnt tested this. However a sm mod should link a working csgo version in the main post
__________________
Neuro Toxin is offline
Sta77dom
BANNED
Join Date: Sep 2014
Old 09-12-2014 , 21:50   Re: Simple Chat Processor (Redux)
Reply With Quote #260

It has a very limited (currently) param and return type support.

Last edited by Sta77dom; 09-12-2014 at 21:50.
Sta77dom 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 15:46.


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