Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
AzureCMS & EMU Help!
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Jinks" data-source="post: 365410" data-attributes="member: 64586"><p>I dont think that getting a new Client.php will do any good, I'm using this: <a href="https://azureweb.org" target="_blank">https://azureweb.org</a>, <a href="http://forum.*****.com/f353/project-azure-emulator-2-0-a-1084316/" target="_blank">http://forum.*****.com/f353/project-azure-emulator-2-0-a-1084316/</a></p><p>The CMS & EMU is to servers:</p><p><a href="http://prntscr.com/9uzgsl" target="_blank">http://prntscr.com/9uzgsl</a></p><p><a href="http://prntscr.com/9uzhil" target="_blank">http://prntscr.com/9uzhil</a></p><p><a href="http://prntscr.com/9uzhua" target="_blank">http://prntscr.com/9uzhua</a></p><p><a href="http://prntscr.com/9uzhxh" target="_blank">http://prntscr.com/9uzhxh</a></p><p></p><p>In the CMS folder i managed to find a Client.php but it only contains this code:</p><p>[PHP]<?php</p><p></p><p>/*</p><p>* * azure project presents:</p><p> _</p><p> | |</p><p>__, __ ,_ _ _ | |</p><p>/ | / / _| | / | |/ | | |_|/ |/ \_</p><p>\_/|_/ /_/ \_/|_/ |_/|__/ \/ \/ |__/\_/</p><p> /|</p><p> \|</p><p> azure web</p><p> version: 1.0a</p><p> azure team</p><p>* * be carefully.</p><p>*/</p><p></p><p>namespace Azure\Controllers\ADefault;</p><p></p><p>use Azure\Interfaces\Controller as ControllerInterface;</p><p>use Azure\Types\Controller as ControllerType;</p><p>use Azure\View\Data;</p><p></p><p>/**</p><p>* Class Client</p><p>* @package Azure\Controllers\ADefault</p><p>*/</p><p>class Client extends ControllerType implements ControllerInterface</p><p>{</p><p> /**</p><p> * @var mixed</p><p> */</p><p> private $hotel_settings;</p><p></p><p> /**</p><p> * function construct</p><p> * create a controller for client url</p><p> * @param string $hotel_settings</p><p> */</p><p></p><p> function __construct($hotel_settings = '')</p><p> {</p><p> $this->hotel_settings = unserialize(SYSTEM_SETTINGS);</p><p> }</p><p></p><p> /**</p><p> * function return</p><p> * return client link</p><p> * @return string</p><p> */</p><p> function show()</p><p> {</p><p> header('Content-type: application/json');</p><p> 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'] . '"}');</p><p> }</p><p>}[/PHP]</p><p></p><p>Also do u think this will work? If I replace this ^^ with that V V</p><p>[PHP]<!DOCTYPE html></p><p></p><p><html></p><p><head></p><p><meta http-equiv="content-type" content="text/html; charset=utf-8"></p><p><title>{hotelname}: Client</title></p><p></p><p><link rel="stylesheet" href="{url}/app/tpl/skins/{skin}/styles/client.css" type="text/css"></p><p><link rel="shortcut icon" href="{url}/favicon.ico" type="image/vnd.microsoft.icon" /></p><p></p><p><script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/swfobject.js"></script></p><p><script type="text/javascript"></p><p></p><p>var BaseUrl = "http://localhost/game/";</p><p>var flashvars =</p><p>{</p><p>"client.starting" : "Please wait, {hotelName} is loading...",</p><p>"client.allow.cross.domain" : "1",</p><p>"client.notify.cross.domain" : "0",</p><p>"connection.info.host" : "127.0.0.1",</p><p>"connection.info.port" : "30000",</p><p>"site.url" : "http://localhost",</p><p>"url.prefix" : "http://localhost",</p><p>"client.reload.url" : "http://localhost/client",</p><p>"client.fatal.error.url" : "http://localhost/disconnect",</p><p>"client.connection.failed.url" : "http://localhost/disconnect",</p><p>"external.variables.txt" : "http://localhost/game/gamedata/external_variables.txt",</p><p>"external.texts.txt" : "http://localhost/game/gamedata/external_flash_texts.xml",</p><p>"external.figurepartlist.txt" : "http://localhost/game/gamedata/figuredata.xml",</p><p>"external.override.texts.txt" : "http://localhost/game/gamedata/external_flash_override_texts.xml",</p><p>"external.override.variables.txt" : "http://localhost/game/gamedata/external_override_variables.xml",</p><p>"productdata.load.url" : "http://localhost/game/gamedata/productdata.xml",</p><p>"furnidata.load.url" : "http://localhost/game/gamedata/furnidata.xml",</p><p>"use.sso.ticket" : "1",</p><p>"sso.ticket" : "{sso}",</p><p>"processlog.enabled" : "0",</p><p>"flash.client.url" : "//localhost/game/",</p><p>"flash.client.origin" : "popup",</p><p>"nux.lobbies.enabled" : "true"</p><p>};</p><p>var params =</p><p>{</p><p>"base" : BaseUrl + "/",</p><p>"allowScriptAccess" : "always",</p><p>"menu" : "false"</p><p>};</p><p>swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "http://localhost/game/expressInstall.swf", flashvars, params, null);</p><p></p><p></script></p><p></p><p></head></p><p></p><p><body></p><p><div id="client"></div></p><p></p><p></body></p><p></html>[/PHP]</p></blockquote><p></p>
[QUOTE="Jinks, post: 365410, member: 64586"] I dont think that getting a new Client.php will do any good, I'm using this: [URL]https://azureweb.org[/URL], [URL]http://forum.*****.com/f353/project-azure-emulator-2-0-a-1084316/[/URL] The CMS & EMU is to servers: [URL]http://prntscr.com/9uzgsl[/URL] [URL]http://prntscr.com/9uzhil[/URL] [URL]http://prntscr.com/9uzhua[/URL] [URL]http://prntscr.com/9uzhxh[/URL] 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'] . '"}'); } }[/PHP] 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>[/PHP] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
AzureCMS & EMU Help!
Top