You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
so I did var_dump for $buffer above the while loop and it return 2 (int)
Example server:
$server = new \tltneon\LGSL\Server([
"ip" => "37.114.35.5", // server ip or hostname
"c_port" => 9051, // for players
"q_port" => 9152, // for querying
"type" => "ts3" // protocol name
]);
$server->lgsl_live_query("se"); // s - server info, e - extra data, p - players info
echo '<pre>';
print_r($server->toArray());
echo '</pre>';
But if we do like that:
$server = new \tltneon\LGSL\Server([
"ip" => "37.114.35.5", // server ip or hostname
"c_port" => 9152, // for players
"q_port" => 9152, // for querying
"type" => "ts3" // protocol name
]);
$server->lgsl_live_query("se"); // s - server info, e - extra data, p - players info
echo '<pre>';
var_dump($server->isOnline());
echo '</pre>';
setting the query port as c port is showing that the server is online, but does not return the players.
The text was updated successfully, but these errors were encountered:
I looked closer to TS3 and found that @wohahobg you're right, this is not a version problem.
Privilege settings: https://www.tsviewer.com/index.php?page=faq&id=6
I added some error messages in last commit and also tried it by myself on port 10010 - everything works. Try it
Hello again,
for some reason when using custom query port for TS3 it give
Call to a member function cutString() on int
now that's due this code
so I did var_dump for $buffer above the while loop and it return
2
(int)Example server:
But if we do like that:
setting the query port as c port is showing that the server is online, but does not return the players.
The text was updated successfully, but these errors were encountered: