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

Solved Compile files


Post New Thread Closed Thread   
 
Thread Tools Display Modes
shanapu
Veteran Member
Join Date: Apr 2015
Location: .de
Old 09-10-2016 , 07:20   Re: Compile files
#21

Quote:
Originally Posted by chalr View Post
So can anyone clean it for me
Quote:
Originally Posted by chalr View Post
If anyone want to decompile and clean it for free reach me please
Quote:
Originally Posted by thecount View Post
Go ahead and post it in spoiler tags and someone might.
__________________
coding & free software
shanapu is offline
chalr
Senior Member
Join Date: Feb 2016
Location: Turkey
Old 09-10-2016 , 08:12   Re: Compile files
#22

PHP Code:
 PlVers __version 5;
 
float NULL_VECTOR[3];
 
char NULL_STRING[1];
 
Extension __ext_core 68;
 
int MaxClients;
 
Extension __ext_sdktools 2220;
 
Extension __ext_regex 2264;
 
Handle MC_Trie;
 
bool MC_SkipList[66] =
{
    
0413421772507731416728128163515143354345150017014078431763734638201991076668907841701407811622883950193626941719534597445441067841701667175075461131417240915846493797034909124871883294771417240915846493797014336914631299342707163495613320355741192596816014659577890025195254077101600615277170166718201634886000295490163488600029549016348860002954901634886000295490171792089119532649931251171792089119532649931250163403890718192392778221295
}
 
int MC_TeamColors[1][3] =
{
}
 
Handle sm_show_activity 1635151433;
 
char C_Tag[18][0];
 
char C_TagCode[18][4] =
{
    
"\x01",
    
"\x02",
    
"\x04",
    
"\x03",
    
"\x03",
    
"\x03",
    
"\x05",
    
"\x06",
    
"\x07",
    
"\x03",
    
"\x08",
    
"\x09",
    
"\n",
    
"\x11",
    
"\x12",
    
"\r",
    
"\x14",
    
"\x15"
}
 
bool C_TagReqSayText2[18] =
{
    
000111000000000000
}
 
bool C_EventIsHooked;
 
bool C_SkipList[66];
 
bool C_Profile_Colors[18] =
{
    
101000000000000000
}
 
int C_Profile_TeamIndex[18] =
{
    -
1, ...
}
 
bool C_Profile_SayText2;
 
Handle sm_show_activity 1635151433;
 
bool g_bCFixColors;
 
bool bangonder;
 
bool bangondersebep;
 
bool bangonderdakika;
 
bool bangondertarih;
 
Handle Tag;
public 
Plugin myinfo =
{
    
name "Mithat Guner | Ban Gonder",
    
description "Mithat Guner | Ban Gonder",
    
author "Mithat Guner",
    
version "1.00",
    
url "pluginler.com"
};
public 
void __ext_core_SetNTVOptional()
{
    
MarkNativeAsOptional("GetFeatureStatus");
    
MarkNativeAsOptional("RequireFeature");
    
MarkNativeAsOptional("AddCommandListener");
    
MarkNativeAsOptional("RemoveCommandListener");
    
MarkNativeAsOptional("BfWriteBool");
    
MarkNativeAsOptional("BfWriteByte");
    
MarkNativeAsOptional("BfWriteChar");
    
MarkNativeAsOptional("BfWriteShort");
    
MarkNativeAsOptional("BfWriteWord");
    
MarkNativeAsOptional("BfWriteNum");
    
MarkNativeAsOptional("BfWriteFloat");
    
MarkNativeAsOptional("BfWriteString");
    
MarkNativeAsOptional("BfWriteEntity");
    
MarkNativeAsOptional("BfWriteAngle");
    
MarkNativeAsOptional("BfWriteCoord");
    
MarkNativeAsOptional("BfWriteVecCoord");
    
MarkNativeAsOptional("BfWriteVecNormal");
    
MarkNativeAsOptional("BfWriteAngles");
    
MarkNativeAsOptional("BfReadBool");
    
MarkNativeAsOptional("BfReadByte");
    
MarkNativeAsOptional("BfReadChar");
    
MarkNativeAsOptional("BfReadShort");
    
MarkNativeAsOptional("BfReadWord");
    
MarkNativeAsOptional("BfReadNum");
    
MarkNativeAsOptional("BfReadFloat");
    
MarkNativeAsOptional("BfReadString");
    
MarkNativeAsOptional("BfReadEntity");
    
MarkNativeAsOptional("BfReadAngle");
    
MarkNativeAsOptional("BfReadCoord");
    
MarkNativeAsOptional("BfReadVecCoord");
    
MarkNativeAsOptional("BfReadVecNormal");
    
MarkNativeAsOptional("BfReadAngles");
    
MarkNativeAsOptional("BfGetNumBytesLeft");
    
MarkNativeAsOptional("BfWrite.WriteBool");
    
MarkNativeAsOptional("BfWrite.WriteByte");
    
MarkNativeAsOptional("BfWrite.WriteChar");
    
MarkNativeAsOptional("BfWrite.WriteShort");
    
MarkNativeAsOptional("BfWrite.WriteWord");
    
MarkNativeAsOptional("BfWrite.WriteNum");
    
MarkNativeAsOptional("BfWrite.WriteFloat");
    
MarkNativeAsOptional("BfWrite.WriteString");
    
MarkNativeAsOptional("BfWrite.WriteEntity");
    
MarkNativeAsOptional("BfWrite.WriteAngle");
    
MarkNativeAsOptional("BfWrite.WriteCoord");
    
MarkNativeAsOptional("BfWrite.WriteVecCoord");
    
MarkNativeAsOptional("BfWrite.WriteVecNormal");
    
MarkNativeAsOptional("BfWrite.WriteAngles");
    
MarkNativeAsOptional("BfRead.ReadBool");
    
MarkNativeAsOptional("BfRead.ReadByte");
    
MarkNativeAsOptional("BfRead.ReadChar");
    
MarkNativeAsOptional("BfRead.ReadShort");
    
MarkNativeAsOptional("BfRead.ReadWord");
    
MarkNativeAsOptional("BfRead.ReadNum");
    
MarkNativeAsOptional("BfRead.ReadFloat");
    
MarkNativeAsOptional("BfRead.ReadString");
    
MarkNativeAsOptional("BfRead.ReadEntity");
    
MarkNativeAsOptional("BfRead.ReadAngle");
    
MarkNativeAsOptional("BfRead.ReadCoord");
    
MarkNativeAsOptional("BfRead.ReadVecCoord");
    
MarkNativeAsOptional("BfRead.ReadVecNormal");
    
MarkNativeAsOptional("BfRead.ReadAngles");
    
MarkNativeAsOptional("BfRead.GetNumBytesLeft");
    
MarkNativeAsOptional("PbReadInt");
    
MarkNativeAsOptional("PbReadFloat");
    
MarkNativeAsOptional("PbReadBool");
    
MarkNativeAsOptional("PbReadString");
    
MarkNativeAsOptional("PbReadColor");
    
MarkNativeAsOptional("PbReadAngle");
    
MarkNativeAsOptional("PbReadVector");
    
MarkNativeAsOptional("PbReadVector2D");
    
MarkNativeAsOptional("PbGetRepeatedFieldCount");
    
MarkNativeAsOptional("PbSetInt");
    
MarkNativeAsOptional("PbSetFloat");
    
MarkNativeAsOptional("PbSetBool");
    
MarkNativeAsOptional("PbSetString");
    
MarkNativeAsOptional("PbSetColor");
    
MarkNativeAsOptional("PbSetAngle");
    
MarkNativeAsOptional("PbSetVector");
    
MarkNativeAsOptional("PbSetVector2D");
    
MarkNativeAsOptional("PbAddInt");
    
MarkNativeAsOptional("PbAddFloat");
    
MarkNativeAsOptional("PbAddBool");
    
MarkNativeAsOptional("PbAddString");
    
MarkNativeAsOptional("PbAddColor");
    
MarkNativeAsOptional("PbAddAngle");
    
MarkNativeAsOptional("PbAddVector");
    
MarkNativeAsOptional("PbAddVector2D");
    
MarkNativeAsOptional("PbRemoveRepeatedFieldValue");
    
MarkNativeAsOptional("PbReadMessage");
    
MarkNativeAsOptional("PbReadRepeatedMessage");
    
MarkNativeAsOptional("PbAddMessage");
    
MarkNativeAsOptional("Protobuf.ReadInt");
    
MarkNativeAsOptional("Protobuf.ReadFloat");
    
MarkNativeAsOptional("Protobuf.ReadBool");
    
MarkNativeAsOptional("Protobuf.ReadString");
    
MarkNativeAsOptional("Protobuf.ReadColor");
    
MarkNativeAsOptional("Protobuf.ReadAngle");
    
MarkNativeAsOptional("Protobuf.ReadVector");
    
MarkNativeAsOptional("Protobuf.ReadVector2D");
    
MarkNativeAsOptional("Protobuf.GetRepeatedFieldCount");
    
MarkNativeAsOptional("Protobuf.SetInt");
    
MarkNativeAsOptional("Protobuf.SetFloat");
    
MarkNativeAsOptional("Protobuf.SetBool");
    
MarkNativeAsOptional("Protobuf.SetString");
    
MarkNativeAsOptional("Protobuf.SetColor");
    
MarkNativeAsOptional("Protobuf.SetAngle");
    
MarkNativeAsOptional("Protobuf.SetVector");
    
MarkNativeAsOptional("Protobuf.SetVector2D");
    
MarkNativeAsOptional("Protobuf.AddInt");
    
MarkNativeAsOptional("Protobuf.AddFloat");
    
MarkNativeAsOptional("Protobuf.AddBool");
    
MarkNativeAsOptional("Protobuf.AddString");
    
MarkNativeAsOptional("Protobuf.AddColor");
    
MarkNativeAsOptional("Protobuf.AddAngle");
    
MarkNativeAsOptional("Protobuf.AddVector");
    
MarkNativeAsOptional("Protobuf.AddVector2D");
    
MarkNativeAsOptional("Protobuf.RemoveRepeatedFieldValue");
    
MarkNativeAsOptional("Protobuf.ReadMessage");
    
MarkNativeAsOptional("Protobuf.ReadRepeatedMessage");
    
MarkNativeAsOptional("Protobuf.AddMessage");
    
VerifyCoreVersion();
    return 
void 0;
}

public 
int CharToLower(int chr)
{
    if (
IsCharUpper(chr))
    {
        return 
chr 32;
    }
    return 
chr;
}

public 
Handle StartMessageOne(char msgname[], int clientint flags)
{
    
int players[1];
    
players[0] = client;
    return 
StartMessage(msgnameplayers1flags);
}

public 
void MC_PrintToChat(int clientchar message[])
{
    
MC_CheckTrie();
    
int var1;
    if (
client <= 0)
    {
        
ThrowError(sm_show_activityclient);
    }
    if (!
IsClientInGame(client))
    {
        
ThrowError("Client %i is not in game"client);
    }
    
char buffer[1024];
    
char buffer2[1024];
    
SetGlobalTransTarget(client);
    
Format(buffer1024"\x01%s"message);
    
VFormat(buffer21024buffer3);
    
MC_ReplaceColorCodes(buffer20false1024);
    
MC_SendMessage(clientbuffer20);
    return 
void 0;
}

public 
void MC_SendMessage(int clientchar message[], int author)
{
    if (!
author)
    {
        
author client;
    }
    
char buffer[256];
    
strcopy(buffer256message);
    
UserMsg index GetUserMessageId("SayText2");
    if (
index == UserMsg -1)
    {
        if (
GetEngineVersion() == 16)
        {
            
int team GetClientTeam(author);
            if (
team)
            {
                
char temp[16];
                
int var2 MC_TeamColors;
                
Format(temp16"\x07%06X"var2[0][0][var2][team + -1]);
                
ReplaceString(buffer256"\x03"tempfalse);
            }
            else
            {
                
ReplaceString(buffer256"\x03""\x04"false);
            }
        }
        
PrintToChat(client"%s"buffer);
        return 
void 0;
    }
    
Handle buf StartMessageOne("SayText2"client132);
    
int var1;
    if (
GetFeatureStatus(FeatureType 0"GetUserMessageType"))
    {
        
PbSetInt(buf"ent_idx"author, -1);
        
PbSetBool(buf"chat"true, -1);
        
PbSetString(buf"msg_name"buffer, -1);
        
PbAddString(buf"params""");
        
PbAddString(buf"params""");
        
PbAddString(buf"params""");
        
PbAddString(buf"params""");
    }
    else
    {
        
BfWriteByte(bufauthor);
        
BfWriteByte(buf1);
        
BfWriteString(bufbuffer);
    }
    
EndMessage();
    return 
void 0;
}

public 
void MC_CheckTrie()
{
    if (!
MC_Trie)
    {
        
MC_Trie MC_InitColorTrie();
    }
    return 
void 0;
}


/* ERROR! Unrecognized opcode stradjust_pri */
 
function "MC_ReplaceColorCodes" (number 6)
public 
void MC_StrToLower(char buffer[])
{
    
int len strlen(buffer);
    
int i 0;
    while (
len)
    {
        
buffer[i] = CharToLower(buffer[i]);
        
i++;
    }
    return 
void 0;
}

public 
Handle MC_InitColorTrie()
{
    
Handle hTrie CreateTrie();
    
SetTrieValue(hTrie"aliceblue"any 15792383true);
    
SetTrieValue(hTrie"allies"any 5077314true);
    
SetTrieValue(hTrie"ancient"any 15420235true);
    
SetTrieValue(hTrie"antiquewhite"any 16444375true);
    
SetTrieValue(hTrie"aqua"any 65535true);
    
SetTrieValue(hTrie"aquamarine"any 8388564true);
    
SetTrieValue(hTrie"arcana"any 11396444true);
    
SetTrieValue(hTrie"axis"any 16728128true);
    
SetTrieValue(hTrie"azure"any 32767true);
    
SetTrieValue(hTrie"beige"any 16119260true);
    
SetTrieValue(hTrie"bisque"any 16770244true);
    
SetTrieValue(hTrie"black"any 0true);
    
SetTrieValue(hTrie"blanchedalmond"any 16772045true);
    
SetTrieValue(hTrie"blue"any 10079487true);
    
SetTrieValue(hTrie"blueviolet"any 9055202true);
    
SetTrieValue(hTrie"brown"any 10824234true);
    
SetTrieValue(hTrie"burlywood"any 14596231true);
    
SetTrieValue(hTrie"cadetblue"any 6266528true);
    
SetTrieValue(hTrie"chartreuse"any 8388352true);
    
SetTrieValue(hTrie"chocolate"any 13789470true);
    
SetTrieValue(hTrie"collectors"any 11141120true);
    
SetTrieValue(hTrie"common"any 11584473true);
    
SetTrieValue(hTrie"community"any 7385162true);
    
SetTrieValue(hTrie"coral"any 16744272true);
    
SetTrieValue(hTrie"cornflowerblue"any 6591981true);
    
SetTrieValue(hTrie"cornsilk"any 16775388true);
    
SetTrieValue(hTrie"corrupted"any 10693678true);
    
SetTrieValue(hTrie"crimson"any 14423100true);
    
SetTrieValue(hTrie"cyan"any 65535true);
    
SetTrieValue(hTrie"darkblue"any 139true);
    
SetTrieValue(hTrie"darkcyan"any 35723true);
    
SetTrieValue(hTrie"darkgoldenrod"any 12092939true);
    
SetTrieValue(hTrie"darkgray"any 11119017true);
    
SetTrieValue(hTrie"darkgrey"any 11119017true);
    
SetTrieValue(hTrie"darkgreen"any 25600true);
    
SetTrieValue(hTrie"darkkhaki"any 12433259true);
    
SetTrieValue(hTrie"darkmagenta"any 9109643true);
    
SetTrieValue(hTrie"darkolivegreen"any 5597999true);
    
SetTrieValue(hTrie"darkorange"any 16747520true);
    
SetTrieValue(hTrie"darkorchid"any 10040012true);
    
SetTrieValue(hTrie"darkred"any 9109504true);
    
SetTrieValue(hTrie"darksalmon"any 15308410true);
    
SetTrieValue(hTrie"darkseagreen"any 9419919true);
    
SetTrieValue(hTrie"darkslateblue"any 4734347true);
    
SetTrieValue(hTrie"darkslategray"any 3100495true);
    
SetTrieValue(hTrie"darkslategrey"any 3100495true);
    
SetTrieValue(hTrie"darkturquoise"any 52945true);
    
SetTrieValue(hTrie"darkviolet"any 9699539true);
    
SetTrieValue(hTrie"deeppink"any 16716947true);
    
SetTrieValue(hTrie"deepskyblue"any 49151true);
    
SetTrieValue(hTrie"dimgray"any 6908265true);
    
SetTrieValue(hTrie"dimgrey"any 6908265true);
    
SetTrieValue(hTrie"dodgerblue"any 2003199true);
    
SetTrieValue(hTrie"exalted"any 13421773true);
    
SetTrieValue(hTrie"firebrick"any 11674146true);
    
SetTrieValue(hTrie"floralwhite"any 16775920true);
    
SetTrieValue(hTrie"forestgreen"any 2263842true);
    
SetTrieValue(hTrie"frozen"any 4817843true);
    
SetTrieValue(hTrie"fuchsia"any 16711935true);
    
SetTrieValue(hTrie"fullblue"any 255true);
    
SetTrieValue(hTrie"fullred"any 16711680true);
    
SetTrieValue(hTrie"gainsboro"any 14474460true);
    
SetTrieValue(hTrie"genuine"any 5076053true);
    
SetTrieValue(hTrie"ghostwhite"any 16316671true);
    
SetTrieValue(hTrie"gold"any 16766720true);
    
SetTrieValue(hTrie"goldenrod"any 14329120true);
    
SetTrieValue(hTrie"gray"any 13421772true);
    
SetTrieValue(hTrie"grey"any 13421772true);
    
SetTrieValue(hTrie"green"any 4128574true);
    
SetTrieValue(hTrie"greenyellow"any 11403055true);
    
SetTrieValue(hTrie"haunted"any 3732395true);
    
SetTrieValue(hTrie"honeydew"any 15794160true);
    
SetTrieValue(hTrie"hotpink"any 16738740true);
    
SetTrieValue(hTrie"immortal"any 14986803true);
    
SetTrieValue(hTrie"indianred"any 13458524true);
    
SetTrieValue(hTrie"indigo"any 4915330true);
    
SetTrieValue(hTrie"ivory"any 16777200true);
    
SetTrieValue(hTrie"khaki"any 15787660true);
    
SetTrieValue(hTrie"lavender"any 15132410true);
    
SetTrieValue(hTrie"lavenderblush"any 16773365true);
    
SetTrieValue(hTrie"lawngreen"any 8190976true);
    
SetTrieValue(hTrie"legendary"any 13839590true);
    
SetTrieValue(hTrie"lemonchiffon"any 16775885true);
    
SetTrieValue(hTrie"lightblue"any 11393254true);
    
SetTrieValue(hTrie"lightcoral"any 15761536true);
    
SetTrieValue(hTrie"lightcyan"any 14745599true);
    
SetTrieValue(hTrie"lightgoldenrodyellow"any 16448210true);
    
SetTrieValue(hTrie"lightgray"any 13882323true);
    
SetTrieValue(hTrie"lightgrey"any 13882323true);
    
SetTrieValue(hTrie"lightgreen"any 10092441true);
    
SetTrieValue(hTrie"lightpink"any 16758465true);
    
SetTrieValue(hTrie"lightsalmon"any 16752762true);
    
SetTrieValue(hTrie"lightseagreen"any 2142890true);
    
SetTrieValue(hTrie"lightskyblue"any 8900346true);
    
SetTrieValue(hTrie"lightslategray"any 7833753true);
    
SetTrieValue(hTrie"lightslategrey"any 7833753true);
    
SetTrieValue(hTrie"lightsteelblue"any 11584734true);
    
SetTrieValue(hTrie"lightyellow"any 16777184true);
    
SetTrieValue(hTrie"lime"any 65280true);
    
SetTrieValue(hTrie"limegreen"any 3329330true);
    
SetTrieValue(hTrie"linen"any 16445670true);
    
SetTrieValue(hTrie"magenta"any 16711935true);
    
SetTrieValue(hTrie"maroon"any 8388608true);
    
SetTrieValue(hTrie"mediumaquamarine"any 6737322true);
    
SetTrieValue(hTrie"mediumblue"any 205true);
    
SetTrieValue(hTrie"mediumorchid"any 12211667true);
    
SetTrieValue(hTrie"mediumpurple"any 9662680true);
    
SetTrieValue(hTrie"mediumseagreen"any 3978097true);
    
SetTrieValue(hTrie"mediumslateblue"any 8087790true);
    
SetTrieValue(hTrie"mediumspringgreen"any 64154true);
    
SetTrieValue(hTrie"mediumturquoise"any 4772300true);
    
SetTrieValue(hTrie"mediumvioletred"any 13047173true);
    
SetTrieValue(hTrie"midnightblue"any 1644912true);
    
SetTrieValue(hTrie"mintcream"any 16121850true);
    
SetTrieValue(hTrie"mistyrose"any 16770273true);
    
SetTrieValue(hTrie"moccasin"any 16770229true);
    
SetTrieValue(hTrie"mythical"any 8931327true);
    
SetTrieValue(hTrie"navajowhite"any 16768685true);
    
SetTrieValue(hTrie"navy"any 128true);
    
SetTrieValue(hTrie"normal"any 11711154true);
    
SetTrieValue(hTrie"oldlace"any 16643558true);
    
SetTrieValue(hTrie"olive"any 10404687true);
    
SetTrieValue(hTrie"olivedrab"any 7048739true);
    
SetTrieValue(hTrie"orange"any 16753920true);
    
SetTrieValue(hTrie"orangered"any 16729344true);
    
SetTrieValue(hTrie"orchid"any 14315734true);
    
SetTrieValue(hTrie"palegoldenrod"any 15657130true);
    
SetTrieValue(hTrie"palegreen"any 10025880true);
    
SetTrieValue(hTrie"paleturquoise"any 11529966true);
    
SetTrieValue(hTrie"palevioletred"any 14184595true);
    
SetTrieValue(hTrie"papayawhip"any 16773077true);
    
SetTrieValue(hTrie"peachpuff"any 16767673true);
    
SetTrieValue(hTrie"peru"any 13468991true);
    
SetTrieValue(hTrie"pink"any 16761035true);
    
SetTrieValue(hTrie"plum"any 14524637true);
    
SetTrieValue(hTrie"powderblue"any 11591910true);
    
SetTrieValue(hTrie"purple"any 8388736true);
    
SetTrieValue(hTrie"rare"any 4942335true);
    
SetTrieValue(hTrie"red"any 16728128true);
    
SetTrieValue(hTrie"rosybrown"any 12357519true);
    
SetTrieValue(hTrie"royalblue"any 4286945true);
    
SetTrieValue(hTrie"saddlebrown"any 9127187true);
    
SetTrieValue(hTrie"salmon"any 16416882true);
    
SetTrieValue(hTrie"sandybrown"any 16032864true);
    
SetTrieValue(hTrie"seagreen"any 3050327true);
    
SetTrieValue(hTrie"seashell"any 16774638true);
    
SetTrieValue(hTrie"selfmade"any 7385162true);
    
SetTrieValue(hTrie"sienna"any 10506797true);
    
SetTrieValue(hTrie"silver"any 12632256true);
    
SetTrieValue(hTrie"skyblue"any 8900331true);
    
SetTrieValue(hTrie"slateblue"any 6970061true);
    
SetTrieValue(hTrie"slategray"any 7372944true);
    
SetTrieValue(hTrie"slategrey"any 7372944true);
    
SetTrieValue(hTrie"snow"any 16775930true);
    
SetTrieValue(hTrie"springgreen"any 65407true);
    
SetTrieValue(hTrie"steelblue"any 4620980true);
    
SetTrieValue(hTrie"strange"any 13593138true);
    
SetTrieValue(hTrie"tan"any 13808780true);
    
SetTrieValue(hTrie"teal"any 32896true);
    
SetTrieValue(hTrie"thistle"any 14204888true);
    
SetTrieValue(hTrie"tomato"any 16737095true);
    
SetTrieValue(hTrie"turquoise"any 4251856true);
    
SetTrieValue(hTrie"uncommon"any 11584473true);
    
SetTrieValue(hTrie"unique"any 16766720true);
    
SetTrieValue(hTrie"unusual"any 8802476true);
    
SetTrieValue(hTrie"valve"any 10817401true);
    
SetTrieValue(hTrie"vintage"any 4678289true);
    
SetTrieValue(hTrie"violet"any 15631086true);
    
SetTrieValue(hTrie"wheat"any 16113331true);
    
SetTrieValue(hTrie"white"any 16777215true);
    
SetTrieValue(hTrie"whitesmoke"any 16119285true);
    
SetTrieValue(hTrie"yellow"any 16776960true);
    
SetTrieValue(hTrie"yellowgreen"any 10145074true);
    return 
hTrie;
}

public 
void C_PrintToChat(int clientchar szMessage[])
{
    
int var1;
    if (
client <= 0)
    {
        
ThrowError(sm_show_activityclient);
    }
    if (!
IsClientInGame(client))
    {
        
ThrowError("Client %d is not in game"client);
    }
    
char szBuffer[252];
    
char szCMessage[252];
    
SetGlobalTransTarget(client);
    
Format(szBuffer250"\x01%s"szMessage);
    
VFormat(szCMessage250szBuffer3);
    
int index C_Format(szCMessage250, -1);
    if (
index == -1)
    {
        
PrintToChat(client"%s"szCMessage);
    }
    else
    {
        
C_SayText2(clientindexszCMessage);
    }
    return 
void 0;
}

public 
bool C_ColorAllowed(C_Colors color)
{
    if (!
C_EventIsHooked)
    {
        
C_SetupProfile();
        
C_EventIsHooked 1;
    }
    return 
C_Profile_Colors[color][0][0];
}

public 
void C_ReplaceColor(C_Colors colorC_Colors newColor)
{
    if (!
C_EventIsHooked)
    {
        
C_SetupProfile();
        
C_EventIsHooked 1;
    }
    
C_Profile_Colors[color] = C_Profile_Colors[newColor][0][0];
    
C_Profile_TeamIndex[color] = C_Profile_TeamIndex[newColor][0][0];
    
C_TagReqSayText2[color] = C_TagReqSayText2[newColor][0][0];
    
Format(C_TagCode[color][0][0], 4C_TagCode[newColor][0][0]);
    return 
void 0;
}

public 
int C_Format(char szMessage[], int maxlengthint author)
{
    if (!
C_EventIsHooked)
    {
        
C_SetupProfile();
        
HookEvent("server_spawn"EventHook 41EventHookMode 2);
        
C_EventIsHooked 1;
    }
    
int iRandomPlayer = -1;
    if (
GetEngineVersion() == 12)
    {
        
Format(szMessagemaxlength" %s"szMessage);
    }
    if (
author != -1)
    {
        if (
C_Profile_SayText2)
        {
            
ReplaceString(szMessagemaxlength"{teamcolor}""\x03"false);
            
iRandomPlayer author;
        }
        else
        {
            
ReplaceString(szMessagemaxlength"{teamcolor}"C_TagCode[8][0], false);
        }
    }
    else
    {
        
ReplaceString(szMessagemaxlength"{teamcolor}"""false);
    }
    
int i 0;
    while (
18)
    {
        if (!(
StrContains(szMessageC_Tag[i][0][0], false) == -1))
        {
            if (!
C_Profile_Colors[i][0][0])
            {
                
ReplaceString(szMessagemaxlengthC_Tag[i][0][0], C_TagCode[8][0], false);
            }
            else
            {
                if (!
C_TagReqSayText2[i][0][0])
                {
                    
ReplaceString(szMessagemaxlengthC_Tag[i][0][0], C_TagCode[i][0][0], false);
                }
                if (!
C_Profile_SayText2)
                {
                    
ReplaceString(szMessagemaxlengthC_Tag[i][0][0], C_TagCode[8][0], false);
                }
                if (
iRandomPlayer == -1)
                {
                    
iRandomPlayer C_FindRandomPlayerByTeam(C_Profile_TeamIndex[i][0][0]);
                    if (
iRandomPlayer == -2)
                    {
                        
ReplaceString(szMessagemaxlengthC_Tag[i][0][0], C_TagCode[8][0], false);
                    }
                    else
                    {
                        
ReplaceString(szMessagemaxlengthC_Tag[i][0][0], C_TagCode[i][0][0], false);
                    }
                }
                
ThrowError("Using two team colors in one message is not allowed");
            }
        }
        
i++;
    }
    return 
iRandomPlayer;
}

public 
int C_FindRandomPlayerByTeam(int color_team)
{
    if (
color_team)
    {
        
int i 1;
        while (
<= MaxClients)
        {
            
int var1;
            if (
0)
            {
                return 
i;
            }
            
i++;
        }
        return -
2;
    }
    return 
0;
}

public 
void C_SayText2(int clientint authorchar szMessage[])
{
    
Handle hBuffer StartMessageOne("SayText2"client132);
    
int var1;
    if (
GetFeatureStatus(FeatureType 0"GetUserMessageType"))
    {
        
PbSetInt(hBuffer"ent_idx"author, -1);
        
PbSetBool(hBuffer"chat"true, -1);
        
PbSetString(hBuffer"msg_name"szMessage, -1);
        
PbAddString(hBuffer"params""");
        
PbAddString(hBuffer"params""");
        
PbAddString(hBuffer"params""");
        
PbAddString(hBuffer"params""");
    }
    else
    {
        
BfWriteByte(hBufferauthor);
        
BfWriteByte(hBuffer1);
        
BfWriteString(hBufferszMessage);
    }
    
EndMessage();
    return 
void 0;
}

public 
void C_SetupProfile()
{
    
EngineVersion engine GetEngineVersion();
    if (
engine == EngineVersion 13)
    {
        
C_Profile_Colors[12] = 1;
        
C_Profile_Colors[16] = 1;
        
C_Profile_Colors[20] = 1;
        
C_Profile_Colors[24] = 1;
        
C_Profile_TeamIndex[12] = 0;
        
C_Profile_TeamIndex[16] = 2;
        
C_Profile_TeamIndex[20] = 3;
        
C_Profile_SayText2 1;
    }
    else
    {
        if (
engine == EngineVersion 12)
        {
            
C_Profile_Colors[16] = 1;
            
C_Profile_Colors[20] = 1;
            
C_Profile_Colors[24] = 1;
            
C_Profile_Colors[4] = 1;
            
C_Profile_Colors[28] = 1;
            
C_Profile_Colors[32] = 1;
            
C_Profile_Colors[36] = 1;
            
C_Profile_Colors[40] = 1;
            
C_Profile_Colors[44] = 1;
            
C_Profile_Colors[48] = 1;
            
C_Profile_Colors[52] = 1;
            
C_Profile_Colors[56] = 1;
            
C_Profile_Colors[60] = 1;
            
C_Profile_Colors[64] = 1;
            
C_Profile_Colors[68] = 1;
            
C_Profile_TeamIndex[16] = 2;
            
C_Profile_TeamIndex[20] = 3;
            
C_Profile_SayText2 1;
        }
        if (
engine == EngineVersion 17)
        {
            
C_Profile_Colors[12] = 1;
            
C_Profile_Colors[16] = 1;
            
C_Profile_Colors[20] = 1;
            
C_Profile_Colors[24] = 1;
            
C_Profile_TeamIndex[12] = 0;
            
C_Profile_TeamIndex[16] = 2;
            
C_Profile_TeamIndex[20] = 3;
            
C_Profile_SayText2 1;
        }
        
int var1;
        if (
engine == EngineVersion 4)
        {
            
C_Profile_Colors[12] = 1;
            
C_Profile_Colors[16] = 1;
            
C_Profile_Colors[20] = 1;
            
C_Profile_Colors[24] = 1;
            
C_Profile_TeamIndex[12] = 0;
            
C_Profile_TeamIndex[16] = 3;
            
C_Profile_TeamIndex[20] = 2;
            
C_Profile_SayText2 1;
        }
        if (
engine == EngineVersion 15)
        {
            if (
GetConVarBool(FindConVar("mp_teamplay")))
            {
                
C_Profile_Colors[16] = 1;
                
C_Profile_Colors[20] = 1;
                
C_Profile_Colors[24] = 1;
                
C_Profile_TeamIndex[16] = 3;
                
C_Profile_TeamIndex[20] = 2;
                
C_Profile_SayText2 1;
            }
            else
            {
                
C_Profile_SayText2 0;
                
C_Profile_Colors[24] = 1;
            }
        }
        if (
engine == EngineVersion 16)
        {
            
C_Profile_Colors[24] = 1;
            
C_Profile_SayText2 0;
        }
        if (
GetUserMessageId("SayText2") == -1)
        {
            
C_Profile_SayText2 0;
        }
        
C_Profile_Colors[16] = 1;
        
C_Profile_Colors[20] = 1;
        
C_Profile_TeamIndex[16] = 2;
        
C_Profile_TeamIndex[20] = 3;
        
C_Profile_SayText2 1;
    }
    return 
void 0;
}

public 
Action C_Event_MapStart(Event eventchar name[], bool dontBroadcast)
{
    
C_SetupProfile();
    
int i 1;
    while (
<= MaxClients)
    {
        
C_SkipList[i] = 0;
        
i++;
    }
    return 
Action 0;
}

public 
void CPrintToChat(int clientchar message[])
{
    
char buffer[252];
    
VFormat(buffer250message3);
    if (!
g_bCFixColors)
    {
        
CFixColors();
    }
    if (!
IsSource2009())
    {
        
C_PrintToChat(client"%s"buffer);
    }
    else
    {
        
MC_PrintToChat(client"%s"buffer);
    }
    return 
void 0;
}

public 
void CFixColors()
{
    
g_bCFixColors 1;
    if (!
C_ColorAllowed(C_Colors 3))
    {
        if (
C_ColorAllowed(C_Colors 7))
        {
            
C_ReplaceColor(C_Colors 3C_Colors 7);
        }
        if (
C_ColorAllowed(C_Colors 6))
        {
            
C_ReplaceColor(C_Colors 3C_Colors 6);
        }
    }
    return 
void 0;
}

public 
bool IsSource2009()
{
    
int var1;
    if (
GetEngineVersion() == 13)
    {
        return 
true;
    }
    return 
false;
}

public 
void OnPluginStart()
{
    
AddCommandListener(CommandListener 39"say");
    
AddCommandListener(CommandListener 39"say_team");
    
Tag CreateConVar("mithat_bangonder_tag""Pluginler.com""Bangonder Plugini Tagi | Mithat Guner"0false0false0);
    
RegAdminCmd("sm_bangonder"BANGONDER8""""0);
    
PrintToServer("[PLUGINLER.COM] Ban Gonder Plugini Aktiftir.");
    
PrintToServer("[PLUGINLER.COM] DECOMPILE YAPMAYINIZ.");
    return 
void 0;
}

public 
Action BANGONDER(int clientint args)
{
    
int var1;
    if (
client)
    {
        
CPrintToChat(client"{darkred}[ %s ] {lime}Kimi Banladınız? Nicki Ve Eğer Biliyorsanız Gerçek İsimi."5900);
        
bangonder 1;
    }
    return 
Action 3;
}

public 
Action BANSORGU(int clientchar command[], int argc)
{
    if (
bangonder)
    {
        
int var1;
        if (
client)
        {
            
char yazi[192];
            
GetCmdArg(1yazi192);
            
CPrintToChat(client"{orange}[ %s ] {lime}%N Adlı Oyuncu %s Oyuncuyu Banladı."5900clientyazi);
            
bangonder 0;
            
CPrintToChat(client"{darkred}[ %s ] {lime}Oyuncuyu Neden Banladınız ?"5900clientyazi);
            
bangondersebep 1;
            
char tarih[52];
            
char saat[52];
            
FormatTime(tarih50"%m/%d/%Y", -1);
            
FormatTime(saat50"%H:%M:%S", -1);
            
char Dosya[256];
            
BuildPath(PathType 0Dosya256"configs/mithat_banlar.txt");
            
Handle Banlar OpenFile(Dosya"at+"false"GAME");
            
WriteFileLine(Banlar"╔════════════════════════════════════╗");
            
WriteFileLine(Banlar"║•● Bu Eklenti Mithat Güner'e Aittir ");
            
WriteFileLine(Banlar"║•● Pluginler.com ");
            
WriteFileLine(Banlar"╠════════════════════════════════════╣");
            
WriteFileLine(Banlar"║•● Tarih : %s Saat : %s\n║•● Banlayan : %N\n║•● Banlanan : %s"tarihsaatclientyazi);
            
CloseHandle(Banlar);
        }
    }
    else
    {
        if (
bangondersebep)
        {
            
int var2;
            if (
client)
            {
                
char yazi[192];
                
GetCmdArg(1yazi192);
                
CPrintToChat(client"{orange}[ %s ] {lime}%N Adlı Oyuncu %s Sebebinden Dolayı Banladı."5900clientyazi);
                
bangonder 0;
                
bangondersebep 0;
                
CPrintToChat(client"{darkred}[ %s ]{lime}Oyuncuyu Kaç Dakika Banladınız ?"5900clientyazi);
                
bangonderdakika 1;
                
char Dosya[256];
                
BuildPath(PathType 0Dosya256"configs/mithat_banlar.txt");
                
Handle Banlar OpenFile(Dosya"at+"false"GAME");
                
WriteFileLine(Banlar"║•● Sebep : %s"yazi);
                
CloseHandle(Banlar);
            }
        }
        if (
bangonderdakika)
        {
            
int var3;
            if (
client)
            {
                
char yazi[192];
                
GetCmdArg(1yazi192);
                
CPrintToChat(client"{orange}[ %s ] {lime}%N Adlı Oyuncu %s Dakika Banladı."5900clientyazi);
                
bangonder 0;
                
bangondersebep 0;
                
bangonderdakika 0;
                
CPrintToChat(client"{darkred}[ %s ] {lime}Oyuncuyu Hangi Tarihde Banladınız ?"5900clientyazi);
                
bangondertarih 1;
                
char Dosya[256];
                
BuildPath(PathType 0Dosya256"configs/mithat_banlar.txt");
                
Handle Banlar OpenFile(Dosya"at+"false"GAME");
                
WriteFileLine(Banlar"║•● Banlama Süresi : %s"yazi);
                
CloseHandle(Banlar);
            }
        }
        if (
bangondertarih)
        {
            
int var4;
            if (
client)
            {
                
char yazi[192];
                
GetCmdArg(1yazi192);
                
CPrintToChat(client"{orange}[ %s ] {lime}%N Adlı Oyuncu %s Tarihinde Banlandı."5900clientyazi);
                
bangonder 0;
                
bangondersebep 0;
                
bangonderdakika 0;
                
bangondertarih 0;
                
char Dosya[256];
                
BuildPath(PathType 0Dosya256"configs/mithat_banlar.txt");
                
Handle Banlar OpenFile(Dosya"at+"false"GAME");
                
WriteFileLine(Banlar"║•● Ban Saati : %s"yazi);
                
WriteFileLine(Banlar"╚════════════════════════════════════╝");
                
CloseHandle(Banlar);
            }
        }
    }
    return 
Action 0;


Last edited by chalr; 09-10-2016 at 09:26. Reason: php
chalr is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 09-10-2016 , 09:24   Re: Compile files
#23

Better use this tags:
HTML Code:
[PHP]Your code[/PHP]
__________________

Last edited by Grey83; 09-10-2016 at 10:54.
Grey83 is offline
shanapu
Veteran Member
Join Date: Apr 2015
Location: .de
Old 09-10-2016 , 09:58   Re: Compile files
#24

PHP Code:
public void OnPluginStart()
{
    
AddCommandListener(CommandListener 39"say");
    
AddCommandListener(CommandListener 39"say_team");
    
Tag CreateConVar("mithat_bangonder_tag""Pluginler.com""Bangonder Plugini Tagi | Mithat Guner"0false0false0);
    
RegAdminCmd("sm_bangonder"BANGONDER8""""0);
    
PrintToServer("[PLUGINLER.COM] Ban Gonder Plugini Aktiftir.");
    
PrintToServer("[PLUGINLER.COM] DECOMPILE YAPMAYINIZ.");
    return 
void 0;

DECOMPILE YAPMAYINIZ.

google translate

DO NOT decompile.

where do you get this smx? and why there is no source provided? are you in contact with the author?
__________________
coding & free software

Last edited by shanapu; 09-10-2016 at 09:59. Reason: typo
shanapu is offline
chalr
Senior Member
Join Date: Feb 2016
Location: Turkey
Old 09-10-2016 , 10:05   Re: Compile files
#25

Quote:
Originally Posted by shanapu View Post
PHP Code:
public void OnPluginStart()
{
    
AddCommandListener(CommandListener 39"say");
    
AddCommandListener(CommandListener 39"say_team");
    
Tag CreateConVar("mithat_bangonder_tag""Pluginler.com""Bangonder Plugini Tagi | Mithat Guner"0false0false0);
    
RegAdminCmd("sm_bangonder"BANGONDER8""""0);
    
PrintToServer("[PLUGINLER.COM] Ban Gonder Plugini Aktiftir.");
    
PrintToServer("[PLUGINLER.COM] DECOMPILE YAPMAYINIZ.");
    return 
void 0;

DECOMPILE YAPMAYINIZ.

google translate

DO NOT decompile.

where do you get this smx? and why there is no source provided? are you in contact with the author?
I was

So don't compile then
chalr is offline
shanapu
Veteran Member
Join Date: Apr 2015
Location: .de
Old 09-10-2016 , 10:50   Re: Compile files
#26

Quote:
Originally Posted by chalr
Quote:
Originally Posted by shanapu
Quote:
Originally Posted by chalr
Can you delete https://forums.alliedmods.net/showth...=279487&page=3

what you wrote
i don't want decompile anymore
delete? That's not how it works! how about you answer my questions?

I stole it hehe
no more support for you from my side.
__________________
coding & free software
shanapu is offline
chalr
Senior Member
Join Date: Feb 2016
Location: Turkey
Old 09-10-2016 , 11:08   Re: Compile files
#27

Quote:
Originally Posted by shanapu
Quote:
Originally Posted by chalr
Quote:
Originally Posted by shanapu
this maybe works in your dictators country but not here.
Racist
that has nothing to do with rascim... 16yo boy
I don't need any support that coming from you
chalr is offline
sneaK
SourceMod Moderator
Join Date: Feb 2015
Location: USA
Old 09-10-2016 , 11:54   Re: Compile files
#28

  1. Enough bickering.
  2. Do not blank out your posts.
  3. Read the forum rules.
sneaK is offline
thecount
Veteran Member
Join Date: Jul 2013
Old 09-10-2016 , 16:35   Re: Compile files
#29

Might as well close this thread unless someone feels like helping him steal some code.
thecount is offline
chalr
Senior Member
Join Date: Feb 2016
Location: Turkey
Old 09-11-2016 , 07:31   Re: Compile files
#30

Quote:
Originally Posted by thecount View Post
Might as well close this thread unless someone feels like helping him steal some code.
Dude I am in contact with auther he is going to make cfg file for me

please someone close thread
chalr is offline
Closed Thread



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 05:32.


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