Hallo,
ich habe ein Problem mit meinen Client ,
External Variables :
External Texts :
SWF Path :
Was muss ich dort reinsetzten ,
was muss ich alles bearbeiten das andere User im Client einchecken können?
Und wie muss ich das machen soweit ich weißt muss man noch die client.php bearbeiten ..
Hilfe so schnell wie möglich
Hier die Client datei :
<?php
define('USERNAME_REQUIRED', FALSE);
define('ACCOUNT_REQUIRED', FALSE);
include('../global.php');
?>
<?php
$webbuild = $core->SetWebBuild();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<?php
$rand1 = rand(100000, 999999);
$rand2 = rand(10000, 99999);
$rand3 = rand(10000, 99999);
$rand4 = rand(10000, 99999);
$rand5 = rand(10000, 99999);
$rand6 = rand(1, 9);
$ticket = "ST-".$rand1."-".$rand2.$rand3."-".$rand4.$rand5."-otaku-".$rand6;
$username = $_SESSION['username'];
if(@$_GET['ticket'] && @$_GET['username'] && $users->UserPermission('hk_ext_login', $_SESSION['username']))
{
$username = $_GET['username'];
$ticket = $_GET['ticket'];
}
$query = mysql_query("UPDATE users SET auth_ticket = '$ticket' WHERE username = '$username'");
$query = mysql_query("UPDATE users SET ip_last = '".$_SERVER['REMOTE_ADDR']."' WHERE username = '$username'");
?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title><?php echo $sitename." - Client"; ?></title>
<link rel="shortcut icon" href="http://images.habbo.com/habboweb/<?php echo $webbuild; ?>/web-gallery/v2/favicon.ico" type="image/vnd.microsoft.icon" />
<link rel="alternate" type="application/rss+xml" title="Habbo Hotel: RSS" href="http://www.habbo.nl/articles/rss.xml" />
<meta name="csrf-token" content="67227055e0"/>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $webbuild; ?>/web-gallery/static/styles/common.css" type="text/css" />
<script src="http://images.habbo.com/habboweb/<?php echo $webbuild; ?>/web-gallery/static/js/libs2.js" type="text/javascript"></script>
<script src="http://images.habbo.com/habboweb/<?php echo $webbuild; ?>/web-gallery/static/js/visual.js" type="text/javascript"></script>
<script src="http://images.habbo.com/habboweb/<?php echo $webbuild; ?>/web-gallery/static/js/libs.js" type="text/javascript"></script>
<script src="http://images.habbo.com/habboweb/<?php echo $webbuild; ?>/web-gallery/static/js/common.js" type="text/javascript"></script>
<script src="http://images.habbo.com/habboweb/<?php echo $webbuild; ?>/web-gallery/static/js/landing.js" type="text/javascript"></script>
<script type="text/javascript">
var ad_keywords = "";
var ad_key_value = "";
</script>
<script type="text/javascript">
document.habboLoggedIn = true;
var habboName = "<?php echo $_SESSION['username']; ?>";
var facebookUser = false;
var habboReqPath = "<?php echo $core->CmsSetting('cms_url'); ?>";
var habboStaticFilePath = "http://images.habbo.com/habboweb/<?php echo $webbuild; ?>/web-gallery";
var habboImagerUrl = "http://www.habbo.nl/habbo-imaging/";
var habboPartner = "";
var habboDefaultClientPopupUrl = "<?php echo $core->CmsSetting('cms_url'); ?>/client";
window.name = "ClientWndw";
if (typeof HabboClient != "undefined") {
HabboClient.windowName = "ClientWndw";
HabboClient.maximizeWindow = true;
}
</script>
<noscript>
<meta http-equiv="refresh" content="0;url=/client/nojs" />
</noscript>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $webbuild; ?>/web-gallery/static/styles/habboflashclient.css" type="text/css" />
<script src="../HHNewLoader/Loader.js" type="text/javascript"></script>
<script src="..//HHNewLoader/habboflashclient.js" type="text/javascript"></script>
<script type="text/javascript">
FlashExternalInterface.loginLogEnabled = false;
FlashExternalInterface.logLoginStep("web.view.start");
if (top == self) {
FlashHabboClient.cacheCheck();
}
var flashvars = {
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "1",
"connection.info.host" : "<?php echo $core->CmsSetting('client_ip'); ?>",
"connection.info.port" : "<?php echo $core->CmsSetting('client_port'); ?>",
"site.url" : "<?php echo $core->CmsSetting('cms_url'); ?>",
"url.prefix" : "<?php echo $core->CmsSetting('cms_url'); ?>",
"client.reload.url" : "<?php echo $core->CmsSetting('cms_url'); ?>/client",
"client.fatal.error.url" : "<?php echo $core->CmsSetting('cms_url'); ?>/client/disconnected.php",
"client.connection.failed.url" : "<?php echo $core->CmsSetting('cms_url'); ?>/client/disconnected.php",
"external.variables.txt" : "<?php echo $core->CmsSetting('client_variables'); ?>",
"external.texts.txt" : "<?php echo $core->CmsSetting('client_texts'); ?>",
"use.sso.ticket" : "1",
"sso.ticket" : "<?php echo $ticket ?>",
"processlog.enabled" : "0",
"account_id" : "1",
"client.starting" : "Onze piccolo sleept je koffers naar Zengo!",
"flash.client.url" : "<?php echo $core->CmsSetting('client_swf_path'); ?>/",
"user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
"has.identity" : "0",
"flash.client.origin" : "popup",
"token" : "<?php echo $ticket ?>"
};
var params = {
"base" : "<?php echo $core->CmsSetting('client_swf_path'); ?>/",
"allowScriptAccess" : "always",
"menu" : "false",
"bgcolor" : "#000",
"wmode" : "transparent"
};
params["wmode"] = "opaque";
FlashExternalInterface.signoutUrl = "<?php echo $core->CmsSetting('cms_url'); ?>/logout.php";
var clientUrl = "<?php echo $core->CmsSetting('client_habbo_swf'); ?>";
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/<?php echo $webbuild; ?>/web-gallery/flash/expressInstall.swf", flashvars, params, null, FlashExternalInterface.embedSwfCallback);
window.onbeforeunload = unloading;
function unloading() {
var clientObject;
if (navigator.appName.indexOf("Microsoft") != -1) {
clientObject = window["flash-container"];
} else {
clientObject = document["flash-container"];
}
try {
clientObject.unloading();
} catch (e) {}
}
window.onresize = function() {
HabboClient.storeWindowSize();
}.debounce(0.5);
</script>
<!--[if IE 8]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $webbuild; ?>/web-gallery/static/styles/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $webbuild; ?>/web-gallery/static/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $webbuild; ?>/web-gallery/static/styles/ie6.css" type="text/css" />
<script src="http://images.habbo.com/habboweb/<?php echo $webbuild; ?>/web-gallery/static/js/pngfix.js" type="text/javascript"></script>
<script type="text/javascript">
try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}
</script>
<style type="text/css">
body { behavior: url(/js/csshover.htc); }
</style>
<![endif]-->
<meta name="build" content="63-BUILD695 - 31.08.2011 11:16 - nl" />
</head>
<body id="client" class="flashclient">
<div id="overlay"></div>
<img src="http://images.habbo.com/habboweb/<?php echo $webbuild; ?>/web-gallery/v2/images/page_loader.gif" style="position:absolute; margin: -1500px;" />
<link rel="stylesheet" type="text/css" href="../Public/Styles/Default/CSS/main.css">
<?php if($users->UserInfo($username, 'header_client') == "0"){ ?>
<style type="text/css">
#user_avatar {
height: 65px;
width: 64px;
float: left;
margin-top: -16px;
}
.avatar_placement {
background: url(http://www.habbo.com/habbo-imaging/avatarimage?figure=<?php echo $users->UserInfo($username, 'look'); ?>&action=wav&gesture=sml);
}
</style>
<div id="top">
<div id="topbar">
<img src="../Public/Styles/Default/Images/logo_mini.png" style="float:left; padding-left:5px; padding-top: 12px;">
<p id="text"> Ingelogt als, <?php echo $users->UserInfo($username, 'username'); ?>
<div id="user_avatar" class="avatar_placement"></div>
</p>
<div id="right" style="margin-top: -24px;">
<table width="350" border="0">
<tbody><tr>
<td><img src="../Public/Styles/Default/Images/tab_icon_05_fun.gif"></td>
<td><span id="users">
<?php
$userq_tellup = mysql_query("SELECT * FROM users WHERE online = '1' ORDER BY id ASC");
$user_tellup = mysql_num_rows($userq_tellup);
?>
<?php if($user_tellup == 0){ ?>Er zijn geen gebruikers Online
<?php }elseif($user_tellup == 1){ ?>Er is 1 gebruiker Online
<?php }elseif($user_tellup > 1){ ?>Er zijn <?php echo $user_tellup; ?> gebruikers Online<?php } ?>
</span>
</td>
<td><img src="../Public/Styles/Default/Images/tab_icon_05_fun.gif"></td>
<td><a href="../vip.php" target="_new">Koop VIP</a></td>
<td></td>
<td></td>
</tr>
</tbody></table>
<div style="clear:both;"></div>
</div>
</div>
</div>
<?php } ?>
<div id="overlay"></div>
<div id="client-ui" style=" <?php if($users->UserInfo($username, 'header_client') == "0"){ ?>height: 94.9%;<?php } ?>position: bottom;">
<div id="flash-wrapper">
<div id="flash-container">
<div id="content" style="width: 400px; margin: 20px auto 0 auto; display: none">
<div class="cbb clearfix">
<h2 class="title">Installeer alsjeblieft de meest recente versie van de Adobe Flash Player</h2>
<div class="box-content">
<p>Je hebt de Adobe Flash Player nodig om de Beta te testen. Je kan deze vanaf de volgende link downloaden en installeren: <br><br>
<a target ="blank"href="http://get.adobe.com/flashplayer/">Installeer Adobe Flash Player</a>.<br><br>
Klik op 'Agree and install now' om de installatie te starten. Op deze <a target="blank" href="http://www.adobe.com/products/flash…o/instructions/">pagina</a> vind je een Engelse instructie voor bij de installatie.</p>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://images.habbo.com/habboweb/<?php echo $webbuild; ?>/web-gallery/v2/images/client/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
</div>
</div>
</div>
<script type="text/javascript">
$('content').show();
</script>
<noscript>
<div style="width: 400px; margin: 20px auto 0 auto; text-align: center">
<p>If you are not automatically redirected, please <a href="/client/nojs">click here</a></p>
</div>
</noscript>
</div>
</div>
<!--div id="content" class="client-content"></div-->
</div>
<script type="text/javascript">
RightClick.init("flash-wrapper", "flash-container");
if (window.opener && window.opener != window && window.opener.location.href == "/") {
window.opener.location.replace("/me");
}
$(document.body).addClassName("js");
HabboClient.startPingListener();
Pinger.start(true);
HabboClient.resizeToFitScreenIfNeeded();
</script>
<script language="JavaScript" type="text/javascript">
getFingerprint();
</script>
<script type="text/javascript">
HabboView.run();
</script>
<script type="text/javascript">
jjLoader.init('client', 6, '../Public/Styles/Default/Images/logo2.gif', '../Public/Styles/Default/Images/home_hotel_vieuw.png');
</script>
</body>
</html>