Azure external vars problem.

Fano

Do check us out, http://eubbo.pw
Aug 3, 2015
56
108
<?php
if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }

$habbo = file_get_contents(" "); preg_match("/<link[^>]*rel=\"shortcut icon\"(.*?)\\/>/si", $habbo, $match); $kiwi = explode('/', $match[1]); $build = $kiwi['4'] . "/" . $kiwi['5'];



# MySQL gegevens
$_CONFIG['mysql']['connection_type'] = 'pconnect';
$_CONFIG['mysql']['hostname'] = 'localhost'; // Je host
$_CONFIG['mysql']['username'] = 'root'; // Je MySQL naam
$_CONFIG['mysql']['password'] = 'PASSWORD'; // Je MySQL wachtwoord
$_CONFIG['mysql']['database'] = 'DATABASE'; // Je MySQL database
$_CONFIG['mysql']['port'] = '3306'; // Je MySQL port (gewoon 3306)

$_CONFIG['template']['style'] = 'Habbo'; // Template config



$_CONFIG['recaptcha']['priv_key'] = '6LcZ58USAAAAABSV5px9XZlzvIPaBOGA6rQP2G43';
$_CONFIG['recaptcha']['pub_key'] = '6LcZ58USAAAAAAQ6kquItHl4JuTBWs-5cSKzh6DD';



# Site gegevens #
$_CONFIG['hotel']['server_ip'] = '127.0.0.1'; // Je VPS (Dedi) of PC ip
$_CONFIG['hotel']['url'] = ' // De URL naar je site ZONDER "/" op het einde
$_CONFIG['hotel']['name'] = 'Hotelname'; // Je hotelnaam
$_CONFIG['hotel']['desc'] = 'Best hotel around!'; // De discriptie van je hotel
$_CONFIG['hotel']['email'] = '[email protected]'; // Het ADMIN Email
$_CONFIG['hotel']['in_maint'] = false; // Ben je in onderhoud "true" ben je niet in onderhoud "false"
$_CONFIG['hotel']['motto'] = 'I <3 ' . $_CONFIG['hotel']['name']; // De missie waar gebruikers mee beginnen
$_CONFIG['hotel']['credits'] = 10000; // Aantal credits waar je mee begint
$_CONFIG['hotel']['pixels'] = 9000; // Aantal pixels waar je mee begint
$_CONFIG['hotel']['figure'] = 'ch-215-62.hd-190-1.lg-275-79.hr-115-31.sh-3115-62-62'; //Standaard look van de gebruikers
$_CONFIG['hotel']['web_build'] = $build; // Web-Build van Habbo
$_CONFIG['hotel']['external_vars'] = ' // External vars
$_CONFIG['hotel']['external_texts'] = ' // External tekst
$_CONFIG['hotel']['product_data'] = ' // Product data
$_CONFIG['hotel']['furni_data'] = ' // Furni data
$_CONFIG['hotel']['swf_folder'] = ' // SWF base


$_CONFIG['template']['style'] = 'Habbo'; // Template config



$_CONFIG['recaptcha']['priv_key'] = '6LcZ58USAAAAABSV5px9XZlzvIPaBOGA6rQP2G43';
$_CONFIG['recaptcha']['pub_key'] = '6LcZ58USAAAAAAQ6kquItHl4JuTBWs-5cSKzh6DD';



$_CONFIG['social']['twitter'] = 'TwitterAccount'; //Hotel's Twitter account

$_CONFIG['social']['facebook'] = 'FacebookAccount'; //Hotel's Facebook account

?>

## 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=PASSWORD
db.name=DATABASE
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.conlimit=11000
game.tcp.conperip=100
game.tcp.enablenagles=true

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

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

# Interactive stuff #
everyone.use.floor=true
admin.can.useHTML=true
commands.new.page=true
figuredata.url=
furnidata.url=
youtube.thumbnail.suburl=youtubethumbnail.php?Video
<!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 = " ";
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" : " ",
"url.prefix" : " ",
"client.reload.url" : " ",
"client.fatal.error.url" : " ",
"client.connection.failed.url" : " ",
"external.variables.txt" : " ",
"external.texts.txt" : " ",
"external.figurepartlist.txt" : " ",
"external.override.texts.txt" : " ",
"external.override.variables.txt" : " ",
"productdata.load.url" : " ",
"furnidata.load.url" : " ",
"use.sso.ticket" : "1",
"sso.ticket" : "{sso}",
"processlog.enabled" : "0",
"flash.client.url" : " ",
"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", " ", flashvars, params, null);

</script>
</head>

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

</body>
</html>

Everything looks fine for me,
Emulator runs without 0 errors, till i enter the client than it showed me this.
yesterday was running the emu fine > before i replaced catalogue with epic catalogue.

hic1LDM.png


E9Xafva.png

EDIT*
<- External variables.

How to fix this?
The hotel fully loads, till you see the hotelvieuw, and disconnected after 1/2 seconds
 
Last edited:

Shatter

Selling Dedicated Servers
Jan 8, 2014
537
145
I've attempted to help the OP via Skype however both him and @Marcelloo seem to be quite incompetent. Every time I tried to explain something they would interrupt or tell me I am incorrect when I just fixed this literally 45 mins ago for a mate.

Good luck getting help although in my opinion you do not deserve it.
 

Marcel

You're the guy who stole my car
Jul 17, 2015
466
208
I've attempted to help the OP via Skype however both him and @Marcelloo seem to be quite incompetent. Every time I tried to explain something they would interrupt or tell me I am incorrect when I just fixed this literally 45 mins ago for a mate.

Good luck getting help although in my opinion you do not deserve it.
In opinion fuck you, all you did was kept repeating the same thing on and on. You say you can fix it but you can't , you don't even understand how it happened in the first place. If you can't help then don't bother I'm not in the mood for listening to someone bullshitting everything. Either way we're going to get it fix without you. Oh by the way I found something for you to patch that I've coded Skype if you know what I'm talking about. I love you sailor goon.
 

Fano

Do check us out, http://eubbo.pw
Aug 3, 2015
56
108
I've attempted to help the OP via Skype however both him and @Marcelloo seem to be quite incompetent. Every time I tried to explain something they would interrupt or tell me I am incorrect when I just fixed this literally 45 mins ago for a mate.

Good luck getting help although in my opinion you do not deserve it.
Lol, u saying i needed to use epic catalogue, while i was using it, while i get this error.
And yeah, you were repeating the same things over and over
 

Shatter

Selling Dedicated Servers
Jan 8, 2014
537
145
Lol, u saying i needed to use epic catalogue, while i was using it, while i get this error.
And yeah, you were repeating the same things over and over
Saying you need to use Epic catalogue? You said you used it and the furniture wasn't showing up. Exact issue that I was having. Don't twist my words you inbred creature. I kept repeating the same things over and over because you wouldn't let me finish which I stated in my original post.

Regardless, I'm not here to ramble. Simply enlightening others who may have the time to assist you and giving them a heads up and a few reasons to not do so ;)
 

Fano

Do check us out, http://eubbo.pw
Aug 3, 2015
56
108
Saying you need to use Epic catalogue? You said you used it and the furniture wasn't showing up. Exact issue that I was having. Don't twist my words you inbred creature. I kept repeating the same things over and over because you wouldn't let me finish which I stated in my original post.

Regardless, I'm not here to ramble. Simply enlightening others who may have the time to assist you and giving them a heads up and a few reasons to not do so ;)
Dude, i was using epic catalogue indeed, i did not say that my furniture was not showing up, because i had that problem with the old catalogue, when i started using epic catalogue was recieving the external vars error. before epic catalogue, only furni was not showing but emu was running fine.
 

Marcel

You're the guy who stole my car
Jul 17, 2015
466
208
@Kiss bro you didn't understand the issue.
When we connected the Emulator it was all fine, we got everything working. But the Catalog was invisible nothing in it except for
the names and structure of the Catalog. All Furniture was invisible, so we read up about it and @Reize suggested Azure Epic Catalog.
We connected it and all, now it caused an issue which won't allow us to access the hotel. It will load, take to front view of hotel, then
would redirect. :cool: So that's the issue don't want a fight, my muscles are pretty weak :(
 
Last edited:
Oct 11, 2014
1,071
256
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://YOURLINK/game/";
  var flashvars =
  {
  "client.starting" : "Please wait, {hotelName} is loading...",
  "client.allow.cross.domain" : "1",
  "client.notify.cross.domain" : "0",
  "connection.info.host" : "{server_ip}",
  "connection.info.port" : "30000",
  "site.url" : "http://YOURLINK",
  "url.prefix" : "http://YOURLINK",
  "client.reload.url" : "http://YOURLINK/client",
  "client.fatal.error.url" : "http://YOURLINK/client",
  "client.connection.failed.url" : "http://YOURLINK/client",
  "external.variables.txt" : "http://YOURLINK/game/gamedata/external_variables.txt",
     "external.texts.txt" : "http://YOURLINK/game/gamedata/external_flash_texts.txt",
     "external.figurepartlist.txt" : "http://YOURLINK/game/gamedata/figuredata.xml",
     "external.override.texts.txt" : "http://YOURLINK/game/gamedata/external_flash_override_texts.txt",
     "external.override.variables.txt" : "http://YOURLINK/game/gamedata/external_override_variables.txt",
     "productdata.load.url" : "http://YOURLINK/game/gamedata/productdata.xml",
     "furnidata.load.url" : "http://YOURLINK/game/gamedata/furnidata.xml",
  "use.sso.ticket" : "1",
  "sso.ticket" : "{sso}",
  "processlog.enabled" : "0",
  "flash.client.url" : "\//YOURLINK/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://YOURLINK/game/expressInstall.swf",     flashvars, params, null);
  </script>
  </head>
<body>
  <div id="client"></div>
</body>
</html>

Try This Client.php
 

Marcel

You're the guy who stole my car
Jul 17, 2015
466
208
@Reize thanks mate, his currently asleep as he lives in United Kingdom, I'm sure he'll be on sooner or later.
It took longer for other people to understand the issue when it was in front of them.
Anyway I thought something was wrong with the client.php didn't I @Fano :p
 
Last edited:

Fano

Do check us out, http://eubbo.pw
Aug 3, 2015
56
108
Thanks @Reize . I redownloaded azure, and the azure sfws.

Used your client.php, and the emu is running again, only some myslq errors but thats also fixable
 
Error en query:
SELECT * FROM catalog_items ORDER BY order_num ASC
MySql.Data.MySqlClient.MySqlException (0x80004005): Unknown column 'order_num' in 'order clause'
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
at MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
at Azure.Database.Manager.Database.Session_Details.QueryAdapter.GetTable()

You know what the sql is to fix this?
@Reize
 
Oct 11, 2014
1,071
256
Thanks @Reize . I redownloaded azure, and the azure sfws.

Used your client.php, and the emu is running again, only some myslq errors but thats also fixable
 
Error en query:
SELECT * FROM catalog_items ORDER BY order_num ASC
MySql.Data.MySqlClient.MySqlException (0x80004005): Unknown column 'order_num' in 'order clause'
at MySql.Data.MySqlClient.MySqlStream.ReadPacket()
at MySql.Data.MySqlClient.NativeDriver.GetResult(Int32& affectedRow, Int64& insertedId)
at MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force)
at MySql.Data.MySqlClient.MySqlDataReader.NextResult()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior)
at MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
at Azure.Database.Manager.Database.Session_Details.QueryAdapter.GetTable()

You know what the sql is to fix this?
@Reize
have u installed the epic catalogue?
 

Users who are viewing this thread

Top