getInfo() does not work #3
DennisSkov
started this conversation in
General
Replies: 1 comment 3 replies
-
The $ipAddress = '34.22.86.173';
$port = 8211;
$filter = array(
'criteria' => array(
array(
'key' => 'attributes.ADDRESS_s',
'op' => 'EQUAL',
'value' => $ipAddress
),
array(
'key' => 'attributes.GAMESERVER_PORT_l',
'op' => 'EQUAL',
'value' => $port
)
)
);
$matchmaking = EOS::getMatchmaking($deploymentId, $accessToken, $filter);
var_dump($matchmaking) |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've tried all the possible combinations that I can think of but I haven't gotten the
getInfo()
function working once. It always throws an exception because the IP and post does not exist.This is one of the examples I'm using:
The IP and port from the example is just a random server from the $matchmaking array.
Any idea why it does not work? Am I doing something wrong?
Beta Was this translation helpful? Give feedback.
All reactions