Game Servers [Deleted]

Glad to hear! Be sure to leave a review if you have time :)

I've added that hover option you requested - it's in the options. As for this suggestion, I might add it for the next release (probably won't be for a few weeks)

Nice update, thank you, there is a minor issue, when I hover it makes the server name disappear. (www.47r-squad.com)
Again, thank you very much for adding this feature.
 
Nice update, thank you, there is a minor issue, when I hover it makes the server name disappear. (www.47r-squad.com)
Again, thank you very much for adding this feature.
You will need to merge the new css template (it contains two additional lines that will fix that issue). I'm not sure if XenForo will handle this automatically (maybe go to the homepage of the ACP?)
 
I am getting a error after install.

ErrorException: Fatal Error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM - library/GameServers/Model/Server.php:44
Generated By: Unknown Account, 3 minutes ago
Stack Trace
#0 [internal function]: XenForo_Application::handleFatalError('GameServers_Mod...')
#1 {main}
Request State
array(3) {
["url"] => string(39) "http://xxxxxxxxxxxx/forum/deferred.php"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(25) "/forum/admin.php?options/"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}

phpMyAdmin

Version information: 3.5.5, latest stable version: 4.1.9
 
Last edited:
Version information: 3.5.5, latest stable version: 4.1.9
This is actually your phpMyAdmin version as opposed to your php version. I think you're running php 5.2 or lower which is incompatible with this addon. That being said, you may be able to *change* your php version depending on your host.

Try the suggestion in this post:
http://xenforo.com/community/threads/game-servers-paid.64955/page-4#post-718935

If that doesn't work, if you let me know your host, I can look into it.
 
Roger That. Yeah I miss up on the it was php 5.2.17 sorry

I'll add your addon after host updates everything. Thanks bud. ;)
 
Last edited:
Is anyone using this on XenForo 1.3? Just curious to know if nothing breaks (it shouldn't) as I'm still on 1.2 for the next couple weeks.
 
With XenForo 1.3 I get this?


Server Error Log
Error Info
ErrorException: fwrite() [<a href='function.fwrite'>function.fwrite</a>]: send of 9 bytes failed with errno=1 Operation not permitted - library/GameServers/GameQ/GameQ.php:618
Generated By: Unknown Account, A moment ago
Stack Trace

#0 [internal function]: XenForo_Application::handlePhpError(8, 'fwrite() [<a hr...', '/home/xxxxxxxxxxxxxxxxx/...', 618, Array)
#1 /home/xxxxxxxxxxxxxxxxx/public_html/library/GameServers/GameQ/GameQ.php(618): fwrite(Resource id #52, '????V????')
#2 /home/xxxxxxxxxxxxxxxxx/public_html/library/GameServers/GameQ/GameQ.php(583): GameQ->sendChallenge(Array)
#3 /home/xxxxxxxxxxxxxxxxx/public_html/library/GameServers/GameQ/GameQ.php(454): GameQ->requestMulti(Array)
#4 /home/xxxxxxxxxxxxxxxxx/public_html/library/GameServers/Model/Server.php(102): GameQ->requestData()
#5 /home/xxxxxxxxxxxxxxxxx/public_html/library/GameServers/CronEntry/Update.php(18): GameServers_Model_Server->updateAllActiveServers()
#6 [internal function]: GameServers_CronEntry_Update::updateServers(Array)
#7 /home/xxxxxxxxxxxxxxxxx/public_html/library/XenForo/Model/Cron.php(356): call_user_func(Array, Array)
#8 /home/xxxxxxxxxxxxxxxxx/public_html/library/XenForo/Deferred/Cron.php(24): XenForo_Model_Cron->runEntry(Array)
#9 /home/xxxxxxxxxxxxxxxxx/public_html/library/XenForo/Model/Deferred.php(256): XenForo_Deferred_Cron->execute(Array, Array, 7.99999690056, '')
#10 /home/xxxxxxxxxxxxxxxxx/public_html/library/XenForo/Model/Deferred.php(390): XenForo_Model_Deferred->runDeferred(Array, 7.99999690056, '', false)
#11 /home/xxxxxxxxxxxxxxxxx/public_html/library/XenForo/Model/Deferred.php(335): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#12 /home/xxxxxxxxxxxxxxxxx/public_html/deferred.php(23): XenForo_Model_Deferred->run(false)
#13 {main}

Request State

array(3) {
["url"] => string(43) "http://www.xxxxxx.co/deferred.php"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(16) "/admin.php"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}
 
With XenForo 1.3 I get this?
That's actually a server issue and not to do with XenForo.

Take a look at these posts (and the subsequent ones by me) - they are of people with the same issue:
http://xenforo.com/community/threads/game-servers-paid.64955/page-2#post-686211
http://xenforo.com/community/threads/game-servers-paid.64955/page-5#post-730037

Long story short, you will have to ask your host to open the ports you're using to connect your game servers. Some hosts block basically everything by default.
 
i get this error:
ErrorException: Undefined offset: 22 - library/GameServers/GameQ/gameq/protocols/bf4.php:126
Generated By: Unknown Account, Wednesday at 8:41 PM

Code:
#0 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/GameServers/GameQ/gameq/protocols/bf4.php(126): XenForo_Application::handlePhpError(8, 'Undefined offse...', '/var/www/vhosts...', 126, Array)
#1 [internal function]: GameQ_Protocols_Bf4->process_status()
#2 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/GameServers/GameQ/gameq/protocols/core.php(594): call_user_func_array(Array, Array)
#3 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/GameServers/GameQ/GameQ.php(485): GameQ_Protocols_Core->processResponse()
#4 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/GameServers/GameQ/GameQ.php(467): GameQ->filterResponse(Object(GameQ_Protocols_Bf4))
#5 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/GameServers/Model/Server.php(102): GameQ->requestData()
#6 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/GameServers/CronEntry/Update.php(18): GameServers_Model_Server->updateAllActiveServers()
#7 [internal function]: GameServers_CronEntry_Update::updateServers(Array)
#8 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/XenForo/Model/Cron.php(356): call_user_func(Array, Array)
#9 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/XenForo/Deferred/Cron.php(24): XenForo_Model_Cron->runEntry(Array)
#10 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/XenForo/Model/Deferred.php(256): XenForo_Deferred_Cron->execute(Array, Array, 7.9999990463257, '')
#11 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/XenForo/Model/Deferred.php(390): XenForo_Model_Deferred->runDeferred(Array, 7.9999990463257, '', false)
#12 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/XenForo/Model/Deferred.php(335): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#13 /var/www/vhosts/inthegame.nl/httpdocs/forums/deferred.php(23): XenForo_Model_Deferred->run(false)
#14 {main}
Request State
Code:
array(3) {
["url"] => string(39) "http://inthegame.nl/forums/deferred.php"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(17) "/forums/forum.php"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}

and

ErrorException: Undefined offset: 23 - library/GameServers/GameQ/gameq/protocols/bf4.php:127
Generated By: Unknown Account, Wednesday at 8:41 PM

Code:
Stack Trace
#0 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/GameServers/GameQ/gameq/protocols/bf4.php(127): XenForo_Application::handlePhpError(8, 'Undefined offse...', '/var/www/vhosts...', 127, Array)
#1 [internal function]: GameQ_Protocols_Bf4->process_status()
#2 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/GameServers/GameQ/gameq/protocols/core.php(594): call_user_func_array(Array, Array)
#3 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/GameServers/GameQ/GameQ.php(485): GameQ_Protocols_Core->processResponse()
#4 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/GameServers/GameQ/GameQ.php(467): GameQ->filterResponse(Object(GameQ_Protocols_Bf4))
#5 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/GameServers/Model/Server.php(102): GameQ->requestData()
#6 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/GameServers/CronEntry/Update.php(18): GameServers_Model_Server->updateAllActiveServers()
#7 [internal function]: GameServers_CronEntry_Update::updateServers(Array)
#8 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/XenForo/Model/Cron.php(356): call_user_func(Array, Array)
#9 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/XenForo/Deferred/Cron.php(24): XenForo_Model_Cron->runEntry(Array)
#10 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/XenForo/Model/Deferred.php(256): XenForo_Deferred_Cron->execute(Array, Array, 7.9999990463257, '')
#11 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/XenForo/Model/Deferred.php(390): XenForo_Model_Deferred->runDeferred(Array, 7.9999990463257, '', false)
#12 /var/www/vhosts/inthegame.nl/httpdocs/forums/library/XenForo/Model/Deferred.php(335): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#13 /var/www/vhosts/inthegame.nl/httpdocs/forums/deferred.php(23): XenForo_Model_Deferred->run(false)
#14 {main}

Code:
Request State
array(3) {
["url"] => string(39) "http://inthegame.nl/forums/deferred.php"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(17) "/forums/forum.php"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
 
i get this error:
How often do you get these errors? I used to get similar ones about once every month, and so I didn't really worry about it.

This is a GameQ issue, but looking at the code, it seems that these errors are being caused because the battlefield 4 query protocol documentation is wrong.

In any case, you should be able to fix this manually:

1. Open library/GameServers/GameQ/gameq/protocols/bf4.php

2. Go to lines 126-127 and find this:
PHP:
$result->add('blaze_player_count', $words[$index_current + 13]);
$result->add('blaze_game_state', $words[$index_current + 14]);


2. Replace it with
PHP:
//$result->add('blaze_player_count', $words[$index_current + 13]);
//$result->add('blaze_game_state', $words[$index_current + 14]);


I will probably add this to the next update. Let me know if it works.
 
sometimes once every day sometimes a few days nothing and then it starts again.

For now i applied your manual fix, will let you know if that solves it.
 
Getting this on one server:
Code:
Error Info
ErrorException: fwrite(): send of 9 bytes failed with errno=1 Operation not permitted - library/GameServers/GameQ/GameQ.php:618
Generated By: Unknown Account, A moment ago
Stack Trace
#0 [internal function]: XenForo_Application::handlePhpError(8, 'fwrite(): send ...', '/home/n3tflix/p...', 618, Array)
#1 /home/n3tflix/public_html/frustratedgamers.com/library/GameServers/GameQ/GameQ.php(618): fwrite(Resource id #104, '????V????')
#2 /home/n3tflix/public_html/frustratedgamers.com/library/GameServers/GameQ/GameQ.php(583): GameQ->sendChallenge(Array)
#3 /home/n3tflix/public_html/frustratedgamers.com/library/GameServers/GameQ/GameQ.php(454): GameQ->requestMulti(Array)
#4 /home/n3tflix/public_html/frustratedgamers.com/library/GameServers/Model/Server.php(102): GameQ->requestData()
#5 /home/n3tflix/public_html/frustratedgamers.com/library/GameServers/CronEntry/Update.php(18): GameServers_Model_Server->updateAllActiveServers()
#6 [internal function]: GameServers_CronEntry_Update::updateServers(Array)
#7 /home/n3tflix/public_html/frustratedgamers.com/library/XenForo/Model/Cron.php(356): call_user_func(Array, Array)
#8 /home/n3tflix/public_html/frustratedgamers.com/library/XenForo/Deferred/Cron.php(24): XenForo_Model_Cron->runEntry(Array)
#9 /home/n3tflix/public_html/frustratedgamers.com/library/XenForo/Model/Deferred.php(256): XenForo_Deferred_Cron->execute(Array, Array, 7.9999969005585, '')
#10 /home/n3tflix/public_html/frustratedgamers.com/library/XenForo/Model/Deferred.php(390): XenForo_Model_Deferred->runDeferred(Array, 7.9999969005585, '', false)
#11 /home/n3tflix/public_html/frustratedgamers.com/library/XenForo/Model/Deferred.php(335): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#12 /home/n3tflix/public_html/frustratedgamers.com/deferred.php(23): XenForo_Model_Deferred->run(false)
#13 {main}
Request State
array(3) {
["url"] => string(40) "http://frustratedgamers.com/deferred.php"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(10) "/admin.php"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}
Now it will show 0/0 for the server but the server is up and you can connect to it via the "join" link in the server list.
 
Top Bottom