Alright coded friend list to display, still need to finish the rest of the messenger off and update your status when you sign on.
Alright coded friend list to display, still need to finish the rest of the messenger off and update your status when you sign on.
Last edited by Quackster; 20-05-12 at 03:04 AM.
No replies? Well I have more updates. Everytime you connect you send to your friends you're online and I fixed the profile to show the friend count and to say if they are your friend.
And staff will show in the staff category (if entered in the database)
Code:package sierra.network.clients; import java.util.List; import sierra.composers.Outgoing; import sierra.habbohotel.messenger.buddies.Buddy; import sierra.habbohotel.messenger.buddies.BuddyEngine; import sierra.habbohotel.messenger.categories.MessengerCatEngine; import sierra.packethelper.ServerMessage; public class SessionMessenger { private Session Session; private List<Buddy> Buddies; public SessionMessenger(Session User) { Buddies = BuddyEngine.GenerateBuddyList(User.GetHabbo().Id); Session = User; } public List<Buddy> getBuddies() { return Buddies; } public void UpdateStatus(Boolean Online) { ServerMessage Message = new ServerMessage(); Message.Initialize(Outgoing.UpdateFriendState); Message.AppendInt32(0); Message.AppendInt32(1); Message.AppendInt32(0); Message.AppendInt32(Session.GetHabbo().Id); Message.AppendString(Session.GetHabbo().Username); Message.AppendInt32(1); Message.AppendBoolean(Online); Message.AppendBoolean(Session.GetRoomUser() != null ? Session.GetRoomUser().CurrentlyInRoom : false); Message.AppendString(Session.GetHabbo().Figure); Message.AppendInt32(Session.GetHabbo().HasStaffRights() ? MessengerCatEngine.getIdByCat("Staff") : 0); Message.AppendString(Session.GetHabbo().Mission); Message.AppendInt32(0); Message.AppendInt32(0); Message.AppendInt32(0); for (Buddy Buddy : Buddies) { if (Buddy.getOnline()) Buddy.getEntity().Send(Message); } } }Code:package sierra.habbohotel.messenger.categories; import java.sql.ResultSet; import java.util.ArrayList; import java.util.List; import sierra.Logging; import sierra.SierraEnvironment; public class MessengerCatEngine { private static List<MessengerCat> Categories = new ArrayList<MessengerCat>(); public static void LoadAll() { try { ResultSet Row = SierraEnvironment.GetStorage().ReadTable("SELECT * FROM messenger_categories;"); while (Row.next()) { Categories.add(new MessengerCat(Row.getInt("id"), Row.getString("label"), Row.getInt("min_rank"))); } } catch (Exception e) { Logging.writeLine("Unhandled exception when loading messenger categories: " + e.getMessage()); } } public static List<MessengerCat> GenerateCategories(int MinRank) { List<MessengerCat> Own = new ArrayList<MessengerCat>(); for (MessengerCat OwnCat : Categories) { if (OwnCat.MinRank == MinRank || OwnCat.MinRank < MinRank) { Own.add(OwnCat); } } return Own; } public static int getIdByCat(String Label) { for (MessengerCat OwnCat : Categories) { if (OwnCat.Label.toLowerCase().contains(Label.toLowerCase())) return OwnCat.Id; } return 0; } }
Damn nice updates Alex! You're going the good way! :D
In the Friends console, it's saying MOD-Cool is offline, but in his profile information it's saying he's online?
Anyway's, nice progress.
Quackster, has advanced a lot since the last time you updated the github :) but I wanted you to upgrade the SierraJAVA in the github so we can see progress.
Other than that is to be congratulated and I hope it does not stop working in Sierra before finishing it.
But answer me one thing, this RELEASE63-201201190922-633225503 does not work groups?
I'd like to see GitHub updated aswell
Could someone help me out getting the client working on this cms?
I'm trying to run this on a linux vps, got the server working by compiling it to a runnable jar file.
But now I'm completely stuck on getting the client working, I've downloaded the lastest gamedata files DCR-Project - Home and changed the client template file so it's using the files.
I've also applyed all the settings to the configuration file, and still for some reason I'm getting a client that just freezes at a high percentage or just exits with an fatal error.
Cause I know maybe others want to do the same, I've uploaded the compiled jar file.
Just run in terminal: java -jar /location/of/the/jarfile/sierra.jar
Would be awesome if someone could help me out, or point out what I'm missing.
jarfile: [removed cuz there's a new version]
Last edited by iain17; 23-05-12 at 11:07 PM.
Try using this client, it uses my SWFs hosted.
The texts are in Portuguese.
Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <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>Habbo Hotel - </title> <script type="text/javascript"> var andSoItBegins = (new Date()).getTime(); </script> <link rel="shortcut icon" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/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.com/articles/rss.xml" /> <meta name="csrf-token" content="1333da8b12"/> <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/web-gallery/static/styles/common.css" type="text/css" /> <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/web-gallery/static/js/libs2.js" type="text/javascript"></script> <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/web-gallery/static/js/visual.js" type="text/javascript"></script> <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/web-gallery/static/js/libs.js" type="text/javascript"></script> <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/web-gallery/static/js/common.js" type="text/javascript"></script> <script type="text/javascript"> var ad_keywords = "gender%3Am,age%3A14"; var ad_key_value = "kvage=14;kvgender=m;kvtags="; </script> <script type="text/javascript"> document.habboLoggedIn = true; var habboName = "Jomp13"; var habboId = 39135324; var facebookUser = false; var habboReqPath = ""; var habboStaticFilePath = "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/web-gallery"; var habboImagerUrl = "http://www.habbo.com/habbo-imaging/"; var habboPartner = ""; var habboDefaultClientPopupUrl = "http://www.habbo.com/client"; window.name = "4a35b0b94f86cfd54929f03501ae230b16325fe9"; if (typeof HabboClient != "undefined") { HabboClient.windowName = "4a35b0b94f86cfd54929f03501ae230b16325fe9"; HabboClient.maximizeWindow = true; } </script> <meta property="fb:app_id" content="183096284873" /> <meta property="og:site_name" content="Habbo Hotel" /> <meta property="og:title" content="Habbo Hotel - " /> <meta property="og:url" content="http://www.habbo.com" /> <meta property="og:image" content="http://www.habbo.com/v2/images/facebook/app_habbo_hotel_image.gif" /> <meta property="og:locale" content="en_US" /> <noscript> <meta http-equiv="refresh" content="0;url=/client/nojs" /> </noscript> <meta http-equiv="Pragma" content="no-cache, no-store" /> <meta http-equiv="Expires" content="-1" /> <meta http-equiv="Cache-Control" content="no-cache, no-store" /> <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/web-gallery/static/styles/habboflashclient.css" type="text/css" /> <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/web-gallery/static/js/habboflashclient.js" type="text/javascript"></script> <script type="text/javascript"> 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" : "game-us.habbo.com", "connection.info.port" : "8542", "site.url" : "http://www.habbo.com", "url.prefix" : "http://www.habbo.com", "client.reload.url" : "http://www.habbo.com/client", "client.fatal.error.url" : "http://www.habbo.com/flash_client_error", "client.connection.failed.url" : "http://www.habbo.com/client_connection_failed", "external.variables.txt" : "http://swf.habbixed.tk/gamedata1/external_variables.txt", "external.texts.txt" : "http://swf.habbixed.tk/gamedata1/external_flash_texts.txt", "external.override.texts.txt" : "http://swf.habbixed.tk/gamedata1/external_flash_override_texts.txt", "external.override.variables.txt" : "http://swf.habbixed.tk/gamedata1/external_override_variables1.txt", "productdata.load.url" : "http://swf.habbixed.tk/gamedata1/productdata.txt", "furnidata.load.url" : "http://swf.habbixed.tk/gamedata1/furnidata.txt", "sso.ticket" : "a80dec9e-68d3-4855-a2af-9e74a2178cbd", "processlog.enabled" : "1", "account_id" : "39135324", "client.starting" : "Please wait! Habbo is starting up.", "flash.client.url" : "http://swf.habbixed.tk/gordon/RELEASE63-201201190922-633225503/", "user.hash" : "391353245f91b584ad0fcec2547529c3c3ea52b5", "has.identity" : "1", "flash.client.origin" : "popup" }; var params = { "base" : "http://swf.habbixed.tk/gordon/RELEASE63-201201190922-633225503/", "allowScriptAccess" : "always", "menu" : "false" }; if (!(HabbletLoader.needsFlashKbWorkaround())) { params["wmode"] = "opaque"; } FlashExternalInterface.signoutUrl = "https://www.habbo.com/account/logout?token=1333da8b12"; var clientUrl = "http://swf.habbixed.tk/gordon/RELEASE63-201201190922-633225503/Habbo(2).swf"; swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.1.0", "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/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> <meta name="description" content="Check into the worldӳ largest virtual hotel for FREE! Meet and make friends, play games, chat with others, create your avatar, design rooms and moreŢ /> <meta name="keywords" content="habbo hotel, virtual, world, social network, free, community, avatar, chat, online, teen, roleplaying, join, social, groups, forums, safe, play, games, online, friends, teens, rares, rare furni, collecting, create, collect, connect, furni, furniture, pets, room design, sharing, expression, badges, hangout, music, celebrity, celebrity visits, celebrities, mmo, mmorpg, massively multiplayer" /> <script src="//cdn.optimizely.com/js/13389159.js"></script> <!--[if IE 8]> <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/web-gallery/static/styles/ie8.css" type="text/css" /> <![endif]--> <!--[if lt IE 8]> <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/web-gallery/static/styles/ie.css" type="text/css" /> <![endif]--> <!--[if lt IE 7]> <link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/web-gallery/static/styles/ie6.css" type="text/css" /> <script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/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-BUILD1335 - 09.05.2012 10:32 - com" /> </head> <body id="client" class="flashclient"> <div id="overlay"></div> <img src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/web-gallery/v2/images/page_loader.gif" style="position:absolute; margin: -1500px;" /> <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 class="cbb clearfix"> <h2 class="title">Please update your Flash Player to the latest version.</h2> <div class="box-content"> <p>You can install and download Adobe Flash Player here: <a href="http://get.adobe.com/flashplayer/">Install flash player</a>. More instructions for installation can be found here: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">More information</a></p> <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/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> <div id="fb-root"></div> <script type="text/javascript"> window.fbAsyncInit = function() { Cookie.erase("fbsr_183096284873"); FB.init({appId: '183096284873', status: true, cookie: true, xfbml: true, oauth: true}); $(document).fire("fbevents:scriptLoaded"); }; window.assistedLogin = function(FBobject, optresponse) { Cookie.erase("fbsr_183096284873"); FBobject.init({appId: '183096284873', status: true, cookie: true, xfbml: true, oauth: true}); permissions = 'user_birthday,email'; defaultAction = function(response) { if (response.authResponse) { fbConnectUrl = "/facebook?connect=true"; Cookie.erase("fbhb_val_183096284873"); Cookie.set("fbhb_val_183096284873", response.authResponse.accessToken); Cookie.erase("fbhb_expr_183096284873"); Cookie.set("fbhb_expr_183096284873", response.authResponse.expiresIn); window.location.replace(fbConnectUrl); } }; if (typeof optresponse == 'undefined') FBobject.login(defaultAction, {scope:permissions}); else FBobject.login(optresponse, {scope:permissions}); }; (function() { var e = document.createElement('script'); e.async = true; e.src = 'https://connect.facebook.net/en_US/all.js'; document.getElementById('fb-root').appendChild(e); }()); </script> <iframe name="logframe" src="/bc/logframe?" width="0" height="0" frameborder="0" scrolling="no" marginwidth="0" marginheight="0" style="position: absolute; top:0; left:0"></iframe> <iframe name="conversion-tracking" src="/conversion_tracking_frame" width="0" height="0" frameborder="0" scrolling="no" marginwidth="0" marginheight="0" style="position: absolute; top:0; left:0"></iframe> <script type="text/javascript"> var ssa_json = { 'applicationUserId': '39135324', 'applicationKey': '2abb40ad', 'onCampaignsReady': supersaverAdsOnCampaignsReady, 'onCampaignOpen': supersaverAdsOnCampaignOpen, 'onCampaignClose': supersaverAdsOnCampaignClose, 'onCampaignCompleted': supersaverAdsOnCampaignCompleted, 'pagination': false, 'customCss': 'http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/web-gallery/styles/supersonicads.css' }; function supersaverAdsLog(message) { if ("console" in window && "log" in console) { console.log(message); } } function supersaverAdsCamapaignEngage() { supersaverAdsLog("supersaverAdsCamapaignEngage"); SSA_CORE.BrandConnect.engage(); var topBar = document.getElementById("ssaInterstitialTopBar"); var innerHTML = topBar.innerHTML; topBar.innerHTML = ""; var topBarInnerContainerLeft = document.createElement("div"); topBarInnerContainerLeft.className = "ssaInterstitialTopBarInnerContainerLeft"; var topBarInnerContainerRight = document.createElement("div"); topBarInnerContainerRight.className = "ssaInterstitialTopBarInnerContainerRight"; var closeButton = document.createElement("div"); closeButton.className = "ssaTopBarCloseButton"; closeButton.setAttribute("onClick", "SSA_CORE.close('ssaBrandConnect')"); closeButton.innerHTML = ""; var textDiv = document.createElement("span"); textDiv.className = "ssaTopBarTextSpan"; textDiv.innerHTML = innerHTML; topBarInnerContainerLeft.appendChild(closeButton); topBarInnerContainerLeft.appendChild(textDiv); topBar.appendChild(topBarInnerContainerRight); topBar.appendChild(topBarInnerContainerLeft); var bottomBar = document.getElementById("ssaInterstitialBottomBar"); var bottomInnerContainerLeft = document.createElement("div"); bottomInnerContainerLeft.className = "ssaBottomBarInnerLeft"; var bottomInnerContainerRight = document.createElement("div"); bottomInnerContainerRight.className = "ssaBottomBarInnerRight"; bottomBar.appendChild(bottomInnerContainerRight); bottomBar.appendChild(bottomInnerContainerLeft); } function supersaverAdsOnCampaignsReady(offers) { if (typeof offers !== 'undefined' && offers.length) { supersaverAdsLog("supersaverAdsOnCampaignsReady offers: " + offers.length); for (var i = 0; i < offers.length; i++) { supersaverAdsLog(offers[i]); } FlashExternalInterface.clientElement.supersaverAdsOnCampaignsReady(offers.length.toString()); } else { supersaverAdsLog("supersaverAdsOnCampaignsReady no offers!"); FlashExternalInterface.clientElement.supersaverAdsOnCampaignsReady("0"); } } function supersaverAdsOnCampaignOpen(offer) { supersaverAdsLog("supersaverAdsOnCampaignOpen"); supersaverAdsLog(offer); FlashExternalInterface.clientElement.supersaverAdsOnCampaignOpen(); } function supersaverAdsOnCampaignClose(offer) { supersaverAdsLog("supersaverAdsOnCampaignClose"); supersaverAdsLog(offer); FlashExternalInterface.clientElement.supersaverAdsOnCampaignClose(); } function supersaverAdsOnCampaignCompleted(offer) { supersaverAdsLog("supersaverAdsOnCampaignCompleted"); supersaverAdsLog(offer); FlashExternalInterface.clientElement.supersaverAdsOnCampaignCompleted(); } function supersaverAdsLoadCampaigns() { // We need the client to have wmode=opaque or wmode=transparent for video offers if (HabbletLoader.needsFlashKbWorkaround()) { return; } supersaverAdsLog("loading supersaver script"); var g = document.createElement('script'); var s = document.getElementsByTagName('script')[0]; g.async = true; g.src = '//jsd.supersonicads.com/inlineDelivery/delivery.compressed.gz.js'; s.parentNode.insertBefore(g,s); } </script> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-448325-2']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> <script type="text/javascript"> HabboView.run(); </script> </body> </html>
Last edited by jomp16; 23-05-12 at 12:09 AM.
Thanks for trying, but straight away I get a fatal error http://www.habbo.com/client_popup/flash_problem after and before I edited connection.info.host and connection.info.port with the server running
I even tried using your source and editing external.variables etc again but it still fails.
This isn't for the newest SWF build.
Are you sure you put
127.0.0.1 game-us.habbo.com
in the hosts?
I tested here with your jar and my client and got everything right
And one question: how do you get a jar of the Sierra?!
Quackster correct the error: when I speak a few words with accents like "ááééííóóúú" the result is a recognizable character.
Forget, for NetBeans has no error but the jar guy above has errors
Last edited by jomp16; 23-05-12 at 01:49 AM.
Arrrg after hours of endless trying I simply can't get it working, the server is up and running on port 1232:
and i'm using this client.tpl, but it just doesn't work even after I changed the host to localhost (127.0.0.1):[2012/05/23 13:03:22] ####*****************####
[2012/05/23 13:03:22] #### Sierra Emulator ####
[2012/05/23 13:03:22] ####*****************####
[2012/05/23 13:03:22]
[2012/05/23 13:03:23] MySQL connection successful.
[2012/05/23 13:03:23] Server started on port 1232
[2012/05/23 13:03:23]
Btw if you want to compile you can do it with eclipse :) http://www.eclipse.org/downloads/PHP Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<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>Habbo Hotel - </title>
<script type="text/javascript">
var andSoItBegins = (new Date()).getTime();
</script>
<link rel="shortcut icon" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/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.com/articles/rss.xml" />
<meta name="csrf-token" content="1333da8b12"/>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/web-gallery/static/styles/common.css" type="text/css" />
<script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/web-gallery/static/js/libs2.js" type="text/javascript"></script>
<script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/web-gallery/static/js/visual.js" type="text/javascript"></script>
<script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/web-gallery/static/js/libs.js" type="text/javascript"></script>
<script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/web-gallery/static/js/common.js" type="text/javascript"></script>
<script type="text/javascript">
var ad_keywords = "gender%3Am,age%3A14";
var ad_key_value = "kvage=14;kvgender=m;kvtags=";
</script>
<script type="text/javascript">
document.habboLoggedIn = true;
var habboName = "Jomp13";
var habboId = 39135324;
var facebookUser = false;
var habboReqPath = "";
var habboStaticFilePath = "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/web-gallery";
var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";
var habboPartner = "";
var habboDefaultClientPopupUrl = "http://www.habbo.com/client";
window.name = "4a35b0b94f86cfd54929f03501ae230b16325fe9";
if (typeof HabboClient != "undefined") {
HabboClient.windowName = "4a35b0b94f86cfd54929f03501ae230b16325fe9";
HabboClient.maximizeWindow = true;
}
</script>
<meta property="fb:app_id" content="183096284873" />
<meta property="og:site_name" content="Habbo Hotel" />
<meta property="og:title" content="Habbo Hotel - " />
<meta property="og:url" content="http://www.habbo.com" />
<meta property="og:image" content="http://www.habbo.com/v2/images/facebook/app_habbo_hotel_image.gif" />
<meta property="og:locale" content="en_US" />
<noscript>
<meta http-equiv="refresh" content="0;url=/client/nojs" />
</noscript>
<meta http-equiv="Pragma" content="no-cache, no-store" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache, no-store" />
<link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/web-gallery/static/styles/habboflashclient.css" type="text/css" />
<script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/web-gallery/static/js/habboflashclient.js" type="text/javascript"></script>
<script type="text/javascript">
FlashExternalInterface.loginLogEnabled = true;
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" : "178.239.60.69",
"connection.info.port" : "1232",
"site.url" : "http://www.habbo.com",
"url.prefix" : "http://www.habbo.com",
"client.reload.url" : "http://www.habbo.com/client",
"client.fatal.error.url" : "http://www.habbo.com/flash_client_error",
"client.connection.failed.url" : "http://www.habbo.com/client_connection_failed",
"external.variables.txt" : "http://swf.habbixed.tk/gamedata1/external_variables.txt",
"external.texts.txt" : "http://swf.habbixed.tk/gamedata1/external_flash_texts.txt",
"external.override.texts.txt" : "http://swf.habbixed.tk/gamedata1/external_flash_override_texts.txt",
"external.override.variables.txt" : "http://swf.habbixed.tk/gamedata1/external_override_variables1.txt",
"productdata.load.url" : "http://swf.habbixed.tk/gamedata1/productdata.txt",
"furnidata.load.url" : "http://swf.habbixed.tk/gamedata1/furnidata.txt",
"sso.ticket" : "",
"processlog.enabled" : "1",
"account_id" : "39135324",
"client.starting" : "Please wait! Habbo is starting up.",
"flash.client.url" : "http://swf.habbixed.tk/gordon/RELEASE63-201201190922-633225503/",
"user.hash" : "391353245f91b584ad0fcec2547529c3c3ea52b5",
"has.identity" : "1",
"flash.client.origin" : "popup"
};
var params = {
"base" : "http://swf.habbixed.tk/gordon/RELEASE63-201201190922-633225503/",
"allowScriptAccess" : "always",
"menu" : "false"
};
if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}
FlashExternalInterface.signoutUrl = "https://www.habbo.com/account/logout?token=1333da8b12";
var clientUrl = "http://swf.habbixed.tk/gordon/RELEASE63-201201190922-633225503/Habbo(2).swf";
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.1.0", "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/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>
<meta name="description" content="Check into the worldӳ largest virtual hotel for FREE! Meet and make friends, play games, chat with others, create your avatar, design rooms and moreŢ />
<meta name="keywords" content="habbo hotel, virtual, world, social network, free, community, avatar, chat, online, teen, roleplaying, join, social, groups, forums, safe, play, games, online, friends, teens, rares, rare furni, collecting, create, collect, connect, furni, furniture, pets, room design, sharing, expression, badges, hangout, music, celebrity, celebrity visits, celebrities, mmo, mmorpg, massively multiplayer" />
<script src="//cdn.optimizely.com/js/13389159.js"></script>
<!--[if IE 8]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/web-gallery/static/styles/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/web-gallery/static/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/web-gallery/static/styles/ie6.css" type="text/css" />
<script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/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-BUILD1335 - 09.05.2012 10:32 - com" />
</head>
<body id="client" class="flashclient">
<div id="overlay"></div>
<img src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/web-gallery/v2/images/page_loader.gif" style="position:absolute; margin: -1500px;" />
<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 class="cbb clearfix">
<h2 class="title">Please update your Flash Player to the latest version.</h2>
<div class="box-content">
<p>You can install and download Adobe Flash Player here: <a href="http://get.adobe.com/flashplayer/">Install flash player</a>. More instructions for installation can be found here: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">More information</a></p>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/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>
<div id="fb-root"></div>
<script type="text/javascript">
window.fbAsyncInit = function() {
Cookie.erase("fbsr_183096284873");
FB.init({appId: '183096284873', status: true, cookie: true, xfbml: true, oauth: true});
$(document).fire("fbevents:scriptLoaded");
};
window.assistedLogin = function(FBobject, optresponse) {
Cookie.erase("fbsr_183096284873");
FBobject.init({appId: '183096284873', status: true, cookie: true, xfbml: true, oauth: true});
permissions = 'user_birthday,email';
defaultAction = function(response) {
if (response.authResponse) {
fbConnectUrl = "/facebook?connect=true";
Cookie.erase("fbhb_val_183096284873");
Cookie.set("fbhb_val_183096284873", response.authResponse.accessToken);
Cookie.erase("fbhb_expr_183096284873");
Cookie.set("fbhb_expr_183096284873", response.authResponse.expiresIn);
window.location.replace(fbConnectUrl);
}
};
if (typeof optresponse == 'undefined')
FBobject.login(defaultAction, {scope:permissions});
else
FBobject.login(optresponse, {scope:permissions});
};
(function() {
var e = document.createElement('script');
e.async = true;
e.src = 'https://connect.facebook.net/en_US/all.js';
document.getElementById('fb-root').appendChild(e);
}());
</script>
<iframe name="logframe" src="/bc/logframe?" width="0" height="0" frameborder="0" scrolling="no" marginwidth="0" marginheight="0" style="position: absolute; top:0; left:0"></iframe>
<iframe name="conversion-tracking" src="/conversion_tracking_frame" width="0" height="0" frameborder="0" scrolling="no" marginwidth="0" marginheight="0" style="position: absolute; top:0; left:0"></iframe>
<script type="text/javascript">
var ssa_json = {
'applicationUserId': '39135324',
'applicationKey': '2abb40ad',
'onCampaignsReady': supersaverAdsOnCampaignsReady,
'onCampaignOpen': supersaverAdsOnCampaignOpen,
'onCampaignClose': supersaverAdsOnCampaignClose,
'onCampaignCompleted': supersaverAdsOnCampaignCompleted,
'pagination': false,
'customCss': 'http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/1058/web-gallery/styles/supersonicads.css'
};
function supersaverAdsLog(message) {
if ("console" in window && "log" in console) {
console.log(message);
}
}
function supersaverAdsCamapaignEngage() {
supersaverAdsLog("supersaverAdsCamapaignEngage");
SSA_CORE.BrandConnect.engage();
var topBar = document.getElementById("ssaInterstitialTopBar");
var innerHTML = topBar.innerHTML;
topBar.innerHTML = "";
var topBarInnerContainerLeft = document.createElement("div");
topBarInnerContainerLeft.className = "ssaInterstitialTopBarInnerContainerLeft";
var topBarInnerContainerRight = document.createElement("div");
topBarInnerContainerRight.className = "ssaInterstitialTopBarInnerContainerRight";
var closeButton = document.createElement("div");
closeButton.className = "ssaTopBarCloseButton";
closeButton.setAttribute("onClick", "SSA_CORE.close('ssaBrandConnect')");
closeButton.innerHTML = "";
var textDiv = document.createElement("span");
textDiv.className = "ssaTopBarTextSpan";
textDiv.innerHTML = innerHTML;
topBarInnerContainerLeft.appendChild(closeButton);
topBarInnerContainerLeft.appendChild(textDiv);
topBar.appendChild(topBarInnerContainerRight);
topBar.appendChild(topBarInnerContainerLeft);
var bottomBar = document.getElementById("ssaInterstitialBottomBar");
var bottomInnerContainerLeft = document.createElement("div");
bottomInnerContainerLeft.className = "ssaBottomBarInnerLeft";
var bottomInnerContainerRight = document.createElement("div");
bottomInnerContainerRight.className = "ssaBottomBarInnerRight";
bottomBar.appendChild(bottomInnerContainerRight);
bottomBar.appendChild(bottomInnerContainerLeft);
}
function supersaverAdsOnCampaignsReady(offers) {
if (typeof offers !== 'undefined' && offers.length) {
supersaverAdsLog("supersaverAdsOnCampaignsReady offers: " + offers.length);
for (var i = 0; i < offers.length; i++) {
supersaverAdsLog(offers[i]);
}
FlashExternalInterface.clientElement.supersaverAdsOnCampaignsReady(offers.length.toString());
} else {
supersaverAdsLog("supersaverAdsOnCampaignsReady no offers!");
FlashExternalInterface.clientElement.supersaverAdsOnCampaignsReady("0");
}
}
function supersaverAdsOnCampaignOpen(offer) {
supersaverAdsLog("supersaverAdsOnCampaignOpen");
supersaverAdsLog(offer);
FlashExternalInterface.clientElement.supersaverAdsOnCampaignOpen();
}
function supersaverAdsOnCampaignClose(offer) {
supersaverAdsLog("supersaverAdsOnCampaignClose");
supersaverAdsLog(offer);
FlashExternalInterface.clientElement.supersaverAdsOnCampaignClose();
}
function supersaverAdsOnCampaignCompleted(offer) {
supersaverAdsLog("supersaverAdsOnCampaignCompleted");
supersaverAdsLog(offer);
FlashExternalInterface.clientElement.supersaverAdsOnCampaignCompleted();
}
function supersaverAdsLoadCampaigns() {
// We need the client to have wmode=opaque or wmode=transparent for video offers
if (HabbletLoader.needsFlashKbWorkaround()) {
return;
}
supersaverAdsLog("loading supersaver script");
var g = document.createElement('script');
var s = document.getElementsByTagName('script')[0];
g.async = true;
g.src = '//jsd.supersonicads.com/inlineDelivery/delivery.compressed.gz.js';
s.parentNode.insertBefore(g,s);
}
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-448325-2']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<script type="text/javascript">
HabboView.run();
</script>
</body>
</html>
Last edited by iain17; 23-05-12 at 11:49 AM.
Updating Git Hub very soon! I've cleaned out all my repository's within the next hour you'll see a brand-new CMS (3.0) and along with source changes..
Keep checking for source at https://github.com/QuacksterNET/SierraEmulator
And a soon-to-be CMS link at https://github.com/QuacksterNET/SierraEmulator/README
PS: CMS estimated to be 253 MB (in zip format) with SWFS included! :D