Tibia client 11.49.5921 support (#323)

Adds additional login-session-data that was introduced in the Tibia 11.49.5921 client update.
This commit is contained in:
Joseph Bingham 2018-05-24 12:43:48 +01:00 committed by Stefan A. Brannfjell
parent f72815e23d
commit b6f30e63fc

View File

@ -55,6 +55,7 @@ if($_SERVER['HTTP_USER_AGENT'] == "Mozilla/5.0" && $config['TFSVersion'] === 'TF
$response = array( $response = array(
'session' => array( 'session' => array(
'fpstracking' => false, 'fpstracking' => false,
'optiontracking' => false,
'isreturner' => true, 'isreturner' => true,
'returnernotification' => false, 'returnernotification' => false,
'showrewardnews' => false, 'showrewardnews' => false,
@ -75,6 +76,8 @@ if($_SERVER['HTTP_USER_AGENT'] == "Mozilla/5.0" && $config['TFSVersion'] === 'TF
'location' => 'ALL', 'location' => 'ALL',
'externaladdressunprotected' => $gameserver['ip'], 'externaladdressunprotected' => $gameserver['ip'],
'externaladdressprotected' => $gameserver['ip'], 'externaladdressprotected' => $gameserver['ip'],
'externalportunprotected' => $gameserver['port'],
'externalportprotected' => $gameserver['port'],
'anticheatprotection' => false 'anticheatprotection' => false
) )
), ),