Masterserver
-
- Jau po truputį tampa savu
- Posts: 108
- Joined: 2016 Feb 07 20:39
- Skype: taketokx13
Masterserver
Sveiki norejau paklausti, kur galeciau rasti zmoniu, kurie parduoda savo masterserveri? Gal kazkas zino kokiu puslapiu ar siaip? Ieskoti sunkiai sekasi.
- laimiukas3
- Moderatorius
- Posts: 4569
- Joined: 2012 Aug 03 01:12
- Skype: laimiukas3
- Location: Vilnius
- Contact:
Re: Masterserver
laikina srauta is masterserverio savo serveriui nori pirkti (boost)? ar masterserveri pati nori pirkti ?erniukakas wrote:Sveiki norejau paklausti, kur galeciau rasti zmoniu, kurie parduoda savo masterserveri? Gal kazkas zino kokiu puslapiu ar siaip? Ieskoti sunkiai sekasi.
nes masterserveris nemokamas gali isidiekti pats http://non-steam.ru/?page_id=2
o jaigu nori pati ms pirkti su jau platintu klijentu tai vargu ka rasi normalaus uz tau logiska kaina.
Re: Masterserver
laimiukas3 wrote:laikina srauta is masterserverio savo serveriui nori pirkti (boost)? ar masterserveri pati nori pirkti ?erniukakas wrote:Sveiki norejau paklausti, kur galeciau rasti zmoniu, kurie parduoda savo masterserveri? Gal kazkas zino kokiu puslapiu ar siaip? Ieskoti sunkiai sekasi.
nes masterserveris nemokamas gali isidiekti pats http://non-steam.ru/?page_id=2
o jaigu nori pati ms pirkti su jau platintu klijentu tai vargu ka rasi normalaus uz tau logiska kaina.
komentaruose raso kad meta klaidas ir iesko mokamo tai net nebandziau ir neveikia man linkai ten
![Laimingas :D](./images/smilies/D.gif)
PATYLĖK!!! Bent protingesnis atrodysi ![Šypsosi :)](./images/smilies/smile.gif)
![Šypsosi :)](./images/smilies/smile.gif)
- laimiukas3
- Moderatorius
- Posts: 4569
- Joined: 2012 Aug 03 01:12
- Skype: laimiukas3
- Location: Vilnius
- Contact:
Re: Masterserver
0.4.9 megines veikia kuo pukiausepopilas wrote:laimiukas3 wrote:laikina srauta is masterserverio savo serveriui nori pirkti (boost)? ar masterserveri pati nori pirkti ?erniukakas wrote:Sveiki norejau paklausti, kur galeciau rasti zmoniu, kurie parduoda savo masterserveri? Gal kazkas zino kokiu puslapiu ar siaip? Ieskoti sunkiai sekasi.
nes masterserveris nemokamas gali isidiekti pats http://non-steam.ru/?page_id=2
o jaigu nori pati ms pirkti su jau platintu klijentu tai vargu ka rasi normalaus uz tau logiska kaina.
komentaruose raso kad meta klaidas ir iesko mokamo tai net nebandziau ir neveikia man linkai ten
- laimiukas3
- Moderatorius
- Posts: 4569
- Joined: 2012 Aug 03 01:12
- Skype: laimiukas3
- Location: Vilnius
- Contact:
Re: Masterserver
turiu kitam pc. priseksiu vakare
- Attachments
-
- ms063a6.zip
- (9.51 MiB) Downloaded 468 times
-
- Jau po truputį tampa savu
- Posts: 108
- Joined: 2016 Feb 07 20:39
- Skype: taketokx13
Re: Masterserver
Pirkciau uz normalia suma as ta MS , bet kad nieks nepardavineja.
O paciam ji sukurt ir zmoniu prisirinkt tai speju siuo atveju nebeimanoma ![Laimingas :D](./images/smilies/D.gif)
![Abėjingas :/](./images/smilies/1.gif)
![Laimingas :D](./images/smilies/D.gif)
- laimiukas3
- Moderatorius
- Posts: 4569
- Joined: 2012 Aug 03 01:12
- Skype: laimiukas3
- Location: Vilnius
- Contact:
Re: Masterserver
galiu kaika pasiuliti kaina butu apie 1000erniukakas wrote:Pirkciau uz normalia suma as ta MS , bet kad nieks nepardavineja.O paciam ji sukurt ir zmoniu prisirinkt tai speju siuo atveju nebeimanoma
-
- Jau po truputį tampa savu
- Posts: 108
- Joined: 2016 Feb 07 20:39
- Skype: taketokx13
Re: Masterserver
Ka turi pasiulyti? Parasyk i skype : taketokx13 , ps gal zinai kas gali buti pridedu sakykim serveri betkoki raso Сервер отключен nors jis veikia puikiai? Ne su visais taip, bet su dauguma uzsienio serveriu, bandau testuoti.
Galbut cia kazka rasite ir padesite
Galbut cia kazka rasite ir padesite
Code: Select all
<?php if (! defined ( 'BOOST' )) { exit ( "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" /> Эй, не озоруй. К данному файлу я тебе запрещаю прямой доступ. Теперь-то мне ясно, кто ковыряет мой сайт." ); } class Configuration { static $db = array( 'db_serv' => 'localhost', 'db_user' => 'gggggg', 'db_pass' => 'MeIJ79bkAB', 'db_name' => 'ggggggs' ); } class DataBase { static function connect() { $database = mysql_connect(Configuration::$db['db_serv'], Configuration::$db['db_user'], Configuration::$db['db_pass']) or die(mysql_error()); mysql_select_db(Configuration::$db['db_name'], $database) or die(mysql_error()); mysql_set_charset( 'utf8' ); return $database; } } #---------------------------------------------------------------------------------------------------------+ # $newMess->into_msg("Заголовок", "Сообщение", "Цвет"); #---------------------------------------------------------------------------------------------------------+ class Messages { static function into_msg($header, $msg, $status) { $array_status = array(1 => 'success', 2 => 'error', 3 => 'info', 4 => 'warning'); $array_header = array(1 => 'Поздравляем!', 2 => 'Ошибка!', 3 => 'Информация', 4 => 'Предупреждение'); if(isset($array_status[$status])) { $status = $array_status[$status]; } else { return; } if(isset($array_header[$header])){ $header = $array_header[$header]; } else { $header = "$header"; } return "<div class='alert alert-$status'><strong>$header</strong><br />$msg</div>"; } } class Main { static function GenerateKey($length) { $chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPRQSTUVWXYZ0123456789"; $code = ""; $clen = strlen($chars) - 1; while (strlen($code) < $length) { $code .= $chars[mt_rand(0,$clen)]; } return $code; } static function showbar($players, $maxplayers) { if($maxplayers > 0) { $full_off = round(($players/$maxplayers)*100); } else { $full_off = 0; } switch($full_off) { case $full_off<=40: $full_off_color = 'success'; break; case $full_off<=80: $full_off_color = 'warning'; break; case $full_off<=100: $full_off_color = 'danger'; break; default: $full_off_color = 'success'; break; } return '<div style="position: relative;"><div class="progress progress-'.$full_off_color.' progress-striped" style="margin-bottom: 0px;"><div class="bar" style="width: '.$full_off.'%"></div><div style="position: absolute;width: 100%;"><center>'.$players.'/'.$maxplayers.'</center></div></div></div>'; } } class TimePresent { static function dateDiff($startDay, $endDay) { if(($endDay - $startDay) < 0) { return 'Сервер скоро удалится'; } $difference = abs($endDay - $startDay); $month = floor($difference / 2592000); if($month > 0) { $return['month'] = self::declOfNum($month, array('месяц', 'месяца', 'месяцев')); } $days = floor($difference / 86400) % 30; if($days > 0) { $return['days'] = self::declOfNum($days, array('день', 'дня', 'дней')); } $hours = floor($difference / 3600) % 24; if($hours > 0) { $return['hours'] = self::declOfNum($hours, array('час', 'часа', 'часов')); } $minutes = floor($difference / 60) % 60; if($minutes > 0) { $return['minutes'] = self::declOfNum($minutes, array('минута', 'минуты', 'минут')); } if(count($return) > 0) { $datediff = implode(" ", $return); } else { $datediff = 'Время подходит к концу'; } return $datediff; } static function declOfNum($number, $titles) { $cases = array (2, 0, 1, 1, 1, 2); return $number." ".$titles[ ($number%100>4 && $number%100<20)? 2 : $cases[min($number%10, 5)] ]; } static function russian_date($timestamp){ $date=explode(".", date("H.i.d.m.Y", $timestamp)); switch ($date[3]){ case 1: $m='января'; break; case 2: $m='февраля'; break; case 3: $m='марта'; break; case 4: $m='апреля'; break; case 5: $m='мая'; break; case 6: $m='июня'; break; case 7: $m='июля'; break; case 8: $m='августа'; break; case 9: $m='сентября'; break; case 10: $m='октября'; break; case 11: $m='ноября'; break; case 12: $m='декабря'; break; } return $date[2].' '.$m.' в '.$date[0].':'.$date[1]; } } Class Checkserver { static function getString(&$packet){ $str = ""; $n = strlen($packet); for($i=0;($packet[$i]!=chr(0)) && ($i < $n);++$i) $str .= $packet[$i]; $packet = substr($packet, strlen($str)); return trim($str); } static function getChar(&$packet){ $char = $packet[0]; $packet = substr($packet, 1); return $char; } static function serverInfo($server) { list($ip,$port) = explode(":", $server); $fp = @fsockopen('udp://'.$ip, $port); if($fp) { stream_set_timeout($fp, 2); fwrite($fp,"\xFF\xFF\xFF\xFFTSource Engine Query\0\r"); $temp = fread($fp, 4); $status = socket_get_status($fp); if($status['unread_bytes']>0) { $temp = fread($fp, $status['unread_bytes']); $version = ord(self::getChar($temp)); $array = array(); $array['status'] = "1"; if($version == 109) { $array['ip'] = self::getString($temp); $temp = substr($temp, 1); $array['hostname'] = self::getString($temp); $temp = substr($temp, 1); $array['mapname'] = self::getString($temp); $temp = substr($temp, 1); self::getString($temp); $temp = substr($temp, 1); self::getString($temp); $temp = substr($temp, 1); $array['players'] = ord(self::getChar($temp)); $array['maxplayers'] = ord(self::getChar($temp)); } elseif($version == 73) { self::getChar($temp); $array['hostname'] = self::getString($temp); $temp = substr($temp, 1); $array['mapname'] = self::getString($temp); $temp = substr($temp, 1); self::getString($temp); $temp = substr($temp, 1); self::getString($temp); $temp = substr($temp, 3); $array['players'] = ord(self::getChar($temp)); $array['maxplayers'] = ord(self::getChar($temp)); } } else { $array['hostname'] = 'Сервер отключен'; $array['mapname'] = '-'; $array['players'] = '0'; $array['maxplayers'] = '0'; $array['status'] = '0'; } } return $array; } } ?>
Re: Masterserver
Gal kas galite biski daugiau paiskinti su paciu 8888 prisijungimu? Kaip ten kur ka irasti savo serverio adresa kur? ![Žuvis :fish:](./images/smilies/fish.gif)
Man dabar sita rodo
![Žuvis :fish:](./images/smilies/fish.gif)
Man dabar sita rodo
14:56:39 <type 'exceptions.ValueError'>invalid literal for int() with base 10: 'SERVERIOIP'None
PATYLĖK!!! Bent protingesnis atrodysi ![Šypsosi :)](./images/smilies/smile.gif)
![Šypsosi :)](./images/smilies/smile.gif)
Who is online
Users browsing this forum: No registered users and 6 guests