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

Simple Chat Processor (Redux)


Post New Thread Reply   
 
Thread Tools Display Modes
Choco
Member
Join Date: Mar 2012
Old 01-07-2015 , 01:44   Re: Simple Chat Processor (Redux)
Reply With Quote #271

[simple-chatprocessor.smx] Unknown Game Folder: nmrih
[simple-chatprocessor.smx] [SCP] Recognized mod [Unknown].
__________________

Choco is offline
Tranced
Member
Join Date: Dec 2011
Location: United States
Old 01-13-2015 , 21:15   Re: Simple Chat Processor (Redux)
Reply With Quote #272

I seem to have updated this plugin with Zephyrus's updated version of the plugin and I am still getting errors. Seems to be crashing one of my servers as well because the errors build up so much in my updater.log folder. This is for Team Fortress 2.
Quote:
L 05/27/2014 - 03:05:51: [0] URL: http://dev.xadgaming.com/simple-chat...er/updater.txt
L 05/27/2014 - 03:05:51: [1] ERROR: Line contained too many invalid tokens
Tranced is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 01-14-2015 , 09:25   Re: Simple Chat Processor (Redux)
Reply With Quote #273

Quote:
Originally Posted by Tranced View Post
I seem to have updated this plugin with Zephyrus's updated version of the plugin and I am still getting errors. Seems to be crashing one of my servers as well because the errors build up so much in my updater.log folder. This is for Team Fortress 2.
Those are harmless, if annoying. If they're crashing your server, it's time to upgrade to a machine built this century.
__________________
Dr. McKay is offline
Tranced
Member
Join Date: Dec 2011
Location: United States
Old 01-14-2015 , 19:46   Re: Simple Chat Processor (Redux)
Reply With Quote #274

Quote:
Originally Posted by Dr. McKay View Post
Those are harmless, if annoying. If they're crashing your server, it's time to upgrade to a machine built this century.
I Lol'd. Thanks for the quick response bud. I narrowed it down now to another plugin causing the crash. Please, anyone disregard what I said about crashing the server.
Tranced is offline
pcmaster
AlliedModders Donor
Join Date: Sep 2009
Old 01-24-2015 , 16:48   Re: Simple Chat Processor (Redux)
Reply With Quote #275

Also getting double messages for spectators, but thankfully "only" twice.
Meaning that when a spec writes something, it's being shown twice (but only to non-specs).

Using a slightly modified version from Zipcore, the only difference between his and Zeph's last version is the Updater support and the message/name sizes (1024 on all 4).
__________________
Stopped hosting servers as of November 2018, no longer active around here.
pcmaster is offline
pcmaster
AlliedModders Donor
Join Date: Sep 2009
Old 01-25-2015 , 07:01   Re: Simple Chat Processor (Redux)
Reply With Quote #276

Update: tested it with Zeph's version, same bug still occurs.
Other than Sketchy's issue, it "only" prints the message out twice (not 10/40 times), but is still annoying.
__________________
Stopped hosting servers as of November 2018, no longer active around here.
pcmaster is offline
pcmaster
AlliedModders Donor
Join Date: Sep 2009
Old 01-25-2015 , 07:21   Re: Simple Chat Processor (Redux)
Reply With Quote #277

Sorry for the triple, but I have fixed the issue.
The problem was the Timer plugin itself, especially this part:

PHP Code:
if(author && GetMessageFlags() & CHATFLAGS_SPEC && g_bNewMsg && g_bAllchat)
    {
        
g_bNewMsg false;
        new 
iSize GetArraySize(recipients);
        if(
g_iEnabled == 2)
        {
            
LogMessage("Debug: Spec chat %d recipients:"iSize);
            for(new 
i=0;i<iSize;i++)
                
LogMessage("Debug: client (%d) %N (team %d)"GetArrayCell(recipientsi), GetArrayCell(recipientsi), GetClientTeam(GetArrayCell(recipientsi)));
        }
        
        for (new 
1<= MaxClientsi++)
        {
            if (
Client_IsValid(i) && IsClientInGame(i) && GetClientTeam(i) > CS_TEAM_SPECTATOR)
            {
                
PushArrayCell(recipientsi);
            }
        }
    } 
In the OnChatMessage forward.

Changing the CVar timer_ranks_allchat "0" in cfg/timer/timer-rankings.cfg fixed the issue.
__________________
Stopped hosting servers as of November 2018, no longer active around here.

Last edited by pcmaster; 01-25-2015 at 07:21.
pcmaster is offline
gergedans
Junior Member
Join Date: Jun 2008
Location: Izmir
Old 01-26-2015 , 04:25   Re: Simple Chat Processor (Redux)
Reply With Quote #278

Plugin works, but it turns out the following line when the first try.


Thank you for your interest
gergedans is offline
Ninetailz
Junior Member
Join Date: Dec 2014
Location: New York, USA
Old 02-15-2015 , 02:07   Re: Simple Chat Processor (Redux)
Reply With Quote #279

Getting this error :/

Quote:
L 02/15/2015 - 011:08: [SM] Fatal error encountered parsing translation file "scp.tf.phrases.txt"
L 02/15/2015 - 011:08: [SM] Error (line 5, column 16): A property was declared outside of a section
L 02/15/2015 - 011:08: [simple-chatprocessor.smx] A property was declared outside of a section on line 5, col 16 of addons/sourcemod/translations/scp.tf.phrases.txt
L 02/15/2015 - 011:08: [simple-chatprocessor.smx] [SCP] Could not parse the translation file
L 02/15/2015 - 011:08: [SM] Plugin encountered error 25: Call was aborted
L 02/15/2015 - 011:08: [SM] Native "SetFailState" reported: Could not parse the translation file
L 02/15/2015 - 011:08: [SM] Displaying call stack trace for plugin "simple-chatprocessor.smx":
L 02/15/2015 - 011:08: [SM] [0] Line 149, C:\compiler\simple-chatprocessor.sp::OnPluginStart()
Ninetailz is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 02-18-2015 , 03:05   Re: Simple Chat Processor (Redux)
Reply With Quote #280

The translation file is corrupt. Reupload it.
__________________
Dr. McKay 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 11:26.


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