Richiesta client

biagio999

Utente Attivo
Autore del topic
19 Febbraio 2013
412
0
Miglior risposta
0
Ragazzi, ho configurato gli external variables con il mio link hotel, lo stesso con l'emu, che non da errori, ma il client si blocca allo sfondo dell'hotel, avrò sbagliato config del client, ve lo posto, sareste così gentili da configurarmelo con il seguente link? nethotel.zapto.org
Codice:
Perfavore, Entra oppure Registrati per vedere i codici!
 
<?php





include('core.php');
include('includes/session.php');


if($logged_in){
require_once('includes/session.php');
} else {
header("location: clientutils.php?key=loginplease");
exit;
}


if($online !== "online" && $enable_status_image == "1"){
echo "<font color='white'><center><b>".$sitename." is offline</b></center></font>";
exit();
}


if($remote_ip == "nethotel.zapto.org || $remote_ip == "localhost" && $server_on_localhost == 1){
$ip = "nethotel.zapto.org";
}


if(isset($_get['roomid']) && $_get['forwardid'] == "2"){
$roomid = $_get['roomid'];
$checksql = mysql_query("select id from rooms where id = '".$roomid."' limit 1");
$roomexists = mysql_num_rows($checksql);
if($roomexists > 0){
$forward = "1";
echo "<!-- forwarding to room ".$roomid." -->";
} else {
$forward = "0";
echo "<!-- room doesn't exist; not forwarding -->";
}
} else {
echo "<!-- no room forward requested, normal loader -->";
$forward = "0";
}
$myticket = GenerateTicket();
mysql_query("UPDATE users SET auth_ticket = '".$myticket."', ip_last = '".$remote_ip."' WHERE id = '".$my_id."' LIMIT 1") or die(mysql_error());
?>
<!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="X-UA-Compatible" content="IE=7" />


<title>Just: Client</title>


<script type="text/javascript">
var andSoItBegins = (new Date()).getTime();
</script>
<link rel="shortcut icon" href="favicon.ico" type="image/vnd.microsoft.icon" />
<link rel="alternate" type="application/rss+xml" title="Habbo: RSS" href="http://www.habbo.it/articles/rss.xml" />
<script src="flashclient/libs2.js" type="text/javascript"></script>


<script src="flashclient/visual.js" type="text/javascript"></script>
<script src="flashclient/libs.js" type="text/javascript"></script>
<script src="flashclient/common.js" type="text/javascript"></script>
<link rel="stylesheet" href="flashclient/style.css" type="text/css" />
<link rel="stylesheet" href="flashclient/bottons.css" type="text/css" />
<link rel="stylesheet" href="flashclient/boxes.css" type="text/css" />
<link rel="stylesheet" href="flashclient/tooltips.css" type="text/css" />
<link rel="stylesheet" href="flashclient/changepassword.css" type="text/css" />




<script type="text/javascript">


</script>
<script type="text/javascript">
var habboReqPath = "";
var habboStaticFilePath = "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/252/web-gallery";
var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";
var habboDefaultClientPopupUrl = "http://nethotel.zapto.org/client.php";






</script>

Prova Adesso!
Ps. ho il tuo stesso problema!
 
Ultima modifica:
ma è diverso dal mio client @Castellazzi12

- - - Aggiornato - - -



ma è diverso dal mio client @Castellazzi12

- - - Aggiornato - - -



ma è diverso dal mio client @castellazzi 12

No no, ho modificato il tuo client, io ho il tuo stesso problema, ext-vars settato correttamente, emu pure, config pure, anch'io credo che sia un problema di client.
Non funziona ancora?:gelato:
 

<?php





include('core.php');
include('includes/session.php');


if($logged_in){
require_once('includes/session.php');
} else {
header("location: clientutils.php?key=loginplease");
exit;
}


if($online !== "online" && $enable_status_image == "1"){
echo "<font color='white'><center><b>".$sitename." is offline</b></center></font>";
exit();
}


if($remote_ip == "127.0.0.1" || $remote_ip == "nethotel.zapto.org" && $server_on_localhost == 1){
$ip = "127.0.0.1";
}


if(isset($_get['roomid']) && $_get['forwardid'] == "2"){
$roomid = $_get['roomid'];
$checksql = mysql_query("select id from rooms where id = '".$roomid."' limit 1");
$roomexists = mysql_num_rows($checksql);
if($roomexists > 0){
$forward = "1";
echo "<!-- forwarding to room ".$roomid." -->";
} else {
$forward = "0";
echo "<!-- room doesn't exist; not forwarding -->";
}
} else {
echo "<!-- no room forward requested, normal loader -->";
$forward = "0";
}
$myticket = GenerateTicket();
mysql_query("UPDATE users SET auth_ticket = '".$myticket."', ip_last = '".$remote_ip."' WHERE id = '".$my_id."' LIMIT 1") or die(mysql_error());
?>
<!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="X-UA-Compatible" content="IE=7" />


<title>Just: Client</title>


<script type="text/javascript">
var andSoItBegins = (new Date()).getTime();
</script>
<link rel="shortcut icon" href="favicon.ico" type="image/vnd.microsoft.icon" />
<link rel="alternate" type="application/rss+xml" title="Habbo: RSS" href="http://www.habbo.it/articles/rss.xml" />
<script src="flashclient/libs2.js" type="text/javascript"></script>


<script src="flashclient/visual.js" type="text/javascript"></script>
<script src="flashclient/libs.js" type="text/javascript"></script>
<script src="flashclient/common.js" type="text/javascript"></script>
<link rel="stylesheet" href="flashclient/style.css" type="text/css" />
<link rel="stylesheet" href="flashclient/bottons.css" type="text/css" />
<link rel="stylesheet" href="flashclient/boxes.css" type="text/css" />
<link rel="stylesheet" href="flashclient/tooltips.css" type="text/css" />
<link rel="stylesheet" href="flashclient/changepassword.css" type="text/css" />




<script type="text/javascript">


</script>
<script type="text/javascript">
var habboReqPath = "";
var habboStaticFilePath = "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/252/web-gallery";
var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";
var habboDefaultClientPopupUrl = "http://nethotel.zapto.org/client.php";






</script>










<link rel="stylesheet" href="flashclient/habboclient.css" type="text/css" />
<link rel="stylesheet" href="flashclient/habboflashclient.css" type="text/css" />
<script src="flashclient/habboflashclient.js" type="text/javascript"></script>
<script type="text/javascript">




if (top == self) {
FlashHabboClient.cacheCheck();
}
var flashvars = {
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "nethotel.zapto.org",
"connection.info.port" : "30000",
"site.url" : "<?php echo $path; ?>",
"url.prefix" : "<?php echo $path; ?>",
"client.reload.url" : "<?php echo $path; ?>/client",
"client.fatal.error.url" : "<?php echo $path; ?>/disconnesso",
"client.connection.failed.url" : "<?php echo $path; ?>/disconnesso",
"external.variables.txt" : "http://nethotel.zapto.org/r63/gamedata/vars.php",
"external.texts.txt" : "http://nethotel.zapto.org/r63/gamedata/texts.txt",
"productdata.load.url" : "http://nethotel.zapto.org/r63/gamedata/productdata.txt",
"furnidata.load.url" : "http://nethotel.zapto.org/r63/gamedata/furnidata.txt",
"use.sso.ticket" : "1",
"sso.ticket" : "<?php echo $myticket; ?>",
<?php
if($forward)
{
echo '"forward.type" : "'.$forward_type.'",';
echo '"forward.id" : "'.$roomid.'",';

}

if(isset($_GET['friendId']))
{
echo '"friend.id" : "'.mysql_real_escape_string($_GET['friendId']).'",';
}
?>
"processlog.enabled" : "0",
"account_id" : "0",
"client.starting" : "Created by Luix and Hypertalk",
"flash.client.url" : "http://nethotel.zapto.org/r63/gordon/r63",
"user.hash" : "",
"has.identity" : "1",
"flash.client.origin" : "popup"
};
var params = {
"base" : "http://nethotel.zapto.org/r63/gordon/r63/",
"allowScriptAccess" : "always",
"menu" : "false"
};


if (!(HabbletLoader.needsFlashKbWorkaround())) {
params["wmode"] = "opaque";
}


FlashExternalInterface.signoutUrl = "http://nethotel.zapto.org/logout.php";


var clientUrl = "http://nethotel.zapto.org/r63/gordon/r63/habbo.swf";
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "flashclient/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>

<meta name="description" content="Habbo Hotel: amici, divertimento, celebrità!" />
<meta name="keywords" content="habbo hotel, virtuale, mondo, social network, gratis, community, avatar, personaggio, chat, online, giovane, ragazzi, gioco di ruolo, giochi di ruolo, iscriviti, social, gruppi, forum, sicurezza, giocare, giochi, online, amici, giovani, rari, furni rari, collezione, creare, collezionare, connettersi, furni, mobili, cuccioli, animali, creazione stanze, condivisione, espressione, distintivi, badge, uscire, musica, VIP, celebrità, visite VIP, famosi, mmo, mmorpg, multiplayer" />








<!--[if IE 8]>
<link rel="stylesheet" href="flashclient/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="flashclient/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="flashclient/ie6.css" type="text/css" />
<script src="flashclient/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]-->
<meta name="build" content="63-BUILD259 - 23.02.2011 23:10 - it" />
</head>


<body id="client" class="flashclient">
<div id="overlay"></div>
<img src="flashclient/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 class="cbb clearfix">
<h2 class="title">Aggiorna Flash Player all'ultima versione disponibile</h2>
<div class="box-content">
<p>Puoi scaricare e istallare Adobe Flash Player <a href="http://get.adobe.com/flashplayer/">da questa URL</a>. Puoi trovare le istruzioni di istallazione <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">cliccando qui</a>.</p>


<p><a href="http://www.adobe.com/go/getflashplayer"><img src="flashclient/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
</div>
</div>
</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="/client/nojs">click here</a></p>
</div>
</noscript>
</div>
</div>


</div>
<div style="display: none">
<div id="habboCountUpdateTarget">
4,017 Habbo in Hotel
</div>
<script language="JavaScript" type="text/javascript">
setTimeout(function() {
HabboCounter.init(600);
}, 20000);
</script>
</div>
<script type="text/javascript">
RightClick.init("flash-wrapper", "flash-container");
if (window.opener && window.opener != window && window.opener.location.href == "/") {
window.opener.location.replace("/me");
}
$(document.body).addClassName("js");
HabboClient.startPingListener();
</script>








<script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-448325-20");
pageTracker._trackPageview();
</script>


<script type="text/javascript">
HabboView.run();
</script>


</body>
</html>

Rinserisci questo client e postami il config dell'Emu
 
Rinserisci questo client e postami il config dell'Emu

## Phoenix 3.0 System Configuration File

## Licence Information
username=any
password=any

#Otaku-Studios.username=predator
#Otaku-Studios.password=predator

## MySQL Configuration
db.hostname=localhost
db.port=3306
db.username=root
db.password=prottata
db.name=db

## MySQL pooling setup (controls amount of connections)
db.pool.minsize=5
db.pool.maxsize=100

## Game TCP/IP Configuration
game.tcp.bindip=nethotel.zapto.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=nethotel.zapto.org
mus.tcp.port=30001
mus.tcp.allowedaddr=nethotel.zapto.org

## Console Configuration
emu.messages.connections=1
emu.messages.roommgr=1 @castellazzi 12
 
## Phoenix 3.0 System Configuration File

## Licence Information
username=any
password=any

#Otaku-Studios.username=predator
#Otaku-Studios.password=predator

## MySQL Configuration
db.hostname=localhost
db.port=3306
db.username=root
db.password=prottata
db.name=db

## MySQL pooling setup (controls amount of connections)
db.pool.minsize=5
db.pool.maxsize=100

## Game TCP/IP Configuration
game.tcp.bindip=nethotel.zapto.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=nethotel.zapto.org
mus.tcp.port=30001
mus.tcp.allowedaddr=nethotel.zapto.org

## Console Configuration
emu.messages.connections=1
emu.messages.roommgr=1 @castellazzi 12

Al posto di nethotel.zapto.og metti Ip di no-ip
 
Niente, sempre uguale, ripeto secondo me è la configurazione, perche quando metto tutto in localhost mi va alla perfezione tutto

Metti in localhost tutto, se parte, apri ogni file da configurare e dove c'è ip metti l'ip e dove c'è host metti il sito.

Ps. Hai aperto le porte del Router??
 
@biagio999
Gli utenti devono accedere da quel sito, è ovvio che a te non vada, crea un secondo client.php e configuralo con il localhost (in modo che tu possa accedere da quello) :|
 
Ho rimosso i due thread che avevi creato, in quanto c'è già un topic aperto (questo). Se non risponde nessuno è perché evidentemente non lo leggono o non sanno come risolvere.
Ripartendo da capo, credo si sia creata un po' di confusione:

Configurazione dell'emulatore:
Codice:
Perfavore, Entra oppure Registrati per vedere i codici!

Client.php
Codice:
Perfavore, Entra oppure Registrati per vedere i codici!

Nel config.php assicurati di aver messo come indirizzo "
Perfavore, Entra oppure Registrati per vedere i Link!
" non scordando nulla.