RevCMS config (IP / Domain renamed):
Code:
$_CONFIG['hotel']['server_ip'] = 'hotellink.de'; //IP of VPS/DEDI/etc
$_CONFIG['hotel']['url'] = 'http://hotellink.de'; //Does not end with a "/"
$_CONFIG['hotel']['name'] = 'Hobbo'; // Hotel's name
$_CONFIG['hotel']['desc'] = 'Where The Fun Begins!'; //Hotel's description
$_CONFIG['hotel']['email'] = 'Support@hotmail.com'; //Where the help queries from users are emailed to @priv skin
$_CONFIG['hotel']['in_maint'] = True; //False if hotel is NOT in maintenance. True if hotel IS in maintenance
$_CONFIG['hotel']['motto'] = 'I am a new player.'; //Default motto users will register with.
$_CONFIG['hotel']['credits'] = 30000; //Default number of credits users will register with.
$_CONFIG['hotel']['pixels'] = 15000; //Default number of pixels users will register with.
$_CONFIG['hotel']['figure'] = 'hr-125-31.ch-215-62.hd-209-8.lg-275-63'; //Default figure users will register with.
$_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/1532'; //Web_Build
$_CONFIG['hotel']['external_vars'] = 'http://hotellink.de/game/external_variables_v1.txt'; //URL to your external
$_CONFIG['hotel']['external_texts'] = 'http://hotellink.de/game/external_flash_texts_2.txt'; //URL to your external texts
$_CONFIG['hotel']['product_data'] = 'http://hotellink.de/game/productdata.txt'; //URL to your productdata
$_CONFIG['hotel']['furni_data'] = 'http://hotellink.de/game/furnidata.txt'; //URL to your furnidata
$_CONFIG['hotel']['swf_folder'] = 'http://hotellink.de/game'; //URL to your SWF folder(does not end with a '/')
RevCMS client.php :
Code:
<!DOCTYPE html>
<html lang="en">
<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">
<script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/swfobject.js"></script>
<script type="text/javascript">
var BaseUrl = "{swf_folder}";
var flashvars =
{
"client.starting" : "Please wait, {hotelname} loading",
"hotelview.banner.url" : "{url}/game/rs4.php",
"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" : "{external_vars}",
"external.texts.txt" : "{external_texts}",
"productdata.load.url" : "{product_data}",
"furnidata.load.url" : "{url}/game/furnidata_xml.xml",
"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", "{swf_folder}/expressInstall.swf", flashvars, params, null);
</script>
</head>
<body>
<div id="client"></div>
</body>
</html>
So if I change hotellink.de to 127.0.0.1 and access the site over remote desktop I have no problem with connecting into the client. But when I change the swf to phoenix swf it all works also with the server-ip / domain..
TV funktioniert bei mir grad nicht.