Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fix FastDownload
#1
Ky plugins sherben per ta rregulluar fast download, (per ata qe se din shum kan problem me fastdownload p.sh duhet me jek cs krejt tani me hi me i bo fastdownload e me kit plugins ski nevoj me ju bo aj problem lojtarve)

Shkarkojm
FIxFastDL.amxx

pluginsin .amxx e vendosim ne cstrike > addons > amxmodx > plugins
dhe shkojm cstrike > addons > amxmodx > configs > plugins.ini ne fund e vendosim FIxFastDL.amxx

Ndrrojm mapen dhe do rregullohet fastdl

Cka permban ky plugins:
[spoiler]#include < amxmodx >
#include < fakemeta >

new const VERSION[ ] = "0.0.3";

new const SYMBOLS[ ][ ] =
{
"!" , "@" , "#" ,"$" , "%" , "&",
"*" , "(" , ")" , "_" , "-" , "=" , "+",
"{" , "[" , "}" , "]" , ":" , ";" , "'" , "\",
"|" , "/" , "<" , ">" , "." , "?"
};

new Trie:g_check;
new Trie:g_reconnect;

new ServerIp[ 32 ]

public plugin_init()
{
register_plugin( "Fix fast download to reconnect", VERSION, "PomanoB \ Bos93" );

register_forward( FM_ClientDisconnect, "fw_ClientDisconnect" );

g_check = TrieCreate();
g_reconnect = TrieCreate();


get_user_ip( 0, ServerIp, charsmax( ServerIp ) );
}

public fw_ClientDisconnect( pPlayer )
{
new zsIp[32];

get_user_ip( pPlayer, zsIp, charsmax( zsIp ) );
TrieSetCell( g_reconnect, zsIp, 1 );
}

public client_connect( pPlayer )
{
new zsIp[32]
new lastTime

get_user_ip( pPlayer, zsIp, charsmax( zsIp ) );

if ( TrieKeyExists( g_reconnect , zsIp ) )
{
if ( !TrieGetCell( g_check, zsIp, lastTime ) || lastTime < get_systime( ) - 4 )
{
TrieSetCell( g_check, zsIp, get_systime( ) ) ;
TrieClear( g_reconnect );

client_cmd( pPlayer, "Connect %s`%c", ServerIp, SYMBOLS[ random_num( 0, sizeof SYMBOLS - 1 ) ] );
}
}
}[/spoiler]
Reply }}}}
Thanks given by:
Thanks given by:
Thanks given by:
#2
Ky plugins sherben per ta rregulluar fast download, (per ata qe se din shum kan problem me fastdownload p.sh duhet me jek cs krejt tani me hi me i bo fastdownload e me kit plugins ski nevoj me ju bo aj problem lojtarve)

Shkarkojm
FIxFastDL.amxx

pluginsin .amxx e vendosim ne cstrike > addons > amxmodx > plugins
dhe shkojm cstrike > addons > amxmodx > configs > plugins.ini ne fund e vendosim FIxFastDL.amxx

Ndrrojm mapen dhe do rregullohet fastdl

Cka permban ky plugins:
[spoiler]#include < amxmodx >
#include < fakemeta >

new const VERSION[ ] = "0.0.3";

new const SYMBOLS[ ][ ] =
{
"!" , "@" , "#" ,"$" , "%" , "&",
"*" , "(" , ")" , "_" , "-" , "=" , "+",
"{" , "[" , "}" , "]" , ":" , ";" , "'" , "\",
"|" , "/" , "<" , ">" , "." , "?"
};

new Trie:g_check;
new Trie:g_reconnect;

new ServerIp[ 32 ]

public plugin_init()
{
register_plugin( "Fix fast download to reconnect", VERSION, "PomanoB \ Bos93" );

register_forward( FM_ClientDisconnect, "fw_ClientDisconnect" );

g_check = TrieCreate();
g_reconnect = TrieCreate();


get_user_ip( 0, ServerIp, charsmax( ServerIp ) );
}

public fw_ClientDisconnect( pPlayer )
{
new zsIp[32];

get_user_ip( pPlayer, zsIp, charsmax( zsIp ) );
TrieSetCell( g_reconnect, zsIp, 1 );
}

public client_connect( pPlayer )
{
new zsIp[32]
new lastTime

get_user_ip( pPlayer, zsIp, charsmax( zsIp ) );

if ( TrieKeyExists( g_reconnect , zsIp ) )
{
if ( !TrieGetCell( g_check, zsIp, lastTime ) || lastTime < get_systime( ) - 4 )
{
TrieSetCell( g_check, zsIp, get_systime( ) ) ;
TrieClear( g_reconnect );

client_cmd( pPlayer, "Connect %s`%c", ServerIp, SYMBOLS[ random_num( 0, sizeof SYMBOLS - 1 ) ] );
}
}
}[/spoiler]
Reply }}}}
Thanks given by:
Thanks given by:
Thanks given by:
#3
A osht njejt si fastdl dmth sherben mi rrith shpejcin e dl ? a duuhet me marr 1 her FastDL ather keto ?
Reply }}}}
Thanks given by:
Thanks given by:
Thanks given by:
#4
Fiis' kjo nuk eshte fastdll po e rregullon fastdll qe p.sh kajher do file sti kap fastdll kjo ja bon fix
Pray wherever you are
Reply }}}}
Thanks given by:
Thanks given by:
Thanks given by:
#5
Nese krejt filet i shtin n host , sduhet ky plugin , po najher ndodh qe me harru me shti ne fastdl naj models naj qka e osht i nevojshem ky sen.

Un perveti e vlersoj shum ket plugin , po se perdori as 1 her se qdo resorce qe e shti n srv e uploadoj edhe n Host
[Image: giphy.gif]
The way it's meant to be played
[Image: 5ZUlaXc.gif]
Reply }}}}
Thanks given by:
Thanks given by:
Thanks given by:


Forum Jump:


Users browsing this thread: 1 Guest(s)