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

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


Post New Thread Reply   
 
Thread Tools Display Modes
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 08-25-2015 , 04:40   Re: [ANY] Cleaner - Console warning supressor [UPDATED 28.10.12]
Reply With Quote #211

I switched the signature. Lets see if it works or not. Let me know if it works or not.
__________________

Last edited by asherkin; 08-26-2015 at 13:17. Reason: Removed binary, no source code.
Spirit_12 is offline
wwahgnerbp
Member
Join Date: Mar 2013
Location: Earth, Solar System
Old 08-25-2015 , 08:10   Re: [ANY] Cleaner - Console warning supressor [UPDATED 28.10.12]
Reply With Quote #212

Quote:
Originally Posted by Spirit_12 View Post
I switched the signature. Lets see if it works or not. Let me know if it works or not.
Now it works perfectly. Thank you! Could you give me the source code with the new keys please? In the case that If I need to recompile. Is there any trick to compile this extension?
wwahgnerbp is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 08-26-2015 , 15:00   Re: [ANY] Cleaner - Console warning supressor [UPDATED 28.10.12]
Reply With Quote #213

Quote:
Originally Posted by wwahgnerbp View Post
Now it works perfectly. Thank you! Could you give me the source code with the new keys please? In the case that If I need to recompile. Is there any trick to compile this extension?
I don't think there is any special trick to compile it. Pretty much the standard make command usage.

This is the signature that I changed.

Code:
_ZN14CLoggingSystem9LogDirectEi17LoggingSeverity_t5ColorPKc
to

Code:
_ZL12_SpewMessage10SpewType_tPKciPK5ColorS1_Pc
Although, I have some doubts about it being the right signature.

Here is the source and compiled binary.
Attached Files
File Type: zip cleaner.zip (22.8 KB, 228 views)
File Type: so cleaner.ext.2.css.so (22.6 KB, 141 views)
__________________
Spirit_12 is offline
wazer
Senior Member
Join Date: Oct 2011
Old 09-16-2015 , 23:50   Re: [ANY] Cleaner - Console warning supressor [UPDATED 28.10.12]
Reply With Quote #214

Quote:
Originally Posted by Zephyrus View Post
Many people asked for such to supress DataTable warnings etc. I made this for my server originally to hide DataTable and CreateFragmentsFromFile errors. There's nothing really more to say.

Install:
-Download cleaner.zip
-Unpack it in your sourcemod folder

Adding new lines to block:
-Open cleaner.cfg
-Place a substring of the text you want to block in a new line
-If enough people request regexp filtering I will add that in the future but I think this should be enough

Tested on several operating systems and game combinations but please let me know in case you find a non-supported mod and I'll add support for that!

@SM devs: is there a way to read signatures as binary text from gamedata for non-supported libraries?

Changelog:

2012.10.25:
-Added a configurable cfg, new method
2012.10.27 #1:
-Fixed not reading config file properly
-Fully working with older engines, it used to partially work only
2012.10.27 #2
-Recompiled the ep2v version to work with the new libraries
2012.10.28
-Updated L4D2 windows signature
2012.12.29
-Fixed a bug with not properly removing Windows line endings

Hi I have some problems.

If you look the lines to the left in the console, those i want to remove, but it seems that they still persist, even tho adding a lot of different text in the cleaner.cfg

wazer is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 11-12-2015 , 09:08   Re: [ANY] Cleaner - Console warning supressor [UPDATED 28.10.12]
Reply With Quote #215

Quote:
Originally Posted by Spirit_12 View Post
I don't think there is any special trick to compile it. Pretty much the standard make command usage.

This is the signature that I changed.

Code:
_ZN14CLoggingSystem9LogDirectEi17LoggingSeverity_t5ColorPKc
to

Code:
_ZL12_SpewMessage10SpewType_tPKciPK5ColorS1_Pc
Although, I have some doubts about it being the right signature.

Here is the source and compiled binary.
config.cfg:
Quote:
DataTable warning
CreateFragmentsFromFile
CSoundEmitterSystemBase
Achievements disabled: cheats turned on in this app session.
doesn't work...

SourceMod v1.7.3-dev+5272
Quote:
15:08:40 [SM] Displaying 18 extensions:
[01] Automatic Updater (1.7.3-dev+5272): Updates SourceMod gamedata files
[02] Webternet (1.7.3-dev+5272): Extension for interacting with URLs
[03] Equinox Console Cleaner (): Bite me alien boi
[04] CS Tools (1.7.3-dev+5272): CS extended functionality
[05] BinTools (1.7.3-dev+5272): Low-level C/C++ Calling API
[06] SDK Tools (1.7.3-dev+5272): Source SDK Tools
[07] SDK Hooks (1.7.3-dev+5272): Source SDK Hooks
[08] Top Menus (1.7.3-dev+5272): Creates sorted nested menus
[09] SteamWorks Extension (1.2): Exposes SteamWorks functions to Developers
[10] Connect (1.2.0): Forward for early connection
[11] Client Preferences (1.7.3-dev+5272): Saves client preference settings
[12] SQLite (1.7.3-dev+5272): SQLite Driver
[13] cURL Extension (1.3.0.0): cURL Extension
[14] Regex (1.7.3-dev+5272): Provides regex natives for plugins
[15] Socket (3.0.1): Socket extension for SourceMod
[16] GeoIP (1.7.3-dev+5272): Geographical IP information
[17] SteamTools (0.8.3): SteamWorks for SourceMod.
[18] MySQL-DBI (1.7.3-dev+5272): MySQL driver implementation for DBI
eric0279 is offline
supreeda
Senior Member
Join Date: Jul 2015
Old 12-07-2015 , 13:31   Re: [ANY] Cleaner - Console warning supressor [UPDATED 28.10.12]
Reply With Quote #216

wow csgo not work
supreeda is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 01-17-2016 , 18:00   Re: [ANY] Cleaner - Console warning supressor [UPDATED 28.10.12]
Reply With Quote #217

Hello,

try to compile for L4D2 & Metamod 1.10.6 but i get a error:
Quote:
if [ "false" = "true" ] && [ "false" = "false" ]; then \
echo "You must supply ENGINE=left4dead or ENGINE=orangebox or ENGINE=original"; \
exit 1; \
fi
mkdir -p Release/sdk
mkdir -p Release/CDetour
mkdir -p Release/asm
ln -sf /libvstdlib.so libvstdlib.so;
ln -sf /libtier0.so libtier0.so;
make -f Makefile extension
make[1]: entrant dans le répertoire « /home/serveur/l4d2/cleaner »
if [ "false" = "true" ] && [ "false" = "false" ]; then \
echo "You must supply ENGINE=left4dead or ENGINE=orangebox or ENGINE=original"; \
exit 1; \
fi
gcc -I. -I.. -Isdk -I -I/engine -I/mathlib -I/tier0 -I/tier1 -I -I/sourcehook -I../sourcemod16/public -I../sourcemod16/public/extensions -I../sourcemod16/public/sourcepawn -DSE_EPISODEONE=1 -DSE_DARKMESSIAH=2 -DSE_ORANGEBOX=3 -DSE_BLOODYGOODTIME=4 -DSE_EYE=5 -DSE_ORANGEBOXVALVE=6 -DSE_LEFT4DEAD=7 -DSE_LEFT4DEAD2=8 -DSE_ALIENSWARM=9 -DSE_PORTAL2=10 -DSE_CSGO=11 -D_LINUX -DPOSIX -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -D_alloca=alloca -Dstrcmpi=strcasecmp -DCOMPILER_GCC -Wno-switch -Wall -Werror -Wno-uninitialized -Wno-invalid-offsetof -Wno-unused -mfpmath=sse -msse -DSOURCEMOD_BUILD -DHAVE_STDINT_H -m32 -DNDEBUG -O3 -funroll-loops -pipe -fno-strict-aliasing -fvisibility=hidden -Wno-non-virtual-dtor -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -o Release/extension.o -c extension.cpp
In file included from extension.cpp:2:0:
extension.h:45:23: fatal error: tier0/dbg.h: no file found
compilation terminated.
make[1]: *** [Release/extension.o] Erreur 1
make[1]: quittant le répertoire « /home/serveur/l4d2/cleaner »
make: *** [all] Erreur 2
Code:
 ls -all
total 48
drwxr-xr-x 12 serveur serveur 4096 janv. 15 17:59 .
drwx------ 25 serveur serveur 4096 janv. 15 17:58 ..
drwxr-xr-x  6 serveur serveur 4096 janv. 17 14:29 cleaner
drwxr-xr-x 14 serveur serveur 4096 janv. 13 23:27 hl2sdk-l4d2
drwxr-xr-x 13 serveur serveur 4096 janv. 13 23:20 mmsource-1.10
drwxr-xr-x 16 serveur serveur 4096 janv. 13 23:09 sourcemod1.6
Code:
find $HOME/l4d2 -name dbg.h
Quote:
/home/serveur/l4d2/hl2sdk-l4d2/public/tier0/dbg.h
with SM 1.7:
Quote:
if [ "false" = "true" ] && [ "false" = "false" ]; then \
echo "You must supply ENGINE=left4dead or ENGINE=orangebox or ENGINE=original"; \
exit 1; \
fi
mkdir -p Release/sdk
mkdir -p Release/CDetour
mkdir -p Release/asm
ln -sf /libvstdlib.so libvstdlib.so;
ln -sf /libtier0.so libtier0.so;
make -f Makefile extension
make[1]: entrant dans le répertoire « /home/serveur/l4d2/cleaner »
if [ "false" = "true" ] && [ "false" = "false" ]; then \
echo "You must supply ENGINE=left4dead or ENGINE=orangebox or ENGINE=original"; \
exit 1; \
fi
gcc -I. -I.. -Isdk -I -I/engine -I/mathlib -I/tier0 -I/tier1 -I -I/sourcehook -I../sourcemod/public -I../sourcemod/public/extensions -I../sourcemod/public/sourcepawn -DSE_EPISODEONE=1 -DSE_DARKMESSIAH=2 -DSE_ORANGEBOX=3 -DSE_BLOODYGOODTIME=4 -DSE_EYE=5 -DSE_ORANGEBOXVALVE=6 -DSE_LEFT4DEAD=7 -DSE_LEFT4DEAD2=8 -DSE_ALIENSWARM=9 -DSE_PORTAL2=10 -DSE_CSGO=11 -D_LINUX -DPOSIX -Dstricmp=strcasecmp -D_stricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_vsnprintf=vsnprintf -D_alloca=alloca -Dstrcmpi=strcasecmp -DCOMPILER_GCC -Wno-switch -Wall -Werror -Wno-uninitialized -Wno-invalid-offsetof -Wno-unused -mfpmath=sse -msse -DSOURCEMOD_BUILD -DHAVE_STDINT_H -m32 -DNDEBUG -O3 -funroll-loops -pipe -fno-strict-aliasing -fvisibility=hidden -Wno-non-virtual-dtor -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -o Release/sdk/smsdk_ext.o -c sdk/smsdk_ext.cpp
In file included from ../sourcemod/public/IExtensionSys.h5:0,
from sdk/smsdk_ext.h:41,
from sdk/smsdk_ext.cpp4:
../sourcemod/public/IShareSys.h:40:25: fatal error: sp_vm_types.h: Aucun fichier ou dossier de ce type
compilation terminated.
make[1]: *** [Release/sdk/smsdk_ext.o] Erreur 1
make[1]: quittant le répertoire « /home/serveur/l4d2/cleaner »
make: *** [all] Erreur 2
Thanks for help
eric0279 is offline
MrRick
New Member
Join Date: Jul 2014
Old 03-27-2016 , 17:58   Re: [ANY] Cleaner - Console warning supressor [UPDATED 28.10.12]
Reply With Quote #218

Does anybody have a working version of this for TF2?
MrRick is offline
Benoist3012
Veteran Member
Join Date: Mar 2014
Location: CWave::ForceFinish()
Old 05-02-2016 , 07:19   Re: [ANY] Cleaner - Console warning supressor [UPDATED 28.10.12]
Reply With Quote #219

Quote:
Originally Posted by MrRick View Post
Does anybody have a working version of this for TF2?
It seems completly broken for tf2.
__________________
Benoist3012 is offline
Phil25
AlliedModders Donor
Join Date: Feb 2015
Old 05-02-2016 , 07:51   Re: [ANY] Cleaner - Console warning supressor [UPDATED 28.10.12]
Reply With Quote #220

Quote:
Originally Posted by Benoist3012 View Post
It seems completly broken for tf2.
It's been working fine for me and still is for months, both Windows and Linux.

I can't really see the version because it prints
Code:
 Loaded: Yes (version )
But considering the latest update was in 2012 I must have the newest one.
Phil25 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 08:34.


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