Fixando o catalogo do Uber. 18.05.11 19:58
Atualização: Como algumas pessoas tiveram problemas com o tutorial, eu resolvi fazer uma atualização.
Muita
gente ficou com problema após a união do Habbo Uk ao hotel
internacional (Habbo.com), e todos os hoteis que possuiam a SWF do Uk
tiveram que colocar a do novo hotel, porem ficaram com seus catalogos
bugados. Aqui vai um Tutorial de como concertar isso!
1) Nescessario:
SWF r52 (Atualizada) Funfando com o Uber
2) Depois de baixar a SWF, coloque a pasta "Gamedata" na pasta Htdocs (Do XAMPP) ou WWW (Do vertrigo)
3) Após isso dentro da pasta "Gamedata" procure um arquivo chamado "vars"
4) Abra ele com o bloco de notas e coloque esse código:
5) Onde estiver SEUIP substitua pelo IP do seu computador (Exemplo: 127.0.0.1)
6) Salve o arquivo "vars"
7) Agora volte pra pasta "htdocs" e abra o arquivo "client.php" com o bloco de notas, exclua tudo e coloque o código:
Salve e abra o arquivo "external" com o bloco de notas e coloque o seguinte código:
9) Feito isso, salve e va para a pasta Inc/Tpl e procure o arquivo "page-client" e coloque esse código:
10) Onde estiver SEUIP (Você coloca o seu IP do computador) e onde estiver PORTA (Você colocar a Porta do server)
11) Após isso salve e Ligue seu Hotel! E pronto hotel com catalogo fixado.
Créditos: 100% A Ralf96 (Lukka)
Muita
gente ficou com problema após a união do Habbo Uk ao hotel
internacional (Habbo.com), e todos os hoteis que possuiam a SWF do Uk
tiveram que colocar a do novo hotel, porem ficaram com seus catalogos
bugados. Aqui vai um Tutorial de como concertar isso!
1) Nescessario:
SWF r52 (Atualizada) Funfando com o Uber
2) Depois de baixar a SWF, coloque a pasta "Gamedata" na pasta Htdocs (Do XAMPP) ou WWW (Do vertrigo)
3) Após isso dentro da pasta "Gamedata" procure um arquivo chamado "vars"
4) Abra ele com o bloco de notas e coloque esse código:
- 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://SEUIP/gamedata/c_images/
navigator.visible.public.root=3
permitted.name.chars=1234567890qwertyuiopasdfghjklzxcvbnm-=?!@:.,
latencytest.report.delta=100
struct.font.bold=[#font:"vb",#fontSize:9,#lineHeight:10,#color:rgb("#000000"),#ilk:#struct,#fontStyle:[#plain]]
figure.draworder.xml=http://hotel-us.habbo.com/gamedata/figurepartconfig/draworder
client.hotel_view.image=hotel_view_images_hq/HotelVeiw_Sky.png
billboard.adwarning.right.url=AdWarningsUK/ad_warning_R.png
flash.dynamic.download.url=http://images.habbo.com/dcr/hof_furni/
room.default.wall=201
purse.transactions.active=1
struct.font.plain=[#font:"v", #fontSize:9,#lineHeight:10,#color:rgb("#000000"),#ilk:#struct,#fontStyle:[#plain]]
client.use.invites=1
hotelview.banner.url=http://hotel-us.habbo.com//gamedata/banner
client.textdata.utf8=1
logout.concurrent.url=http://%predefined%/account/disconnected?reason=concurrentlogin&origin=%origin%
figure.animation.xml=http://hotel-us.habbo.com/gamedata/figurepartconfig/animation
dynamic.download.url=http://images.habbo.com/dcr/hof_furni/
language=en
struct.font.italic=[#font:"v", #fontSize:9,#lineHeight:10,#color:rgb("#000000"),#ilk:#struct,#fontStyle:[#italic]]
external.figurepartlist.txt.secure=https://www.habbo.com/gamedata/figuredata
logout.url=http://%predefined%/account/disconnected?reason=%reason%&origin=%origin%
room.default.floor=111
navigator.public.default=3
tutorial.name.new_user_flow=NUF_mini
furnidata.load.url=http://huhotel.com.ar/gamedata/furnidata.txt?hash=%hash%
flash.dynamic.download.name.template=%revision%/%typeid%.swf
struct.font.tooltip=[#font:"v", #fontSize:9,#lineHeight:10,#color:rgb("#000000"),#ilk:#struct,#fontStyle:[#plain]]
struct.font.link=[#font:"v", #fontSize:9,#lineHeight:10,#color:rgb("#000000"),#ilk:#struct,#fontStyle:[#underline]]
figure.draworder.xml.secure=https://www.habbo.com/gamedata/figurepartconfig/draworder
fuse.project.id=habbo_us
flash.dynamic.download.samples.template=mp3/sound_machine_sample_%typeid%.mp3
navigator.private.default=4
client.window.title=Habbo Hotel
dynamic.download.name.template=%revision%/hh_furni_xx_%typeid%.cct
avatareditor.allowclubtryout=1
private.image.library.url=http://images.habbogroup.com/c_images/
logout.disconnect.url=http://%predefined%/account/disconnected?reason=logout&origin=%origin%
latencytest.report.index=3
dynamic.download.samples.template=%revision%/%typeid%.cct
navigator.visible.private.root=4
stats.tracking.javascript.template=\TCODE
link.format.friendlist.pref=http://%predefined%/profile/friendsmanagement?tab=6
cast.entry.10=hh_human_hats
cast.entry.11=hh_human_hair
group.badge.url=http://%predefined%/habbo-imaging/badge/%imagerdata%.gif
cast.entry.12=hh_human_shirt
interface.cmds.user.friend=["friend","trade","ignore","unignore","userpage"]
cast.entry.13=hh_human_leg
cast.entry.14=hh_human_shoe
cast.entry.15=hh_kiosk_room
cast.entry.17=hh_room_utils
cast.entry.16=hh_pets_common
cast.entry.19=hh_furni_classes
cast.entry.18=hh_room_ui
link.format.credits=http://%predefined%/credits
cfh.usercategories.withnoharasser=101,102,103,104,105,106
room.cast.12=hh_human_50_fx
interface.cmds.active.ctrl=["move","rotate"]
room.cast.11=hh_human_fx
avatar.editor.url=http://%predefined%/profile
room.cast.10=hh_roomdimmer
client.minimail.embed.enabled=true
link.format.pets=http://%predefined%/hotel/pets
room.cast.1=hh_soundmachine
room.cast.2=hh_human_acc_chest
room.cast.3=hh_human_acc_waist
link.format.club=http://%predefined%/credits/habboclub
club.subscription.disabled=1
cfh.usercategories.withharasser=101,102,103,104,105,106
room.cast.8=hh_human_50_acc_chest
link.format.user.search=http://%predefined%/me#habbo-search
room.cast.9=hh_human_50_acc_waist
moderatoractionlog.url=https://theallseeingeye.sulake.com/ase/habbo/us/housekeeping/extra/hobba/moderator_activity.action?searchCriteria.habboName=
link.format.habboclub=http://%predefined%/credits/habboclub
room.cast.4=hh_human_50_shirt
interstitial.interval=120000
room.cast.5=hh_human_50_leg
avatar.editor.character.update.url=http://%predefined%/profile/characterupdate
room.cast.6=hh_human_50_shoe
room.cast.7=hh_human_50_item
navigator.tagcolorlimit.yellow=500
interstitial.show.time=5000
roomadmin.url=https://theallseeingeye.sulake.com/ase/habbo/us/housekeeping/extra/hobba/roomadmin_search.action?searchParamType=3&searchParamValue=
avatar.editor.club.promo.image=http://images.habbo.com/c_images/catalogue/club_promo_uk.gif
link.format.mail.compose=http://%predefined%/me#mail/compose/%recipientid%/%random%/
room.rating.enable=1
interface.cmds.user.personal=["badge","dance","wave","hcdance","userpage"]
paalu.key.list=[#bal1:"Q", #bal2:"E", #push1:"A", #push2:"D", #move1:"N", #move2:"M", #stabilise:"SPACE"]
navigator.cache.duration=30
navigator.colorlimit.orange=80
room.cast.private=["hh_room_private", "hh_room_landscapes"]
link.format.userpage=http://%predefined%//rd/%ID%
displayer.tag.expiration.time=600000
navigator.default_tab=official
client.news.embed.enabled=true
navigator.tagcolorlimit.orange=1000
client.full.refresh.period=5000
interface.cmds.user.owner=["take_rights","give_rights","kick","friend","trade","ignore","unignore","userpage"]
wordfilter.url=https://theallseeingeye.sulake.com/ase/habbo/us/housekeeping/extra/localization/wordfilter_select.action
text.crap.fixing=1
castload.retry.delay=20000
habboinfotool.url=https://theallseeingeye.sulake.com/ase/habbo/us/housekeeping/extra/hobba/scam_userinfo_new.action?searchParamName=username&database=Stats&searchParamValue=
rosetta.warning.page.url=http://%predefined%/client_popup/rosetta_info
link.format.tag.search=http://%predefined%//tag/search?tag=%tag%
navigator.always_open_after_login=0
pixels.enabled=true
interface.cmds.item.owner=["pick"]
cast.entry.42=hh_friend_list
interface.cmds.photo.owner=["pick","delete"]
cast.entry.41=hh_human_50_body
room.cast.small.1=hh_pets_50
cast.entry.44=hh_pets
interface.cmds.active.owner=["move","rotate","pick"]
cast.entry.43=hh_instant_messenger
cast.entry.45=hh_guide
embed.showInRoomInfo=true
client.fatal.error.url=http://%predefined%/client_error
cast.entry.40=hh_human_50_acc_head
swimjump.key.list=[#run1:"A",
#run2:"D", #dive1:"W", #dive2:"E", #dive3:"A", #dive4:"S", #dive5:"D",
#dive6:"Z", #dive7:"X", #jump:"SPACE"]
cast.entry.9=hh_human_item
cast.entry.8=hh_human_face
cast.entry.7=hh_human_body
cast.entry.6=hh_human
cast.entry.5=hh_patch_uk
cast.entry.4=hh_interface
cast.entry.3=hh_shared
cast.entry.2=hh_entry_base
cast.entry.1=hh_entry_us
client.credits.embed.enabled=true
avatar.editor.trial.promo=0
text.render.compatibility.mode=2
moderator.cmds=[":alert x",":ban x",":kick x",":superban x",":shutup x",":unmute x",":transfer x",":softkick x"]
cast.entry.38=hh_human_50_acc_eye
cast.entry.39=hh_human_50_acc_face
cast.entry.37=hh_human_50_hair
cast.entry.36=hh_human_50_hats
cast.entry.35=hh_human_50_face
avatar.editor.club.promo=0
cast.entry.34=hh_human_acc_head
cast.entry.33=hh_human_acc_face
cast.entry.32=hh_human_acc_eye
cast.entry.31=hh_entry_init
cast.entry.30=hh_badges
navigator.colorlimit.yellow=50
interstitial.max.displays=5
client.flood.timeout=300000
client.version.id=401
navigator.tagcolorlimit.red=2000
link.format.collectibles=http://%predefined%/credits/collectibles
cast.entry.27=hh_dynamic_downloader
cast.entry.28=hh_recycler
cast.entry.29=hh_poll
cast.entry.24=hh_cat_new
cast.entry.23=hh_navigator
cast.entry.26=hh_buffer
cast.entry.25=hh_cat_gfx_all
cast.entry.20=hh_room
cast.entry.22=hh_photo
infostand.report.show=1
cast.entry.21=hh_club
subscription.reminder.when.days.left=5
navigator.colorlimit.red=92
interface.cmds.user.ctrl=["kick","friend","trade","ignore","unignore","userpage"]
interface.cmds.photo.ctrl=[]
link.format.mail.inbox=http://%predefined%/me#mail
interface.cmds.item.ctrl=[]
room.recommendations=1
5) Onde estiver SEUIP substitua pelo IP do seu computador (Exemplo: 127.0.0.1)
6) Salve o arquivo "vars"
7) Agora volte pra pasta "htdocs" e abra o arquivo "client.php" com o bloco de notas, exclua tudo e coloque o código:
- 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: " . [url=http://www./][Tens de ter uma conta e sessão iniciada para poderes visualizar este link] "/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();
?>
Salve e abra o arquivo "external" com o bloco de notas e coloque o seguinte código:
- 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://SEUIP/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;
}
?>
9) Feito isso, salve e va para a pasta Inc/Tpl e procure o arquivo "page-client" e coloque esse código:
- 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" : "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://SEUIP/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" : "iDeluxe Revolution, 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 estiver SEUIP (Você coloca o seu IP do computador) e onde estiver PORTA (Você colocar a Porta do server)
11) Após isso salve e Ligue seu Hotel! E pronto hotel com catalogo fixado.
Créditos: 100% A Ralf96 (Lukka)