FrostCMS 2.0 with bug fixes
Hello guys!
First of all, I downloaded (FrostCMS 2.0 with bug fixes) and fixed a lot of things, fixed the new layout, new .css new pages etc etc etc. But now there is a problem with the client! it just loads!
I have everything right in phpmyadmin/config and client.php and it client not working! ports are open and everything! It connects on localhost but not on a normal ip when I try to make it public :/
Rep++++
this is how my client.php look right now
Code:
<?php if(!LOGGED_IN){ Site::Header(); } $base = Swf::Root(); $host = Swf::Host(); Site::forceWebbuild(); $wb = $_SESSION['wb']; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
<title>{sitename} Hotel: Client</title>
<script type="text/javascript">
var andSoItBegins = (new Date()).getTime();
</script>
<script src="http://images.habbo.com/habboweb/<?php echo $wb; ?>/web-gallery/static/js/libs2.js" type="text/javascript"></script>
<script src="http://images.habbo.com/habboweb/<?php echo $wb; ?>/web-gallery/static/js/visual.js" type="text/javascript"></script>
<script src="http://images.habbo.com/habboweb/<?php echo $wb; ?>/web-gallery/static/js/libs.js" type="text/javascript"></script>
<script src="http://images.habbo.com/habboweb/<?php echo $wb; ?>/web-gallery/static/js/common.js" type="text/javascript"></script>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $wb; ?>/web-gallery/static/styles/common.css" type="text/css" />
<link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $wb; ?>/web-gallery/styles/habboflashclient.css" type="text/css" />
<script src="http://images.habbo.com/habboweb/<?php echo $wb; ?>/web-gallery/static/js/habboflashclient.js" type="text/javascript"></script>
<script type="text/javascript">
var ad_keywords = "petschke,diwox,gender%3Am,age%3A17";
var ad_key_value = "kvage=17;kvgender=m;kvtags=diwox:petschke";
</script>
<script type="text/javascript">
document.habboLoggedIn = true;
var habboName = "{username}";
var habboId = {id};
var facebookUser = false;
var habboReqPath = "";
var habboStaticFilePath = "http://images.habbo.com/habboweb/<?php echo $wb; ?>/web-gallery";
var habboImagerUrl = "{site}/habbo-imaging/";
var habboPartner = "";
var habboDefaultClientPopupUrl = "{site}/client";
window.name = "3981c0260af76a9eb267d9b2dd7cc602d4c7b7bf";
if (typeof HabboClient != "undefined") { HabboClient.windowName = "ClientWndw"; }
</script>
<script type="text/javascript">
FlashExternalInterface.loginLogEnabled = true;
FlashExternalInterface.logLoginStep("web.view.start");
if (top == self) {
FlashHabboClient.cacheCheck();
}
var flashvars = {
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "1",
"connection.info.host" : "nobbo.hopto.org",
"connection.info.port" : "30000",
"site.url" : "<?php echo $host; ?>",
"url.prefix" : "<?php echo $host; ?>",
"client.reload.url" : "{site}/client",
"client.fatal.error.url" : "{site}/client",
"client.connection.failed.url" : "{site}/client",
"external.variables.txt" : "<?php echo Swf::Vars(); ?>",
"use.sso.ticket" : "1",
"sso.ticket" : "<?php echo $user->sso(); ?>",
"processlog.enabled" : "1",
"account_id" : "{id}",
"client.starting" : "{sitename} is loading, please wait",
"flash.client.url" : "<?php echo $base; ?>",
"user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
"has.identity" : "1",
"flash.client.origin" : "popup",
"logout.disconnect.url" : "{site}/client",
"logout.url" : "{site}/account/logout?token={token}"
};
var params = {
"base" : "<?php echo $base; ?>",
"allowScriptAccess" : "always",
"menu" : "false"
};
if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}
FlashExternalInterface.signoutUrl = "{site}/account/logout?token={token}";
var clientUrl = "<?php echo $base.Swf::File(); ?>";
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/<?php echo $wb; ?>/web-gallery/flash/expressInstall.swf", flashvars, params);
window.onbeforeunload = unloading;
function unloading() {
var clientObject;
if (navigator.appName.indexOf("Microsoft") != -1) {
clientObject = window["flash-container"];
} else {
clientObject = document["flash-container"];
}
try {
clientObject.unloading();
} catch (e) {}
}
</script>
<!--[if IE 8]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $wb; ?>/web-gallery/static/styles/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $wb; ?>/web-gallery/static/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="http://images.habbo.com/habboweb/<?php echo $wb; ?>/web-gallery/static/styles/ie6.css" type="text/css" />
<script src="http://images.habbo.com/habboweb/<?php echo $wb; ?>/web-gallery/static/js/pngfix.js" type="text/javascript"></script>
<script type="text/javascript">
try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}
</script>
<style type="text/css">
body { behavior: url(/js/csshover.htc); }
</style>
<![endif]-->
</head>
<body id="client" class="flashclient" style="overflow: hidden;">
<div style="background: #000; position: absolute; z-index: 99; bottom: 55px; width: 60px; padding: 4px 10px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;">
<a href="{site}/home" style="color: #fff; font-size: 15px; font-weight: bolder; font-family: arial;">« Home</a>
</div>
<div id="overlay"></div>
<img src="http://images.habbo.com/habboweb/<?php echo $wb; ?>/web-gallery/v2/images/page_loader.gif" style="position:absolute; margin: -1500px;" />
<div id="overlay"></div>
<div id="client-ui" >
<div id="flash-wrapper">
<div id="flash-container">
<div id="content" style="width: 400px; margin: 20px auto 0 auto; display: none">
</div>
<script type="text/javascript">
$('content').show();
</script>
<noscript>
<div style="width: 400px; margin: 20px auto 0 auto; text-align: center">
<p>If you are not automatically redirected, please <a href="{site}/client">click here</a></p>
</div>
</noscript>
</div>
</div>
<div id="content" class="client-content"></div>
</div>
<script type="text/javascript">
HabboView.run();
</script>
</body>
</html>
Re: FrostCMS 2.0 with bug fixes
Cmon people this is serious!
Re: FrostCMS 2.0 with bug fixes
What are you trying to do? Put your localhost on a domain and make it public?
Re: FrostCMS 2.0 with bug fixes
Ye, I have a hosting dedicated!
I did set up everything! if u look at nobbo.hopto.org it works fine but the client dont move, the loads keeps there
and btw Ive already put tibia online to public so I know what am doing :P
its problem in the cms it self and all other cms sucks badly
Re: FrostCMS 2.0 with bug fixes
Re: FrostCMS 2.0 with bug fixes
Re: FrostCMS 2.0 with bug fixes
It has to do with your portforwarding, have you tried it on a vps already?
To check if it's portforwarded go to nobbo.hopto.org:30000 and see if an error message comes up about something on line 23 (it should be there).
I use this sh!t.rar
Try that
Re: FrostCMS 2.0 with bug fixes
I uploaded this for you, works perfectly and is all set up for localhost.
Working FrostCMS.zip
Re: FrostCMS 2.0 with bug fixes
Quote:
Originally Posted by
azaidi
It has to do with your portforwarding, have you tried it on a vps already?
To check if it's portforwarded go to nobbo.hopto.org:30000 and see if an error message comes up about something on line 23 (it should be there).
I use this sh!t.rar
Try that
All ports are forwarded and yes on a VPS
I even tried to change ports, still not working
ill try (I use this shit)
Re: FrostCMS 2.0 with bug fixes
When I go to nobbo.hopto.org:30000 nothing comes up, so it's not portforwarded correctly.
Re: FrostCMS 2.0 with bug fixes
Quote:
Originally Posted by
azaidi
When I go to nobbo.hopto.org:30000 nothing comes up, so it's not portforwarded correctly.
cuz I changed ports to 7171 to try xD
http://nobbo.hopto.org:7171/
Re: FrostCMS 2.0 with bug fixes
When I visit your site I get a forbidden error.
Re: FrostCMS 2.0 with bug fixes
ye, cuz of the .htaccess, I didnt change it yet
do u have skype?
Im having some problems with the vps
edit: Im using ur the shit u r using and the new layout is fucked up, tottaly! So Im using HabboCom, but I dont like it! I want the old layout...
Re: FrostCMS 2.0 with bug fixes
Ok, right now Im using the shit pack u gave me!
Everything looks fine, db etc
But when I try to get into the client. it doesnt load just says Hotel loading, please wait...
and keeps like that. If i check the log file in the global folder i see that my ip is there and i tried to connect :S
In phpmyadmin:
cms_url http://nobbo.hopto.org
client_ip localhost (The IP address to your hotel emulator)
client_port 30000 (The port that your emulator is running on)
client_mus 30001 (The port that your emulators MUS is running on)
client_variables http://nobbo.hopto.org/r63/external_variables.txt (The url to your external variables)
client_texts http://nobbo.hopto.org/r63/external_flash_texts.txt (The url to your external texts)
cms_name Nobbo (The name of your Hotel)
My config.conf
Code:
## Phoenix 3.0 System Configuration File
## Licence Information
username=amiroslo
password=xxxxxx
#**************.username=amiroslo
#**************.password=xxxxxx
## MySQL Configuration
db.hostname=localhost
db.port=3306
db.username=xxxxxx
db.password=xxxxxxx
db.name=xxxxxxx
## MySQL pooling setup (controls amount of connections)
db.pool.minsize=5
db.pool.maxsize=100
## Game TCP/IP Configuration
game.tcp.bindip=nobbo.hopto.org
game.tcp.port=30000
game.tcp.conlimit=5000
## Client configuration
client.ping.enabled=1
client.ping.interval=30000
## MUS TCP/IP Configuration
mus.tcp.bindip=127.0.0.1
mus.tcp.port=30001
mus.tcp.allowedaddr=nobbo.hopto.org
## Console Configuration
emu.messages.connections=1
emu.messages.roommgr=1
and config.php
Code:
<?php
##MySQL Info
$sql_host = "localhost"; //For another port as 3306 put HOST:PORT
$sql_name = "xxxxx"; //Login name of the host
$sql_pass = "xxxxxx"; //Login pass of the host
$sql_db = "xxxxx"; //Database you want to use
##Site Info
$site_name = "Nobbo"; //The name of your retro hotel
$site_style = "Habbocom"; //The style you're using (_global_/tpl/style/">STYLE<"/)
$startlook = "hd-3101-3.sh-3016-110.ea-3107-62-62.ch-3050-96-92.he-3181-96.lg-3023-110.hr-831-38"; //The look users start with
$minhkrank = 7; //You have to be this or higher to enter HK
$site_root = ""; //For when you want to run it in a subdirectory like "frost/" (No starting slash)
$site_hash = "@_AmirZ"; //The hash that's used to make passwords safe
$webbuild_host = "habbo.nl"; //Habbo domain (www.habbo.com or www.habbo.nl), make empty to disable webbuild: ""
$twitter = "Amiroslo"; //The twitter account used for twitter apps
$cookies = true; //Set to false to disable cookie login
$compression = false; //Good for speeding up but some javascript will fail
##Swfs Info
$swfs_root = "/r63/"; //($swfs = "http://SITE/r63/"; <- Only needed for remote swfs, this is to be able to visit your hotel on localhost too)
$swfs_vars = "/r63/external_variables.txt"; //Relative external variable path, see above
$swfs_file = "Habbo.swf"; //Most of the time its Habbo.swf
##Emulator Info - If you run your emulator on another Host please contact me how to edit that
$game = true; //Turn off for sso errors :D
$game_port = 30000; //The port your emulator runs the game on
$auto_game_ip = "nobbo.hopto.org"; //"auto" is just to get the auto ip, change it to your own ip for a static ip.
##Emulator MUS Info - Please set MUS in your emu to 127.0.0.1
$mus = true; //Turn off to disable MUS Connection from logout etc
$mus_port = 30001; //The port your emulator runs the mus on
##Cache Info
$cache_session = false; //Want to cache the session or cache the whole page? Better to leave it false because the session is slower
$cache_time = -1; //2 hours is 2 * 60 * 60. Set to -1 to disable cache :)
?>
Re: FrostCMS 2.0 with bug fixes