AzureCMS & EMU Help!

Jinks

New Member
Dec 2, 2015
23
2
I have done everything right in the installer but when i enter the hotel (emu) it goes white, nothings happens

Here's my CMS Settings from the installer:
PHP:
<?php

/*
* * azure project presents:
                                          _
                                         | |
__,   __          ,_    _             _ | |
/  |  / / _|   |  /  |  |/    |  |  |_|/ |/ \_
\_/|_/ /_/  \_/|_/   |_/|__/   \/ \/  |__/\_/
        /|
        \|
                azure web
                version: 1.0a
                azure team
* * be carefully.
*/

error_reporting(1);

define("INSTALLED", true);

/*
* * settings of the cms
*/
//database settings
$database_settings = array (
  'host' => 'localhost',
  'user' => 'root',
  'pass' => '123',
  'name' => 'azure',
  'port' => '3306',
  'type' => 'mysql',
);
//hotel settings

$hotel_settings = array (
  'bench_enabled' => false,
  'server_lang' => 'en',
  'maintenance' => 0,
  'smtp_server' => 'localhost',
  'global_url' => 'http://localhost/',
  'hotel_name' => 'Frisk',
  'hotel_url' => 'http://localhost',
  'client_newbie_name' => 'client_new/',
  'badge_url' => 'http://localhost/game/c_images/album1584/',
  'imaging_url' => 'http://localhost/game/habbo-imaging',
  'gallery_url' => 'http://localhost/',
  'swf_url' => 'http://localhost/game/',
  'random_stuff' => 's8a3m7',
  'client_name' => 'client/',
  'comb_name' => '1.xml',
  'emu_ip' => '127.0.0.1',
  'emu_port' => '30000',
  'swf_name' => 'Habbos.swf',
  'gordon_path' => 'RELEASE63-201411201226-580134750',
  'fb_appid' => '1',
  'fb_secret' => '',
  'fastfood_port' => '',
  'fastfood_ip' => '',
  'sonic_id' => '2abb40ad',
  'fb_int_name' => 'habboen',
  'fb_int_id' => '65d5e60e738877cb53bb5004edf6a8fc',
  'twitter_on' => 'visible',
  'twitter_name' => '1',
  'twitter_id' => '1',
  'pay_pal_url' => 'www.paypal.com/order/4535535/',
);


// define constants
defined('ROOT_PATH') || define('ROOT_PATH', realpath(dirname(__FILE__) . '/../'));
defined('DATABASE_SETTINGS') || define('DATABASE_SETTINGS', serialize($database_settings));
defined('SYSTEM_SETTINGS') || define('SYSTEM_SETTINGS', serialize($hotel_settings));
defined('RESOURCE_CACHE') || define('RESOURCE_CACHE', false);
defined('LITE_RECOLOR_FUNCTION') || define("LITE_RECOLOR_FUNCTION", false);
defined('IMAGER_RESOURCE') || define("IMAGER_RESOURCE", ROOT_PATH . "/public/habbo-imaging/");
defined('PATH_RESOURCE') || define("PATH_RESOURCE", IMAGER_RESOURCE . "BE/");

// auto load namespaces
spl_autoload_register(function ($class) {
    include_once(str_replace('\\', '/', $class . '.php'));
});

And the emu settings: - other.ini
Code:
# Azure ExtraSettings #

# CRYPTO. Only for powerful servers.
rc4.client.side.enabled=false

# Credits/Pixels Loop
currency.loop.enabled=true
currency.loop.time.in.minutes=15
credits.to.give=3000
pixels.to.give=100

# Diamonds Loop
diamonds.loop.enabled=false
diamonds.to.give=0
diamonds.vip.only=false

# Navigator New 2014 Style
navigator.newstyle.enabled=true

# Change Name Settings #
change.name.staff=false
change.name.vip=false
change.name.everyone=false

# Beta stuff and NUX gifts #
enable.beta.camera=true
newuser.gifts.enabled=false
newuser.gift.yttv2.id=

# API Camera & Thumbnails #
api.hash=
api.hotel.domain=funny-hotel.nl

# Interactive stuff #
everyone.use.floor=true
admin.can.useHTML=true
commands.new.page=false
figuredata.url=http://localhost/game/gamedata/figuredata.xml
furnidata.url=http://localhost/game/gamedata/furnidata.xml
youtube.thumbnail.suburl=youtubethumbnail.php?Video

main.ini
Code:
## Azure Emulator System Configuration File
## Must be edited for the server to work

## MySQL Configuration
db.hostname=127.0.0.1
db.port=3306
db.username=root
db.password=123
db.name=azure
db.type=MySQL

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

## Game TCP/IP Configuration
game.tcp.bindip=127.0.0.1
game.tcp.port=30000
game.tcp.poolsize=100
game.tcp.enablenagles=false

## When using a proxy, your port could be different. Set here the proxy port.
## If you don't use a proxy, set the same port as 'game.tcp.port'.
game.tcp.port.proxy=30000

## Anti-DDOS
## Note: Keep this disabled this if you are using a proxy.
game.tcp.antiddos=false
game.tcp.conperip=5

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

## Client configuration
client.ping.enabled=1
client.ping.interval=20000
client.maxrequests=300

## Developer Settings
system.debug=false

## Language System
system.lang=english

## Console Clear Timer
console.clear.enabled=false
console.clear.time=20000

## Bots Settings
game.roomswithbotscolor=0
game.botdefaultcolor=31
game.botbadge=BOT

## The minium rank to receive :sa.
game.sa_min_rank=3

Screenshot:
9unidb
 

DevAaron

Member
Nov 22, 2014
36
1
Right, probably not going to be any good. But, navigate over to client.php and if your using RevCMS use one of the CMS that has been released and copy that client.php into your client.php. Also, try and find the .swf inside it as you need to make sure that is called habbo.swf in your client.php file.
 

Jinks

New Member
Dec 2, 2015
23
2
I dont think that getting a new Client.php will do any good, I'm using this: ,
The CMS & EMU is to servers:





In the CMS folder i managed to find a Client.php but it only contains this code:
PHP:
<?php

/*
* * azure project presents:
                                          _
                                         | |
__,   __          ,_    _             _ | |
/  |  / / _|   |  /  |  |/    |  |  |_|/ |/ \_
\_/|_/ /_/  \_/|_/   |_/|__/   \/ \/  |__/\_/
        /|
        \|
                azure web
                version: 1.0a
                azure team
* * be carefully.
*/

namespace Azure\Controllers\ADefault;

use Azure\Interfaces\Controller as ControllerInterface;
use Azure\Types\Controller as ControllerType;
use Azure\View\Data;

/**
* Class Client
* @package Azure\Controllers\ADefault
*/
class Client extends ControllerType implements ControllerInterface
{
    /**
     * @var mixed
     */
    private $hotel_settings;

    /**
     * function construct
     * create a controller for client url
     * @param string $hotel_settings
     */

    function __construct($hotel_settings = '')
    {
        $this->hotel_settings = unserialize(SYSTEM_SETTINGS);
    }

    /**
     * function return
     * return client link
     * @return string
     */
    function show()
    {
        header('Content-type: application/json');
        return (((isset($_SESSION['is_newbie'])) && ($_SESSION['is_newbie'] == true) && (((Data::$user_instance->is_newbie) == 2) || ((Data::$user_instance->is_newbie) == 1))) ? '{"clienturl":"' . $this->hotel_settings['global_url'] . $this->hotel_settings['client_newbie_name'] . '"}' : '{"clienturl":"' . $this->hotel_settings['global_url'] . $this->hotel_settings['client_name'] . '"}');
    }
}

Also do u think this will work? If I replace this ^^ with that V V
PHP:
<!DOCTYPE html>

<html>
<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}/styles/client.css" type="text/css">
<link rel="shortcut icon" href="{url}/favicon.ico" type="image/vnd.microsoft.icon" />

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

var BaseUrl = "http://localhost/game/";
var flashvars =
{
"client.starting" : "Please wait, {hotelName} is loading...",
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "127.0.0.1",
"connection.info.port" : "30000",
"site.url" : "http://localhost",
"url.prefix" : "http://localhost",
"client.reload.url" : "http://localhost/client",
"client.fatal.error.url" : "http://localhost/disconnect",
"client.connection.failed.url" : "http://localhost/disconnect",
"external.variables.txt" : "http://localhost/game/gamedata/external_variables.txt",
"external.texts.txt" : "http://localhost/game/gamedata/external_flash_texts.xml",
"external.figurepartlist.txt" : "http://localhost/game/gamedata/figuredata.xml",
"external.override.texts.txt" : "http://localhost/game/gamedata/external_flash_override_texts.xml",
"external.override.variables.txt" : "http://localhost/game/gamedata/external_override_variables.xml",
"productdata.load.url" : "http://localhost/game/gamedata/productdata.xml",
"furnidata.load.url" : "http://localhost/game/gamedata/furnidata.xml",
"use.sso.ticket" : "1",
"sso.ticket" : "{sso}",
"processlog.enabled" : "0",
"flash.client.url" : "//localhost/game/",
"flash.client.origin" : "popup",
"nux.lobbies.enabled" : "true"
};
var params =
{
"base" : BaseUrl + "/",
"allowScriptAccess" : "always",
"menu" : "false"
};
swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "http://localhost/game/expressInstall.swf", flashvars, params, null);

</script>

</head>

<body>
<div id="client"></div>

</body>
</html>
 

Users who are viewing this thread

Top