MyBB Community Forums

Full Version: Servers board
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
(2020-05-04, 10:34 PM)olokos Wrote: [ -> ]
$gq->setOption('stream_timeout', 250000);

$gq->setOption('timeout', 5);


I've got it set up like above
Also I changed defaults to
CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
I'll report back if it worked for me, thank you!

Also just upped timeout to 15


This didnt help sadly, servers still appear as going up and down all the time, even though the uptime is near 100%.
@Supryk  I was thinking about upgrading GameQ to latest version, but this happens if I use the latest release of GameQ:
https://pastebin.com/gnJtZsfC

Probably something hardcoded within GameQ provided with serversboard?
PAID SUPPORT TAKEN +++
Try use numeric ip
Will be fixed in next version
PAID SUPPORT TAKEN +++
[Image: a.png]
[Image: sxs.png]
Does anyone update GameQ to this plugin?

I have problem with servers showing offline
Yes i did it
Old version of GameQ ( 2.0.0 ) doesn't work anymore need to be updated to 3.0.0

NOTE: Updated info ( were missing admin/config/modules/serversboard.php ) see Step 6



1) Download updated files from https://github.com/Austinb/GameQ ( src/GameQ )
2) Navigate to inc/serversboard/
3) Delete everything except index.html
4) Upload everything from ( src/GameQ )
5) Open inc/plugins/serversboard.php and edit these lines or download edited serversboard.php file

Line 100:

if(!file_exists(SERVERSBOARD_CORE_PATH."gameq.php")) 
-->
if(!file_exists(SERVERSBOARD_CORE_PATH."Autoloader.php"))


Line 946:

require_once SERVERSBOARD_CORE_PATH."gameq.php";
-->
require_once SERVERSBOARD_CORE_PATH."Autoloader.php";


Line 2201:

require_once SERVERSBOARD_CORE_PATH."gameq.php";
-->
require_once SERVERSBOARD_CORE_PATH."Autoloader.php";


Line 1044 and 1608:

$gq = new GameQ();
$gq->addServers($servers);
$gq->setOption('timeout', 5);
$gq->setFilter('normalise');
$gq->setFilter('stripcolor');
$results = $gq->requestData(); 
-->
$gq = new \GameQ\GameQ();
$gq->addServers($servers);
$gq->setOption('timeout', 5);
$results = $gq->process();


6) Open admin/config/modules/serversboard.php and edit these lines

Line 831:

require_once SERVERSBOARD_CORE_PATH."gameq.php";
				
$gq = new GameQ();
$gq->addServers($servers);
$gq->setOption('timeout', 5);
$gq->setFilter('normalise');
$gq->setFilter('stripcolor');
$results = $gq->requestData();	
->
require_once SERVERSBOARD_CORE_PATH."Autoloader.php";

$gq = new \GameQ\GameQ();
$gq->addServers($servers);
$gq->setOption('timeout', 5);
$results = $gq->process();




Files in inc/serversboard folder
[Image: vspX2y2.png]