Problema risolto Client Nero - New Crypto

Woozie_

Utente Medio
Autore del topic
15 Luglio 2011
124
30
Miglior risposta
0
Salve a tutti stavo creando un retro nel mio VPS solo che quando provo ad accedere il client mi da la solita e noiosa schermata nera. Utilizzo Hubix Pack V5, suoi dcr, suo db e il suo Emulatore.

Secondo me le configurazioni sono corrette, in tal caso le posto:

seasonalcurrencyindicator.currency=103
seasonalcurrencyindicator.enabled=false
seasonalcurrencyindicator.page=diamonds

ads.domain=MIOIP
roomenterad.habblet.enabled=false

diamonds.enabled=true
camera.enabled=true
builders.club.enabled=false
toolbar.stories.enabled=false

supersaverads.video.promo.development.mode=false
supersaverads.video.promo.enabled=false

offers.enabled=false
offers.sponsorpay.appid=0
offers.supersonic.enabled=false

avatareditor.promohabbos=
Perfavore, Entra oppure Registrati per vedere i Link!


game.center.default_game=basejump
game.center.enabled=true
game.center.promoted_game=basejump

embed.showInRoomInfo=true
sms.identity.verification.button.enabled=false
sms.identity.verification.enabled=false

multi.item.trading.enabled=true

disabled.custom.chat.styles=

flash.dynamic.download.name.template=%typeid%.swf
flash.dynamic.download.url=
Perfavore, Entra oppure Registrati per vedere i Link!

flash.dynamic.avatar.download.configuration=
Perfavore, Entra oppure Registrati per vedere i Link!

group.badge.url=
Perfavore, Entra oppure Registrati per vedere i Link!


habbopages.url=
Perfavore, Entra oppure Registrati per vedere i Link!


flash.client.url=
Perfavore, Entra oppure Registrati per vedere i Link!

external.texts.txt=
Perfavore, Entra oppure Registrati per vedere i Link!

external.override.texts.txt=
Perfavore, Entra oppure Registrati per vedere i Link!

external.override.variables.txt=
Perfavore, Entra oppure Registrati per vedere i Link!

productdata.load.url=
Perfavore, Entra oppure Registrati per vedere i Link!

furnidata.load.url=
Perfavore, Entra oppure Registrati per vedere i Link!

<?php
/*
###############################################################################################
# #
# _ _ _ _ _____ __ __ _____ #
# | | | | | | | | / ____| \/ |/ ____| #
# | |__| | __ _ __| | __| | ___ | | | \ / | (___ #
# | __ |/ _` |/ _` |/ _` |/ _ \| | | |\/| |\___ \ #
# | | | | (_| | (_| | (_| | (_) | |____| | | |____) | #
# |_| |_|\__,_|\__,_|\__,_|\___/ \_____|_| |_|_____/ #
# #
# #
# © HaddoCMS ~ Made by Impossibol and Raikas77 #
# This cms is made for habbo related retro hotels/sites. #
# Please, don't claim this Control Management System as your #
# own made cms. #
# #
###############################################################################################
*/

$myClientEmulator = 0;

$LOGIN_TRUE = true;
include("./global.php");

if($_USER["AVATAR"]["rank"] >= 6 && $_SESSION['codestaff'] != true){
header('location:../codestaff');
exit;
}

// FUNZIONI //

function FilterText($str, $advanced=false) {
if($advanced == true){ return mysql_real_escape_string($str); }
$str = mysql_real_escape_string(htmlspecialchars($str));
return $str;
}

$ticket = SSOTicket();



$:emoji_relieved: = $conn->query('UPDATE users SET auth_ticket = "'.$ticket.'", last_online = "'.time().'", ip_last = "'.$ipinc.'" WHERE id = "'.$_USER["AVATAR"]["id"].'"');

$forward = 0;
$:emoji_relieved: = FilterText($_GET['roomId']);
$friend_id = FilterText($_GET['friendId']);
if(isset($:emoji_relieved:)){
$roomid = FilterText($_GET['roomId']);
$checksql = $conn->query("SELECT roomtype FROM rooms WHERE id = '".$roomid."' LIMIT 1");
$roomexists = $checksql->num_rows;
if($roomexists > 0){
$roominfo = $checksql->fetch_array();
$forward = 1;
if($roominfo['roomtype'] == 'public')
$forward_type = 1;
else
$forward_type = 2;
}
}

function on_iis() {
$sSoftware = strtolower( $_SERVER["SERVER_SOFTWARE"] );
if ( strpos($sSoftware, "microsoft-iis") !== false )
return true;
else
return false;
}

// FINE FUNZIONI //
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
Perfavore, Entra oppure Registrati per vedere i Link!
">
<html xmlns="
Perfavore, Entra oppure Registrati per vedere i Link!
" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Hotel: Gioca!</title>
<script type="text/javascript">
var andSoItBegins = (new Date()).getTime();
var ad_keywords = "";
document.habboLoggedIn = true;
var habboName = "<?php echo $_USER["AVATAR"]["username"]; ?>";
var habboReqPath = "<?php echo $_WEBSITE["CMS"]["url"] ?>";
var habboStaticFilePath = "<?php echo $_WEBSITE["CMS"]["url"] ?>/images";
var habboImagerUrl = "<?php echo $_WEBSITE["CMS"]["url"] ?>/habbo-imaging/";
var habboPartner = "";
var habboDefaultClientPopupUrl = "<?php echo $_WEBSITE["CMS"]["url"] ?>/client";
window.name = "habboMain";
if (typeof HabboClient != "undefined") { HabboClient.windowName = "haddoClientWnd"; }
</script>
<script src="
Perfavore, Entra oppure Registrati per vedere i Link!
" type="text/javascript"></script>
<script src="
Perfavore, Entra oppure Registrati per vedere i Link!
" type="text/javascript"></script>
<link rel="shortcut icon" href="favicon.ico" type="image/vnd.microsoft.icon" />
<link href='
Perfavore, Entra oppure Registrati per vedere i Link!
' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="../assets/styles/style.css" type="text/css" />
<link rel="stylesheet" href="../assets/styles/home.css" type="text/css"/>
<link rel="stylesheet" href="../assets/styles/other.css" type="text/css"/>
<link rel="stylesheet" href="../assets/styles/backgrounds.css" type="text/css"/>
<link rel="stylesheet" href="../assets//stickers.css" type="text/css"/>
<link rel="stylesheet" href="../assets/styles/lightwindow.css" type="text/css"/>
<link rel="stylesheet" href="../assets/styles/group.css" type="text/css"/>
<link rel="stylesheet" href="../assets/styles/assets.css" type="text/css"/>
<script src="../assets/js/libs2.js" type="text/javascript"></script>
<script src="../assets/js/visual.js" type="text/javascript"></script>
<script src="../assets/js/libs.js" type="text/javascript"></script>
<script src="../assets/js/common.js" type="text/javascript"></script>
<script src="../assets/js/fullcontent.js" type="text/javascript"></script>
<script src="../assets/js/homeview.js" type="text/javascript"></script>
<script src="../assets/js/homeauth.js" type="text/javascript"></script>

<link rel="stylesheet" href="../assets/styles/habboclient.css" type="text/css"/>
<link rel="stylesheet" href="../assets/styles/habboflashclient.css" type="text/css"/>

</head><script language=JavaScript>
var message="";
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
</script>

<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//
Perfavore, Entra oppure Registrati per vedere i Link!


ga('create', 'UA-23913079-4', 'haddohotel.it');
ga('send', 'pageview');
</script>
<script>
var swfobject=function(){var aq="undefined",aD="object",ab="Shockwave Flash",X="ShockwaveFlash.ShockwaveFlash",aE="application/x-shockwave-flash",ac="SWFObjectExprInst",ax="onreadystatechange",af=window,aL=document,aB=navigator,aa=false,Z=[aN],aG=[],ag=[],al=[],aJ,ad,ap,at,ak=false,aU=false,aH,an,aI=true,ah=function(){var a=typeof aL.getElementById!=aq&&typeof aL.getElementsByTagName!=aq&&typeof aL.createElement!=aq,e=aB.userAgent.toLowerCase(),c=aB.platform.toLowerCase(),h=c?/win/.test(c):/win/.test(e),j=c?/mac/.test(c):/mac/.test(e),g=/webkit/.test(e)?parseFloat(e.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,d=!+"\v1",f=[0,0,0],k=null;if(typeof aB.plugins!=aq&&typeof aB.plugins[ab]==aD){k=aB.plugins[ab].description;if(k&&!(typeof aB.mimeTypes!=aq&&aB.mimeTypes[aE]&&!aB.mimeTypes[aE].enabledPlugin)){aa=true;d=false;k=k.replace(/^.*\s+(\S+\s+\S+$)/,"$1");f[0]=parseInt(k.replace(/^(.*)\..*$/,"$1"),10);f[1]=parseInt(k.replace(/^.*\.(.*)\s.*$/,"$1"),10);f[2]=/[a-zA-Z]/.test(k)?parseInt(k.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof af.ActiveXObject!=aq){try{var i=new ActiveXObject(X);if(i){k=i.GetVariable("$version");if(k){d=true;k=k.split(" ")[1].split(",");f=[parseInt(k[0],10),parseInt(k[1],10),parseInt(k[2],10)]}}}catch(b){}}}
return{w3:a,pv:f,wk:g,ie:d,win:h,mac:j}}(),aK=function(){if(!ah.w3){return}
if((typeof aL.readyState!=aq&&aL.readyState=="complete")||(typeof aL.readyState==aq&&(aL.getElementsByTagName("body")[0]||aL.body))){aP()}
if(!ak){if(typeof aL.addEventListener!=aq){aL.addEventListener("DOMContentLoaded",aP,false)}
if(ah.ie&&ah.win){aL.attachEvent(ax,function(){if(aL.readyState=="complete"){aL.detachEvent(ax,arguments.callee);aP()}});if(af==top){(function(){if(ak){return}
try{aL.documentElement.doScroll("left")}catch(a){setTimeout(arguments.callee,0);return}
aP()})()}}
if(ah.wk){(function(){if(ak){return}
if(!/loaded|complete/.test(aL.readyState)){setTimeout(arguments.callee,0);return}
aP()})()}
aC(aP)}}();function aP(){if(ak){return}
try{var b=aL.getElementsByTagName("body")[0].appendChild(ar("span"));b.parentNode.removeChild(b)}catch(a){return}
ak=true;var d=Z.length;for(var c=0;c<d;c++){Z[c]()}}
function aj(a){if(ak){a()}else{Z[Z.length]=a}}
function aC(a){if(typeof af.addEventListener!=aq){af.addEventListener("load",a,false)}else{if(typeof aL.addEventListener!=aq){aL.addEventListener("load",a,false)}else{if(typeof af.attachEvent!=aq){aM(af,"onload",a)}else{if(typeof af.onload=="function"){var b=af.onload;af.onload=function(){b();a()}}else{af.onload=a}}}}}
function aN(){if(aa){Y()}else{am()}}
function Y(){var d=aL.getElementsByTagName("body")[0];var b=ar(aD);b.setAttribute("type",aE);var a=d.appendChild(b);if(a){var c=0;(function(){if(typeof a.GetVariable!=aq){var e=a.GetVariable("$version");if(e){e=e.split(" ")[1].split(",");ah.pv=[parseInt(e[0],10),parseInt(e[1],10),parseInt(e[2],10)]}}else{if(c<10){c++;setTimeout(arguments.callee,10);return}}
d.removeChild(b);a=null;am()})()}else{am()}}
function am(){var g=aG.length;if(g>0){for(var h=0;h<g;h++){var c=aG[h].id;var l=aG[h].callbackFn;var a={success:false,id:c};if(ah.pv[0]>0){var i=aS(c);if(i){if(ao(aG[h].swfVersion)&&!(ah.wk&&ah.wk<312)){ay(c,true);if(l){a.success=true;a.ref=av(c);l(a)}}else{if(aG[h].expressInstall&&au()){var e={};e.data=aG[h].expressInstall;e.width=i.getAttribute("width")||"0";e.height=i.getAttribute("height")||"0";if(i.getAttribute("class")){e.styleclass=i.getAttribute("class")}
if(i.getAttribute("align")){e.align=i.getAttribute("align")}
var f={};var d=i.getElementsByTagName("param");var k=d.length;for(var j=0;j<k;j++){if(d[j].getAttribute("name").toLowerCase()!="movie"){f[d[j].getAttribute("name")]=d[j].getAttribute("value")}}
ae(e,f,c,l)}else{aF(i);if(l){l(a)}}}}}else{ay(c,true);if(l){var b=av(c);if(b&&typeof b.SetVariable!=aq){a.success=true;a.ref=b}
l(a)}}}}}
function av(b){var d=null;var c=aS(b);if(c&&c.nodeName=="OBJECT"){if(typeof c.SetVariable!=aq){d=c}else{var a=c.getElementsByTagName(aD)[0];if(a){d=a}}}
return d}
function au(){return!aU&&ao("6.0.65")&&(ah.win||ah.mac)&&!(ah.wk&&ah.wk<312)}
function ae(f,d,h,e){aU=true;ap=e||null;at={success:false,id:h};var a=aS(h);if(a){if(a.nodeName=="OBJECT"){aJ=aO(a);ad=null}else{aJ=a;ad=h}
f.id=ac;if(typeof f.width==aq||(!/%$/.test(f.width)&&parseInt(f.width,10)<310)){f.width="310"}
if(typeof f.height==aq||(!/%$/.test(f.height)&&parseInt(f.height,10)<137)){f.height="137"}
aL.title=aL.title.slice(0,47)+" - Flash Player Installation";var b=ah.ie&&ah.win?"ActiveX":"PlugIn",c="MMredirectURL="+ af.location.toString().replace(/&/g,"%26")+"&MMplayerType="+ b+"&MMdoctitle="+ aL.title;if(typeof d.flashvars!=aq){d.flashvars+="&"+ c}else{d.flashvars=c}if(ah.ie&&ah.win&&a.readyState!=4){var g=ar("div");h+="SWFObjectNew";g.setAttribute("id",h);a.parentNode.insertBefore(g,a);a.style.display="none";(function(){if(a.readyState==4){a.parentNode.removeChild(a)}else{setTimeout(arguments.callee,10)}})()}
aA(f,d,h)}}
function aF(a){if(ah.ie&&ah.win&&a.readyState!=4){var b=ar("div");a.parentNode.insertBefore(b,a);b.parentNode.replaceChild(aO(a),b);a.style.display="none";(function(){if(a.readyState==4){a.parentNode.removeChild(a)}else{setTimeout(arguments.callee,10)}})()}else{a.parentNode.replaceChild(aO(a),a)}}
function aO(b){var d=ar("div");if(ah.win&&ah.ie){d.innerHTML=b.innerHTML}else{var e=b.getElementsByTagName(aD)[0];if(e){var a=e.childNodes;if(a){var f=a.length;for(var c=0;c<f;c++){if(!(a[c].nodeType==1&&a[c].nodeName=="PARAM")&&!(a[c].nodeType==8)){d.appendChild(a[c].cloneNode(true))}}}}}
return d}
function aA(e,g,c){var d,a=aS(c);if(ah.wk&&ah.wk<312){return d}
if(a){if(typeof e.id==aq){e.id=c}
if(ah.ie&&ah.win){var f="";for(var i in e){if(e!=Object.prototype){if(i.toLowerCase()=="data"){g.movie=e}else{if(i.toLowerCase()=="styleclass"){f+=' class="'+ e+'"'}else{if(i.toLowerCase()!="classid"){f+=" "+ i+'="'+ e+'"'}}}}}
var h="";for(var j in g){if(g[j]!=Object.prototype[j]){h+='<param name="'+ j+'" value="'+ g[j]+'" />'}}
a.outerHTML='<object classid="clsid:emoji_smiley:27CDB6E-AE6D-11cf-96B8-444553540000"'+ f+">"+ h+"</object>";ag[ag.length]=e.id;d=aS(e.id)}else{var b=ar(aD);b.setAttribute("type",aE);for(var k in e){if(e[k]!=Object.prototype[k]){if(k.toLowerCase()=="styleclass"){b.setAttribute("class",e[k])}else{if(k.toLowerCase()!="classid"){b.setAttribute(k,e[k])}}}}
for(var l in g){if(g[l]!=Object.prototype[l]&&l.toLowerCase()!="movie"){aQ(b,l,g[l])}}
a.parentNode.replaceChild(b,a);d=b}}
return d}
function aQ(b,d,c){var a=ar("param");a.setAttribute("name",d);a.setAttribute("value",c);b.appendChild(a)}
function aw(a){var b=aS(a);if(b&&b.nodeName=="OBJECT"){if(ah.ie&&ah.win){b.style.display="none";(function(){if(b.readyState==4){aT(a)}else{setTimeout(arguments.callee,10)}})()}else{b.parentNode.removeChild(b)}}}
function aT(a){var b=aS(a);if(b){for(var c in b){if(typeof b[c]=="function"){b[c]=null}}
b.parentNode.removeChild(b)}}
function aS(a){var c=null;try{c=aL.getElementById(a)}catch(b){}
return c}
function ar(a){return aL.createElement(a)}
function aM(a,c,b){a.attachEvent(c,b);al[al.length]=[a,c,b]}
function ao(a){var b=ah.pv,c=a.split(".");c[0]=parseInt(c[0],10);c[1]=parseInt(c[1],10)||0;c[2]=parseInt(c[2],10)||0;return(b[0]>c[0]||(b[0]==c[0]&&b[1]>c[1])||(b[0]==c[0]&&b[1]==c[1]&&b[2]>=c[2]))?true:false}
function az(b,f,a,c){if(ah.ie&&ah.mac){return}
var e=aL.getElementsByTagName("head")[0];if(!e){return}
var g=(a&&typeof a=="string")?a:"screen";if(c){aH=null;an=null}
if(!aH||an!=g){var d=ar("style");d.setAttribute("type","text/css");d.setAttribute("media",g);aH=e.appendChild(d);if(ah.ie&&ah.win&&typeof aL.styleSheets!=aq&&aL.styleSheets.length>0){aH=aL.styleSheets[aL.styleSheets.length- 1]}
an=g}
if(ah.ie&&ah.win){if(aH&&typeof aH.addRule==aD){aH.addRule(b,f)}}else{if(aH&&typeof aL.createTextNode!=aq){aH.appendChild(aL.createTextNode(b+" {"+ f+"}"))}}}
function ay(a,c){if(!aI){return}
var b=c?"visible":"hidden";if(ak&&aS(a)){aS(a).style.visibility=b}else{az("#"+ a,"visibility:"+ b)}}
function ai(b){var a=/[\\\"<>\.;]/;var c=a.exec(b)!=null;return c&&typeof encodeURIComponent!=aq?encodeURIComponent(b):b}
var aR=function(){if(ah.ie&&ah.win){window.attachEvent("onunload",function(){var a=al.length;for(var b=0;b<a;b++){al[0].detachEvent(al[1],al[2])}
var d=ag.length;for(var c=0;c<d;c++){aw(ag[c])}
for(var e in ah){ah[e]=null}
ah=null;for(var f in swfobject){swfobject[f]=null}
swfobject=null})}}();return{registerObject:function(a,e,c,b){if(ah.w3&&a&&e){var d={};d.id=a;d.swfVersion=e;d.expressInstall=c;d.callbackFn=b;aG[aG.length]=d;ay(a,false)}else{if(b){b({success:false,id:a})}}},getObjectById:function(a){if(ah.w3){return av(a)}},embedSWF:function(k,e,h,f,c,a,b,i,g,j){var d={success:false,id:e};if(ah.w3&&!(ah.wk&&ah.wk<312)&&k&&e&&h&&f&&c){ay(e,false);aj(function(){h+="";f+="";var q={};if(g&&typeof g===aD){for(var o in g){q[o]=g[o]}}
q.data=k;q.width=h;q.height=f;var n={};if(i&&typeof i===aD){for(var p in i){n[p]=i[p]}}
if(b&&typeof b===aD){for(var l in b){if(typeof n.flashvars!=aq){n.flashvars+="&"+ l+"="+ b[l]}else{n.flashvars=l+"="+ b[l]}}}
if(ao(c)){var m=aA(q,n,e);if(q.id==e){ay(e,true)}
d.success=true;d.ref=m}else{if(a&&au()){q.data=a;ae(q,n,e,j);return}else{ay(e,true)}}if(j){j(d)}})}else{if(j){j(d)}}},switchOffAutoHideShow:function(){aI=false},ua:ah,getFlashPlayerVersion:function(){return{major:ah.pv[0],minor:ah.pv[1],release:ah.pv[2]}},hasFlashPlayerVersion:ao,createSWF:function(a,b,c){if(ah.w3){return aA(a,b,c)}else{return undefined}},showExpressInstall:function(b,a,d,c){if(ah.w3&&au()){ae(b,a,d,c)}},removeSWF:function(a){if(ah.w3){aw(a)}},createCSS:function(b,a,c,d){if(ah.w3){az(b,a,c,d)}},addDomLoadEvent:aj,addLoadEvent:aC,getQueryParamValue:function(b){var a=aL.location.search||aL.location.hash;if(a){if(/\?/.test(a)){a=a.split("?")[1]}
if(b==null){return ai(a)}
var c=a.split("&");for(var d=0;d<c.length;d++){if(c[d].substring(0,c[d].indexOf("="))==b){return ai(c[d].substring((c[d].indexOf("=")+ 1)))}}}
return""},expressInstallCallback:function(){if(aU){var a=aS(ac);if(a&&aJ){a.parentNode.replaceChild(aJ,a);if(ad){ay(ad,true);if(ah.ie&&ah.win){aJ.style.display="block"}}
if(ap){ap(at)}}
aU=false}}}}();var Pinger={forever:false,timer:null,invokeCount:0,start:function(a){if(Pinger.timer==null){if(a){Pinger.forever=a}
Pinger.timer=new PeriodicalExecuter(Pinger.onTimerEvent,600);Pinger.timer.execute()}},onTimerEvent:function(){new Ajax.Request("/pingsession",{onSuccess:function(a,b){if(b&&b.privilegeLevel!=1){Pinger.stop()}}});Pinger.invokeCount++;if(!Pinger.forever&&Pinger.invokeCount>3){Pinger.stop()}},stop:function(){if(Pinger.timer!=null){Pinger.timer.stop();Pinger.timer=null}}};HabbletLoader={currentPoll:null,loadedHabblets:[],loadingStatus:[],needsFlashKbWorkaround:function(){var a=navigator.userAgent.match(/Firefox\/(\d+.\d+)/);var e=(a!=null?parseFloat(a[1]):0)>=3.5;var c=navigator.userAgent.match(/Chrome/)!=null;var d=navigator.userAgent.match(/Chrome\/(\d+.\d+.)/);var b=(d!=null?parseFloat(d[1]):0)>=7;return HabbletLoader.isWindowsPlatform()&&((Prototype.Browser.Gecko&&!e)||(Prototype.Browser.WebKit?(c?!b:true):false))},isWindowsPlatform:function(){return navigator.userAgent.indexOf("Windows")>-1},show:function(habbletId,habbletWrapper,data){if(HabbletLoader.needsFlashKbWorkaround()){$j("client-ui").addClassName("x-workaround");if(habbletId=="credits"||habbletId=="fbAppRequest"){$j("client-ui").addClassName("x-workaround-wide")}}
if(typeof habbletWrapper!="undefined"){habbletWrapper.show();HabbletLoader.bringToTop(habbletWrapper);if(typeof data=="string"){try{var sender=eval("__"+ habbletId+"__sendmsg__");sender.apply(null,[data])}catch(e){}}
if(HabbletLoader.isWindowsPlatform()&&Prototype.Browser.WebKit){$j("content").setStyle({width:habbletWrapper.getWidth()+"px"})}}},hide:function(a){if(HabbletLoader.needsFlashKbWorkaround()){$j("client-ui").removeClassName("x-workaround");$j("client-ui").removeClassName("x-workaround-wide")}
if(typeof a!="undefined"){a.hide()}},load:function(g,c){var i=true;var f=false;var b=true;var a=false;var e={fromHabblet:"true"};if(g=="roomenterad"){i=false;b=false;e={contentWidth:$j("flash-wrapper").offsetWidth};if(HabbletLoader.needsFlashKbWorkaround()){return}}
if(g=="externalLink"){i=true;b=false;a=true;e={url:c}}
if(g=="fbLike"){i=false;b=false;a=true;e={roomId:c};f=true}
if(g=="fbAppRequest"){i=false;a=true;b=false;e=c}
if(g=="avatars"){a=true}
if(g=="credits"){e={openedInNewWindow:emoji_slight_frown:window==window.top)}}
if(typeof HabbletLoader.loadedHabblets[g]!="undefined"&&!a){HabbletLoader.show(g,HabbletLoader.loadedHabblets[g],c);return}
if(typeof HabbletLoader.loadingStatus[g]!="undefined"){return}
HabbletLoader.loadingStatus[g]=1;var d=$j("content");if(b){var h=Builder.node("div",{id:"loading-"+ g,className:"client-habblet-container loading-element"},[Builder.node("img",{src:habboStaticFilePath+"/v2/images/lightwindow/ajax-loading.gif"}),Builder.node("p",g)]);d.appendChild(h);HabbletLoader.bringToTop(h)}
new Ajax.Request("/habblet/cproxy?habbletKey="+ g,{method:"post",parameters:e,onComplete:function(n,r){if(n.responseText.length==0||(r!=null&&r.disabled)){delete HabbletLoader.loadingStatus[g];if(b){d.removeChild($j("loading-"+ g))}
return}
var p=n.responseText.indexOf("<!-- dependencies");if(p>-1){var k=n.responseText.substring(p+ 17);k=k.substring(0,k.lastIndexOf("-->"));var q=k.match(new RegExp('<s*link rel="stylesheet".*?>',"g"));if(q){for(var o=0;o<q.length;o++){var j=/href="(.*?)"/.exec(q[o]);if(j.length==2){HabbletLoader.loadDependency(j[1],"css")}}}
var l=function(){var t=$j(g)||Builder.node("div",{id:g,"class":"client-habblet-container contains-"+ g+(i?" draggable":"")});d.appendChild(t);t=$j(t);if(i&&Prototype.Browser.IE){var v=parseInt(t.getStyle("right"),10);var x=0- v- t.getWidth();t.setStyle({left:x+"px"})}
if(f&&!$j("client-ui").hasClassName("x-workaround")){var s=0;var u=0;if(document.all){s=document.body.clientWidth;u=document.body.clientHeight}else{if("innerWidth"in window){s=window.innerWidth;u=window.innerHeight}}if(s!=0&&u!=0){t.setStyle({right:emoji_slight_frown:s- t.getWidth())/2+"px"});t.setStyle({top:emoji_slight_frown:u- t.getHeight())/2+"px"})}}
t.update(n.responseText.replace('document.observe("dom:loaded",',"HabbletLoader.exec(")).show();Rounder.init();t.select(".habblet-close").each(function(w){$j(w).observe("click",function(){HabbletLoader.hide(t)})});HabbletLoader.loadedHabblets[g]=t;setTimeout(function(){HabbletLoader.show(g,t,c);if($j("client-ui")&&!$j("client-ui").hasClassName("x-workaround")&&i){new Draggable(t,{handle:t.select(".title")[0],starteffect:null,endeffect:null,onStart:function(y){var w=y.element.id;y.positionBeforeDrag=HabbletLoader.loadedHabblets[w].positionedOffset()},onEnd:function(z){var w=z.element.id;if(!HabbletLoader.isInPageBounds(w)){var y=z.positionBeforeDrag;new Effect.Move(HabbletLoader.loadedHabblets[w],{x:y.left,y:y.top,mode:"absolute",duration:0.5,transition:Effect.Transitions.spring})}}})}},300);delete HabbletLoader.loadingStatus[g];t.observe("click",function(w){HabbletLoader.bringToTop(t)});if(b){d.removeChild($j("loading-"+ g))}};var m=k.match(new RegExp("<s*script.*?>","g"));if(m){for(var o=0;o<m.length;o++){var j=/src="(.*?)"/.exec(m[o]);if(j!=null&&j.length==2){HabbletLoader.loadDependency(j[1],"js")}}
HabbletLoader.currentPoll=setInterval(function(){HabbletLoader.poll("__"+ g+"__defined__",l)},500)}else{l.apply(null)}}}})},poll:function(statement,onReady){var ready=false;try{ready=eval(statement)}catch(e){}
if(ready){clearInterval(HabbletLoader.currentPoll);onReady.apply(null)}},loadDependency:function(a,b){if(b=="js"){var c=document.createElement("script");c.setAttribute("type","text/javascript");c.setAttribute("src",a)}else{if(b=="css"){var c=document.createElement("link");c.setAttribute("rel","stylesheet");c.setAttribute("type","text/css");c.setAttribute("href",a)}}if(typeof c!="undefined"){document.getElementsByTagName("head")[0].appendChild(c)}},exec:function(a){a.apply(null)},openLink:function(a){while(a.tagName.toLowerCase()!="a"){a=a.parentNode}
if(a.href){if(window.opener!=null&&window.opener.name=="habboMain"){window.opener.location.href=a.href;window.opener.focus()}else{window.open(a.href,"habboMain")}}},bringToTop:function(b){var a=$j$j(".client-habblet-container");if(a.length>1){var c=0;a.each(function(d){c=Math.max(d.style.zIndex,c)});b.style.zIndex=c+ 1}},removeHabblet:function(a){var b=$j("content");if(typeof HabbletLoader.loadingStatus[a]!="undefined"){return}
if(typeof HabbletLoader.loadedHabblets[a]!="undefined"){b.removeChild($j(a));delete HabbletLoader.loadedHabblets[a]}},isInPageBounds:function(a){var b=HabbletLoader.loadedHabblets[a];var c=b.viewportOffset();if(c.left+ b.getWidth()<=20){return false}else{if(c.top+ 15<=0){return false}}
return true}};var FlashHabboClient=(function(){var a=function(){Event.observe(window,"unload",function(){Cookie.erase("habboclient");if(FlashExternalInterface.loginLogEnabled&&!FlashExternalInterface.clientInited){new Ajax.Request(habboReqPath+"/clientlog/update",{method:"post",parameters:{flashStep:"client.window.closed"},asynchronous:false})}})};window.habboClient=true;ensureOpenerIsLoggedIn();a();var b=function(){swfobject.createCSS("html","height:100%;");swfobject.createCSS("body","height:100%;");swfobject.createCSS("#flash-container","margin:0; width:100%; height:100%;")};if(typeof facebookUser=="undefined"){swfobject.addDomLoadEvent(b)}
document.observe("dom:loaded",function(){if(!swfobject.hasFlashPlayerVersion("10.1.0")){HabboView.run();FlashExternalInterface.logLoginStep("web.flash_missing")}});return{cacheCheck:function(){new Ajax.Request(habboReqPath+"/cacheCheck",{method:"get",parameters:{r:new Date().getTime()},onSuccess:function(c,d){if(d&&d.result=="false"&&window.location.href.indexOf("t=")==-1){window.location.href=window.location.href+(window.location.href.indexOf("?")>0?"&":"?")+"t="+ new Date().getTime()}}})}}})();var FlashExternalInterface=(function(){var f=null;var b=0;var g=null;var d=function(){if(!f){f=window.setInterval(function(){var k=new Date().getTime();if(b<k- 15*60*1000){e("keepalive","");b=k}},10*60*1000)}};var e=function(m,k,l){d();if(l<0){l=undefined}
if(typeof _gaq!="undefined"){_gaq.push(["_trackEvent","client",m,k,l])}};var j=function(k){d();if(typeof _gaq!="undefined"){_gaq.push(["_trackPageview","/client/"+ k])}};var i=function(n){if(FlashExternalInterface.nielsenUrl){c();var o=FlashExternalInterface.nielsenUrl+"/client/"+ n;var k=o;if(g){k=k+"&rp="+ g}
var m=o.match(/&si=([^&]*)/);if(m){g=m[1]}else{g=null}
var l=new Image(1,1);l.src=k}};var h=null;var c=function(){if(!h){h=window.setInterval(function(){i("keepalive")},15*60*1000)}};var a={authentication:function(k,l){i("loggedin");j("loggedin")},navigator:function(k,l){if(k=="private"||k=="public"){j(k+"/"+ l)}else{e("navigator",k)}},catalogue:function(k,l){if(k=="open"){e("catalogue","open")}else{e("catalogue",l.toString())}},achievement:function(k,l){e("achievement",l.toString())},habblet:function(k,l){if(k=="news"){j(k+"/"+ l)}else{e(k,l.toString())}},room_ad:function(k,l){e("room_ad",l+"_"+ k)}};return{legacyTrack:function(n,k,m){if("console"in window&&"log"in console){console.log("action = ["+ n+"], label = ["+ k+"], data = ["+ m+"]")}
if("authentication"==n&&"authok"==k){$(document).fire("habbo:authok")}
var l=a[n];if(l){l.apply(this,[k,m])}else{e(n,k)}},track:function(m,k,l){if("console"in window&&"log"in console){console.log("action = ["+ m+"], label = ["+ k+"], value = ["+ l+"]")}
e(m,k,l)},logError:function(k){if("console"in window){console.log("errorCode = "+ k)}},openWebPageAndMinimizeClient:function(l){var k=$("page-content");k.onload=function(){$("flash-wrapper").addClassName("hidden");$("page-content").addClassName("visible")};k.src=habboReqPath+ l},closeWebPageAndRestoreClient:function(){$("flash-wrapper").removeClassName("hidden");var k=$("page-content");k.removeClassName("visible");k.onload=null;k.src="about:blank";top.focus()},logEventLog:function(k){new Ajax.Request(habboReqPath+"/eventlog",{method:"post",parameters:{errorData:k}})},logWarn:function(k){new Ajax.Request(habboReqPath+"/habbo/flash_client_warning",{method:"post",parameters:k})},logLoginStep:function(k,l){setTimeout(function(){if(k=="client.init.auth.ok"){FlashExternalInterface.clientInited=true}
if(FlashExternalInterface.loginLogEnabled){if(Object.isUndefined(l)||l==null){new Ajax.Request(habboReqPath+"/clientlog/update",{method:"post",parameters:{flashStep:k}})}else{new Ajax.Request(habboReqPath+"/clientlog/update",{method:"post",parameters:{flashStep:k,data:l}})}}},100)},openHabblet:function(k,l){HabbletLoader.load(k,l);FlashExternalInterface.legacyTrack("habblet",k,"open")},closeHabblet:function(k){HabbletLoader.hide($(k))},postAchievement:function(k,l){if(FacebookIntegration){FacebookIntegration.publishAchievementStory(k,l)}},postAchievementShareBonus:function(k,n,m,l){if(FacebookIntegration){FacebookIntegration.publishAchievementScoreBonus(k,n,m,l)}},postXmasViral:function(k,o,n,l,m){if(FacebookIntegration){FacebookIntegration.publishXmasViral(k,o,n,l,m||"feed")}},openExternalLink:function(k){HabbletLoader.load("externalLink",k)},fbLike:function(k){HabbletLoader.load("fbLike",k)},roomVisited:function(k){FlashExternalInterface.lastVisitedRoomId=k},logout:function(){if(window.opener){try{window.opener.location=FlashExternalInterface.signoutUrl;window.close()}catch(k){window.location=FlashExternalInterface.signoutUrl}}else{window.location=FlashExternalInterface.signoutUrl}},embedSwfCallback:function(k){if(k&&k.success){FlashExternalInterface.clientElement=k.ref}},authenticateFacebook:function(){FacebookIntegration.getAccessToken("${restFbApiHelper.facebookCookieName}",'${restFbApiHelper.extendedPermissions!""}')},listPlugins:function(){var k="";if(navigator.plugins!=null&&navigator.plugins.length>0){k=[].slice.call(navigator.plugins).map(function(p){return p.filename+ p.version+ p.name+[].slice.call(p).map(function(q){return q.type+ q.suffixes}).join("")}).sort().join(", ")}else{if(Prototype.Browser.IE){var o=null;try{o=new ActiveXObject("AcroPDF.PDF")}catch(n){}
if(!o){try{o=new ActiveXObject("PDF.PdfCtrl")}catch(n){}}
if(o){version=o.GetVersions().split(",");version=version[0].split("=");version=parseFloat(version[1]);k+="PDF("+ version+"),"}
o=null;try{o=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(n){}
if(o){version=o.GetVariable("$version").substring(4);version=version.split(",");version=parseFloat(version[0]+"."+ version[1]);k+="Flash("+ version+"),"}
o=null;try{o=new ActiveXObject("QuickTime.QuickTime")}catch(n){}
if(o){k+="QuickTime(?),"}
o=null;var m=["rmocx.RealPlayer G2 Control","rmocx.RealPlayer G2 Control.1","RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)","RealVideo.RealVideo(tm) ActiveX Control (32-bit)","RealPlayer"];for(var l=0;l<m.length;l++){try{o=new ActiveXObject(m[l])}catch(n){continue}
if(o){break}}
if(o){version=o.GetVersionInfo();version=parseFloat(version);k+="RealPlayer("+ version+"),"}
o=null;try{o=new ActiveXObject("SWCtl.SWCtl")}catch(n){}
if(o){version=o.ShockwaveVersion("").split("r");version=parseFloat(version[0]);k+="Shockwave("+ version+"),"}
o=null;try{o=new ActiveXObject("WMPlayer.OCX")}catch(n){}
if(o){version=parseFloat(o.versionInfo);k+="MediaPlayer("+ version+"),"}
k=k.replace(/,$/,"")}}
return k}}})();FlashExternalInterface.loginLogEnabled=false;FlashExternalInterface.nielsenUrl=null;FlashExternalInterface.clientInited=false;FlashExternalInterface.clientElement=null;FlashExternalInterface.lastVisitedRoomId=null;var ExternalClickHandler={trackClick:function(a,d,b){if(b){var c=window.open(a+"&hash="+ d,"_blank","menubar=1,status=1,resizable=1,scrollbars=1,location=1,toolbar=1");if(window.focus){c.focus()}}
HabbletLoader.hide($("externalLink"));new Ajax.Request("/habblet/external_link",{parameters:{url:a,hash:d,clicked:b}})},clickCancel:function(a,b){ExternalClickHandler.trackClick(a,b,false)},clickContinue:function(a,b){ExternalClickHandler.trackClick(a,b,true)}};var RightClick={init:function(b,a){this.FlashObjectID=a;this.FlashContainerID=b;this.Cache=this.FlashObjectID;if(window.addEventListener){window.addEventListener("mousedown",this.onGeckoMouse(),true)}else{document.getElementById(this.FlashContainerID).onmouseup=function(){document.getElementById(RightClick.FlashContainerID).releaseCapture()};document.oncontextmenu=function(){if(window.event.srcElement.id==RightClick.FlashObjectID){return false}else{RightClick.Cache="nan"}};document.getElementById(this.FlashContainerID).onmousedown=RightClick.onIEMouse}},killEvents:function(a){if(a){if(a.stopPropagation){a.stopPropagation()}
if(a.preventDefault){a.preventDefault()}
if(a.preventCapture){a.preventCapture()}
if(a.preventBubble){a.preventBubble()}}},onGeckoMouse:function(a){return function(b){if(b.button!=0){RightClick.killEvents(b);if(b.target.id==RightClick.FlashObjectID&&RightClick.Cache==RightClick.FlashObjectID){RightClick.call()}
RightClick.Cache=b.target.id}}},onIEMouse:function(){if(event.button>1){if(window.event.srcElement.id==RightClick.FlashObjectID&&RightClick.Cache==RightClick.FlashObjectID){RightClick.call()}
document.getElementById(RightClick.FlashContainerID).setCapture();if(window.event.srcElement.id){RightClick.Cache=window.event.srcElement.id}}},call:function(){}};var loadedGameUrl;var FlashExternalGameInterface=(function(){return{showGame:function(b){var c=(b.indexOf("?")==-1)?"?":"&";loadedGameUrl=b+ c+"habbo_origin="+ document.URL;var a=$("game-content");a.onload=this.onGameLoaded;a.src=loadedGameUrl},hideGame:function(){$("flash-wrapper").removeClassName("hidden");var a=$("game-content");a.removeClassName("visible");a.onload=null;a.src="about:blank";top.focus()},sendGameEvent:function(a){$("game-content").contentWindow.postMessage(a,loadedGameUrl)},onGameLoaded:function(a){$("flash-wrapper").addClassName("hidden");$("game-content").addClassName("visible");$("flash-container").HabboGameJsAPIEventToHabbo("0.1;HabboGameAPI_game_loaded")}}})();var onGameMessage=function(a){var b=a.data;if(b.indexOf("HabboGameAPI")==-1){return}
$("flash-container").HabboGameJsAPIEventToHabbo(b)};if(typeof window.addEventListener!="undefined"){window.addEventListener("message",onGameMessage,false)}else{if(typeof window.attachEvent!="undefined"){window.attachEvent("onGameMessage",onGameMessage)}}
var Embed={embedWindowName:"embed",docWindowName:"habboMain",docWindowParams:"toolbar=yes,location=yes,directories=yes,status=yes,scrollbars=yes,resizable=yes",rpxWindowName:"rpxLogin",rpxWindowParams:"toolbar=no,location=yes,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=750,height=440",setEmbedWindowName:function(){window.name=Embed.embedWindowName},openSigninPopup:function(a){var d=(screen.width/2)-(700/2);var c=(screen.height/2.5)-(450/2);var b=window.open(a.href,null,"toolbar=no,location=yes,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=700,height=450,left="+ d+",top="+ c);if(window.focus){b.focus()}},openFullscreenHabbo:function(c,b){var a=FlashExternalInterface.lastVisitedRoomId;if(a!=null&&a!=""&&c!=null){c+="&roomId="+ a+"&forwardId=2"}
window.name="old-client";HabboClient.openOrFocus(c);window.location.href=b||"/embed"},decorateNaviLinks:function(a){$$("#navi a").each(function(c){var b=false;if(a&&c.href.indexOf("/credits")!=-1){b=true;c.removeAttribute("href");c.setStyle({cursor:"pointer"})}
Event.observe(c,"click",function(g){Event.stop(g);var d=Event.element(g);if(b){HabbletLoader.load("credits");return}
var f=window.open(d.href,"_blank",Embed.docWindowParams);if(window.focus){f.focus()}})})},decorateFooterLinks:function(){$$("#footer p a").each(function(a){Event.observe(a,"click",function(d){Event.stop(d);var b=Event.element(d);var c=window.open(b.href,"_blank",Embed.docWindowParams);if(window.focus){c.focus()}})})},decorateLogoLink:function(){$$("#right-buttons h1 a").each(function(a){Event.observe(a,"click",function(d){Event.stop(d);var b=Event.element(d);var c=window.open(b.href,Embed.docWindowName,Embed.docWindowParams);if(window.focus){c.focus()}})})}};document.observe("dom:loaded",function(){if($j$j(".settings-container #back-link").length>0){$("back-link").insert({top:new Element("img",{src:"/v2/images/hotel.png",id:"back-to-main"})});$("back-to-main").observe("click",function(){window.location.href="/"})}});Ajax.JSONRequest=Class.create(Ajax.Base,(function(){var b=0,a=document.getElementsByTagName("head")[0]||document.body;return{initialize:function($super,d,c){$super(c);this.options.url=d;this.options.callbackParamName=this.options.callbackParamName||"callback";this.options.timeout=this.options.timeout||10;this.options.invokeImmediately=(!Object.isUndefined(this.options.invokeImmediately))?this.options.invokeImmediately:true;if(!Object.isUndefined(this.options.parameters)&&Object.isString(this.options.parameters)){this.options.parameters=this.options.parameters.toQueryParams()}
if(this.options.invokeImmediately){this.request()}},_cleanup:function(){if(this.timeout){clearTimeout(this.timeout);this.timeout=null}
if(this.transport&&Object.isElement(this.transport)){this.transport.remove();this.transport=null}},request:function(){var d=new Ajax.JSONResponse(this);var g=this.options.callbackParamName,f="_prototypeJSONPCallback_"+(b++),c=function(){if(Object.isFunction(this.options.onComplete)){this.options.onComplete.call(this,d)}
Ajax.Responders.dispatch("onComplete",this,d)}.bind(this);if(this.options.parameters[g]!==undefined){f=this.options.parameters[g]}else{this.options.parameters[g]=f}
this.options.parameters[g]=f;var e=this.options.url+((this.options.url.include("?")?"&":"?")+ Object.toQueryString(this.options.parameters));window[f]=function(h){this._cleanup();window[f]=undefined;d.status=200;d.statusText="OK";d.setResponseContent(h);if(Object.isFunction(this.options.onSuccess)){this.options.onSuccess.call(this,d)}
Ajax.Responders.dispatch("onSuccess",this,d);c()}.bind(this);this.transport=new Element("script",{type:"text/javascript",src:e});if(Object.isFunction(this.options.onCreate)){this.options.onCreate.call(this,d)}
Ajax.Responders.dispatch("onCreate",this);a.appendChild(this.transport);this.timeout=setTimeout(function(){this._cleanup();window[f]=Prototype.emptyFunction;if(Object.isFunction(this.options.onFailure)){d.status=504;d.statusText="Gateway Timeout";this.options.onFailure.call(this,d)}
c()}.bind(this),this.options.timeout*1000)},toString:function(){return"[object Ajax.JSONRequest]"}}})());Ajax.JSONResponse=Class.create({initialize:function(a){this.request=a},request:undefined,status:0,statusText:"",responseJSON:undefined,responseText:undefined,setResponseContent:function(a){this.responseJSON=a;this.responseText=Object.toJSON(a)},getTransport:function(){if(this.request){return this.request.transport}},toString:function(){return"[object Ajax.JSONResponse]"}});var _sp_video;var _sp_appid;function constructSponsorPayFrame(){_sp_video=new SPONSORPAY.Video.Iframe({appid:_sp_appid,uid:habboId,height:1000,width:1000,display_format:"bare_player",greyout:false,callback_on_start:function(a){FlashExternalInterface.clientElement.sponsorPayOnStart(a.icon_small)},callback_no_offers:function(){FlashExternalInterface.clientElement.sponsorPayNoOffers()},callback_on_close:function(){FlashExternalInterface.clientElement.sponsorPayOnClose()},callback_on_conversion:function(){FlashExternalInterface.clientElement.sponsorPayOnConversion()}});FlashExternalInterface.clientElement.sponsorPayLoaded()}
var SponsorPay={loadIntegration:function(a){_sp_appid=a;var b=document.createElement("script");b.setAttribute("type","text/javascript");b.setAttribute("src","//iframe.sponsorpay.com/javascripts/widget/v2/widgets.js");b.onreadystatechange=function(){if(this.readyState=="complete"){constructSponsorPayFrame()}};b.onload=constructSponsorPayFrame;document.getElementsByTagName("head")[0].appendChild(b)},backgroundLoad:function(){_sp_video.backgroundLoad()},showVideo:function(){_sp_video.showVideo()}};var NewUserReception={checkName:function(a){var b={name:a};new Ajax.Request("/new-user-reception/check-name",{parameters:b,onSuccess:function(c){var d=c.responseJSON;FlashExternalInterface.clientElement.newUserReceptionCheckNameResponse(a,d.code,d.validationResult||[],d.suggestions)},onFailure:function(c){FlashExternalInterface.clientElement.newUserReceptionCheckNameFailed(a)}})},claimName:function(b,a){var c={name:b,isFemale:a};new Ajax.Request("/new-user-reception/claim-name",{parameters:c,onSuccess:function(d){var e=d.responseJSON;FlashExternalInterface.clientElement.newUserReceptionClaimNameResponse(e.code,e.validationResult,e.suggestions)},onFailure:function(d){FlashExternalInterface.clientElement.newUserReceptionClaimNameFailed(b)}})},logStep:function(a){var b={step:a};new Ajax.Request("/new-user-reception/log-step",{parameters:b})},saveOutfit:function(b,a){var c={figure:b,gender:a};new Ajax.Request("/new-user-reception/save-outfit",{parameters:c,onSuccess:function(d){var e=d.responseJSON;FlashExternalInterface.clientElement.newUserReceptionSaveOutfitResponse(b,a,e.code)},onFailure:function(d){FlashExternalInterface.clientElement.newUserReceptionSaveOutfitFailed(b,a)}})}};FlashExternalInterface.loginLogEnabled=true;FlashExternalInterface.logLoginStep("web.view.start");if(top==self){FlashHabboClient.cacheCheck();}

var flashvars={

"client.allow.cross.domain" : "0",
"client.notify.cross.domain" : "1",

"connection.info.host" : MIOIP",
"connection.info.port" : "3030",
"site.url" : "
Perfavore, Entra oppure Registrati per vedere i Link!
",
"url.prefix" : "
Perfavore, Entra oppure Registrati per vedere i Link!
",
"client.reload.url" : "
Perfavore, Entra oppure Registrati per vedere i Link!
",
"client.fatal.error.url" : "
Perfavore, Entra oppure Registrati per vedere i Link!
",
"client.connection.failed.url" : "
Perfavore, Entra oppure Registrati per vedere i Link!
",
"external.variables.txt" : "
Perfavore, Entra oppure Registrati per vedere i Link!
",
"external.texts.txt" : "
Perfavore, Entra oppure Registrati per vedere i Link!
",
"productdata.load.url" : "
Perfavore, Entra oppure Registrati per vedere i Link!
",
"furnidata.load.url" : "
Perfavore, Entra oppure Registrati per vedere i Link!
",
"use.sso.ticket" : "1",
"sso.ticket" : "<?php echo $ticket; ?>",
"processlog.enabled" : "1",
"account_id" : "1",
"client.starting" : "<?php echo $_WEBSITE['HTL']['name']; ?> sta caricando! :emoji_slight_smile:",
"flash.client.url" : "
Perfavore, Entra oppure Registrati per vedere i Link!
",
"user.hash" : "<?php echo $ticket; ?>",
"has.identity" : "1",
"flash.client.origin" : "popup" ,
<?php
if($forward)
{
echo '"forward.type" : "'.$forward_type.'",';
echo '"forward.id" : "'.$roomid.'",';

}

if($friend_id)
{
echo '"friend.id" : "'.$friend_id.'",';
}
?>


};

var params={
"base":"
Perfavore, Entra oppure Registrati per vedere i Link!
",
"allowScriptAccess":"always","menu":"false",
};

if(!(HabbletLoader.needsFlashKbWorkaround())){params["wmode"]="opaque";}


var clientUrl="
Perfavore, Entra oppure Registrati per vedere i Link!
";
try{if(swfobject.getFlashPlayerVersion().major<=9){clientUrl="<?php echo $_WEBSITE['CLIENT']['swf_hotelswf'] ?>";}}catch(e){}


swfobject.embedSWF(clientUrl,"flash-container","100%","100%","10.1.0","flashclient/expressInstall.swf",flashvars,params);

</script>
<body id="client" class="flashclient" style="background:#000000;">

<script>
$(function() {
$( "#online" ).draggable();
});
</script>
</head>


<body id="client" class="flashclient">

<?php
if($_USER["AVATAR"]["rank"] >= 7){

?>

<style>
a {
text-decoration:none;
color:#000;
clear:both;
}
#button, #button2, #button3 {
margin-top: 10px;
width: 100%;
text-align: center;
height: 15px;
padding-top: 6px;
}
@font-face {
font-family: 'volter';
src: url('../css/volter.ttf');
}
</style>
<div style="width: 150px;font-family: volter;font-size:9px;
height:115px;color:#000;
background: url(
Perfavore, Entra oppure Registrati per vedere i Link!
: 15px;text-decoration:none;" class="ui-widget-content" id="online">

<a href="
Perfavore, Entra oppure Registrati per vedere i Link!
" target="_blank"><div id="button">Lista Badge</div></a>
<a href="../hashhousekeeping29139/" target="_blank"><div id="button2" style="margin-top: 4px;">HouseKeeping</div></a>
<a href="../staff" target="_blank"><div id="button3" style="margin-top: 4px;">Pagina Staff</div></a>

<script type="text/javascript">
function getUsers() {
$.get('online.php',
function(data) { $('.reload_users').html(data);
});

}
setTimeout(getUsers, 1);
$(document).ready(function(){ getUsers(); });
</script>

<div style="width: 50px;
margin: 0 auto;
height: 10px;
clear: both;
margin-top: 10px;
text-align: center;
border-radius: 3px;"><div style="float:left;margin-right:5px;">Online:</div>

<span class="reload_users"></span></div></div>
</diV>


<?php } ?>









<div id="overlay"></div>
<div id="client-ui" >
<div id="flash-wrapper">
<div id="flash-container">
<div id="content" style="width: 400px; margin: 20px auto 0 auto; display: none">
<div id="habblet" class="red">
<h2 class="title">Please install Adobe Flash Player.</h2>
<div class="box-content">

</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">
jQuery(document).ready(function($) {
$('#me').click(function(){
if($('#settings').css("display") == "none"){
$('#settings').slideDown(500);
}
else {
$('#settings').fadeOut(500);
}
});
$('#settings li a').click(function(){
$('#settings').fadeOut(500);
});
});
RightClick.init("flash-wrapper", "flash-container");

jQuery(document).ready(function(e) {
$('#client-bar-close').click(function() {
$('#clientbar').css({ display:"none"});
$('#flash-wrapper').css({top:"0px"});
});
});

jQuery(window).on('beforeunload', function () {
var id = "5308";
jQuery.ajax({
url: '/templates/functions/ajax/closeclient.php',
type: 'POST',
data: {id: id},
async: false
});
});
</script>
</body>
</html>

<script type="text/javascript">
RightClick.init("flash-wrapper", "flash-container");
</script>

## uberEmulator System Configuration File


## Must be edited for the server to work



## MySQL Configuration

db.hostname=127.0.0.1
db.port=3306

db.username=root

db.password=miapassword
db.name=miodb



## MySQL pooling setup (controls amount of connections)

db.pool.minsize=10

db.pool.maxsize=250



## Game TCP/IP Configuration
game.tcp.bindip=MIOIP
game.tcp.port=3030

game.tcp.conlimit=100000

game.tcp.conperip=200

game.tcp.enablenagles=true



## MUS TCP/IP Configuration

mus.tcp.bindip=MIOIP
mus.tcp.port=3040

mus.tcp.allowedaddr=MIOIP



## Client configuration

client.ping.enabled=1

client.ping.interval=20000

client.maxrequests=300

Screen Client

2nbad0y.jpg


Screen Emulatore
33tta87.png


Da quel che sembra l'emulatore non segnala nessun errore.

P.S
Ovviamente dove c'è scritto "MIOIP" "miapassword" e "miodb" li ci ho messo i miei dati.


#Magnesio #Magnesio Kaost Kaost vinnythebest vinnythebest AresIsLegend AresIsLegend Lex007 Lex007
 
Ultima modifica: