Client 100% loads then disconnects

Status
Not open for further replies.

ollicity

New Member
Dec 29, 2016
19
0
Hi thanks for looking, ive got revcms, the client loads to 100% on hotelview, then disconnect to /me ive checked the vars, config/client/emu everything is linked fine i cant find the error. any help would be great thanks.
PHP:
<!DOCTYPE html>
<?php include_once("forcevoteOFF.php");?>
<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/tpl/skins/{skin}/styling/client/client.css" type="text/css">

      

        <script type="text/javascript" src="{url}/app/tpl/skins/{skin}/styling/client/swfobject.js"></script>

        <script type="text/javascript">

            var BaseUrl = "{swf_folder}";

            var flashvars =

            {

            "client.allow.cross.domain" : "0",
            "client.notify.cross.domain" : "1",
            "connection.info.host" : "YOURIP",
            "connection.info.port" : "PORT",
            "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" : "{external_vars}",
            "external.texts.txt" : "{external_texts}",
            "productdata.load.url" : "{product_data}",
            "furnidata.load.url" : "{furni_data}",
            "use.sso.ticket" : "1",
            "sso.ticket" : "{sso}",
            "processlog.enabled" : "0",
            "account_id" : "1",
            "client.starting" : "Please wait! {hotelName} is starting up",
            "flash.client.url" : BaseUrl + "/",
            "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
            "has.identity" : "0",
            "flash.client.origin" : "popup",
            "token" : "{sso}"

            };

            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>

and then my config:
Code:
<?php
if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }
#Please fill this all out.

#NOTE: To set up TheHabbos.ORG's API go to wwwroot/mysite/thehabbos_api for IIS, OR, htdocs/thehabbos_api for XAMPP and others.

/*
*
*    MySQL management
*
*/

$_CONFIG['mysql']['connection_type'] = 'pconnect'; //Type of connection: It must be connect, or pconnect: if you want a persistent connection.

$_CONFIG['mysql']['hostname'] = 'localhost'; //MySQL host

$_CONFIG['mysql']['username'] = 'root'; //MySQL username

$_CONFIG['mysql']['password'] = 'PASSWORD'; //MySQL password

$_CONFIG['mysql']['database'] = 'DATABASE'; //MySQL database

$_CONFIG['mysql']['port'] = '3306'; //MySQL's port

/*
*
*    Hotel management  - All URLs do not end with an "/"
*
*/

$_CONFIG['hotel']['server_ip'] = 'YOURIP'; //IP of VPS/DEDI/etc

$_CONFIG['hotel']['url'] = 'http://YOURURL'; //Does not end with a "/"

$_CONFIG['hotel']['name'] = 'habbo'; // Hotel's name

$_CONFIG['hotel']['desc'] = 'Lets Go!'; //Hotel's description

$_CONFIG['hotel']['email'] = '[email protected]'; //Where the help queries from users are emailed to.@Priv skin

$_CONFIG['hotel']['in_maint'] = false; //False if hotel is NOT in maintenance. True if hotel IS in maintenance

$_CONFIG['hotel']['motto'] = 'The ' . $_CONFIG['hotel']['name'] ; //Default motto users will register with.

$_CONFIG['hotel']['credits'] = 500; //Default number of credits users will register with.

$_CONFIG['hotel']['pixels'] = 0; //Default number of pixels users will register with.

$_CONFIG['hotel']['figure'] = '-'; //Default figure users will register with.

$_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/1699'; //Web_Build

$_CONFIG['hotel']['external_vars'] = 'http://YOURURL/game/gamedata/external_variables.txt'; //URL to your external vars

$_CONFIG['hotel']['external_texts'] = 'http://YOURURL/game/gamedata/external_flash_texts.txt'; //URL to your external texts

$_CONFIG['hotel']['product_data'] = 'http://YOURURL/game/gamedata/productdata.txt'; //URL to your productdata

$_CONFIG['hotel']['furni_data'] = 'http://YOURURL/game/gamedata/furnidata.xml'; //URL to your furnidata

$_CONFIG['hotel']['swf_folder'] = 'http://YOURURL/game/gordon/PRODUCTION-201701242205-837386173'; //URL to your SWF folder(does not end with a '/')

/*
*
*    Templating management - Pick one of our default styles or make yours by following our examples!
*
*/

#RevCMS has 2 default styles, 'Mango' by dannyy94 and 'Priv' by joopie - Others styles are to come, such as RastaLulz's ProCMS style and Nominal's PhoenixCMS 4.0 style.

$_CONFIG['template']['style'] = 'cammex';

/*
*
*    Other topsites.. thing
*
*/

$_CONFIG['thehabbos']['username'] = 'Kryptos';
$_CONFIG['retro_top']['user'] = 'Kryptos';

/*
*
*    Recaptcha management - Fill the information below if you have one, else leave it like that and don't worry, be happy.
*
*/

$_CONFIG['recaptcha']['priv_key'] = '6LcZ58USAAAAABSV5px9XZlzvIPaBOGA6rQP2G43';
$_CONFIG['recaptcha']['pub_key'] = '6LcZ58USAAAAAAQ6kquItHl4JuTBWs-5cSKzh6DD';


/*
*
*    Social Networking stuff
*
*/

$_CONFIG['social']['twitter'] = 'TwitterAccount'; //Hotel's Twitter account

$_CONFIG['social']['facebook'] = 'FacebookAccount'; //Hotel's Facebook account

?>
 

Zaka

Programmer
Feb 9, 2012
471
121
@ollicity, while loading on client, press f12 and post your screenshot here.
Or do it the better way, in the client file, on the top add the code
PHP:
<?php
if(isset($_GET['disconnected'])) {
    echo '<pre>';
    print_r($_POST);
    echo '</pre>';
    die();
}
?>
and then in your client settings, where you have the "client.fatal.error.url" make sure it goes to the client like this >>
Then just copy the result and paste it here.
 

ollicity

New Member
Dec 29, 2016
19
0
managed to sort it haha just a few errors, thanks everyone! also found an error with plusemu, roomeditor doesnt work as when you edit a room it kicks you out and makes it inaccessible.

error log:

You must be registered for see images attach
 

Zaka

Programmer
Feb 9, 2012
471
121
managed to sort it haha just a few errors, thanks everyone! also found an error with plusemu, roomeditor doesnt work as when you edit a room it kicks you out and makes it inaccessible.

error log:

You must be registered for see images attach
@Sledmore has a help/bug thread or something like that, check it out.
 
Status
Not open for further replies.

Users who are viewing this thread

Top