Você não está conectado. Conecte-se ou registre-se

Power Pixel » Jogos » Habbo Hotel » Utilitários » Swf » SWF para Phoenix 3.6.0 e PowerCMS 4

SWF para Phoenix 3.6.0 e PowerCMS 4

Ver o tópico anterior Ver o tópico seguinte Ir em baixo  Mensagem [Página 1 de 1]

1SWF para Phoenix 3.6.0 e PowerCMS 4 Empty SWF para Phoenix 3.6.0 e PowerCMS 4 em Ter 11 Out 2011 - 4:13

LuizRafael79

Membro


LuizRafael79
Bom pessoal, essa é pra quem usa PowerCMS 4, configurada pelo database...

antes deletem a tabela cms_settings, depois rodem a seguinte consulta

Código:
CREATE TABLE IF NOT EXISTS `cms_settings` (
  `variable` varchar(80) NOT NULL,
  `value` text NOT NULL,
  `description` text,
  `example` text,
  PRIMARY KEY (`variable`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Extraindo dados da tabela `cms_settings`
--

INSERT INTO `cms_settings` (`variable`, `value`, `description`, `example`) VALUES
('cms_url', 'http://focos.no-ip.org/habbo', 'The url to your websites root directory', 'http://focos.no-ip.org/habbo'),
('client_ip', '177.52.7.49', 'The IP address to your hotel emulator', '177.52.7.49'),
('client_port', '30000', 'The port that your emulator is running on', '30000'),
('client_mus', '30001', 'The port that your emulators MUS is running on', '30001'),
('client_variables', 'http://glabbohosting.co.cc/gamedata/variables.txt', 'http://e-rm.net/swf/gamedata/(variaveis)/external_variables.txt', 'http://glabbohosting.co.cc/gamedata/variables.txt'),
('client_texts', 'http://glabbohosting.co.cc/gamedata/texts.txt', 'http://e-rm.net/swf/gamedata/(textos)/external_flash_texts.txt', 'http://glabbohosting.co.cc/gamedata/texts.txt'),
('rts_uname', 'Luiz Rafael', 'The username you signed up to RetroTopsites.com with', 'Luiz Rafael'),
('cms_name', 'Habbo Tropical', 'The name of your Hotel', 'Habbo Tropical'),
('client_habbo_swf', 'http://glabbohosting.co.cc/gordon/RELEASE63-34888-34886-201107192308_9e5b377e2ee4333b61eb9d20d356936d/Habbo.swf', 'http://e-rm.net/swf/gordon/RELEASE63(base)/Habbo.swf', 'http://glabbohosting.co.cc/gordon/RELEASE63-34888-34886-201107192308_9e5b377e2ee4333b61eb9d20d356936d/Habbo.swf'),
('client_swf_path', 'http://glabbohosting.co.cc/gordon/RELEASE63-34888-34886-201107192308_9e5b377e2ee4333b61eb9d20d356936d/', 'http://e-rm.net/swf/gordon/RELEASE63(base)/', 'http://glabbohosting.co.cc/gordon/RELEASE63-34888-34886-201107192308_9e5b377e2ee4333b61eb9d20d356936d/'),
('client_product_url', 'http://glabbohosting.co.cc/gamedata/productdata.txt', 'http://e-rm.net/swf/gamedata/(productdata)/productdata.txt', 'http://glabbohosting.co.cc/gamedata/productdata.txt'),
('client_furnidata_url', 'http://glabbohosting.co.cc/gamedata/furnidata.txt', 'http://e-rm.net/swf/gamedata/(furnidata)/furnidata.txt', 'http://glabbohosting.co.cc/gamedata/furnidata.txt');

Quem usa PowerCMS 4 e configura pelo Database só precisa mudar seu IP e a PORTA
Eu estou configurando pelo database direto, e adicionei essas linhas por conta própria, porque a CMS funciona dessa forma

Depois atualizem seu cliente (index.php, pasta client)

Código:
<?php
define('USERNAME_REQUIRED', TRUE);
define('ACCOUNT_REQUIRED', TRUE);
include('../global.php');

$rand1 = rand(100000, 999999);
$rand2 = rand(10000, 99999);
$rand3 = rand(10000, 99999);
$rand4 = rand(10000, 99999);
$rand5 = rand(10000, 99999);
$rand6 = rand(1, 9);
$ticket = "ST-".$rand1."-".$rand2.$rand3."-".$rand4.$rand5."-otaku-".$rand6;
$username = $_SESSION['username'];
if(@$_GET['ticket'] && @$_GET['username'] && $users->UserPermission('hk_ext_login', $_SESSION['username']))
{
   $username = $_GET['username'];
   $ticket = $_GET['ticket'];
}
$query = mysql_query("UPDATE users SET auth_ticket = '$ticket' WHERE username = '$username'");
$query = mysql_query("UPDATE users SET ip_last = '".$_SERVER['REMOTE_ADDR']."' WHERE username = '$username'");
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
   <meta http-equiv="content-type" content="text/html; charset=utf-8" />
   <title><?php echo $sitename." - Client"; ?></title>

<script type="text/javascript">
var andSoItBegins = (new Date()).getTime();
</script>
<link rel="stylesheet" href="http://imgs.packout.co.cc/v2/styles/common.css" type="text/css" />
<script src="http://imgs.packout.co.cc/static/js/libs2.js" type="text/javascript"></script>

<script src="http://imgs.packout.co.cc/static/js/visual.js" type="text/javascript"></script>
<script src="http://imgs.packout.co.cc/static/js/libs.js" type="text/javascript"></script>
<script src="http://imgs.packout.co.cc/static/js/common.js" type="text/javascript"></script>

   <script type="text/javascript">
      document.habboLoggedIn = true;
      var habboName = "<?php echo $_SESSION['username']; ?>";
      var habboReqPath = "<?php echo $core->CmsSetting('cms_url'); ?>";
      var habboStaticFilePath = "http://images.habbo.com/habboweb/60_cf3b27a092308ed2f4b382d9929147fc/4/web-gallery";
      var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";
      var habboPartner = "";
      var habboDefaultClientPopupUrl = "<?php echo $core->CmsSetting('cms_url'); ?>/client";
      window.name = "ClientWndw";
      if (typeof HabboClient != "undefined") { HabboClient.windowName = "ClientWndw"; }
   </script>

<link rel="stylesheet" href="http://imgs.packout.co.cc/v2/styles/habboflashclient.css" type="text/css" />
<script src="http://imgs.packout.co.cc/static/js/habboflashclient.js" type="text/javascript"></script>
<script src="http://imgs.packout.co.cc/static/js/identity.js" type="text/javascript"></script>

<script type="text/javascript">
    FlashExternalInterface.loginLogEnabled = false;
    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" : "<?php echo $core->CmsSetting('client_ip'); ?>",
            "connection.info.port" : "<?php echo $core->CmsSetting('client_port'); ?>",
            "site.url" : "<?php echo $core->CmsSetting('cms_url'); ?>",
            "url.prefix" : "<?php echo $core->CmsSetting('cms_url'); ?>",
            "client.reload.url" : "<?php echo $core->CmsSetting('cms_url'); ?>/index.php",
            "client.fatal.error.url" : "<?php echo $core->CmsSetting('cms_url'); ?>/client/disconnected.php?flash_client_error",
            "client.connection.failed.url" : "<?php echo $core->CmsSetting('cms_url'); ?>/client/disconnected.php?client_connection_failed",
            //"external.override.texts.txt" : "<?php echo $core->CmsSetting('client_override_texts'); ?>",
            //"external.override.variables.txt" : "<?php echo $core->CmsSetting('client_override_variables'); ?>",
            "external.variables.txt" : "<?php echo $core->CmsSetting('client_variables'); ?>",
            "external.texts.txt" : "<?php echo $core->CmsSetting('client_texts'); ?>",
            "productdata.load.url" : "<?php echo $core->CmsSetting('client_product_url'); ?>",
            "furnidata.load.url" : "<?php echo $core->CmsSetting('client_furnidata_url'); ?>",
            "use.sso.ticket" : "1",
            "sso.ticket" : "<?php echo $ticket ?>",
            "processlog.enabled" : "0",
            "account_id" : "1",
            "client.starting" : "<?php echo $sitename; ?> está carregando...",
            "flash.client.url" : "<?php echo $core->CmsSetting('client_swf_path'); ?>",
            "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
            "has.identity" : "0",
            "flash.client.origin" : "popup",
            "token" : "<?php echo $ticket ?>"
    };
    var params = {
        "base" : "<?php echo $core->CmsSetting('client_swf_path'); ?>/",
        "allowScriptAccess" : "always",
        "menu" : "false"               
    };
   
    if (!(HabbletLoader.needsFlashKbWorkaround())) {
       params["wmode"] = "opaque";
    }
   
    var clientUrl = "<?php echo $core->CmsSetting('client_habbo_swf'); ?>";

    swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/207/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>

<!--[if IE 8]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/235/web-gallery/static/styles/ie8.css" type="text/css" />
<![endif]-->

<!--[if lt IE 8]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/235/web-gallery/static/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/235/web-gallery/static/styles/ie6.css" type="text/css" />
<script src="http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/235/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]-->

</head>
 
<body id="client" class="flashclient">

<div id="overlay"></div> 
<div id="overlay"></div>
<div id="client-ui" >
    <div id="flash-wrapper">
    <div id="flash-container">
        <div id="content" bobba"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/63_1dc60c6d6ea6e089c6893ab4e0541ee0/207/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 bobba"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>

</body>
</html>

2SWF para Phoenix 3.6.0 e PowerCMS 4 Empty Re: SWF para Phoenix 3.6.0 e PowerCMS 4 em Ter 11 Out 2011 - 6:26

Potter ϟ

Membro Platina


Potter ϟ
Já tem um client pra Power v4,
mesmo assim é sempre bom relembrar.

3SWF para Phoenix 3.6.0 e PowerCMS 4 Empty Re: SWF para Phoenix 3.6.0 e PowerCMS 4 em Ter 11 Out 2011 - 6:54

DJGhost

Membro Diamante


DJGhost
Marquiori escreveu:Já tem um client pra Power v4,
mesmo assim é sempre bom relembrar.

4SWF para Phoenix 3.6.0 e PowerCMS 4 Empty Re: SWF para Phoenix 3.6.0 e PowerCMS 4 em Ter 11 Out 2011 - 14:08

LuizRafael79

Membro


LuizRafael79
[Você precisa estar registrado e conectado para ver este link.]

ai tem muitas SWF, testando aqui, depois posto resultados

5SWF para Phoenix 3.6.0 e PowerCMS 4 Empty Re: SWF para Phoenix 3.6.0 e PowerCMS 4 em Qua 12 Out 2011 - 19:20

miguelbad

Novato


miguelbad
Vey tipo dps que carrega o Client a tela Fica preta e nao sai disso algo errado ?

Conteúdo patrocinado



Ver o tópico anterior Ver o tópico seguinte Voltar ao Topo  Mensagem [Página 1 de 1]

Permissão deste fórum:
Você não pode responder aos tópicos neste fórum