Plus Revision 2

Results 1 to 9 of 9
  1. #1
    Valued Member iTzScronnie is offline
    MemberRank
    Sep 2013 Join Date
    104Posts

    Plus Revision 2

    I need helping fully setting it up. I connect it shows then I disconnect right away. I think I have everything setup.

    Here is my config:
    Spoiler:

    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'] = 'db here'; //MySQL database
    
    $_CONFIG['mysql']['port'] = '3306'; //MySQL's port
    
    /*
    *
    *    Hotel management  - All URLs do not end with an "/"
    *
    */
    
    $_CONFIG['hotel']['server_ip'] = 'ip'; //IP of VPS/DEDI/etc
    
    $_CONFIG['hotel']['url'] = 'domain'; //Does not end with a "/"
    
    $_CONFIG['hotel']['name'] = 'name'; // Hotel's name
    
    $_CONFIG['hotel']['desc'] = 'Best hotel around!'; //Hotel's description 
    
    $_CONFIG['hotel']['email'] = ''; //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'] = 'Welcome back to !'; //Default motto users will register with.
    
    $_CONFIG['hotel']['credits'] = 10000; //Default number of credits users will register with.
    
    $_CONFIG['hotel']['pixels'] = 7500; //Default number of pixels users will register with.
    
    $_CONFIG['hotel']['figure'] = 'hd-180-1.ch-210-66.lg-270-82.sh-290-91.hr-100'; //Default figure users will register with.


    Here is my client.php:
    Spoiler:
    Code:
    <!DOCTYPE html>
    <html lang="en">
        <head>
    
            <meta http-equiv="content-type" content="text/html; charset=utf-8">
            <title>Plus: Client</title>
            
            <link rel="stylesheet" href="{url}/app/tpl/skins/Habbo/styles/client.css" type="text/css">
            
            <script type="text/javascript" src="{url}/app/tpl/skins/Habbo/js/swfobject.js"></script>
            <script type="text/javascript">
                var BaseUrl = "{url}/game";
                var flashvars =
                {
                    "client.starting" : "Please wait, 2.0 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}/game/external_variables.txt", 
                    "external.texts.txt" : "{url}/game/external_flash_texts.txt", 
                    "external.override.texts.txt" : "{url}/game/external_flash_override_texts.txt",
                    "external.override.variables.txt" : "{url}/game/external_override_variables.txt",
                    "productdata.load.url" : "{url}/game/productdata.txt", 
                    "furnidata.load.url" : "{url}/game/furnidata.txt", 
                    "hotelview.banner.url" : "{url}/game/rs4.php",
                    "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", "{url}/game/expressInstall.swf", flashvars, params, null);
            </script>
        </head>
        
        <body></body>
    
    </html>

    @AKllX and @Twan can you help me out?


  2. #2
    Valued Member Troll Hotel is offline
    MemberRank
    Nov 2012 Join Date
    SlovakiaLocation
    144Posts

    Re: Plus Revision 2

    Change : "furnidata.load.url" : "{url}/game/furnidata.txt", to "furnidata.load.url" : "{url}/game/furnidata_xml.xml",
    in your Client.php

  3. #3
    Valued Member iTzScronnie is offline
    MemberRank
    Sep 2013 Join Date
    104Posts

    Re: Plus Revision 2

    Yh I figured it out. But now I need to know how to change the stack default thing

  4. #4
    Valued Member Troll Hotel is offline
    MemberRank
    Nov 2012 Join Date
    SlovakiaLocation
    144Posts

    Re: Plus Revision 2

    Change your system default decimal character to (.)

  5. #5
    Valued Member iTzScronnie is offline
    MemberRank
    Sep 2013 Join Date
    104Posts

    Re: Plus Revision 2

    where at in the database?

  6. #6
    Valued Member Troll Hotel is offline
    MemberRank
    Nov 2012 Join Date
    SlovakiaLocation
    144Posts

    Re: Plus Revision 2

    no on you computer for windows 7 :

  7. #7
    Valued Member iTzScronnie is offline
    MemberRank
    Sep 2013 Join Date
    104Posts

    Re: Plus Revision 2

    Thanks a lot!

  8. #8
    Member jales is offline
    MemberRank
    Sep 2011 Join Date
    55Posts

    Re: Plus Revision 2

    What is your cms?

  9. #9
    Proficient Member SubDababa is offline
    MemberRank
    Jan 2014 Join Date
    191Posts

    Re: Plus Revision 2

    Quote Originally Posted by jales View Post
    What is your cms?
    Just use illumina...



Advertisement