Problema risolto Configurare retro con no-ip?

Toretto67

Utente Attivo
Autore del topic
30 Agosto 2011
292
46
Miglior risposta
0
Ciao sciaxini, ultimamente ho creato un retro con hamachi, adesso volevo toglierlo, però non so come configurare config.php flash.php e client.php di solito mettevo ip hamachi, adesso quale ip devo mettere ? ah e un altra domanda: io devo accedere da localhost ?
 
Riferimento: Usando no-ip per creare retro come devo configurare config.php flash.php e cl

Rinomino il titolo
 
Riferimento: Configurare retro con no-ip?

No Configuri Tutto Con Il Link Dell'Hotel Che Metterai... Accendi Anke Tu Dal Link Non Da Localhost
 
Riferimento: Configurare retro con no-ip?

Ciao sciaxini, ultimamente ho creato un retro con hamachi, adesso volevo toglierlo, però non so come configurare config.php flash.php e client.php di solito mettevo ip hamachi, adesso quale ip devo mettere ? ah e un altra domanda: io devo accedere da localhost ?


Allora Nel Config.php

Devi Configurarlo Normalmente.


Nel Flash/Client .php

(Ho Evidenziato Cosa Devi Cambiare)

Lo Devi Configurare Così

<?php


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


$ssocheck = mysql_query("select * from users where username = '".$rawname."' and password = '".$rawpass."' limit 1") or die(mysql_error());
$ssocheck2 = mysql_fetch_assoc($ssocheck);
if($ssocheck2['auth_ticket'] == "") {
if(isset($_get['roomid']) && $_get['forwardid'] == "2"){
if(isset($_get['wide'])) {
header("location:reauthenticate.php?forwardid=".$_ get['forwardid']."&roomid=".$_get['roomid']."&wide=".$_get['wide']."&flash=habbu");
} else {
header("location:reauthenticate.php?forwardid=".$_ get['forwardid']."&roomid=".$_get['roomid']."&flash=habbu");
}
} elseif(isset($_get['wide'])) {
header("location:reauthenticate.php?wide=".$_get['wide']."&flash=habbu");
} else {
header("location:reauthenticate.php?flash=habbu");
}
}

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(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";
}
?>
<!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>Nevix: </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 = "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" : "Tuo IP Reale",
"connection.info.port" : "30000",
"site.url" : "Link Del Sito",
"url.prefix" : "Link Del Sito",
"client.reload.url" : "account/reauthenticate?page=/flash_client",
"client.fatal.error.url" : "/disconnesso.html",
"client.connection.failed.url" : "/disconnesso.html",
"external.variables.txt" : "http://italiadcr.webnet32.com/r63/gamedata/external_variables.txt",
"external.texts.txt" : "http://italiadcr.webnet32.com/r63/gamedata/external_flash_texts.txt",
"use.sso.ticket" : "1",
"sso.ticket" : "<?php echo $myticket; ?>",
"processlog.enabled" : "0",
"account_id" : "0",
"client.starting" : "Attendi per favore! Clane sta caricando.",
"flash.client.url" : "http://italiadcr.webnet32.com/r63/dcr/hof_furni/",
"user.hash" : "",
"has.identity" : "0",
"flash.client.origin" : "popup"
};
var params = {
"base" : "http://italiadcr.webnet32.com/r63/gordon/",
"allowScriptAccess" : "always",
"menu" : "false"
};

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

FlashExternalInterface.signoutUrl = "logout.php";

var clientUrl = "http://italiadcr.webnet32.com/r63/gordon/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 id="content" class="client-content"></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>


<object type="application/x-shockwave-flash" id="scplayer" name="scplayer" data="http://player.wavestreamer.com/cgi-bin/player2.swf" height="60" width="300"><param name="allowfullscreen" value="false"><param name="allowscriptaccess" value="always"><param name="bgcolor" value="#FFFFFF"><param name="wmode" value="transparent"><param name="flashvars" value="skin=http://player.wavestreamer.com/cgi-bin/bekle/bekle.swf&title=Live Stream&type=sound&file=http://<?php echo $ipradio; ?>:<?php echo $portaradio; ?>/;stream.mp3&12954505320&duration=99999&id=scplayer &autostart=true"></object>
<script type="text/javascript" src="http://cp.enjoystreaming.net/system/misc/scripts/streaminformation.js.php?id=41"></script>

</html>




 
Riferimento: Configurare retro con no-ip?

Allora Nel Config.php

Devi Configurarlo Normalmente.


Nel Flash/Client .php

(Ho Evidenziato Cosa Devi Cambiare)

Lo Devi Configurare Così

<?php


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


$ssocheck = mysql_query("select * from users where username = '".$rawname."' and password = '".$rawpass."' limit 1") or die(mysql_error());
$ssocheck2 = mysql_fetch_assoc($ssocheck);
if($ssocheck2['auth_ticket'] == "") {
if(isset($_get['roomid']) && $_get['forwardid'] == "2"){
if(isset($_get['wide'])) {
header("location:reauthenticate.php?forwardid=".$_ get['forwardid']."&roomid=".$_get['roomid']."&wide=".$_get['wide']."&flash=habbu");
} else {
header("location:reauthenticate.php?forwardid=".$_ get['forwardid']."&roomid=".$_get['roomid']."&flash=habbu");
}
} elseif(isset($_get['wide'])) {
header("location:reauthenticate.php?wide=".$_get['wide']."&flash=habbu");
} else {
header("location:reauthenticate.php?flash=habbu");
}
}

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(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";
}
?>
<!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>Nevix: </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 = "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" : "Tuo IP Reale",
"connection.info.port" : "30000",
"site.url" : "Link Del Sito",
"url.prefix" : "Link Del Sito",
"client.reload.url" : "account/reauthenticate?page=/flash_client",
"client.fatal.error.url" : "/disconnesso.html",
"client.connection.failed.url" : "/disconnesso.html",
"external.variables.txt" : "http://italiadcr.webnet32.com/r63/gamedata/external_variables.txt",
"external.texts.txt" : "http://italiadcr.webnet32.com/r63/gamedata/external_flash_texts.txt",
"use.sso.ticket" : "1",
"sso.ticket" : "<?php echo $myticket; ?>",
"processlog.enabled" : "0",
"account_id" : "0",
"client.starting" : "Attendi per favore! Clane sta caricando.",
"flash.client.url" : "http://italiadcr.webnet32.com/r63/dcr/hof_furni/",
"user.hash" : "",
"has.identity" : "0",
"flash.client.origin" : "popup"
};
var params = {
"base" : "http://italiadcr.webnet32.com/r63/gordon/",
"allowScriptAccess" : "always",
"menu" : "false"
};

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

FlashExternalInterface.signoutUrl = "logout.php";

var clientUrl = "http://italiadcr.webnet32.com/r63/gordon/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 id="content" class="client-content"></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>


<object type="application/x-shockwave-flash" id="scplayer" name="scplayer" data="http://player.wavestreamer.com/cgi-bin/player2.swf" height="60" width="300"><param name="allowfullscreen" value="false"><param name="allowscriptaccess" value="always"><param name="bgcolor" value="#FFFFFF"><param name="wmode" value="transparent"><param name="flashvars" value="skin=http://player.wavestreamer.com/cgi-bin/bekle/bekle.swf&title=Live Stream&type=sound&file=http://<?php echo $ipradio; ?>:<?php echo $portaradio; ?>/;stream.mp3&12954505320&duration=99999&id=scplayer &autostart=true"></object>
<script type="text/javascript" src="http://cp.enjoystreaming.net/system/misc/scripts/streaminformation.js.php?id=41"></script>

</html>




Grazie mille :emoji_slight_smile: Però solo 1 domanda: dato che sono molto ignorante Nella stringa del sito cosa ci devo mettere ?:facepalm::facepalm::facepalm::facepalm:
--------------- AGGIUNTA AL POST ---------------
Ah comunque Ip reale sarebbe quello che si vede su mio ip giusto ?
 
Ultima modifica:
Riferimento: Configurare retro con no-ip?

Grazie mille :emoji_slight_smile: Però solo 1 domanda: dato che sono molto ignorante Nella stringa del sito cosa ci devo mettere ?:facepalm::facepalm::facepalm::facepalm:--------------- AGGIUNTA AL POST ---------------Ah comunque Ip reale sarebbe quello che si vede su mio ip giusto ?
l'ip reale è quello che ti compare qui www.ilmioip.it mentre il link sarebbe il sito dell'hotel tipo casa.zapto.org
 
Riferimento: Configurare retro con no-ip?

Ciao sciaxini, ultimamente ho creato un retro con hamachi, adesso volevo toglierlo, però non so come configurare config.php flash.php e client.php di solito mettevo ip hamachi, adesso quale ip devo mettere ? ah e un altra domanda: io devo accedere da localhost ?
Giocatore allora per fare un retro senza hamachi prima di tutto nel config devi fare così:

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

Dopo di questo il flash.php :

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

Questo sono le configurazione per il cms adesso passiamo sul PhpMyAdmin vai nella sezione cms_system è dove avevi messo il tuo ip hamachi metterai il tuo ip locale (sicuramente non saprai dove trovarlo bene per sapere il tuo ip locale vai su start fai esegui scrivi "cmd" ora ti aprirerà il promot dei comandi ora scriverai "ipconfig" aspetta 5 secondi e ti usciranno tanti codici tu dovrai trovare un codice chiamato IpV4 ovvero 192.168.1... tu prenderai quel condice e lo scriverai al posto del tuo ip hamachi. Ora sempre nel PhpMyAdmin devi andare nella sezione system_config è dove c'è scritto "server_mus_host" metti così "http://linktuohotel.zapto.org/ ricorda con la / finale) Ok ora hai finito di configurare il PhpMyAdmin ora tocca all'emulator basta che apri il file di configurazioni è modifichi mettendo il tuo ip locale (192.168.1...) al posto del tuo ip hamachi è se hai fatto tutto quello che ti ho detto ti dovrebbe andare ;)
 
Riferimento: Configurare retro con no-ip?

Quando ti richiede di inserire l'ip devi inserire l'ip generato da NO-Ip Duc, mentre per il link del sito devi inserire solamente l'url del retroserver. (Es:
Perfavore, Entra oppure Registrati per vedere i Link!
).
 
Riferimento: Configurare retro con no-ip?

Rinomino e sposto.