Client PRETA

5 participantes

barrosmv barrosmv  • 07.09.13 22:57

Client PRETA Empty Client PRETA 07.09.13 22:57

Ela carrega e depois fica preta !!!
Client : 
Código:
<?php


function SacarIP22() {
  if($_SERVER) {
    if($_SERVER["HTTP_X_FORWARDED_FOR"]) {
      $realip2 = $_SERVER["HTTP_X_FORWARDED_FOR"];
    } elseif ($_SERVER["HTTP_CLIENT_IP"]) {
      $realip2 = $_SERVER["HTTP_CLIENT_IP"];
    } else {
      $realip2 = $_SERVER["REMOTE_ADDR"];
    }
  } else {
    if(getenv("HTTP_X_FORWARDED_FOR")) {
      $realip2 = getenv("HTTP_X_FORWARDED_FOR");
    } elseif(getenv("HTTP_CLIENT_IP")) {
      $realip2 = getenv("HTTP_CLIENT_IP");
    } else {
      $realip2 = getenv("REMOTE_ADDR");
    }
  }
  return $realip2;
}


$myrealip = SacarIP22();


require_once('./data_classes/server-data.php_data_classes-core.php.php');
require_once('./data_classes/server-data.php_data_classes-session.php.php');


mysql_query("UPDATE users SET auth_ticket = '', auth_ticket = '".GenerateTicket()."', ip_last = '', ip_last = '".$remote_ip."' WHERE id = '".$my_id."'") or die(mysql_error());
 
$ticketsql = mysql_query("SELECT * FROM users WHERE id = '".$my_id."'") or die(mysql_error());
$ticketrow = mysql_fetch_assoc($ticketsql);


$client_port = mysql_fetch_assoc($client_port = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_port'"));
$client_mus = mysql_fetch_assoc($client_mus = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_mus'"));
$client_ip = mysql_fetch_assoc($client_ip = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_ip'"));
$client_variables = mysql_fetch_assoc($client_variables = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_variables'"));
$client_variables_night = mysql_fetch_assoc($client_variables_night = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_variables_night'"));
$client_texts = mysql_fetch_assoc($client_texts = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_texts'"));
$client_swf_path = mysql_fetch_assoc($client_swf_path = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_swf_path'"));
$client_habbo_swf = mysql_fetch_assoc($client_habbo_swf = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_habbo_swf'"));
$client_limit = mysql_fetch_assoc($client_limit = mysql_query("SELECT * FROM cms_settings WHERE variable = 'cms_clientlimit'"));
if($user_rank < 1 && $online_count >= $client_limit['value']){

require_once('./templates/login_subheader.php');
require_once('./templates/login_header.php');

?>

<br>
<div id="intermediate">
<h2><center>Límite de Usuarios</center></h2>
<div id="enter-hotel">
<div class="open enter-btn">
<a href="http://Page-client nova para lavvos/me" target="client" onClick="return onClientOpen(this)">Vuelve al ME<i></i></a><b></b>
</div>
</div>

<div id="info">
Actualmente tenemos <b><?php echo $online_count; ?> <?php echo $shortname; ?>s </b> conectados en el Servidor 1 y el límite es de <b><?php echo $client_limit['value']; ?> Onlines.</div>

<?php require_once('./templates/login_footer.php'); }else{ require_once('./templates/client_subheader.php'); ?>

<script type="text/javascript">
    FlashExternalInterface.loginLogEnabled = true;
   
    FlashExternalInterface.logLoginStep("web.view.start");
   
    if (top == self) {
        FlashHabboClient.cacheCheck();
    }

<?php
$pathd="firehotelbr.sytes.net";
?>
  var flashvars = {
    "client.allow.cross.domain" : "1",
         "client.notify.cross.domain" : "0",
         "connection.info.host" : "firehotelbr.sytes.net",
         "connection.info.port" : "300",
         "site.url" : "<?php echo $path; ?>",
         "url.prefix" : "<?php echo $path; ?>",
         "client.reload.url" : "<?php echo $path; ?>/client",
         "client.fatal.error.url" : "<?php echo $path; ?>/clientutils",
         "client.connection.failed.url" : "<?php echo $path; ?>/clientutils",
    "external.variables.txt" : "http://firehotelbr.sytes.net/swfs/external_variables.txt",
            "external.texts.txt" : "http://firehotelbr.sytes.net/swfs/external_flash_texts.txt",
            "productdata.load.url" : "http://firehotelbr.sytes.net/swfs/productdata.txt",
            "furnidata.load.url" : "http://firehotelbr.sytes.net/swfs/furnidata.txt",

         "use.sso.ticket" : "1",
         "sso.ticket" : "<?php echo $ticketrow['auth_ticket']; ?>",
         "processlog.enabled" : "1",
         "account_id" : "1",
         "client.starting" : "Por favor, espera... <?php echo $shortname; ?> se esta cargando",
         "flash.client.url" : "http://firehotelbr.sytes.net/swfs/",
         "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
         "has.identity" : "1",
         "flash.client.origin" : "popup"


    };
    var params = {
        "base" : "http://firehotelbr.sytes.net/swfs/",
        "allowScriptAccess" : "always",
        "menu" : "false"         
    };
   
    if (!(HabbletLoader.needsFlashKbWorkaround())) {
       params["wmode"] = "opaque";
    }

    FlashExternalInterface.signoutUrl = "<?php echo $path; ?>/account/logout?token=<?php echo sha1($myrow['password']); ?>";
   
    var clientUrl = "http://firehotelbr.sytes.net/swfs/habbo.swf";

    swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "<?php echo $path; ?>/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="Skype Para contato , Daniel.SPD" />
<meta name="keywords" content="Skype Para contato , Daniel.SPD" />



<!--[if IE 8]>
<link rel="stylesheet" href="<?php echo $path; ?>/web-gallery/static/styles/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="<?php echo $path; ?>/web-gallery/static/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="<?php echo $path; ?>/web-gallery/static/styles/ie6.css" type="text/css" />
<script src="<?php echo $path; ?>/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-BUILD406 - 09.05.2011 23:04 - de" />
</head>
<body id="client" class="flashclient">
<div id="overlay"></div>
<img src="<?php echo $path; ?>/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, atualiza o adobe flash player para ultima versão</h2>

    <div class="box-content">
            <p>Clique Aqui: <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="<?php echo $path; ?>/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="fb-root"></div>
<script type="text/javascript">
    (function() {
        var e = document.createElement('script');
        e.async = true;
        e.src = 'https://connect.facebook.net/pt_BR/all.js';
        document.getElementById('fb-root').appendChild(e);
    }());
</script>

</body>
</html>

<?php } ?>
Configuração do Swift
Código:
 ## uberEmulator System Configuration File
## Must be edited for the server to work

## MySQL Configuration
db.hostname=localhost
db.port=3306
db.username=root
db.password=minha senha '-'
db.name=habbo

## MySQL pooling setup (controls amount of connections)
db.pool.minsize=1
db.pool.maxsize=100

## Game TCP/IP Configuration
game.tcp.bindip=firehotelbr.sytes.net
game.tcp.port=300
game.tcp.conlimit=11000
game.tcp.conperip=100
game.tcp.enablenagles=False

## MUS TCP/IP Configuration
mus.tcp.bindip=firehotelbr.sytes.net
mus.tcp.port=301
mus.tcp.allowedaddr=firehotelbr.sytes.net

## Stream Message
hotel.stream.message=N

## License
internal.license=

##Hotel Link
hotel.link=http://hebbo.ca/

## Hotel Link; To Stream Images
guilds.link=http://hebbo.ca/habbo-imaging/badge/
stream.link=http://hebbo.ca/habbo-imaging/head/

## Client configuration
client.ping.enabled=1
client.ping.interval=200000
client.maxrequests=500
client.maxpossiblefriends=700
client.maxitemsininventary=0

#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.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=true
spambans.limit=5

Obs : É SWF própia !

@mateustz @mateustz  • 07.09.13 23:07

Client PRETA Empty Re: Client PRETA 07.09.13 23:07

Passa qual é o Pack que vc esta usando !

barrosmv barrosmv  • 08.09.13 10:19

Client PRETA Empty Re: Client PRETA 08.09.13 10:19

Pack Luan Gamer + νσℓ¢σм
http://www.4shared.com/rar/tyLXJbKI/PackHP_HabboBR___by_LuanGamer_.html?

νσℓ¢σм νσℓ¢σм  • 08.09.13 10:38

Client PRETA Empty Re: Client PRETA 08.09.13 10:38

O emulador que vem no pack, tem que usar ele.


Agora na configuração do emulador onde está firehotelbr.sytes.net


Mude para 127.0.0.1


salve e veja se deu

WictorP WictorP  • 08.09.13 10:42

Client PRETA Empty Re: Client PRETA 08.09.13 10:42

Moderação

Tópico bloqueado e movido para Questões resolvidas. Já há outro tópico com o mesmo conteúdo e do mesmo autor.
https://www.power-pixel.net/t48053-client-carrega-mas-fica-preta

The Flash The Flash  • 08.09.13 15:11

Client PRETA Empty Re: Client PRETA 08.09.13 15:11

             @Tópico Fechado
Motivo: O autor abandonou o tópico
Permissões neste sub-fórum
Não podes responder a tópicos

BH Servers

Recomendamos a BH Servers com proteção DDOS gratuita em Cloud Server de alta performance. Entrega imediata.