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

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


Post New Thread Reply   
 
Thread Tools Display Modes
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 07-31-2015 , 11:47   Re: [ANY] Cleaner - Console warning supressor [UPDATED 28.10.12]
Reply With Quote #201

Quote:
[15] <FAILED> file "cleaner.ext.2.csgo.dll": Failed to find signature. Please contact the author.
ZASTRELIS is offline
wwahgnerbp
Member
Join Date: Mar 2013
Location: Earth, Solar System
Old 08-20-2015 , 03:58   Re: [ANY] Cleaner - Console warning supressor [UPDATED 28.10.12]
Reply With Quote #202

I'm trying to compile this extension for Counter-Strike: Source against the last version of SM/MM:S on linux and can't get anything working properly. If someone could compile it wouldn't be bad
wwahgnerbp is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 08-20-2015 , 13:51   Re: [ANY] Cleaner - Console warning supressor [UPDATED 28.10.12]
Reply With Quote #203

Quote:
Originally Posted by wwahgnerbp View Post
I'm trying to compile this extension for Counter-Strike: Source against the last version of SM/MM:S on linux and can't get anything working properly. If someone could compile it wouldn't be bad
Try this.
__________________

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

Quote:
Originally Posted by Spirit_12 View Post
Try this.
[03] <FAILED> file "cleaner.ext.2.css.so": Failed to find signature. Please contact the author.

The signature is missing
wwahgnerbp is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 08-23-2015 , 07:49   Re: [ANY] Cleaner - Console warning supressor [UPDATED 28.10.12]
Reply With Quote #205

Quote:
Originally Posted by wwahgnerbp View Post
[03] <FAILED> file "cleaner.ext.2.css.so": Failed to find signature. Please contact the author.

The signature is missing
Did you grab the config file from the first post? I didn't look at the source code, so not sure, if there are any signatures in there. I'll check when I get time.

Try this one.
__________________

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

Quote:
Originally Posted by Spirit_12 View Post
Did you grab the config file from the first post? I didn't look at the source code, so not sure, if there are any signatures in there. I'll check when I get time.

Try this one.
I got the same warning again. The cleaner.cfg and cleaner.autoload files are placed in their respective folders.

[03] <FAILED> file "cleaner.ext.2.css.so": Failed to find signature. Please contact the author.

Maybe the author likes only L4D2 If I'm not wrong this is causing the problem.

PHP Code:
#if SOURCE_ENGINE > SE_LEFT4DEAD2
#define WINDOWS_SIGNATURE "\x55\x8B\xEC\x83\xEC\x14\x8B\x45\x08\x53\x8B\xD9\x89\x5D\xFC\x85"
#define WINDOWS_SIG_LENGTH 16
#define LINUX_SIGNATURE "_ZN14CLoggingSystem9LogDirectEi17LoggingSeverity_t5ColorPKc"
#define MAC_SIGNATURE "_ZN14CLoggingSystem9LogDirectEi17LoggingSeverity_t5ColorPKc"
#elif SOURCE_ENGINE == SE_LEFT4DEAD2
#define WINDOWS_SIGNATURE "\x83\xEC\x14\x8B\x44\x24\x18\x8B\x54\x24\x1C\x53\x89\x44\x24\x08\x56\x8D\x04\x40"
#define WINDOWS_SIG_LENGTH 20
#define LINUX_SIGNATURE "_ZN14CLoggingSystem9LogDirectEi17LoggingSeverity_t5ColorPKc"
#define MAC_SIGNATURE "_ZN14CLoggingSystem9LogDirectEi17LoggingSeverity_t5ColorPKc"
#endif 
I know exactly nothing about write extensions Can you update this please (and compile )?

PHP Code:
#include <sourcemod_version.h>
#include "extension.h"

#if SOURCE_ENGINE > SE_LEFT4DEAD2
#define WINDOWS_SIGNATURE "\x55\x8B\xEC\x83\xEC\x14\x8B\x45\x08\x53\x8B\xD9\x89\x5D\xFC\x85"
#define WINDOWS_SIG_LENGTH 16
#define LINUX_SIGNATURE "_ZN14CLoggingSystem9LogDirectEi17LoggingSeverity_t5ColorPKc"
#define MAC_SIGNATURE "_ZN14CLoggingSystem9LogDirectEi17LoggingSeverity_t5ColorPKc"
#elif SOURCE_ENGINE == SE_LEFT4DEAD2
#define WINDOWS_SIGNATURE "\x83\xEC\x14\x8B\x44\x24\x18\x8B\x54\x24\x1C\x53\x89\x44\x24\x08\x56\x8D\x04\x40"
#define WINDOWS_SIG_LENGTH 20
#define LINUX_SIGNATURE "_ZN14CLoggingSystem9LogDirectEi17LoggingSeverity_t5ColorPKc"
#define MAC_SIGNATURE "_ZN14CLoggingSystem9LogDirectEi17LoggingSeverity_t5ColorPKc"
#endif

IGameConfig *g_pGameConf NULL;
IMemoryUtils *memutils NULL;

Cleaner g_Cleaner;
SMEXT_LINK(&g_Cleaner);

CDetour *g_pDetour 0;
CDetour *g_pPrintf 0;

char ** g_szStrings;
int g_iStrings 0;

#if SOURCE_ENGINE >= SE_LEFT4DEAD2
DETOUR_DECL_MEMBER4(Detour_LogDirectLoggingResponse_tLoggingChannelID_tchannelIDLoggingSeverity_tseverityColorcolor, const tchar *, pMessage)
{
    for(
int i=0;i<g_iStrings;++i)
        if(
strstr(pMessageg_szStrings[i])!=0)
            return 
LR_CONTINUE;
    return 
DETOUR_MEMBER_CALL(Detour_LogDirect)(channelIDseveritycolorpMessage);
}
#else
DETOUR_DECL_STATIC2(Detour_DefSpewSpewRetval_tSpewType_tchannelchar *, text)
{
    for(
int i=0;i<g_iStrings;++i)
        if(
strstr(textg_szStrings[i])!=0)
            return 
SPEW_CONTINUE;
    return 
DETOUR_STATIC_CALL(Detour_DefSpew)(channeltext);
}
#endif

bool Cleaner::SDK_OnLoad(char *errorsize_t maxlengthbool late)
{
    
SM_GET_IFACE(MEMORYUTILSmemutils);
    
CDetourManager::Init(g_pSM->GetScriptingEngine(), 0);

    
char szPath[256];
    
g_pSM->BuildPath(Path_SMszPathsizeof(szPath), "configs/cleaner.cfg");
    
FILE file fopen(szPath"r");

    if(
file==NULL)
    {
        
snprintf(errormaxlength"Could not read configs/cleaner.cfg.");
        return 
false;
    }

    
int lines 0;
    
char str[255];
    while(!
feof(file))
    {
        
fgets(str255file);
        ++
lines;
    }

    
rewind(file);

    
int len;
    
g_szStrings = (char**)malloc(lines*sizeof(char**));
    while(!
feof(file))
    {
        
g_szStrings[g_iStrings] = (char*)malloc(256*sizeof(char*));
        
fgets(g_szStrings[g_iStrings], 255file);
        
len strlen(g_szStrings[g_iStrings]);
        if(
g_szStrings[g_iStrings][len-1]=='\r' || g_szStrings[g_iStrings][len-1]=='\n')
                
g_szStrings[g_iStrings][len-1]=0;
        if(
g_szStrings[g_iStrings][len-2]=='\r')
                
g_szStrings[g_iStrings][len-2]=0;
        ++
g_iStrings;
    }
    
fclose(file);

#if SOURCE_ENGINE >= SE_LEFT4DEAD2
#ifdef PLATFORM_WINDOWS
    
HMODULE tier0 GetModuleHandle("tier0.dll");
    
void fn memutils->FindPattern(tier0WINDOWS_SIGNATUREWINDOWS_SIG_LENGTH);
#elif defined PLATFORM_LINUX
    
void tier0 dlopen("libtier0.so"RTLD_NOW);
    
void fn memutils->ResolveSymbol(tier0LINUX_SIGNATURE);
#elif defined PLATFORM_APPLE
    
void tier0 dlopen("libtier0.dylib"RTLD_NOW);
    
void fn memutils->ResolveSymbol(tier0MAC_SIGNATURE);
#endif
    
if(!fn)
    {
        
snprintf(errormaxlength"Failed to find signature. Please contact the author.");
        return 
false;
    }
#endif

#if SOURCE_ENGINE >= SE_LEFT4DEAD2
    
g_pDetour DETOUR_CREATE_MEMBER_PTR(Detour_LogDirectfn);
#else
    
g_pDetour DETOUR_CREATE_STATIC_PTR(Detour_DefSpew, (gpointer)GetSpewOutputFunc());
#endif
    
    
if (g_pDetour == NULL)
    {
        
snprintf(errormaxlength"Failed to initialize the detours. Please contact the author.");
        return 
false;
    }

    
g_pDetour->EnableDetour();

    return 
true;
}

void Cleaner::SDK_OnUnload()
{
    if(
g_pDetour)
        
g_pDetour->Destroy();

    
delete [] g_szStrings;
}

void Cleaner::SDK_OnAllLoaded()
{

wwahgnerbp is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 08-25-2015 , 03:02   Re: [ANY] Cleaner - Console warning supressor [UPDATED 28.10.12]
Reply With Quote #207

Not sure what you guys are doing wrong, but it loads fine for me. Isn't this the most up to date version of css server?

Code:
hostname: Counter-Strike: Source
version : 2230303/24 2234230 secure
udp/ip  : unknown:27015  (public ip: unknown)
steamid : [A-1:1186332675(5809)] (90096943198765059)
map     : de_cbble at: 0 x, 0 y, 0 z
players : 0 humans, 0 bots (32 max)
Code:
[SM] Displaying 9 extensions:
[01] Automatic Updater (1.8.0-dev+5533): Updates SourceMod gamedata files
[02] Webternet (1.8.0-dev+5533): Extension for interacting with URLs
[03] Equinox Console Cleaner (): Bite me alien boi
[04] CS Tools (1.8.0-dev+5533): CS extended functionality[/HTML]
__________________
Spirit_12 is offline
wwahgnerbp
Member
Join Date: Mar 2013
Location: Earth, Solar System
Old 08-25-2015 , 03:36   Re: [ANY] Cleaner - Console warning supressor [UPDATED 28.10.12]
Reply With Quote #208

Quote:
Originally Posted by Spirit_12 View Post
Not sure what you guys are doing wrong, but it loads fine for me. Isn't this the most up to date version of css server?

Code:
hostname: Counter-Strike: Source
version : 2230303/24 2234230 secure
udp/ip  : unknown:27015  (public ip: unknown)
steamid : [A-1:1186332675(5809)] (90096943198765059)
map     : de_cbble at: 0 x, 0 y, 0 z
players : 0 humans, 0 bots (32 max)
Code:
[SM] Displaying 9 extensions:
[01] Automatic Updater (1.8.0-dev+5533): Updates SourceMod gamedata files
[02] Webternet (1.8.0-dev+5533): Extension for interacting with URLs
[03] Equinox Console Cleaner (): Bite me alien boi
[04] CS Tools (1.8.0-dev+5533): CS extended functionality[/HTML]
I'm using the last version of srcds. This is strange. I'm running with Debian.

PHP Code:
Linux version 3.16.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.7-ckt11-1+deb8u3 (2015-08-04) 
PHP Code:
 SourceMod Version Information:
    
SourceMod Version1.7.3-dev+5233
    SourcePawn Engine
SourcePawn 1.7jit-x86 (build 1.7.3-dev+5233)
    
SourcePawn APIv1 4v2 6
    Compiled on
Aug 18 2015 16:04:03
    Built from
https://github.com/alliedmodders/sourcemod/commit/a84fc6a
    
Build ID5233:a84fc6a
    http
://www.sourcemod.net/ 
PHP Code:
Metamod:Source version 1.10.6-dev
Built from
https://github.com/alliedmodders/metamod-source/commit/e14b479
Build ID940:e14b479
Loaded 
As: Valve Server Plugin
Compiled on
May 10 2015
Plugin 
interface version15:14
SourceHook version
5:5
http
://www.metamodsource.net/ 
PHP Code:
hostnameCounter-StrikeSource
version 
2230303/24 2234230 secure
udp
/ip  10.0.0.1:27015  (public ip8.8.8.6)
steamid : [A-1:1336103937(5809)] (90096943348536321)
map     de_dust2 at0 x0 y0 z
players 
0 humans0 bots (64 max

PHP Code:
[SMDisplaying 9 extensions:
[
01Automatic Updater (1.7.3-dev+5233): Updates SourceMod gamedata files
[02Webternet (1.7.3-dev+5233): Extension for interacting with URLs
[03] <FAILEDfile "cleaner.ext.2.css.so"Failed to find signaturePlease contact the author.
[
04CS Tools (1.7.3-dev+5233): CS extended functionality
[05BinTools (1.7.3-dev+5233): Low-level C/C++ Calling API
[06SDK Tools (1.7.3-dev+5233): Source SDK Tools
[07Top Menus (1.7.3-dev+5233): Creates sorted nested menus
[08Client Preferences (1.7.3-dev+5233): Saves client preference settings
[09SQLite (1.7.3-dev+5233): SQLite Driver 
wwahgnerbp is offline
Spirit_12
Veteran Member
Join Date: Dec 2012
Location: Toronto, CA
Old 08-25-2015 , 04:13   Re: [ANY] Cleaner - Console warning supressor [UPDATED 28.10.12]
Reply With Quote #209

Can you upload these 2 files for me?
  • libtier0_srv.so
  • libtier0.so
They should both be in your server/bin directory.
__________________
Spirit_12 is offline
wwahgnerbp
Member
Join Date: Mar 2013
Location: Earth, Solar System
Old 08-25-2015 , 04:22   Re: [ANY] Cleaner - Console warning supressor [UPDATED 28.10.12]
Reply With Quote #210

Quote:
Originally Posted by Spirit_12 View Post
Can you upload these 2 files for me?
  • libtier0_srv.so
  • libtier0.so
They should both be in your server/bin directory.
ok
Attached Files
File Type: so libtier0.so (171.4 KB, 108 views)
File Type: so libtier0_srv.so (196.4 KB, 117 views)
wwahgnerbp 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 13:29.


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