Pasta Gamedata do Habbo que voce Baixa aki:
Download Aqui
- TUTORIAL:
Essa Primeira Parte é pra fixar o catalogo
Porque quase todos que tinham hotel beta usavam as variables e as swf do habbo.co.uk mais depois que ele se uniu com habbo.com
o povo teve que usar as swf do habbo.com dai os catalogos bugaram .
1º Depois de Baixado a pasta Gamedata cole-a Na pasta Htdocs do xampp ou na www do vertrigo.
2º Vá na pasta Gamedata procure o arquivo Vars.txt abra-o
apague oque tem lah e cole isto :
- CÓDIGO:
char.conversion.mac=[128:219,130:226,131:196,132:227,133:201,134:160,135:224,136:246,137:228,139:220,140:206,145:212,146:213,147:210,148:211,149:165,150:208,151:209,152:247,153:170,155:221,156:207,159:217,161:193,165:180,167:164,168:172,170:187,171:199,172:194,173:208,174:168,176:161,180:171,182:166,183:225,184:252,186:188,187:200,191:192,192:203,193:231,194:229,195:204,196:128,197:129,198:174,199:130,200:233,201:131,202:230,203:232,204:237,205:234,206:235,207:236,209:132,210:241,211:238,212:239,213:205,214:133,216:175,217:244,218:242,219:243,220:134,223:167,224:136,225:135,226:137,227:139,228:138,229:140,230:190,231:141,232:143,233:142,234:144,235:145,236:147,237:146,238:148,239:149,241:150,242:152,243:151,244:153,246:154,247:214,248:191,249:157,250:156,251:158,252:159,255:216]
stats.tracking.javascript=google
productdata.load.url=http://hotel-es.habbo.com/gamedata/productdata?hash=%hash%
figure.partsets.xml=http://hotel-us.habbo.com/gamedata/figurepartconfig/partsets
struct.font.grey=[#font:"v", #fontSize:9,#lineHeight:10,#color:rgb("#666666"),#ilk:#struct,#fontStyle:[#italic]]
billboard.adwarning.left.url=AdWarningsUK/ad_warning_L.png
security.cast.load.url=http://hotel-us.habbo.com/gamedata/sec.cct?t=%token%
navigator.default.view=public
latencytest.interval=20000
external.figurepartlist.txt=http://hotel-us.habbo.com/gamedata/figuredata
image.library.url=http://TEUIP/gamedata/c_images/
navigator.visible.public.root=3
permitted.name.chars=1234567890qwertyuiopasdfghjklzxcvbnm-=?!@:.,
3º Onde Tiver TEUIP troque por seu ip do hamachi ou do pc mesmo
4º Salve o Arquivo vars.txt
5ºRetorne a Pata htdocs ou www do seu vertrigo ou xampp
6º abra o arquivo client.php apague oque tem lah e cole isto :
- CÓDIGO:
<?php
/*=======================================================================
| UberCMS - Advanced Website 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: " . WWW. "/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->SetParam('sso_ticket', $users->GetUserVar(USER_ID, 'auth_ticket', false));
$client->SetParam('flash_base', 'http://images.habbo.com/gordon/RELEASE52-26904-26879-201006091210_42b32918b36fc607a27b0456766c6eeb/');
$client->SetParam('flash_client_url', 'http://images.habbo.com/dcr/r52_none_4659dbc66d1f540c81d7962306569322/');
$client->SetParam('hotel_status', $core->GetUsersOnline() . ' users online now!');
$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);
$tpl->Output();
?>
7º Salve o Client.php e Na pasta htdocs ou www abra o arquivo externals
Apague oque tem lah e cola isto:
- CÓDIGO:
<?php
/*=======================================================================
| UberCMS - Advanced Website 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.
\======================================================================*/
require_once "global.php";
$id = '';
if (isset($_GET['id']))
{
$id = $_GET['id'];
}
switch ($id)
{
case "external_variables":
echo @file_get_contents("http://TEUIP/gamedata/vars.txt");
$get = dbquery("SELECT * FROM external_variables");
while ($ext = mysql_fetch_assoc($get))
{
echo clean($ext['skey']) . '=' . clean($ext['sval'], true) . LB;
}
break;
case "external_flash_texts":
echo @file_get_contents("http://hotel-us.habbo.com/gamedata/external?id=external_flash_texts");
$get = dbquery("SELECT * FROM external_texts");
while ($ext = mysql_fetch_assoc($get))
{
echo clean($ext['skey']) . '=' . clean($ext['sval'], true) . LB;
}
break;
}
?>
8º Onde tiver TEUIP troque por seu ip do hamachi ou ip do pc e salve o arquivo externals.
9º Vá na pasta INC > TPL depois abra o arquivo page-client apague oque tem lah e cole isto :
- 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" : "TEUIP",
"connection.info.port" : "PORTA",
"site.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://TEUIP/gamedata/vars.txt",
"external.texts.txt" : "http://hotel-us.habbo.com/gamedata/external?id=external_flash_texts",
"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" : "Crazy Hotel, carregando...",
"flash.client.url" : "%flash_client_url%",
"user.hash" : "",
"facebook.user" : "0",
"has.identity" : "0",
"flash.client.origin" : "popup"
};
var params = {
"base" : "%flash_base%",
"allowscriptAccess" : "always",
"menu" : "false"
};
if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}
var clientUrl = "%flash_base%Habbo10.swf";
try {
if (swfobject.getFlashPlayerVersion().major <= 9) {
clientUrl = "%flash_base%Habbo.swf";
}
} catch(e) {}
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "9.0.115", "http://images.habbo.com/habboweb/%web_build%/web-gallery/flash/expressInstall.swf", flashvars, params);
</script>
<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 install Adobe Flash Player.</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/45_0061af58e257a7c6b931c91f771b4483/2/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>
<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>
10º Onde tiver TEUIP troque por seu ip do hamachi ou do pc e onde tiver PORTA troque por sua porta
11º Salve o Page-client
Mudando o FUNDO
12º Va na pasta gamedata > c_images > hotel_view_images_hq
13º Faça uma imagem Para o fundo de seu Hotel pegue a mesma renomeie ela para:HotelVeiw_Sky salve a mesma na pasta hotel_view_images_hq subistituindo por a que tem lah.
PS: salve seu Fundo em png caso não salve terá problemas.
Mudando Imagens do Catalogo
14º Va na pasta gamedata > c_images > catalogue
15º Lah vai ter Varias imagens voce pode trocar pelas de sua preferencia
mas Me pediram pra enssinar como mudar a img Habbo Catalogue Para
Nome do Hotel Catalogue
16º Faça Uma imagem frontpage.gif Tipo esta :
SE BUGAR TAH AKI : http://img408.imageshack.us/img408/3189/frontpage.gif
17º depois de ter feito a img frontpage.gif voce vai substituir ela por a que tem na pasta gamedata > c_images > catalogue
18º Teste Seu Hotel
-Dúvidas Posta ai Ou manda MP
Creditos
Download Da swf r52(pasta gamedata) -> RageZone
Tutorial -> Scorpion (teixeira2010)
Por postar Na CSHP -> Scorpion (teixeira2010)
.
Espero que gostem !
a Ia se esquecendo
se eu tiver coragem coloko Prints.
0 comentários:
Postar um comentário