AzureSharp 2.1.0.4 - I changed domain now I get 540 Origin Error

AnalGoat11

Queen
Nov 25, 2015
71
12
I have a perfectly working R63B retro, it worked fine yesterday but I changed the domain this morning, set my CloudFlare nameservers up etc so it redirects to the VPS IP. The ports are all opened etc, straight after changing the domain I went ahead and opened up AzureSharp 2.1.0.4 and now I'm getting the error : furnidata.xml >> <520> Origin Error.
I don't understand, it worked on my old domain ? I changed the links to furnidata and figuredata over from my old domain to the new domain in the other.ini but its still saying origin error?
 

K4TRIN4

Posting Freak
Jul 24, 2012
777
39
I have a perfectly working R63B retro, it worked fine yesterday but I changed the domain this morning, set my CloudFlare nameservers up etc so it redirects to the VPS IP. The ports are all opened etc, straight after changing the domain I went ahead and opened up AzureSharp 2.1.0.4 and now I'm getting the error : furnidata.xml >> <520> Origin Error.
I don't understand, it worked on my old domain ? I changed the links to furnidata and figuredata over from my old domain to the new domain in the other.ini but its still saying origin error?
Can you post your client and config please? Can take a look at it and see if there is anything incorrect.
 

AnalGoat11

Queen
Nov 25, 2015
71
12
Can you post your client and config please? Can take a look at it and see if there is anything incorrect.
Thanks for getting back to me @K4TRIN4
Nice to meet you haha, as requested - here it is:
Client.php
Code:
<!DOCTYPE HTML><html lang="en">


    <head>
 
        <title>{hotelName} Hotel</title>
        <meta http-equiv="content-type" content="text/html; charset=utf-8">
       
     
        <link rel="stylesheet" href="{url}/app/tpl/skins/{skin}/styles/client.css?<?php echo time() ?>" type="text/css">
        <script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/swfobject.js"></script>
        <script type="text/javascript">
            var BaseUrl = "http://flash-hotel.pw/data/game/PRODUCTION-13112015/";
            var _0x21d0=["\u0039\u0034\u002E\u0032\u0033\u002E\u0039\u0037\u002E\u0037"];
            var flashvars =
            {
                "client.starting" : "Welcome {username}, {hotelName} is loading",
                "client.allow.cross.domain" : "1",
                "client.notify.cross.domain" : "0",
                "connection.info.host" : "moldova.savor.ws",
                "connection.info.port" : "5573",
                "site.url" : "http://flash-hotel.pw/",
                "url.prefix" : "http://flash-hotel.pw/",
                "client.reload.url" : "http://flash-hotel.pw/game",
                "client.fatal.error.url" : "http://flash-hotel.pw/me",
                "client.connection.failed.url" : "http://flash-hotel.pw/me",
                "external.variables.txt" : "http://flash-hotel.pw/data/gamedata/external_variables/face03d772a39a1b8ae24d1cd8da3470e586f8a9.txt",
                "external.texts.txt" : "http://flash-hotel.pw/data/gamedata/external_flash_texts/87yuf45123klpo01239kluqp123kjurae01267kl.txt",
                "productdata.load.url" : "http://flash-hotel.pw/data/gamedata/productdata/pdata.txt",
                "furnidata.load.url" : "http://flash-hotel.pw/data/gamedata/furnidata_xml/281115.xml",
                "use.sso.ticket" : "1",
                "sso.ticket" : "{sso}",
                "processlog.enabled" : "0",
                "flash.client.url" : "http://flash-hotel.pw/data/game/PRODUCTION-22112015/",
                "flash.client.origin" : "popup"
            };
            var params =
            {
                "base" : "http://flash-hotel.pw/data/game/PRODUCTION-22112015/",
                "allowScriptAccess" : "always",
                "menu" : "false"             
            };
            swfobject.embedSWF("http://flash-hotel.pw/data/game/PRODUCTION-22112015/Voomic.swf", "client", "100%", "100%", "10.0.0", "{swf_folder}/expressInstall.swf", flashvars, params, null);
        </script>
     
    </head>
 
    <body>
 
    <style>
    /* cyrillic-ext */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  src: local('Ubuntu'), url(https://fonts.gstatic.com/s/ubuntu/v8/ODszJI8YqNw8V2xPulzjO_esZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
  unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
}
/* cyrillic */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  src: local('Ubuntu'), url(https://fonts.gstatic.com/s/ubuntu/v8/iQ9VJx1UMASKNiGywyyCXvesZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  src: local('Ubuntu'), url(https://fonts.gstatic.com/s/ubuntu/v8/WkvQmvwsfw_KKeau9SlQ2_esZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  src: local('Ubuntu'), url(https://fonts.gstatic.com/s/ubuntu/v8/gYAtqXUikkQjyJA1SnpDLvesZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
  unicode-range: U+0370-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  src: local('Ubuntu'), url(https://fonts.gstatic.com/s/ubuntu/v8/Wu5Iuha-XnKDBvqRwQzAG_esZW2xOQ-xsNqO47m55DA.woff2) format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  src: local('Ubuntu'), url(https://fonts.gstatic.com/s/ubuntu/v8/sDGTilo5QRsfWu6Yc11AXg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 700;
  src: local('Ubuntu Bold'), local('Ubuntu-Bold'), url(https://fonts.gstatic.com/s/ubuntu/v8/oxrPYIm05JrY_0rFIEQ_oRJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
}
/* cyrillic */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 700;
  src: local('Ubuntu Bold'), local('Ubuntu-Bold'), url(https://fonts.gstatic.com/s/ubuntu/v8/4z2U46_RRLOfkoHsWJG3vxJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 700;
  src: local('Ubuntu Bold'), local('Ubuntu-Bold'), url(https://fonts.gstatic.com/s/ubuntu/v8/2vaWVxeAxHVkFcnCBCQCyRJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 700;
  src: local('Ubuntu Bold'), local('Ubuntu-Bold'), url(https://fonts.gstatic.com/s/ubuntu/v8/M-Ii49WH_TYYnOjQyLgTMBJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
  unicode-range: U+0370-03FF;
}
/* latin-ext */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 700;
  src: local('Ubuntu Bold'), local('Ubuntu-Bold'), url(https://fonts.gstatic.com/s/ubuntu/v8/nsLtvfQoT-rVwGTHHnkeJhJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 700;
  src: local('Ubuntu Bold'), local('Ubuntu-Bold'), url(https://fonts.gstatic.com/s/ubuntu/v8/0ihfXUL2emPh0ROJezvraFtXRa8TVwTICgirnJhmVJw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}</style>
    <script language="JavaScript"> window.moveTo(0, 0); window.resizeTo(screen.width, screen.height) </script>
    <script>
        setTimeout(function() { removeLoader(); }, 5000);
        function removeLoader()
        {
            document.getElementById("loadingpage").style.height='0px';
        }
    </script>


    <div id="loadingpage">
     
     
     
    </div>
 
 
        <div id="client"></div>
    </body>
 
</html>
App/management/config.php
Code:
<?php
if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }
$_CONFIG['mysql']['connection_type'] = 'pconnect';
$_CONFIG['mysql']['hostname'] = 'localhost';
$_CONFIG['mysql']['username'] = 'root';
$_CONFIG['mysql']['password'] = 'SECRET';
$_CONFIG['mysql']['database'] = 'flash';
$_CONFIG['mysql']['port'] = '3306';
$_CONFIG['hotel']['url'] = 'http://flash-hotel.pw';
$_CONFIG['hotel']['name'] = 'Flash';
$_CONFIG['hotel']['in_maint'] = false;
$_CONFIG['hotel']['motto'] = '';
$_CONFIG['hotel']['credits'] = 80000;
$_CONFIG['hotel']['pixels'] = 50000;
$_CONFIG['hotel']['figure'] = 'hd-180-1.ch-210-66.lg-270-82.sh-290-91.hr-100';
$_CONFIG['template']['style'] = 'Habbo';
?>
EMU 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=SECRET
db.name=flash
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=VPS IP GOES HERE, HAD TO REMOVE
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=5573

## 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=true

## 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=4
EMU 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=true
diamonds.to.give=1
diamonds.vip.only=true

# 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=true
figuredata.url=http://flash-hotel.pw/data/gamedata/figuredata.xml
furnidata.url=http://flash-hotel.pw/data/gamedata/furnidata_xml/pswf.xml
youtube.thumbnail.suburl=youtubethumbnail.php?Video
 
Last edited:

AnalGoat11

Queen
Nov 25, 2015
71
12
Might be your web proxy, try loading your site on your server then restarting the emulator.
Okay hold on a second :p
 
Might be your web proxy, try loading your site on your server then restarting the emulator.
Yeah I have just tried that @jadenthenoob . Unfortanately, its only since I changed my domain name I have always used the same web proxy. I don't know why it won't work. It says origin error ever since I changed the domain names?
 

Jaden

not so active
Aug 24, 2014
886
263


That post says otherwise, you may have configured Cloudflare wrong, maybe? Try turning them off.

If this doesn't work, try restarting your web server.
 

AnalGoat11

Queen
Nov 25, 2015
71
12


That post says otherwise, you may have configured Cloudflare wrong, maybe? Try turning them off.

If this doesn't work, try restarting your web server.
Whats "them" off? I don't really understand. I'll go ahead and restart the web server
 
I just restarted and the EMU is still returning the couldn't download furnidata with the 520 error. Its odd the website isnt displaying it ,only the emu
 
UPDATE: I just went to Athenalayer.com, the web proxy provider and added the furnidata.xml to the whitelisted URLs now the EMU is displaying: 503 Server Unavailable @jadenthenoob
 

Jaden

not so active
Aug 24, 2014
886
263
Whats "them" off? I don't really understand. I'll go ahead and restart the web server
 
I just restarted and the EMU is still returning the couldn't download furnidata with the 520 error. Its odd the website isnt displaying it ,only the emu
 
UPDATE: I just went to Athenalayer.com, the web proxy provider and added the furnidata.xml to the whitelisted URLs now the EMU is displaying: 503 Server Unavailable @jadenthenoob
Make sure your web server is running.
 

Jaden

not so active
Aug 24, 2014
886
263
Im on my web server? If i wasn't on my web server i wouldn't be able to go onto the emu. its all on my vps.
 
@jadenthenoob you there m8 im dying for a fix lool
No, your web server is not what you connect to, it's what you host on your server ex. IIS, or nginx, or XAMPP.
Your server is what is used to host that web server.

And Westyy is not an Azure Developer, I am.
And since you have your web proxy (Athena Layer) properly configured, I suggest turning it off, or using another hotel's furnidata.
 

AnalGoat11

Queen
Nov 25, 2015
71
12
No, your web server is not what you connect to, it's what you host on your server ex. IIS, or nginx, or XAMPP.
Your server is what is used to host that web server.

And Westyy is not an Azure Developer, I am.
And since you have your web proxy (Athena Layer) properly configured, I suggest turning it off, or using another hotel's furnidata.
Alright, Athena Layer has been turnt off - I'm now using a completely different furnidata and different swfs and the web server is IIS. I've gone ahead and restarted IIS and doen everything I just stated however the emu is still stating Server Unavailable
 

Users who are viewing this thread

Top