i do something wrong ? (MasterServer) PHP

127 views
Skip to first unread message

Gamer

unread,
Nov 4, 2015, 6:55:16 AM11/4/15
to Steam Condenser
hi , i just want to Request only servers **not** full in europe ( with region code : 0x03 ) , so i use this code :

<?php

require "vendor/autoload.php";

use SteamCondenser\Servers\MasterServer;

$master = new MasterServer(MasterServer::GOLDSRC_MASTER_SERVER);
$servers = $master->getServers( 0x03 , '\full\1' );
$randomServers = $servers[array_rand($servers)];
var_dump($randomServer);

?>

but i always get The operation timed out

Sebastian Staudt

unread,
Nov 4, 2015, 1:39:39 PM11/4/15
to Steam Condenser
Hi,


It will ensure that everything is returned, even if the master server reply times out. Master servers tend to be a bit unstable.

Best regards,
    Sebastian

--
You received this message because you are subscribed to the Google Groups "Steam Condenser" group.
To unsubscribe from this group and stop receiving emails from it, send an email to steam-condens...@googlegroups.com.
To post to this group, send email to steam-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/steam-condenser/a3f63d55-357c-453f-a88f-99099a296939%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages