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

[ANY] Cleaner - Console warning supressor [UPDATED 28.10.12]


Post New Thread Reply   
 
Thread Tools Display Modes
Zephyrus
Cool Pig B)
Join Date: Jun 2010
Location: Hungary
Old 02-16-2013 , 06:03   Re: [ANY] Cleaner - Console warning supressor [UPDATED 28.10.12]
Reply With Quote #101

rename .ep2v.so to .css.so
__________________
Taking private C++/PHP/SourcePawn requests, PM me.
Zephyrus is offline
Corneus
SourceMod Donor
Join Date: Feb 2012
Location: iFrame
Old 02-16-2013 , 18:05   Re: [ANY] Cleaner - Console warning supressor [UPDATED 28.10.12]
Reply With Quote #102

...and of course delete old one
Corneus is offline
Wilczek
AlliedModders Donor
Join Date: Oct 2012
Location: Poland
Old 02-20-2013 , 12:04   Re: [ANY] Cleaner - Console warning supressor [UPDATED 28.10.12]
Reply With Quote #103

It can't block some console outputs, right? I tried to stop "Unsafe JavaScript" spamming, but it doesn't work in CSGO:

Quote:
Browser Message: Unsafe JavaScript attempt to access frame with URL http://mydomain.com from frame with URL http://mydomain.com. Domains, protocols and ports must match.
- (null):1

Last edited by Wilczek; 02-20-2013 at 12:05.
Wilczek is offline
Zephyrus
Cool Pig B)
Join Date: Jun 2010
Location: Hungary
Old 02-20-2013 , 12:15   Re: [ANY] Cleaner - Console warning supressor [UPDATED 28.10.12]
Reply With Quote #104

its for server console, not client console
__________________
Taking private C++/PHP/SourcePawn requests, PM me.
Zephyrus is offline
Wilczek
AlliedModders Donor
Join Date: Oct 2012
Location: Poland
Old 02-20-2013 , 12:19   Re: [ANY] Cleaner - Console warning supressor [UPDATED 28.10.12]
Reply With Quote #105

Ahh sorry, I haven't noticed before. I'm sick of those warnings, but I can't find another method to open MOTD...
Wilczek is offline
DJ Data
SourceMod Donor
Join Date: Dec 2012
Location: Switzerland
Old 02-20-2013 , 12:57   Re: [ANY] Cleaner - Console warning supressor [UPDATED 28.10.12]
Reply With Quote #106

Thank you so much for this plugin, my server recently crashed because of the DataTable warning spamming it
Now i installed this, and it stopped
perfect Plugin
5/5
__________________
SourcePawn Coding Level: Novice
DJ Data is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 02-20-2013 , 15:59   Re: [ANY] Cleaner - Console warning supressor [UPDATED 28.10.12]
Reply With Quote #107

That message doesn't cause server crashes, it's just a nuisance.
bl4nk is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 02-21-2013 , 14:58   Re: [ANY] Cleaner - Console warning supressor [UPDATED 28.10.12]
Reply With Quote #108

I've been playing around with this on CS:S in an attempt to reduce resource usage, especially with the console warnings listed in the first post.

I wanted to block all console output that didn't include ServerCommands, RCon use, and SM's sm_rcon, without parsing every string. This is what I have at the moment:
Code:
DETOUR_DECL_STATIC2(DebugSpew, SpewRetval_t, SpewType_t, channel, char *, text)
{
	if (g_bInServerCmd)
		return DETOUR_STATIC_CALL(DebugSpew)(channel, text);

	return SPEW_CONTINUE;
}

DETOUR_DECL_STATIC0(CBufExec, int)
{
	g_bInServerCmd = true;
	int ret = DETOUR_STATIC_CALL(CBufExec)();
	g_bInServerCmd = false;

	return ret;
}
Code:
"Games"
{
	"cstrike"
	{
		"Signatures"
		{
			"Cbuf_Execute"
			{
				"library"	"engine"
				"windows"	"\x55\x8B\xEC\x83\xEC\x1C\xA1\x2A\x2A\x2A\x2A\x53\x56\x33\xF6\x89\x75\xF4\x89\x75\xF8\x8B\x00"
				"linux"		"@_Z12Cbuf_Executev"
			}
		}
	}
}
Basically you still get all manual console feedback without any noise (and potential lag) produced by the engine. Thought I'd post it here in case it's found useful.

Quote:
Originally Posted by Zephyrus View Post
im pretty sure this extension has nothing even close to do with rcon :[ + rcon works properly for me without any probs
While testing, I added a single space to the config (to remove all console outpout) and this prevents rcon output as well. Might be what he was referring to.

Quote:
Originally Posted by bl4nk View Post
That message doesn't cause server crashes, it's just a nuisance.
If console spam is causing enough lag, then some server monitor software will detect it as a server hang and do a restart.
__________________
GoD-Tony is offline
bl4nk
SourceMod Developer
Join Date: Jul 2007
Old 02-21-2013 , 18:14   Re: [ANY] Cleaner - Console warning supressor [UPDATED 28.10.12]
Reply With Quote #109

I've never known console spam to create lag. I see that stuff getting spammed all the time on my server when it's full and it doesn't lag.
bl4nk is offline
Zephyrus
Cool Pig B)
Join Date: Jun 2010
Location: Hungary
Old 02-22-2013 , 00:10   Re: [ANY] Cleaner - Console warning supressor [UPDATED 28.10.12]
Reply With Quote #110

Quote:
Originally Posted by bl4nk View Post
I've never known console spam to create lag. I see that stuff getting spammed all the time on my server when it's full and it doesn't lag.
well i could imagine a case that would cause lag, all you need is a shitty host and constant IO activity from all the servers to a log file
__________________
Taking private C++/PHP/SourcePawn requests, PM me.
Zephyrus 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 19:24.


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