Tela Preta e Redirecionamento? 23.02.13 18:34
Olá pessoas, eu estou tendo um erro. :S
Ele começa assim:
Eu entro na client e fica tela preta depois vai para um tal link...
Veja no meu hotel 24 horas como fica: Link
OBS: Eu tentei usando Butterfly e Atom e fica do mesmo geito!
Conf da Client:
Conf do Emulador ATOM:
Conf Emulador BUTTERFLY:
Ele começa assim:
Eu entro na client e fica tela preta depois vai para um tal link...
Veja no meu hotel 24 horas como fica: Link
OBS: Eu tentei usando Butterfly e Atom e fica do mesmo geito!
Conf da Client:
- Código:
<?php
require_once('./data_classes/server-data.php_data_classes-core.php.php');
if($_SESSION['registernew'] == true){
require_once 'reg-beta.php';
exit;
}
if(!isset($_SESSION['username']))
{
header("Location: ".$path."/login_popup");
exit();
}
$SQL=mysql_query("SELECT * FROM user_tickets WHERE userid = '".$my_id."'");
echo mysql_error();
$N=mysql_num_rows($SQL);
if($N==0){
mysql_query("INSERT INTO `user_tickets` SET `user_tickets`.`userid` = '".$my_id."', `user_tickets`.`sessionticket` = '".GenerateTicket()."', `user_tickets`.`ipaddress` = '".$myrealip."'") or die(mysql_error());
}else{
mysql_query("UPDATE `user_tickets` SET `user_tickets`.`sessionticket` = '".GenerateTicket()."', `user_tickets`.`ipaddress` = '".$myrealip."' WHERE `userid` = '".$my_id."'") or die(mysql_error());
}
$ticketsql = mysql_query("SELECT * FROM user_tickets WHERE userid = '".$my_id."'") or die(mysql_error());
$ticketrow = mysql_fetch_assoc($ticketsql);
require_once('./templates/client_subheader.php'); ?>
<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" : "IP",
"connection.info.port" : "PORT",
"site.url" : "bunnyhotel.hopto.org",
"url.prefix" : "bunnyhotel.hopto.org",
"client.reload.url" : "bunnyhotel.hopto.org/account/reauthenticate?page=/flash_client",
"client.fatal.error.url" : "bunnyhotel.hopto.org/flash_client_error",
"client.connection.failed.url" : "bunnyhotel.hopto.org/client_connection_failed",
"external.hash" : "",
"external.variables.txt" : "http://bunnyhotel.hopto.org/swfs/external_variables.txt",
"external.texts.txt" : "http://bunnyhotel.hopto.org/swfs/external_flash_texts_new.txt",
"productdata.load.url" : "http://bunnyhotel.hopto.org/swfs/productdata.txt",
"furnidata.load.url" : "http://bunnyhotel.hopto.org/swfs/furnidata.txt",
"use.sso.ticket" : "1",
"sso.ticket" : "<?php echo $ticketrow['sessionticket']; ?>",
"processlog.enabled" : "1",
"account_id" : "1",
"client.starting" : "<?php echo $name; ?>, por favor paciência... O <?php echo $shortname; ?> está carregando.",
"flash.client.url" : "http://bunnyhotel.hopto.org/swfs/",
"user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
"has.identity" : "1",
"flash.client.origin" : "popup"
};
var params = {
"base" : "http://bunnyhotel.hopto.org/swfs/",
"allowScriptAccess" : "always",
"menu" : "false",
};
if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}
FlashExternalInterface.signoutUrl = "bunnyhotel.hopto.org/account/logout?token=<?php echo sha1($myrow['password']); ?>";
var clientUrl = "http://bunnyhotel.hopto.org/swfs/galaxy.swf";
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/424/web-gallery/flash/expressInstall.swf", flashvars, params);
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) {}
}
</script>
<meta name="description" content="HabboDo: haz amig@s, únete a la diversión y date a conocer." />
<meta name="keywords" content="HabboDo hotel, mundo, virtual, red social, gratis, comunidad, personaje, chat, online, adolescente, roleplaying, unirse, social, grupos, forums, seguro, jugar, juegos, amigos, adolescentes, raros, furni raros, coleccionable, crear, coleccionar, conectar, furni, muebles, mascotas, diseño de salas, compartir, expresión, placas, pasar el rato, música, celebridad, visitas de famosos, celebridades, juegos en línea, juegos multijugador, multijugador masivo" />
<!--[if IE 8]>
<link rel="stylesheet" href="bunnyhotel.hopto.org/web-gallery/static/styles/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="bunnyhotel.hopto.org/web-gallery/static/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="bunnyhotel.hopto.org/web-gallery/static/styles/ie6.css" type="text/css" />
<script src="bunnyhotel.hopto.org/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]-->
<center>
<div class="fb-like" data-href="http://www.facebook.com/HabboDoHotel" data-send="false" data-layout="button_count" data-width="400" data-show-faces="false" data-font="trebuchet ms"></div>
</center>
<meta name="build" content="63-BUILD406 - 09.05.2011 23:04 - de" />
</head>
<body id="client" class="flashclient">
<div id="overlay"></div>
<img src="bunnyhotel.hopto.org/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, actualiza tu Flash Player a la última versión</h2>
<div class="box-content">
<p>Puedes instalar y descargar Adobe Flash Player aquí: <a href="http://get.adobe.com/flashplayer/">Instala Flash player</a>. Más instrucciones para su instalación aquí: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">Más información</a></p>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/424/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">click here</a></p>
</div>
</noscript>
</div>
</div>
<div id="content" class="client-content"></div>
</div>
<div style="display: none">
<div id="habboCountUpdateTarget">
1,323 Mitglieder online
</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");
if (window.opener && window.opener != window && window.opener.location.href == "/") {
window.opener.location.replace("/me");
}
$(document.body).addClassName("js");
HabboClient.startPingListener();
</script>
<script type="text/javascript">
HabboView.run();
</script>
<script type="text/javascript">
jjLoader.init('client', 6, '[url]http://bunnyhotel.hopto.org/web-gallery/v.......,[/url] '[url]http://bunnyhotel.hopto.org/swfs/c_images......./url]);
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-31160185-1']);
_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 type="text/javascript" src="http://www.adcash.com/script/java.php?option=rotateur&rotateur=82761"></script>
</script>
</body>
</html>
Conf do Emulador ATOM:
- Código:
## uberEmulator System Configuration File
## Must be edited for the server to work
## MySQL Configuration
db.hostname=localhost
db.port=3306
db.username=user
db.password=senha
db.name=db
## MySQL pooling setup (controls amount of connections)
db.pool.minsize=100
db.pool.maxsize=200
## Game TCP/IP Configuration
game.tcp.bindip=IP
game.tcp.port=30000
game.tcp.conlimit=11000
game.tcp.conperip=100
game.tcp.enablenagles=False
## MUS TCP/IP Configuration
mus.tcp.bindip=IP
mus.tcp.port=30001
mus.tcp.allowedaddr=localhost;IP
## Client configuration
client.ping.enabled=1
client.ping.interval=20000
client.maxrequests=300
#IRC
irc.enabled=false
irc.server=irc.website-service.org
irc.port=6667
irc.user=USER CSharpBot 8 * :I'm a C# irc bot
irc.nick=[VG]Mordi
irc.channel=#habbovg_servermod
irc.password=rofl123
group.enabled=true
auth.ssodisabled=false
#Says wether the users should receive pixels each X seconds, how much and when (When in seconds)
game.pixel.enabled=true
game.pixel.amount=100
game.pixel.time=600
#Says wether the users should receive pixels each X seconds, how much and when (When in seconds)
game.credits.enabled=true
game.credits.amount=1000
game.credits.time=600
game.chatlog=1
game.login.credits.receiveamount=100
game.login.pixel.receiveamount=100
#Threading Main Loops.
#Esta opcion separa del MainGameLoop cada tarea a ejecutar en un proceso distinto.
SeparatedTasksInMainLoops.enabled=true
#Threading GameClientManager Loops.
#Esta opcion separa del GameClientManager.OnCycle las tareas de forma lógica para aumentar rendimiento.
SeparatedTasksInGameClientManager.enabled=false
#Baneo por spam
#Esta opción banea a los usuarios tras sucesivos intentos de flood.
spambans.enabled=false
spambans.limit=20
Conf Emulador BUTTERFLY:
- Código:
## uberEmulator System Configuration File
## Must be edited for the server to work
## MySQL Configuration
db.hostname=localhost
db.port=3306
db.username=user
db.password=senha
db.name=db
## MySQL pooling setup (controls amount of connections)
db.pool.minsize=100
db.pool.maxsize=200
## Game TCP/IP Configuration
game.tcp.bindip=IP
game.tcp.port=30000
game.tcp.conlimit=11000
game.tcp.conperip=100
game.tcp.enablenagles=False
## MUS TCP/IP Configuration
mus.tcp.bindip=IP
mus.tcp.port=30001
mus.tcp.allowedaddr=localhost;IP
## Client configuration
client.ping.enabled=1
client.ping.interval=20000
client.maxrequests=300
#IRC
irc.enabled=false
irc.server=irc.website-service.org
irc.port=6667
irc.user=USER CSharpBot 8 * :I'm a C# irc bot
irc.nick=[VG]Mordi
irc.channel=#habbovg_servermod
irc.password=rofl123
group.enabled=true
auth.ssodisabled=false
#Says wether the users should receive pixels each X seconds, how much and when (When in seconds)
game.pixel.enabled=true
game.pixel.amount=100
game.pixel.time=600
#Says wether the users should receive pixels each X seconds, how much and when (When in seconds)
game.credits.enabled=true
game.credits.amount=1000
game.credits.time=600
game.chatlog=1
game.login.credits.receiveamount=100
game.login.pixel.receiveamount=100
#Threading Main Loops.
#Esta opcion separa del MainGameLoop cada tarea a ejecutar en un proceso distinto.
SeparatedTasksInMainLoops.enabled=true
#Threading GameClientManager Loops.
#Esta opcion separa del GameClientManager.OnCycle las tareas de forma lógica para aumentar rendimiento.
SeparatedTasksInGameClientManager.enabled=false
#Baneo por spam
#Esta opción banea a los usuarios tras sucesivos intentos de flood.
spambans.enabled=false
spambans.limit=20