R63 Client Error

Results 1 to 5 of 5
  1. #1
    Apprentice RetroInMaking is offline
    MemberRank
    May 2014 Join Date
    PennLocation
    10Posts

    R63 Client Error

    I have the CMS, Emulator etc. working and the client is the only error. My client goes loads up and then goes to the me page, but it says its in client. The URL is localhost/client but its showing the me page nothing else, and the emulator works as well.

    Client.PHP:
    Spoiler:
    <?php include_once('checktheban.php'); ?><!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/tpl/skins/Custom-Habbo/styles/client.css" type="text/css">
    <link rel="shortcut icon" href="{url}/favicon.ico" type="image/vnd.microsoft.icon" /><script

    <script type="text/javascript" src="{url}/app/tpl/skins/Custom-Habbo/js/swfobject.js"></script>
    <script type="text/javascript">
    var BaseUrl = "{swf_folder}";
    var flashvars =
    {

    "client.starting" : "Please wait {username}, {hotelName} is starting up!",
    "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" : "{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",
    "flash.client.url" : BaseUrl,
    "flash.client.origin" : "popup",
    };
    var params =
    {
    "base" : BaseUrl + "/",
    "allowScriptAccess" : "always",
    "menu" : "false",
    };
    params["wmode"] = "transparent";
    swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "{swf_folder}/expressInstall.swf", flashvars, params, null);
    </script>
    <style>
    .menu {
    position:fixed;
    bottom:45px;
    left:15px;
    z-index: 1005 !important;
    color:#FFF;
    cursor:pointer;
    }
    .button {
    float:left;
    padding:3px;
    margin-right:3px;
    }
    #addedcontent {
    position:fixed;
    top:5px;
    left:300px;
    max-width:400px;
    min-width:150px;
    z-index: 1006 !important;
    }
    #b-header {
    cursor:default;
    padding:5px;
    text-align:center;
    background-color:#568BA4;
    font-size:13px;
    font-weight:bold;
    -moz-border-radius: 5px 5px 0px 0px;
    border-radius: 5px 5px 0px 0px;
    border:2px solid #66A2BE;
    border-bottom: 1px solid #000;
    height:19px;
    line-height:19px;
    }
    #b-content {
    padding:5px;
    background-color:#E9E9E1;
    -moz-border-radius: 0px 0px 5px 5px;
    border-radius: 0px 0px 5px 5px;
    color:#000;
    }
    #close-button {
    position:absolute;
    right:5px;
    top:7px;
    width:19px;
    height:20px;
    background-image:url('{url}/app/tpl/skins/{skin}/images/close.png');
    background-repeat:no-repeat;
    cursor:pointer;
    background-position:right top;
    }
    #close-button:hover {
    background-repeat:no-repeat;
    background-position:left top;
    }
    #font-face {
    font-family: Ubuntu-C;
    src: url('{url}/Ubuntu-C.ttf');
    }
    #body {
    font-size: 12px;
    font-family:Ubuntu-C;
    }
    </style>
    <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
    <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
    <script>
    $(document).ready(function() { $("#addedcontent").draggable(); $("#addedcontent").hide(); }); function loadpage(page,title) { $("#b-header").html(title + '<div id="close-button" onclick="$(\'#addedcontent\').hide();"></div>'); $('#b-content').load("addedcontent/"+page+".php", function() { $("#addedcontent").show(); }); }
    </script>
    </head>

    <body>
    <script>
    var params["wmode"] = "transparent";
    </script>
    <div id="client"></div>

    <div class="menu">
    <div class="button" onclick="loadpage('bots','Bot Creator');">Create Bot</div></div>
    <div id="addedcontent">
    <div id="b-header"> header </div>
    <div id="b-content"> content </div> </div>
    </body>
    </html>


    Client Picture:
    Spoiler:


    Emulator Config.PHP:
    Spoiler:

    ## Free Phoenix 3.7.1 13800 c2.1 System Configuration File

    ## Licence Information put user and password that you want
    username=Predator
    password=Rulez


    ## MySQL Configuration
    db.hostname=127.0.0.1
    db.port=3306
    db.username=root
    db.password=root
    db.name=r63_database


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


    ## Game TCP/IP Configuration
    game.tcp.bindip=127.0.0.1
    game.tcp.port=30000
    game.tcp.conlimit=5000


    ## Client configuration
    client.ping.enabled=1
    client.ping.interval=30000


    ## MUS TCP/IP Configuration
    mus.tcp.bindip=127.0.0.1
    mus.tcp.port=30001
    mus.tcp.allowedaddr=127.0.0.1


    ## Console Configuration
    emu.messages.connections=1
    emu.messages.roommgr=1


    CMS Setup Config.PHP:
    Spoiler:
    <?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'] = 'mysqlpassword'; //MySQL password


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


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


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


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


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


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


    $_CONFIG['hotel']['desc'] = 'Where The Fun Begins!'; //Hotel's description


    $_CONFIG['hotel']['email'] = 'Sheenkenny@hotmail.com'; //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'] = 'I am a new player.'; //Default motto users will register with.


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


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


    $_CONFIG['hotel']['figure'] = 'hr-125-31.ch-215-62.hd-209-8.lg-275-63'; //Default figure users will register with.


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


    $_CONFIG['hotel']['external_vars'] = 'http://localhost/r63/external_variables.txt'; //URL to your external


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


    $_CONFIG['hotel']['product_data'] = 'http://localhost/r63/productdata.txt'; //URL to your productdata


    $_CONFIG['hotel']['furni_data'] = 'http://localhost/r63/furnidata.txt'; //URL to your furnidata


    $_CONFIG['hotel']['swf_folder'] = 'http://localhost/r63'; //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'] = 'Custom-Habbo';


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


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


    /*
    *
    * 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'] = 'Sheenieboy Retro'; //Hotel's Facebook account




    ?>


    Updates:
    v1.0 - Updated the description for more people could understand it more.
    v1.1 - Added Spoilers
    v1.2 - Added a Picture
    v1.3 - Added 2 Notes
    v1.4 - Added External Vars Config, Emulator Config, CMS Config Setup

    Note: Before commenting please check if my client.php file doesn't have any errors.
    Note: Does anyone have any recommend swfs that work with Phoenix 3.7.1 and with an r63 hotel??
    Last edited by RetroInMaking; 24-05-14 at 09:23 PM. Reason: Update v1.4


  2. #2
    Check http://arcturus.pw The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,608Posts

    Re: R63 Client Error

    Hi,

    Welcome to the forums.

    Try the following:

    - Make sure you have portforwarded port 30000. That one is being used in: connection.info.port. (Seeing as you are on localhost that this isn't causing your issue.)
    - Make sure no 404 errors pop up if you open the developer tools (f11) and when you go network.
    - Does the emulator say anything when you try to open the client?
    - What emulator are you using and do you have to correct SWFs for that emulator?
    - Have you configured the emulator config correctly so it matches up your CMS configuration?

    It is probably due to some misconfiguration that it sends you back to the /me page.

  3. #3
    Apprentice RetroInMaking is offline
    MemberRank
    May 2014 Join Date
    PennLocation
    10Posts

    Re: R63 Client Error

    - I still haven't portfowarded
    - Haven't seen any 404 error pop ups, still have to check
    - No, the emulator doesn't say anything when the client pops up
    - Phoenix 3.7.1 (Free Edition) and I'm not sure if they're the right swfs
    - Yes

    Skype: RetroInMaking

  4. #4
    R.I.P Millercent FatalLulz is offline
    MemberRank
    Nov 2012 Join Date
    AustraliaLocation
    2,248Posts

    Re: R63 Client Error

    First off, if you're going to be making retros or owning, don't use PulseCMS (Rev rename) it has exploits ;)

    Secondly, can you post your CMS config setup for your links, your vars and your emulator config (remove password). It's most likely you haven't setup your vars correctly.

  5. #5
    Apprentice RetroInMaking is offline
    MemberRank
    May 2014 Join Date
    PennLocation
    10Posts

    Re: R63 Client Error

    Hi, FatalLulz!

    I won't use the PulseCMS since it has exploits that I didn't know about.
    Sure I'll post the CMS config setup and I'll also post my external vars and I'm using Phoenix 3.7.1 (Free Edition). I'll also post the emulator config setup.

    Thanks for your help, I really appropriate it.
    Skype: RetroInMaking

    - - - Updated - - -

    Please read the new update(s) and the note that I added.

    Skype: RetroInMaking

    - - - Updated - - -

    Hi General!

    Could you please check if there are any errors with my client.php config file?
    Skype: RetroInMaking

    Thanks for your help, I really appropriate it.
    Last edited by RetroInMaking; 24-05-14 at 08:31 PM. Reason: Misspelled



Advertisement