Problema na SWF

+4
Rafael
GuguGRP
Edu'
Troy
8 participantes

Troy Troy  • 27.08.13 14:46

Problema na SWF Empty Problema na SWF 27.08.13 14:46

Estou com um bug na minha SWF muito chato, tipo, eu tento entrar no hotel mas ao invés de o hotel abrir, aparece uma caixa de diálogo sem nada dentro, mas eu recebo os :ha do hotel, mas de resto nada aparece, eu só consigo entrar depois de persistir bastante. Baixei a SWF do Tichondrius . Deixo abaixo um print:

Problema na SWF Jij9A3pzSkAd2

Se bugar: http://i6.minus.com/jij9A3pzSkAd2.bmp

Edu' Edu'  • 27.08.13 15:16

Problema na SWF Empty Re: Problema na SWF 27.08.13 15:16

Já tive esse erro, faça o seguinte

use essa client:

Código:

<?php

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:/haidhotel.tk/me" target="client" onClick="return onClientOpen(this)">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="http://SEU IP OU SITE/";
?>
   var flashvars = {
     "client.allow.cross.domain" : "1",
            "client.notify.cross.domain" : "0",
            "connection.info.host" : "SEU IP OU SITE",
            "connection.info.port" : "3000",
            "site.url" : "http://SEU IP OU SITE",
            "url.prefix" : "http://SEU IP OU SITE",
            "client.reload.url" : "http://SEU IP OU SITE/client",
            "client.fatal.error.url" : "http://SEU IP OU SITE/clientutils",
            "client.connection.failed.url" : "http://SEU IP OU SITE/clientutils",
                        "external.variables.txt" : "http://SEU IP OU SITE/gamedata/external_variables/22e1a7119e60eb26d87e3d3000592bd389fc2d3d.txt",
                 "safechat.list.txt" : "http://SEU IP OU SITE/gamedata/safechat/936b6a24419a9ceb6c5be40fad05fff44378d5fb.txt",
                        "external.texts.txt" : "http://SEU IP OU SITE/gamedata/external_flash_texts/a18b0baa742c6a31de77b0f5e6ed3d2eca51dcde.txt",
                        "productdata.load.url" : "http://SEU IP OU SITE/gamedata/productdata/d23cfe9124378fb2e0820b7b41c97714fea5112f.txt",
                        "furnidata.load.url" : "http://SEU IP OU SITE/gamedata/furnidata/afffa0735514716398d79c9bdc4bee43c6a80589.txt",
            "use.sso.ticket" : "1",
            "sso.ticket" : "<?php echo $ticketrow['auth_ticket']; ?>",
            "processlog.enabled" : "1",
            "account_id" : "1",
            "client.starting" : "<?php echo $name; ?>, por favor espere, o Haid Hotel está carregando",
            "flash.client.url" : "http://SEU IP OU SITE/gordon/RELEASE63-201302211227-193109692/",
            "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
            "has.identity" : "1",
            "flash.client.origin" : "popup"


    };
    var params = {
        "base" : "http://SEU IP OU SITE/gordon/RELEASE63-201302211227-193109692/",
        "allowScriptAccess" : "always",
        "menu" : "false"          
    };
   
    if (!(HabbletLoader.needsFlashKbWorkaround())) {
        params["wmode"] = "opaque";
    }

    FlashExternalInterface.signoutUrl = "http://SEU IP OU SITE/account/logout?token=<?php echo sha1($myrow['password']); ?>";
   
    var clientUrl = "http://SEU IP OU SITE/gordon/RELEASE63-201302211227-193109692/habbo.swf";

    swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://SEU IP OU SITE/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="" />
<meta name="keywords" content="" />



<!--[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 } ?>
e use esse emulador:

Spoiler:

Troy Troy  • 27.08.13 15:32

Problema na SWF Empty Re: Problema na SWF 27.08.13 15:32

Agora client carrega e fica preta.

GuguGRP GuguGRP  • 27.08.13 16:39

Problema na SWF Empty Re: Problema na SWF 27.08.13 16:39

Cara eu já tive este problema e pode ser varias coisas como DB, Emulador, Cliente e ate mesmo a SWF tenta a do DanielSPD RELEASE63-201302211227-193109692

Rafael Rafael  • 27.08.13 18:25

Problema na SWF Empty Re: Problema na SWF 27.08.13 18:25

Olá Convidado

Mude sua SWF aconselho que use um pack completo que seja novo e não tenha bugs pois há mais chance de funcionar.

lai0n lai0n  • 28.08.13 10:35

Problema na SWF Empty Re: Problema na SWF 28.08.13 10:35

Mude de swf para uma nova que não terá bugs e erros.
A dúvida foi esclarecida?

Até,

Troy Troy  • 28.08.13 10:38

Problema na SWF Empty Re: Problema na SWF 28.08.13 10:38

Eu uso a mais nova, a do Thicon, tipo, isso acontece não direto, mas as vezes. Já vi hóteis grandes com esse bug.

iBolacha iBolacha  • 28.08.13 10:53

Problema na SWF Empty Re: Problema na SWF 28.08.13 10:53

Olá,

Baixe essa Client que esta no meu tópico,vai vim com emulador beleza para você, : https://www.power-pixel.net/t47522-tutorialcomo-resovler-erro-da-client-no-pack-do-danielspd
entre no tópico pois la ja vai ta o scan do arquivo tudo beleza


Até !

Rafael Rafael  • 28.08.13 15:07

Problema na SWF Empty Re: Problema na SWF 28.08.13 15:07

Olá Convidado

Bom deixe tudo como estava antes e adicione isso na sua database

Código:
DROP PROCEDURE IF EXISTS `getroomitems`;DELIMITER ;;CREATE DEFINER=`root`@`localhost` PROCEDURE `getroomitems`(IN `roomid` INT(10) UNSIGNED)BEGINSELECT items_rooms.item_id, items_rooms.x, items_rooms.y, items_rooms.n, items.base_id, items_extradata.data, items.rareid, items.group_data, items.placedByFROM items_roomsJOIN items ON (items.item_id = items_rooms.item_id)LEFT JOIN items_extradata ON (items_extradata.item_id = items.item_id)WHERE items_rooms.room_id = roomid;END;;DELIMITER ;-- ------------------------------ Procedure structure for `getuseritems`-- ----------------------------DROP PROCEDURE IF EXISTS `getuseritems`;DELIMITER ;;CREATE DEFINER=`root`@`localhost` PROCEDURE `getuseritems`(IN userid int(10) unsigned)BEGINSELECT items_users.item_id, items.base_id, items_extradata.data, items.rareid, items.group_dataFROM items_usersJOIN items ON (items.item_id = items_users.item_id)LEFT JOIN items_extradata ON (items_extradata.item_id = items.item_id)WHERE items_users.user_id = userid;END;;DELIMITER ;
Vi no :https://www.power-pixel.net/t47720-w-como-resolver-este-bug by:gugugrp

Kilєя Kilєя  • 28.08.13 21:45

Problema na SWF Empty Re: Problema na SWF 28.08.13 21:45

Problema resolvido amigo?

The Flash The Flash  • 09.09.13 12:43

Problema na SWF Empty Re: Problema na SWF 09.09.13 12:43

             @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.