Skocz do zawartości
"Idzie nowe..." - o zmianach i nie tylko ×
Przeniesienie zakupów z IPS Marketplace / Moving bought items from IPS Marketplace ×

Serverviewer - sewery offline


Rekomendowane odpowiedzi

Opublikowano

Witajcie,


 


Pobrałem dzisiaj tabele serwerów a dokładnie mówiąc "Serverviewer by WebKolo 1.1".Problemem jest, to że Po podpięciu serwerów tzn. dodaniu ich w panelu administratora cały czas pokazuje, że są offline.Nie ważne do jakiej gry cały czas jest tak samo.I tutaj pytanie do was co może być tego problemem, co źle zrobiłem.


Opublikowano
<?php

//------------------------------------------------------------------------------------------------------------+
//[ PREPARE CONFIG - DO NOT CHANGE OR MOVE THIS ]

	global $lgsl_config; $lgsl_config = array();


//------------------------------------------------------------------------------------------------------------+
//[ SERVERVIEWER: KONFIGURACJA ]	
	$lgsl_config['url_path']		= "http://XXXX/serverviewer/admin/"; // pełna ścieżka do folderu /admin/ skryptu.

//------------------------------------------------------------------------------------------------------------+
//[ SERVERVIEWER: BAZA DANYCH ]

	$lgsl_config['db']['server'] 	= "localhost"; // host bazy danych
	$lgsl_config['db']['user']	 	= "XXX"; // login
	$lgsl_config['db']['pass']		= "XXXX"; // haslo
	$lgsl_config['db']['db']		= "XXXX"; // nazwa bazy danych
	$lgsl_config['db']['table']		= "XXXXX"; // nazwa tabeli w bazie, tego nie musisz edytować

//------------------------------------------------------------------------------------------------------------+
//[ SERVERVIEWER: LOGOWANIE ACP ]

	$lgsl_config['admin']['user']	= "xxxx"; // login admina
	$lgsl_config['admin']['pass']	= "xxxx"; // haslo admina
	
//------------------------------------------------------------------------------------------------------------+
//[ SERVERVIEWER: IP.BOARD - KONFIGURACJA ]
	$lgsl_config['ipb_header']		= 1; // 1 - Pokazuje header tabelki (#, Status, Gra, ....), 0 - Nie pokazuje
	$lgsl_config['ipb_locations']	= 1; // 1 - Pokazuje lokalizację w tabeli, 0 - Nie pokazuje
	$lgsl_config['ipb_hltv']		= 1; // 1 - Pokazuje HLTV w tabeli, 0 - Nie pokazuje
	$lgsl_config['ipb_details']		= 1; // 1 - Pokazuje "Więcej Info" w tabeli, 0 - Nie pokazuje
	$lgsl_config['ipb_connect']		= 1; // 1 - Pokazuje przycisk połączenia steam, 0 - nie pokazuje
	$lgsl_config['ipb_gametracker']	= 1; // 1 - Pokazuje przycisk GT, 0 - Nie pokazuje

//------------------------------------------------------------------------------------------------------------+
//[ FEED: 0=OFF 1=CURL OR FSOCKOPEN 2=FSOCKOPEN ONLY / LEAVE THE URL ALONE UNLESS YOU KNOW WHAT YOUR DOING ]

	$lgsl_config['feed']['method'] = 1;
	$lgsl_config['feed']['url']		= ""; // nie zmieniaj, będzie pomagać w utrzymywaniu statusu serwera

//------------------------------------------------------------------------------------------------------------+
//[ BACKGROUND COLORS: TEXT HARD TO READ ? CHANGE THESE TO CONTRAST THE FONT COLOR / www.colorpicker.com ]

	$lgsl_config['background'][1] = "background-color:#e4eaf2";
	$lgsl_config['background'][2] = "background-color:#f4f7fa";

//------------------------------------------------------------------------------------------------------------+
//[ SHOW LOCATION FLAGS: 0=OFF 1=GEO-IP "GB"=MANUALLY SET COUNTRY CODE FOR SPEED ]

	$lgsl_config['locations'] = 1;

//------------------------------------------------------------------------------------------------------------+
//[ SHOW TOTAL SERVERS AND PLAYERS AT BOTTOM OF LIST: 0=OFF 1=ON ]

	$lgsl_config['list']['totals'] = 1;

//------------------------------------------------------------------------------------------------------------+
//[ SORTING OPTIONS ]

	$lgsl_config['sort']['servers'] = "id";	 // OPTIONS: id	type	zone	players	status
	$lgsl_config['sort']['players'] = "name"; // OPTIONS: name	score

//------------------------------------------------------------------------------------------------------------+
//[ ZONE SIZING: HEIGHT OF PLAYER BOX DYNAMICALLY CHANGES WITH THE NUMBER OF PLAYERS ]

	$lgsl_config['zone']['width']	 = "160"; // images will be cropped unless also resized to match
	$lgsl_config['zone']['line_size'] = "19";	// player box height is this number multiplied by player names
	$lgsl_config['zone']['height']		= "100"; // player box height limit

//------------------------------------------------------------------------------------------------------------+
//[ ZONE GRID: NUMBER=WIDTH OF GRID - INCREASE FOR HORIZONTAL ZONE STACKING ]

	$lgsl_config['grid'][1] = 1;
	$lgsl_config['grid'][2] = 1;
	$lgsl_config['grid'][3] = 1;
	$lgsl_config['grid'][4] = 1;
	$lgsl_config['grid'][5] = 1;
	$lgsl_config['grid'][6] = 1;
	$lgsl_config['grid'][7] = 1;
	$lgsl_config['grid'][8] = 1;

//------------------------------------------------------------------------------------------------------------+
//[ ZONE SHOWS PLAYER NAMES: 0=HIDE 1=SHOW ]

	$lgsl_config['players'][1] = 1;
	$lgsl_config['players'][2] = 1;
	$lgsl_config['players'][3] = 1;
	$lgsl_config['players'][4] = 1;
	$lgsl_config['players'][5] = 1;
	$lgsl_config['players'][6] = 1;
	$lgsl_config['players'][7] = 1;
	$lgsl_config['players'][8] = 1;

//------------------------------------------------------------------------------------------------------------+
//[ ZONE RANDOMISATION: NUMBER=MAX RANDOM SERVERS TO BE SHOWN ]

	$lgsl_config['random'][0] = 0;
	$lgsl_config['random'][1] = 0;
	$lgsl_config['random'][2] = 0;
	$lgsl_config['random'][3] = 0;
	$lgsl_config['random'][4] = 0;
	$lgsl_config['random'][5] = 0;
	$lgsl_config['random'][6] = 0;
	$lgsl_config['random'][7] = 0;
	$lgsl_config['random'][8] = 0;

//------------------------------------------------------------------------------------------------------------+
// [ HIDE OFFLINE SERVERS: 0=HIDE 1=SHOW

	$lgsl_config['hide_offline'][0] = 0;
	$lgsl_config['hide_offline'][1] = 0;
	$lgsl_config['hide_offline'][2] = 0;
	$lgsl_config['hide_offline'][3] = 0;
	$lgsl_config['hide_offline'][4] = 0;
	$lgsl_config['hide_offline'][5] = 0;
	$lgsl_config['hide_offline'][6] = 0;
	$lgsl_config['hide_offline'][7] = 0;
	$lgsl_config['hide_offline'][8] = 0;

//------------------------------------------------------------------------------------------------------------+
//[ e107 VERSION: TITLES - OTHER VERSIONS ARE SET BY THE CMS ]

	$lgsl_config['title'][0] = "Live Game Server List";
	$lgsl_config['title'][1] = "Game Server";
	$lgsl_config['title'][2] = "Game Server";
	$lgsl_config['title'][3] = "Game Server";
	$lgsl_config['title'][4] = "Game Server";
	$lgsl_config['title'][5] = "Game Server";
	$lgsl_config['title'][6] = "Game Server";
	$lgsl_config['title'][7] = "Game Server";
	$lgsl_config['title'][8] = "Game Server";

//------------------------------------------------------------------------------------------------------------+
//[ HOSTING FIXES ]

	$lgsl_config['direct_index'] 			= 1;	// 1=link to index.php instead of the folder
	$lgsl_config['no_realpath']		= 1;	// 1=do not use the realpath function
	
//------------------------------------------------------------------------------------------------------------+
//[ ADVANCED SETTINGS ]

	$lgsl_config['management']				= 0;				 // 1=show advanced management in the admin by default
	$lgsl_config['host_to_ip']				= 1;				 // 1=show the servers ip instead of its hostname
	$lgsl_config['public_add']				= 0;				 // 1=servers require approval OR 2=servers shown instantly
	$lgsl_config['public_feed']				= 0;				 // 1=feed requests can add new servers to your list
	$lgsl_config['cache_time']				= 60;				// seconds=time before a server needs updating
	$lgsl_config['live_time']				= 3;				 // seconds=time allowed for updating servers per page load
	$lgsl_config['timeout']					= 0;				 // 1=gives more time for servers to respond but adds loading delay
	$lgsl_config['retry_offline'] 			= 0;				 // 1=repeats query when there is no response but adds loading delay
	$lgsl_config['cms']						= "sa";			// sets which CMS specific code to use

//------------------------------------------------------------------------------------------------------------+
//[ TRANSLATION ]
	$lgsl_config['text']['bck'] 			= "Wróć";
	$lgsl_config['text']['vsd'] 			= "Kliknij tutaj aby zobaczyć szczegóły serwera";
	$lgsl_config['text']['slk'] 			= "Dołącz do gry";
	$lgsl_config['text']['sts'] 			= "Status:";
	$lgsl_config['text']['adr'] 			= "Adres IP:";
	$lgsl_config['text']['cpt'] 			= "Port połączenia:";
	$lgsl_config['text']['qpt'] 			= "Port zapytania:";
	$lgsl_config['text']['typ']				= "Typ:";
	$lgsl_config['text']['gme'] 			= "Gra:";
	$lgsl_config['text']['map'] 			= "Mapa:";
	$lgsl_config['text']['plr'] 			= "Graczy:";
	$lgsl_config['text']['pll'] 			= "Lista graczy";
	$lgsl_config['text']['splayers']		= "Pokaż listę graczy";
	$lgsl_config['text']['shltv']			= "Zobacz listę dem z serwera";
	$lgsl_config['text']['sdetails']		= "Więcej informacji o serwerze";
	$lgsl_config['text']['sserverdetails']	= "Szczegóły serwera";
	$lgsl_config['text']['svs'] 			= "Ustawienia serwera";
	$lgsl_config['text']['npi'] 			= "Brak osób na serwerze";
	$lgsl_config['text']['nei'] 			= "Brak informacji";
	$lgsl_config['text']['ehs'] 			= "Ustawienie";
	$lgsl_config['text']['ehv'] 			= "Wartość";
	$lgsl_config['text']['onl'] 			= "Dostępny";
	$lgsl_config['text']['onp'] 			= "Dostępny z hasłem";
	$lgsl_config['text']['nrs'] 			= "Nie odpowiada";
	$lgsl_config['text']['pen'] 			= "Czeka na podsłuch";
	$lgsl_config['text']['zpl'] 			= "Graczy:";
	$lgsl_config['text']['mid'] 			= "Niepoprawne ID serwera";
	$lgsl_config['text']['nnm'] 			= "--";
	$lgsl_config['text']['nmp'] 			= "--";
	$lgsl_config['text']['tns'] 			= "Wszystkich serwerów:";
	$lgsl_config['text']['tnp'] 			= "Graczy online:";
	$lgsl_config['text']['tmp'] 			= "Wszystkich slotów:";
	$lgsl_config['text']['asd'] 			= "Publiczne dodawanie serwerów jest wyłączone";
	$lgsl_config['text']['awm'] 			= "THIS AREA ALLOWS YOU TO TEST AND THEN ADD ONLINE GAME SERVERS TO THE LIST";
	$lgsl_config['text']['ats'] 			= "Test Server";
	$lgsl_config['text']['aaa'] 			= "SERVER ALREADY ADDED AND NEEDS ADMIN APPROVAL";
	$lgsl_config['text']['aan'] 			= "SERVER ALREADY ADDED";
	$lgsl_config['text']['anr'] 			= "NO RESPONSE - MAKE SURE YOU ENTERED THE CORRECT DETAILS";
	$lgsl_config['text']['ada'] 			= "SERVER HAS BEEN ADDED FOR ADMIN APPROVAL";
	$lgsl_config['text']['adn'] 			= "SERVER HAS BEEN ADDED";
	$lgsl_config['text']['asc'] 			= "SUCCESS - PLEASE CONFIRM ITS THE CORRECT SERVER";
	$lgsl_config['text']['stm'] 			= "Steam";
	$lgsl_config['text']['gtt'] 			= "GT";
	$lgsl_config['text']['aas'] 			= "Dodaj serwer";
	$lgsl_config['text']['loc'] 			= "Lokalizacja:";
	$lgsl_config['text']['amx_tl']			= "Czas mapy:";
	$lgsl_config['text']['amx_br']			= "n/a";
	$lgsl_config['text']['amx_nm']			= "Następna mapa:";
	

//------------------------------------------------------------------------------------------------------------+

"xxxx" z wiadomych przyczyn

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Umieściliśmy na Twoim urządzeniu pliki cookie, aby pomóc Ci usprawnić przeglądanie strony. Możesz dostosować ustawienia plików cookie, w przeciwnym wypadku zakładamy, że wyrażasz na to zgodę.