Posts: 15 Joined: Thu Feb 10 2011, 03:01PM Registered Member #6583
Lo lads
First I,d like to say, very nice plugin, very nice indeed, I like
Had a few problems at first with a few things but I,ve read up a lot and have sorted all except 2 but I wont get to much into it because of the thread title
Im having a little trouble with when I add server ip & port in the admin page, the LGSL viewer show a different server IP. Some work great but others dont and Im not sure if its a plug in problem or teh server host providers problem with it.
I use the LGSL for a MohAA league, ( Yes it still lives lol ) and as said If I add multi server ips and ports, the plugin shows some servers with the incorrect IP, some dont show at all. Any help in this would be great cheers.
Ps: My site: www.wdkleague.com
Edit: I have also tried changing feed to 1 in the lgsl config
//[ FEED: 0=OFF 1=CURL OR FSOCKOPEN 2=FSOCKOPEN ONLY / LEAVE THE URL ALONE UNLESS YOU KNOW WHAT YOUR DOING ]
Posts: 75 Joined: Sun Nov 21 2010, 09:37AM Registered Member #6416
if i understood right, you add server IP and PORT and some are shown, others are not shown as wanted...
Did you check zone settings? Are you sure the ports are right? maybe you give me IP and port of those servers not shown and i will check it at mine lgsl... Can it be that when server is not empty the servers are not shown? Maybe the servers by itself have firewalled query ports...
The servers are running no mod? (sorry i am not so familiar with MoH)
Posts: 75 Joined: Sun Nov 21 2010, 09:37AM Registered Member #6416
okay i added all nine to my test-lgsl-site stand alone version... acutually server with ending ports 4, 5, 7 and 8 are shown online without any players on it. IP is same like configured... i will try to keep an eye on it... i send u a pm where you can check it on my site too....
Its an 8 year old game m8 lol, no worries lol
Hey, i am playing vietong2 so i know old games and i still like them
Posts: 75 Joined: Sun Nov 21 2010, 09:37AM Registered Member #6416
okay i forgot that on my site only up to 5 servers are shown...
so all servers with port from 3 up to 9 are shown correctly, servers with ports 1 and 2 (at end) are not shown online.
i have right server IPs shown...
Have you closed public server addition to lgsl? for me it looks like some others have added their servers to your site and using just same ports - thats why different IPs are shown...
Posts: 15 Joined: Thu Feb 10 2011, 03:01PM Registered Member #6583
Hmmm cheers m8, but as seen on my site, Im still having trouble Our site is e107 so I assumed it was sorted once I added the plugin but in the read me section of the Q&A I see Install other versions incuding the stand along and e107 .... I never Intalled from that end. Did I have too ?? Im new to most of this m8 but solved a good few problems anyway, but lost on this one.
Ps: Nobody else has access to add any servers other than head admins of the site including myself. those other 2 servers seen on our site are clans who are taking part in the league, so no worries there.
VC2 ??? Just as old they just dont make them like they used too.
Posts: 75 Joined: Sun Nov 21 2010, 09:37AM Registered Member #6416
hey Decks, i sent u 2 PM which are not read so far i guess it should work with e107-version. i am using it on our website too. i wrote u some more hints in PMs. You can also check the mysql-database. maybe u sent me your lgsl_config.php so i would take a look at configuration.
It is working fine on my server, so it is a server issue or some misconfiguration in my eyes. Also possible that there is an error in actual Version - i had some problems too and changed back to lgsl_protocol.php of version 5.7 and now everything works fine... But till yet i am the only one expiriencing this error. But you play similiar old game, so maybe it could be a solution for you too.
Posts: 15 Joined: Thu Feb 10 2011, 03:01PM Registered Member #6583
Sorry m8, I need to look around a bit more when I login here as I was only checking the forum, but couldnt the last day or 2 for some reason Site was down. My apologies m8 and thanks again for the replies, I,ve now replied back to you
Posts: 15 Joined: Thu Feb 10 2011, 03:01PM Registered Member #6583
Lo Mav m8, LONG TIME NO SEE ............. Some might say not long enough ....... pmsl, Nah kidding buds ........ ( Sure I still cant grrr ..... ) NASTSY FKER
Having a few probs with this plugin in with when I add an IP & port of a server within the Admin section, the port shows different on the viewer, hence a mix up on Ips ...... We did have Mac in with us helping us out and again to himself, 100% to you m8, cheers very much for everything.
We finally worked out that it could be a possible query port issue ( provider ) and this it still being worked on atm, so atm we,re still at a loss.
I add =SWE= servers ports 12201 to 12209 & some show and others dont. thos that do , some show correct Ip BUT none show correct ports.
Posts: 75 Joined: Sun Nov 21 2010, 09:37AM Registered Member #6416
yes it looked like according to many port changes due to cheaters on servers the query ports are no longer the standard ports. If you query a server on same ip but get the wrong query port (used by another server) the shown data will be the data from the wrong server... So if it is not this, i have no idea what else it may be... But i am still looking forward to the posting "YEAH we got it working now!"
Posts: 175 Joined: Sun Dec 12 2010, 09:16AM Registered Member #6457
Hi guys, may not be the issue in your case but we had a server that was showing wrong port. Turned out it was in our server configuration where we had put the wrong port number in. Once we set it right all was fine. By the way this was for an America's Army server. Good luck.
Posts: 15 Joined: Thu Feb 10 2011, 03:01PM Registered Member #6583
Cheers m8, I,d welcome any suggestions in the help with this one tbh but all our ports have been entered correctly so its not that, thanks anyway.
Our main server admin is looking into the query port issue atm just to see if it is just that, that is causing the trouble and Im also hearing we,re switching provider soon anyway. So hopefully it will sort itself out soon.
Ps: I have 4 different clan servers up now on our league site ( www.wdkleague.com ) and all seem to be working well atm. Having said that, our =SWE=Clan server sometimes doesnt work lol. It works when it wants too and is as said working now atm lol.
Posts: 15 Joined: Thu Feb 10 2011, 03:01PM Registered Member #6583
Here you buds I,ve made only a few changes myself
<?php
//------------------------------------------------------------------------------------------------------------+ //[ PREPARE CONFIG - DO NOT CHANGE OR MOVE THIS ]
global $lgsl_config; $lgsl_config = array();
//------------------------------------------------------------------------------------------------------------+ //[ FEED: 1=OFF 1=CURL OR FSOCKOPEN 2=FSOCKOPEN ONLY / LEAVE THE URL ALONE UNLESS YOU KNOW WHAT YOUR DOING ]
//------------------------------------------------------------------------------------------------------------+ //[ BACKGROUND COLORS: TEXT HARD TO READ ? CHANGE THESE TO CONTRAST THE FONT COLOR / www.colorpicker.com ]
//------------------------------------------------------------------------------------------------------------+ //[ SHOW LOCATION FLAGS: 0=OFF 1=GEO-IP "GB"=MANUALLY SET COUNTRY CODE FOR SPEED ]
$lgsl_config['locations'] = 0;
//------------------------------------------------------------------------------------------------------------+ //[ SHOW TOTAL SERVERS AND PLAYERS AT BOTTOM OF LIST: 0=OFF 1=ON ]
$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 ]
//------------------------------------------------------------------------------------------------------------+ //[ ZONE SHOWS PLAYER NAMES: 0=HIDE 1=SHOW ]
//------------------------------------------------------------------------------------------------------------+ //[ ZONE RANDOMISATION: NUMBER=MAX RANDOM SERVERS TO BE SHOWN ]
//------------------------------------------------------------------------------------------------------------+ //[ e107 VERSION: TITLES - OTHER VERSIONS ARE SET BY THE CMS ]
//------------------------------------------------------------------------------------------------------------+ //[ DATABASE SETTINGS: FOR STAND-ALONE OR TO OVERRIDE CMS DEFAULTS ]
$lgsl_config['direct_index'] = 0; // 1=link to index.php instead of the folder $lgsl_config['no_realpath'] = 0; // 1=do not use the realpath function $lgsl_config['url_path'] = ""; // full url to /lgsl_files/ for when auto detection fails
$lgsl_config['management'] = 0; // 1=show advanced management in the admin by default $lgsl_config['host_to_ip'] = 0; // 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'] = "e107"; // sets which CMS specific code to use
Btw, I came on to our site just now and the front page was screwed up, I noticed some error related to the LGSL plugin, but before my brain could work with copying what it said, I just went straight into the menus page, deactivated the lgsl1 and re activated it and the site was working again but no servers showing maps. Other then that ? No idea ........... Jesus !! pmsl .... I just rechecked my site and its screwed up again. (Brain working )
Posts: 75 Joined: Sun Nov 21 2010, 09:37AM Registered Member #6416
well thes feed missing error is caused when the feed provided by greycube is not reachable.
hmm actually i have no idea. Is it possible that the query ports maybe used by multiple servers? So it would be a misconfiguration of your provider....
On my site i set zone randomisation=0 because i dont want to show random servers, i want to show exactly that servers i want to be shown there...
Posts: 75 Joined: Sun Nov 21 2010, 09:37AM Registered Member #6416
well i just checked your lgsl-list-site, there are 4 online servers and maps are shown. that happend some times to me too, but seems to be a browser cache issue... clear browser cache, restart browser and try again...