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

[Any] Chat-Processor (Replacement for Simple Chat Processor)


Post New Thread Reply   
 
Thread Tools Display Modes
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 03-07-2017 , 17:48   Re: [Any] Chat-Processor (Replacement for Simple Chat Processor)
Reply With Quote #151

Quote:
Originally Posted by Papero View Post
Maybe someone know why if I you lastest version of chat processor all the players can't chat (CS:GO) now i'm using chat-processor 1.0.2and It works well.
Latest version tested on my CSGO server and it works fine. (2.0.7)
Drixevel is offline
mrkos9i4ok
Member
Join Date: Jul 2016
Location: Russia,Moscow
Old 04-15-2017 , 12:03   Re: [Any] Chat-Processor (Replacement for Simple Chat Processor)
Reply With Quote #152

help)
L 04/15/2017 - 188:44: [SM] Exception reported: Invalid plugin address
L 04/15/2017 - 188:44: [SM] Blaming: chat-processor.smx
L 04/15/2017 - 188:44: [SM] Call stack trace:
L 04/15/2017 - 188:44: [SM] [0] Call_Finish
L 04/15/2017 - 188:44: [SM] [1] Line 348, chat-processor.sp::OnSayText2
mrkos9i4ok is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 04-15-2017 , 14:38   Re: [Any] Chat-Processor (Replacement for Simple Chat Processor)
Reply With Quote #153

Quote:
Originally Posted by mrkos9i4ok View Post
help)
L 04/15/2017 - 188:44: [SM] Exception reported: Invalid plugin address
L 04/15/2017 - 188:44: [SM] Blaming: chat-processor.smx
L 04/15/2017 - 188:44: [SM] Call stack trace:
L 04/15/2017 - 188:44: [SM] [0] Call_Finish
L 04/15/2017 - 188:44: [SM] [1] Line 348, chat-processor.sp::OnSayText2
Plugin list?
Drixevel is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 04-16-2017 , 06:35   Re: [Any] Chat-Processor (Replacement for Simple Chat Processor)
Reply With Quote #154

Update 2.0.8
  • Switched around some if statements that might have been backwards for dead chat and all chat simultaneously.
  • Updated a Custom Chat Colors plugin with changes made to work with Chat-Processor. (heavily untested but seems to work on my servers fine)

Last edited by Drixevel; 04-16-2017 at 06:35.
Drixevel is offline
hmmmmm
Great Tester of Whatever
Join Date: Mar 2017
Location: ...
Old 04-16-2017 , 06:46   Re: [Any] Chat-Processor (Replacement for Simple Chat Processor)
Reply With Quote #155

Unfortunately still doesn't fix issue, thanks for the help though

EDIT: Looked through plugin source and didn't really make sense to me?

PHP Code:
if (engine == Engine_CSGO)
{
    
convar_DeadTalk FindConVar("sv_deadtalk");

    if (
convar_DeadTalk != null)
    {
        
iDeadTalk GetConVarInt(convar_DeadTalk);
    }

And then (formatting messed up, tried to fix it and just made worse :p):
PHP Code:
switch (iDeadTalk)
{
    case 
0:
    {
        if (
bAllChat)
        {
            if (!
IsPlayerAlive(i))
            {
                
PushArrayCell(hRecipientsi);
            }
        }
        else
        {
            if (!
IsPlayerAlive(i) && GetClientTeam(iSender) == GetClientTeam(i))
            {
                
PushArrayCell(hRecipientsi);
            }
        }
    }
    case 
1:
        {
    if (
bAllChat)
    {
            if (!
IsPlayerAlive(i))
            {
                    
PushArrayCell(hRecipientsi);
            }
        }
        else
        {
            if (!
IsPlayerAlive(i) && GetClientTeam(iSender) == GetClientTeam(i))
            {
                
PushArrayCell(hRecipientsi);
            }
        }
    }
    case 
2:
    {
        if (
bAllChat)
        {
            
PushArrayCell(hRecipientsi);
        }
        else
        {
            if (
GetClientTeam(iSender) == GetClientTeam(i))
            {
                
PushArrayCell(hRecipientsi);
            }
        }
    }

So if I have sv_deadtalk set to 1 it'll only send the message to players who are also not alive. Removed that if statement and seems to be working as expected.

Last edited by hmmmmm; 04-16-2017 at 07:22.
hmmmmm is offline
ichiballs
Member
Join Date: Oct 2016
Old 04-19-2017 , 06:43   Re: [Any] Chat-Processor (Replacement for Simple Chat Processor)
Reply With Quote #156

Why add custom chat colors when you can only use TGO colors in csgo?
ichiballs is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 04-19-2017 , 06:50   Re: [Any] Chat-Processor (Replacement for Simple Chat Processor)
Reply With Quote #157

Quote:
Originally Posted by ichiballs View Post
Why add custom chat colors when you can only use TGO colors in csgo?
Because the ColorVariables include supports both engine versions?
Drixevel is offline
Battousai-sama
Veteran Member
Join Date: Jul 2007
Old 04-22-2017 , 13:12   Re: [Any] Chat-Processor (Replacement for Simple Chat Processor)
Reply With Quote #158

which smx exactly do i use :S? there is 3 in zip
__________________
Battousai-sama is offline
Send a message via MSN to Battousai-sama
ichiballs
Member
Join Date: Oct 2016
Old 04-22-2017 , 17:45   Re: [Any] Chat-Processor (Replacement for Simple Chat Processor)
Reply With Quote #159

Quote:
Originally Posted by Battousai-sama View Post
which smx exactly do i use :S? there is 3 in zip
Only chat-processor, you dont want test or tags.
ichiballs is offline
hmmmmm
Great Tester of Whatever
Join Date: Mar 2017
Location: ...
Old 04-22-2017 , 19:23   Re: [Any] Chat-Processor (Replacement for Simple Chat Processor)
Reply With Quote #160

I have another issue where when a player types a really long message, their colours don't process anymore
e.g. Becomes {default}[{red}hmm{default}] hmmmmm : Very long message here
hmmmmm 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 07:02.


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