I Have a problem querying my list, some servers don´t show information. Can someone please help with configuration or the cron job. www.skill-station.net/v3/index.php?option=com_lgsl&Itemid=115
Posts: 75 Joined: Sun Nov 21 2010, 09:37AM Registered Member #6416
well the list works fine for me... many servers in and many are shown, so it is no prob of LGSL, maybe you put in wrong port or the server is not reacting fast enough.... try set up max server response time a bit.
Posts: 75 Joined: Sun Nov 21 2010, 09:37AM Registered Member #6416
i use nearly same settings but with much less servers. When it would be a config problem, the error should be at all servers. I bet it is a problem of query ports (wrong ports, ports blocked) OR the servers missing are just laggy, so response time is too bad and lgsl gets a timeout...
Posts: 75 Joined: Sun Nov 21 2010, 09:37AM Registered Member #6416
i guess it is this here: $lgsl_config['live_time'] = 3; // seconds=time allowed for updating servers per page load
but i see you have many servers running on same IP, maybe that is causing timeout. The IP and Ports you gave are all servers or just those which always show offline? Are the same servers showing offline all the time?
Posts: 175 Joined: Sun Dec 12 2010, 09:16AM Registered Member #6457
the easiest way to find out if it is server time is to remove the servers that always show offline and use them in the lgsl_add.php to see if in fact there is a connection. That would reduce the amount of time for the query to that ip. I assume you know how to use the lgsl_add.php? If you get a response then yes I would say query time is issue.
edit: ok I tested one of your servers
game- call of duty 4 ip- 77.91.203.105 c_port- 28973 q_port- 28973 result- NO RESPONSE
This tells me that either the server is off line or you are using wrong ports
To test this yourself go to http://dodgeitorelse.dyndns.org/chevy_test_server/servertracker.php and click the "Add Server" button at top left of screen. At the add server screen you need to fill in all the textboxes ( except your name which has been added by me) Also in the server name just enter test or whatever (this was also added by me) or if left blank the add server will not query anything. It will sit and wait for you to fill in the server name or any textbox that is left blank except the your name box which can be left empty.
Of course your server will not be added to my trackers as we only track Americas Army coop servers.
Posts: 175 Joined: Sun Dec 12 2010, 09:16AM Registered Member #6457
ok I added about half of your servers giving me a total of 41 tracked servers. for me to add them they had to be online and each time I look a lot of the servers show as offline next time they show as online. I don't think this is a timer issue but more a server crashing or something to that affect. Or possibly too many admins resetting servers or something.
$lgsl_config['cache_time'] = 120; // seconds=time before a server needs updating
$lgsl_config['live_time'] = 6; // seconds=time allowed for updating servers per page load
With this settings have same problem. What settings do you recomend me to use.
Can you show me your advanced settings in config.
I think this GSP http://www.gamingdeluxe.co.uk/Network.php is using LGSL that connects with tcadmin as me and is servers always show correctly.
Posts: 175 Joined: Sun Dec 12 2010, 09:16AM Registered Member #6457
My advanced settings in lgsl_config.php are pretty much the default s:
//[ 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'] = 1; // 1=servers require approval OR 2=servers shown instantly $lgsl_config['public_feed'] = 1; // 1=feed requests can add new servers to your list $lgsl_config['cache_time'] = 90; // 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
Mind you I use the standalone version.
Can you post a screen shot of your lgsl_admin.php? Thats the page where you add or edit the servers you track.
if (!function_exists("fsockopen") && !$lgsl_config['feed']['method'])
{
if ((function_exists("curl_init") && function_exists("curl_setopt") && function_exists("curl_exec")))
{
$output = "<div style='text-align:center'><br /><br /><b>FSOCKOPEN IS DISABLED - YOU MUST ENABLE THE FEED OPTION</b><br /><br /></div>".lgsl_help_info(); return;
}
else
{
$output = "<div style='text-align:center'><br /><br /><b>FSOCKOPEN AND CURL ARE DISABLED - LGSL WILL NOT WORK ON THIS HOST</b><br /><br /></div>".lgsl_help_info(); return;