Phoenix/RevCMS Client and SWF's

GarettM

Posting Freak
Aug 5, 2010
833
136
Hey everyone i am looking for a swf pack i guess or a fix on whats wrong?

Here is what happens.
  1. I go onto the client.
  2. it loads then stays black for a second, then disconnects
  3. The Phoenix Emulator doesn't say anyone connected.
i am not sure if this is a client error or a swf error or html error
client
HTML:
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8">
        <title>{hotelName} - Client</title>
       
        <link rel="stylesheet" href="{url}/app/template/skins/Habbo/styles/client.css" type="text/css">
       
        <script type="text/javascript" src="{url}/app/template/skins/Habbo/js/swfobject.js"></script>
        <script type="text/javascript">
            var BaseUrl = "{url}/app/storage/swfs/";
            var flashvars =
            {
                "client.starting" : "Please wait, the {hotelname} hotel is loading",
                "client.allow.cross.domain" : "1",
                "client.notify.cross.domain" : "0",
                "connection.info.host" : "{server_ip}",
                "connection.info.port" : "30000",
                "site.url" : "{url}",
                "url.prefix" : "{url}",
                "client.reload.url" : "{url}/client",
                "client.fatal.error.url" : "{url}/me",
                "client.connection.failed.url" : "{url}/me",
                "external.variables.txt" : "{url}/app/storage/swfs/gamedata/external_variables.txt",
                "external.texts.txt" : "{url}/app/storage/swfs/gamedata/external_flash_texts.txt",
                "productdata.load.url" : "{url}/app/storage/swfs/gamedata/productdata.txt",
                "furnidata.load.url" : "{url}/app/storage/swfs/gamedata/furnidata.txt",
                "use.sso.ticket" : "1",
                "sso.ticket" : "{sso}",
                "processlog.enabled" : "0",
                "flash.client.url" : BaseUrl,
                "flash.client.origin" : "popup"
            };
            var params =
            {
                "base" : BaseUrl + "/",
                "allowScriptAccess" : "always",
                "menu" : "false"               
            };
            swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "{swf_folder}/expressInstall.swf", flashvars, params, null);
        </script>
    </head>
    <body>
        <div id="client"></div>
    </body>
</html>

I am using my own custom revcms. and phoenix Emu 3.0 ( released source code one ), and windows 2012 server.

what is this error usually ?
  • Firewall?
  • SWF's?
  • Out dated html?
 

GarettM

Posting Freak
Aug 5, 2010
833
136
Did you clear cache?
That fixed the images and white space but i can't connect from outside of my vps. on local host i used this php code
PHP:
<?php

$host = '72.29.16.88';
$ports = array(30000, 80, 30001);

foreach ($ports as $port)
{
    $connection = @fsockopen($host, $port);

    if (is_resource($connection))
    {
        echo '<h2>' . $host . ':' . $port . ' ' . '(' . getservbyport($port, 'tcp') . ') is open.</h2>' . "\n";

        fclose($connection);
    }

    else
    {
        echo '<h2>' . $host . ':' . $port . ' is not responding.</h2>' . "\n";
    }
}

But port 30000 is not reachable on my network but on my vps i get connected/online. i turned off my firewall just to see
 

Users who are viewing this thread

Top