Bom, ja que muitos vinham me pedindo posta o "client.php e o
page-client.tpl" resolvi da uma forcinha e postar, a Alpha Esta chegando
ao seu fim, nao chegando fizemos uma parceria com a Hunter team, e
então de hoje em diante estarei na Hunter team.
Características:
# ~ Waasa
# ~ Cubie
# ~ HabboWood 2011
# ~ Bling
# ~ Novos pets Sapo e Aranha
# ~ Góticos 2011
# ~ Wired
# ~ Fogos
# ~ Freeze
# ~ Banzai
# ~ Futebol
# ~ Trono ( Vermelho)
# ~ Regulador ( Todas as cores )
# ~ Landscapes 100%
# ~ Novo barra de amigos do habbo.com
# ~ Bug de movimentar ecrã resolvido
# ~ Lay do Catálogo
# ~ Sem Publicidade
# ~ 24hrs / Novos Gráficos (habbo.com)
# ~ Novos visuais Vips.
# ~ Todos os mobis 100%
Prints Demonstrativos:
Client.php:
Page-client.tpl:
Lembrando que a SWF so funciona com emuladores com o Fix r65 Como o Alpha Emu que sera o msmo Hunter emu, ja re-upei.
Down EMU: http://adf.ly/246619/http://www.4shared.com/file/1JZJtJSS/Alpha_Emu_r1.html
~ Creditos
bitt ~ 60% - Editar a SWF & Fixar bugs
Sulake ~ 40% - Criar a Swf
page-client.tpl" resolvi da uma forcinha e postar, a Alpha Esta chegando
ao seu fim, nao chegando fizemos uma parceria com a Hunter team, e
então de hoje em diante estarei na Hunter team.
Características:
# ~ Waasa
# ~ Cubie
# ~ HabboWood 2011
# ~ Bling
# ~ Novos pets Sapo e Aranha
# ~ Góticos 2011
# ~ Wired
# ~ Fogos
# ~ Freeze
# ~ Banzai
# ~ Futebol
# ~ Trono ( Vermelho)
# ~ Regulador ( Todas as cores )
# ~ Landscapes 100%
# ~ Novo barra de amigos do habbo.com
# ~ Bug de movimentar ecrã resolvido
# ~ Lay do Catálogo
# ~ Sem Publicidade
# ~ 24hrs / Novos Gráficos (habbo.com)
# ~ Novos visuais Vips.
# ~ Todos os mobis 100%
Prints Demonstrativos:
https://2img.net/h/oi52.tinypic.com/mcumhh.jpg
https://2img.net/h/oi51.tinypic.com/2hdm7uv.jpg
https://2img.net/h/oi51.tinypic.com/vdj0j5.jpg
https://2img.net/h/oi53.tinypic.com/2sb5tu1.jpg
https://2img.net/h/oi53.tinypic.com/29vgch0.jpg
Client.php:
- Código:
<?php
/*=======================================================================
| UberCMS - Advanced Websheeft.servegame.com:8090 and Content Management System for uberEmu
| #######################################################################
| Copyright (c) 2010, Roy 'Meth0d' and updates by Matthew 'MDK'
| http://www.meth0d.org & http://www.sulake.biz
| #######################################################################
| This program is free software: you can redistribute it and/or modify
| it under the terms of the GNU General Public License as published by
| the Free Software Foundation, either version 3 of the License, or
| (at your option) any later version.
| #######################################################################
| This program is distributed in the hope that it will be useful,
| but WITHOUT ANY WARRANTY; without even the implied warranty of
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
| GNU General Public License for more details.
\======================================================================*/
define('HIDE_FEEDBACK', true);
require_once "global.php";
require_once "inc/class.rooms.php";
if (!LOGGED_IN)
{
header("Location: " . [url=http://www./]WWW.[/url] "/login_popup");
exit;
}
$forwardType = 0;
$forwardId = 0;
if ($users->getUserVar(USER_ID, 'newbie_status') == "0")
{
if (isset($_GET['createRoom']) && is_numeric($_GET['createRoom']))
{
$roomId = RoomManager::CreateRoom(USER_NAME . "'s room", USER_NAME, 'model_s');
switch (intval($_GET['createRoom']))
{
default:
case 0:
RoomManager::PaintRoom($roomId, '1701', '601');
break;
case 1:
RoomManager::PaintRoom($roomId, '607', '111');
break;
case 2:
RoomManager::PaintRoom($roomId, '1901', '301');
break;
case 3:
RoomManager::PaintRoom($roomId, '1801', '110');
break;
case 4:
RoomManager::PaintRoom($roomId, '503', '104');
break;
case 5:
RoomManager::PaintRoom($roomId, '804', '107');
break;
}
//die('createRoom Result: ' . $roomId);
dbquery("UPDATE users SET home_room = '" . $roomId . "', newbie_status = '1' WHERE id = '" . USER_ID . "' LIMIT 1");
//$forwardType = 2;
//$forwardId = $roomId;
}
else
{
header("Location: " . WWW . "/client?createRoom=" . rand(0, 5));
exit;
}
}
else
if (isset($_GET['forwardType']) && isset($_GET['forwardId'])
&& is_numeric($_GET['forwardType']) &&
is_numeric($_GET['forwardId']))
{
$forwardType = intval($_GET['forwardType']);
$forwardId = intval($_GET['forwardId']);
if ($forwardType >= 3 || $forwardType <= 0)
{
return;
}
}
if ($users->GetUserVar(USER_ID, "newbie_status", false) == "1")
{
header("Location: " . WWW . "/account/policy-verify");
exit;
}
$users->CheckSSO(USER_ID);
$tpl->Init();
$tpl->AddGeneric('head-init');
$tpl->AddIncludeSet('default');
$tpl->AddIncludeFile(new
IncludeFile('text/css',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/habboclient.css',
'stylesheet'));
$tpl->AddIncludeFile(new IncludeFile('text/css',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/habboflashclient.css',
'stylesheet'));
$tpl->AddIncludeFile(new
IncludeFile('text/javascript',
'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/habboflashclient.js'));
$tpl->WriteIncludeFiles();
$tpl->AddGeneric('head-bottom');
$client = new Template('page-client');
$client->SetParam('page_title', 'Client');
$client->SetParam('sso_ticket', $users->GetUserVar(USER_ID, 'auth_ticket', false));
$client->SetParam('flash_base',
'http://hunterhotel.heliohost.org/ericnantes/gordon/RELEASE63-32546-32539-201103311123_27d1b23fd5315a3d6171f6a4ff861c19/');
$client->SetParam('flash_client_url',
'http://hunterhotel.heliohost.org/ericnantes/gordon/RELEASE63-32546-32539-201103311123_27d1b23fd5315a3d6171f6a4ff861c19/');
$client->SetParam('hotel_status', $core->GetUsersOnline() . ' Usuarios online!');
$client->SetParam('forwardType', $forwardType);
$client->SetParam('forwardId', $forwardId);
if (isset($_GET['forceTicket']) && $users->HasFuse(USER_ID, 'fuse_admin'))
{
$client->SetParam('sso_ticket', $_GET['forceTicket']);
}
$tpl->AddTemplate($client);
// Footer
$tpl->AddGeneric('footer');
$tpl->Output();
?>
Page-client.tpl:
- Código:
<body id="client" class="flashclient">
<script type="text/javascript">
var habboDefaultClientPopupUrl = "%www%/client";
</script>
<noscript>
<meta http-equiv="refresh" content="0;url=%www%/client/nojs" />
</noscript>
<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" : "0",
"connection.info.host" : "SEUIP",
"connection.info.port" : "SUAPORT",
"hunterhotel.heliohost.org/ericnantes.url" : "%www%",
"url.prefix" : "%www%",
"client.reload.url" : "%www%/account/reauthenticate?page=/flash_client",
"client.fatal.error.url" : "%www%/flash_client_error",
"client.connection.failed.url" : "%www%/client_connection_failed",
"external.hash" : "",
"external.variables.txt" : "http://hunterhotel.heliohost.org/ericnantes/gamedata/external_variables/1",
"external.texts.txt" : "http://hunterhotel.heliohost.org/ericnantes/gamedata/external_flash_texts/1",
"productdata.load.url" : "http://hunterhotel.heliohost.org/ericnantes/gamedata/productdata/1",
"furnidata.load.url" : "http://hunterhotel.heliohost.org/ericnantes/gamedata/furnidata/1",
"use.sso.ticket" : "1",
<?php
if ($forwardType > 0)
{
echo ' "forward.type" : "' . $forwardType . '",' . LB;
echo ' "forward.id" : "' . $forwardId . '",' . LB;
}
?>
"sso.ticket" : "%sso_ticket%",
"processlog.enabled" : "0",
"account_id" : "0",
"client.starting" : "%HabboName%, aguarde, o hotel está carregando",
"flash.client.url" :
"http://hunterhotel.heliohost.org/ericnantes/gordon/RELEASE63-32546-32539-201103311123_27d1b23fd5315a3d6171f6a4ff861c19/",
"user.hash" : "",
"facebook.user" : "0",
"has.identity" : "0",
"flash.client.origin" : "popup"
};
var params = {
"base" :
"http://hunterhotel.heliohost.org/ericnantes/gordon/RELEASE63-32546-32539-201103311123_27d1b23fd5315a3d6171f6a4ff861c19/",
"allowScriptAccess" : "always",
"menu" : "false"
};
if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}
FlashExternalInterface.signoutUrl = "%www%/account/logout";
var clientUrl =
"http://hunterhotel.heliohost.org/ericnantes/gordon/RELEASE63-32546-32539-201103311123_27d1b23fd5315a3d6171f6a4ff861c19/Habbo.swf";
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%",
"10.0.0",
"http://images.alexgroup27.com.ve/habboweb/%web_build%/web-gallery/flash/expressInstall.swf",
flashvars, params);
</script>
<body id="client" class="flashclient">
<div id="overlay"></div>
<img
src="http://images.habbo.com/habboweb/%web_build%/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">Por favor, instale o Adobe Flash Player.</h2>
<div class="box-content">
<p>Você pode instalar e baixar o Flash Player aqui:
<a href="http://get.adobe.com/flashplayer/">Instalar Flash
player</a>. Mais instruções para a instação aqui:: <a
href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">Mais
informações</a></p>
<p><a
href="http://www.adobe.com/go/getflashplayer"><img
src="http://images.habbo.com/habboweb/%web_build%/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>Se você não for redirecionado
automaticamente,<a href="/client/nojs">clique
aqui</a></p>
</div>
</noscript>
</div>
</div>
<div id="content" class="client-content"></div>
</div>
<div style="display: none">
<div id="habboCountUpdateTarget">
%hotel_status%
</div>
<script language="JavaScript" type="text/javascript">
setTimeout(function() {
HabboCounter.init(600);
}, 20000);
</script>
</div>
<script type="text/javascript">
RightClick.init("flash-wrapper", "flash-container");
</script>
</body>
</html>
Lembrando que a SWF so funciona com emuladores com o Fix r65 Como o Alpha Emu que sera o msmo Hunter emu, ja re-upei.
Down EMU: http://adf.ly/246619/http://www.4shared.com/file/1JZJtJSS/Alpha_Emu_r1.html
~ Creditos
bitt ~ 60% - Editar a SWF & Fixar bugs
Sulake ~ 40% - Criar a Swf