eSportsKosova - Gaming Community
Fix FastDownload - Printable Version

+- eSportsKosova - Gaming Community (https://esportskosova.com)
+-- Forum: HAPËSIRA E COUNTER-STRIKE (https://esportskosova.com/forum-7.html)
+--- Forum: Counter-Strike 1.6 (https://esportskosova.com/forum-19.html)
+---- Forum: Amx Mod X (https://esportskosova.com/forum-58.html)
+----- Forum: AMX - Plugin's (https://esportskosova.com/forum-193.html)
+----- Thread: Fix FastDownload (/thread-36487.html)



Fix FastDownload - KIQ - 04-30-2023

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]


Fix FastDownload - KIQ - 04-30-2023

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]


Re: Fix FastDownload - Fisberg - 06-05-2023

A osht njejt si fastdl dmth sherben mi rrith shpejcin e dl ? a duuhet me marr 1 her FastDL ather keto ?


Re: Fix FastDownload - ColdPlay - 06-10-2023

Fiis' kjo nuk eshte fastdll po e rregullon fastdll qe p.sh kajher do file sti kap fastdll kjo ja bon fix


Re: Fix FastDownload - Cyanide. - 06-11-2023

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