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

Simple Chat Processor (Redux)


Post New Thread Reply   
 
Thread Tools Display Modes
StrikerMan780
AlliedModders Donor
Join Date: Jul 2009
Location: Canada
Old 07-11-2013 , 21:09   Re: Simple Chat Processor (Redux)
Reply With Quote #141

Quote:
Originally Posted by StrikerMan780 View Post
Still going to fix this?
Bumping, to see if anyone is going to add HL2DM Support anytime soon.

This is the problem: https://forums.alliedmods.net/showpo...&postcount=131

(Plus, there's need for a translation file, which I'm unsure how one would do so in the specific context of this plugin... otherwise I'd do it myself.)

Last edited by StrikerMan780; 07-11-2013 at 21:10.
StrikerMan780 is offline
bottiger
AlliedModders Donor
Join Date: Dec 2010
Old 07-14-2013 , 20:53   Re: Simple Chat Processor (Redux)
Reply With Quote #142

Quote:
Originally Posted by Nikkii View Post
It's the way User Messages are done, read the post I linked above... Not sure if it can be prevented (Since the messages it's hooking multiple times do sometimes get ignored and they continue), I might look into it tomorrow using a command listener on say/say_team and only stopping multiple on Plugin_Changed, as it'll create a new message and that's the end of it >.>

Not sure exactly how the messages work, but considering it creates a new one if it changed it shouldn't be that bad.
I figured out the problem. At least in TF2, OnChatMessage is called for each player instead of a single call with all the players set in the ADT array.

The way to fix this would be to aggregate receivers for the same client in a single tick, then fire OnChatMessage on the next game frame.

Also another bug with this plugin is that Plugin_Handled is treated the same is Plugin_Continue when it should be the same as Plugin_Stop.
__________________
bottiger is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 07-17-2013 , 11:10   Re: Simple Chat Processor (Redux)
Reply With Quote #143

I'm trying to add many \x07 colors to names and when the name is too long I can't see the whole name, only some of it.
I tried using MAXLENGTH_NAME+16 and it's still the same thing.

Any solution?
__________________
retired
shavit is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 07-17-2013 , 12:19   Simple Chat Processor (Redux)
Reply With Quote #144

Quote:
Originally Posted by shavit View Post
I'm trying to add many \x07 colors to names and when the name is too long I can't see the whole name, only some of it.
I tried using MAXLENGTH_NAME+16 and it's still the same thing.

Any solution?
\x07 codes use 7 characters. You're going to run out of space really quick.
__________________
Dr. McKay is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 07-17-2013 , 12:59   Re: Simple Chat Processor (Redux)
Reply With Quote #145

Quote:
Originally Posted by Dr. McKay View Post
\x07 codes use 7 characters. You're going to run out of space really quick.
I know, I tried to increase the size but it crashes my server :S
__________________
retired
shavit is offline
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 07-17-2013 , 13:56   Re: Simple Chat Processor (Redux)
Reply With Quote #146

Quote:
Originally Posted by shavit View Post
I know, I tried to increase the size but it crashes my server :S
You can't increase the size of the string and expect it to work. It's called MAXLENGTH_NAME for a reason.
__________________
11530 is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 07-23-2013 , 22:24   Re: Simple Chat Processor (Redux)
Reply With Quote #147

Would be great if you could fix the recipients argument functionality.
__________________
Dr. McKay is offline
Cahill3eph
BANNED
Join Date: Jul 2013
Old 07-23-2013 , 23:31   Re: Simple Chat Processor (Redux)
Reply With Quote #148

The bug was posted in some what of detail in the old SCP thread towards the end if you didn't see it.

Last edited by Cahill3eph; 07-23-2013 at 23:32.
Cahill3eph is offline
stickz
Senior Member
Join Date: Oct 2012
Location: Ontario, Canada
Old 07-29-2013 , 01:35   Re: Simple Chat Processor (Redux)
Reply With Quote #149

could this be made to support nucleardawn? not sure if nd is why it didn't work... i pasted in all the translation files for sure.

Quote:
L 07/29/2013 - 01:113: [simple-chatprocessor.smx] [SCP] Translation file is not present
L 07/29/2013 - 01:113: [SM] Plugin encountered error 25: Call was aborted
L 07/29/2013 - 01:113: [SM] Native "SetFailState" reported: Translation file is not present
L 07/29/2013 - 01:113: [SM] Displaying call stack trace for plugin "simple-chatprocessor.smx":
L 07/29/2013 - 01:113: [SM] [0] Line 170, C:\Users\Administrator\Documents\Repositories \Simple Chat Processor\scripting\simple-chatprocessor.sp::OnPluginStart()

Last edited by stickz; 07-29-2013 at 01:41.
stickz is offline
Cerobug
Member
Join Date: Jun 2008
Old 08-03-2013 , 18:40   Re: Simple Chat Processor (Redux)
Reply With Quote #150

I know custom colors can be used in DoD:S/HL2DM as the gameME plugin allows people to use x07 and x08 to set custom colors using x07thenrgbhexrightafter. Not sure why everyone is so against adding support for DoD:S as the stuff to make custom color codes is already in the engine just need the plugin to hook into it. If gameME can add simple support to get any color working for their messages and not require any kind of dependancy it can't be that hard to make customs colors work for DoD:S.

These are the custom "messages" that can be changed using x07/x08 on gameME

Base Message
Global Chat
Player Action
Team Action
Player Team A
Player2 Team A
Player Team B
Player2 Team B
Team A
Team B

Last edited by Cerobug; 08-03-2013 at 18:43.
Cerobug is offline
Reply


Thread Tools
Display Modes

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 04:46.


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