/*
* Patch for filter_var()
*/
if(!function_exists('filter_var')){
define('FILTER_VALIDATE_IP', 'ip');
define('FILTER_FLAG_IPV4', 'ipv4');
define('FILTER_FLAG_IPV6', 'ipv6');
define('FILTER_VALIDATE_EMAIL', 'email');
define('FILTER_FLAG_EMAIL_UNICODE', 'unicode');
function filter_var($variable, $filter, $option = false){
if($filter == 'ip'){
if($option == 'ipv4'){
if(preg_match("/(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/", $variable, $matches)){
$variable = $matches[1];
return $variable;
}
}
if($option == 'ipv6'){
if(preg_match("/\s*(([:.]{0,7}[0-9a-fA-F]{0,4}){1,8})\s*/", $variable, $matches)){
$variable = $matches[1];
return $variable;
}
}
}
if($filter == 'email'){
if($option == 'unicode' || $option == false){
if(preg_match("/\s*(\S*@\S*\.\S*)\s*/", $variable, $matches)){
$variable = $matches[1];
return $variable;
}
}
}
}
}
Drukuj stronę - [Dzielę pliki] L2j Droplist Editor
Nieoficjalna polska strona Lineage 2
Lineage 2 => Prowadzenie własnego serwera => Serwery prywatne => Praca z serwerem => Wątek zaczęty przez: P4CZU w Kwiecień 08, 2012, 11:31:50 pm
Kolejny fajny programik, przy pomocy którego możemy edytować droplist naszych mobów. W łatwy sposób możemy dodać lub odjąć dany item z dropu, dodatkowo ustawianie szansy staje się dziecinnie łatwe (program liczy za nas). Poniżej screen i link. (https://forum.lineage2.com.pl/proxy.php?request=http%3A%2F%2Fimg687.imageshack.us%2Fimg687%2F7672%2Fonedg.th.jpg&hash=0df4c58c72e5912dfbe6d30bd204dc61) (http://img687.imageshack.us/i/onedg.jpg/) (https://forum.lineage2.com.pl/proxy.php?request=http%3A%2F%2Fimg41.imageshack.us%2Fimg41%2F736%2Ftwoun.th.jpg&hash=abea4218da43881f8cf3de4f7749a8e0) (http://img41.imageshack.us/i/twoun.jpg/) DOWNLOAD (http://www66.zippyshare.com/v/55626013/file.html), DOWNLOAD 2 (http://www.4shared.com/archive/TsTDuI0q/DROPLIST_EDITOR.html) Video-tut: http://www.youtube.com/embed/jihmLOFzrXU Napisany przez Tria.