mirror of
https://github.com/Znote/ZnoteAAC.git
synced 2025-04-30 19:29:22 +02:00
Tibia client 11.48 support
This commit is contained in:
parent
23425cf57d
commit
c110edf41b
@ -54,6 +54,10 @@ if($_SERVER['HTTP_USER_AGENT'] == "Mozilla/5.0" && $config['TFSVersion'] === 'TF
|
|||||||
if (strlen($account['secret']) > 5) $sessionKey .= "\n".$token."\n".floor(time() / 30);
|
if (strlen($account['secret']) > 5) $sessionKey .= "\n".$token."\n".floor(time() / 30);
|
||||||
$response = array(
|
$response = array(
|
||||||
'session' => array(
|
'session' => array(
|
||||||
|
'fpstracking' => false,
|
||||||
|
'isreturner' => true,
|
||||||
|
'returnernotification' => false,
|
||||||
|
'showrewardnews' => false,
|
||||||
'sessionkey' => $sessionKey,
|
'sessionkey' => $sessionKey,
|
||||||
'lastlogintime' => 0,
|
'lastlogintime' => 0,
|
||||||
'ispremium' => ($account['premdays'] > 0) ? true : false,
|
'ispremium' => ($account['premdays'] > 0) ? true : false,
|
||||||
@ -70,7 +74,8 @@ if($_SERVER['HTTP_USER_AGENT'] == "Mozilla/5.0" && $config['TFSVersion'] === 'TF
|
|||||||
'previewstate' => 0,
|
'previewstate' => 0,
|
||||||
'location' => 'ALL',
|
'location' => 'ALL',
|
||||||
'externaladdressunprotected' => $gameserver['ip'],
|
'externaladdressunprotected' => $gameserver['ip'],
|
||||||
'externaladdressprotected' => $gameserver['ip']
|
'externaladdressprotected' => $gameserver['ip'],
|
||||||
|
'anticheatprotection' => false
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
'characters' => array(
|
'characters' => array(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user