mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-29 18:59:21 +02:00
loginWebService use world id 0 instead of 1.
This commit is contained in:
parent
366542d249
commit
13cc920228
@ -60,7 +60,7 @@ if($_SERVER['HTTP_USER_AGENT'] == "Mozilla/5.0" && $config['TFSVersion'] === 'TF
|
|||||||
'playdata' => array(
|
'playdata' => array(
|
||||||
'worlds' => array(
|
'worlds' => array(
|
||||||
array(
|
array(
|
||||||
'id' => 1,
|
'id' => 0,
|
||||||
'name' => $gameserver['name'],
|
'name' => $gameserver['name'],
|
||||||
'externaladdress' => $gameserver['ip'],
|
'externaladdress' => $gameserver['ip'],
|
||||||
'externalport' => $gameserver['port'],
|
'externalport' => $gameserver['port'],
|
||||||
@ -74,7 +74,7 @@ if($_SERVER['HTTP_USER_AGENT'] == "Mozilla/5.0" && $config['TFSVersion'] === 'TF
|
|||||||
);
|
);
|
||||||
|
|
||||||
foreach ($players as $player) {
|
foreach ($players as $player) {
|
||||||
$response['playdata']['characters'][] = array('worldid' => 1, 'name' => $player['name']);
|
$response['playdata']['characters'][] = array('worldid' => 0, 'name' => $player['name']);
|
||||||
}
|
}
|
||||||
|
|
||||||
//error_log("= SESSION KEY: " . $response['session']['sessionkey']);
|
//error_log("= SESSION KEY: " . $response['session']['sessionkey']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user