Problema Come configurare il CMS, DB e EMU con NO-ip?

martipaolo

Utente Normale
Autore del topic
25 Marzo 2012
94
0
Miglior risposta
0
Allora io mi sono iscritto al sito di no-ip, ho scaricato il programma, ho creato l'host sul sito, ho aperto le porte sul router e ora??
Devo modificare il vecchio indirizzo di hamachi nel file config del CMS? Cosa metto al suo posto? Il link che ho creato su no-ip o il mio ip?
Spero abbiate capito i miei dubbi e riusciate a risolverli perchè ho cercato dappertutto! Grazie in anticipo!
 
Ultima modifica:
Riferimento: Come configurare il CMS, DB e EMU con NO-ip?

Devo configurare tutto con quel link? Il file config, cms_setting, cms_system e system_config sul DB e il file config dell'emu? Poi come entro in hotel?
[MENTION]noccoinge[/MENTION]
--------------- AGGIUNTA AL POST ---------------
[MENTION]Jeckoz[/MENTION] [MENTION]Holder[/MENTION] potete darmi una mano?
 
Ultima modifica:
Riferimento: Come configurare il CMS, DB e EMU con NO-ip?

1) Nel CMS configuri 'config.php' e 'flash.php' con il tuo Host di No-IP.
2) Nell'Emulatore configuri con l'IP di No-IP. (Di solito è quello Locale)
 
Riferimento: Come configurare il CMS, DB e EMU con NO-ip?

Ok grazie ora provo! Ma nel DB cosa cambio?
[MENTION]BeRtA ReTrO[/MENTION]
 
Ultima modifica:
Riferimento: Come configurare il CMS, DB e EMU con NO-ip?

Nessun ip in cms_system devi mettere il nome del tuo hotel è basta.
Vai su promot dei comandi è scrivi "ipconfig" senza virgolette.
No non è uguale a quello che mi segna su no-ip! cosa faccio?
 
Riferimento: Come configurare il CMS, DB e EMU con NO-ip?

Ora per sicurezza posta tutte le configurazioni!
Posta dal CMS i file 'config.php' e 'flash.php'!
Posta dall'Emulatore il file 'config'!

Nel Database, devi configurare su 'cms_system' mettendo il nome dell'Hotel, dove c'è scritto IP inserire l'IP del tuo RetroServer.
Poi su 'system_config'->'server_mus_host' inserire il sito o l'IP del vostro RetroServer.​
 
Riferimento: Come configurare il CMS, DB e EMU con NO-ip?

Ricrea l'host però metti come ip quello.
Ricorda di aprire no-ip come amministrazione.

Perchè quando modifico l'host sul sito no-ip sul programma nel pc non lo cambia? Ho provato a chiudere e riaprire il programma ma resta quello di prima!
--------------- AGGIUNTA AL POST ---------------
Ora per sicurezza posta tutte le configurazioni!
Posta dal CMS i file 'config.php' e 'flash.php'!
Posta dall'Emulatore il file 'config'!

Nel Database, devi configurare su 'cms_system' mettendo il nome dell'Hotel, dove c'è scritto IP inserire l'IP del tuo RetroServer.
Poi su 'system_config'->'server_mus_host' inserire il sito o l'IP del vostro RetroServer.​

Ok... ma io nel client uso il file client a cosa serve il flash?


config.php cms

<?php
/*===================================================+
|| # HoloCMS - Website and Content Management System
|+===================================================+
|| # Copyright © 2008 Meth0d. All rights reserved.
|| #
Perfavore, Entra oppure Registrati per vedere i Link!

|+===================================================+
|| # HoloCMS is provided "as is" and comes without
|| # warrenty of any kind. HoloCMS is free software!
|+===================================================*/

/*-------------------------------------------------------*\
| ****** NOTE REGARDING THE VARIABLES IN THIS FILE ****** |
+---------------------------------------------------------+
| If you get any errors while attempting to connect to |
| MySQL, you will need to email your webhost because we |
| cannot tell you the correct values for the variables |
| in this file. |
\*-------------------------------------------------------*/

// ****** MASTER DATABASE SETTINGS ******
// These are the settings required to connect to your MySQL Database.
$sqlhostname = "localhost";
$sqlusername = "root";
$sqlpassword = "****";
$sqldb = "martix2";

// ****** STATUS CHECKS SYSTEM ******
// This option will allow HoloCMS to perform full status checks. This,
// however, slows down your site A LOT. It is therefore disabled by
// default.
$enable_status_image = "0";

// ****** SITE PATH ******
// The full URL to your site; with an slash added on the end.
$path = "http://martixhotel.zapto.org/";

// ****** REFFERAL REWARD ******
// The amount of credits a user recieves upon referring a friend to the
// hotel. Set to '500' by default.
$reward = "50";

// ****** HOLOCMS SYSTEM ADMINISTRATOR ******
// User ID of the System Administrator. Will be granted access to sensitive
// features. Set to '1' by default. This setting will not change your
// ingame priveliges.
$sysadmin = "1";

// ****** HOLOCMS ENCRYPTION SYSTEM ******
// How HoloCMS stores passowrds.
// Do NOT manually change this unless you know what you are doing,
// doing so may corrupt your database.
$encryption = "new";
$hashtext = "";

// ****** BADGES ******
// Where badges are located.
$cimagesurl = "http://images.habbohotel.com/c_images/";
$badgesurl = "album1584/";

// ****** EMAIL VERIFY ******
// Email verification settings
$email_verify = true;
$email_force_verify = false;
$email_verify_reward = "500";
?>




flash.php

<?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 == "martixhotel.zapto.org" || $remote_ip == "localhost" && $server_on_localhost == 1){
$ip = "martixhotel.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>SOU Hotel ~ 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://localhost/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" : "martixhotel.zapto.org",
"connection.info.port" : "TUA PORTA",
"site.url" : "",
"url.prefix" : "",
"client.reload.url" : "/account/reauthenticate?page=/flash_client",
"client.fatal.error.url" : "/disconnesso.php",
"client.connection.failed.url" : "/disconnesso.php",
"external.variables.txt" : "http://mykkohotel.com/gamedata/external_variables.txt",
"external.texts.txt" : "http://mykkohotel.com/gamedata/external_flash_texts.txt",
"productdata.load.url" : "http://mykkohotel.com/gamedata/productdata.txt",
"furnidata.load.url" : "http://mykkohotel.com/gamedata/furnidata.txt",
"use.sso.ticket" : "1",
"sso.ticket" : "<?php echo $myticket; ?>",
"processlog.enabled" : "0",
"account_id" : "0",
"client.starting" : "Attendi perfavore! SOU sta caricando.",
"flash.client.url" : "http://mykkohotel.com/gordon/RELEASE63-33413-33399-201105032308_181102fb6b76710b53e7536530c2afe0/",
"user.hash" : "",
"has.identity" : "0",
"flash.client.origin" : "popup"
};
var params = {
"base" : "http://mykkohotel.com/gordon/RELEASE63-33413-33399-201105032308_181102fb6b76710b53e7536530c2afe0/",
"allowScriptAccess" : "always",
"menu" : "false"
};

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

FlashExternalInterface.signoutUrl = "http://localhost/logout.php";

var clientUrl = "http://mykkohotel.com/gordon/RELEASE63-33413-33399-201105032308_181102fb6b76710b53e7536530c2afe0/mykko.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>
</html>



config.php emulatore

## Phoenix 3.7.1 13800 c2.1 System Configuration File

## Licence Information put user and password that you want
username=Predator
password=Rulez

## MySQL Configuration
db.hostname=192.168.1.2
db.port=3306
db.username=root
db.password=****
db.name=martix2

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

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

## Console Configuration
emu.messages.connections=1
emu.messages.roommgr=1
 
Ultima modifica:
Riferimento: Come configurare il CMS, DB e EMU con NO-ip?

Il 'config.php' è esatto.
Tra il 'flash.php' e 'client.php' non c'è differenza, sono tutti e due uguali.
Per l'Emulatore non posso aiutarti perchè è Crakkato.
I DCR di Sou, hanno lo SWF bloccato.
Quindi devi prenderne un altro, ti consiglio quelli di Pako.​
 
Riferimento: Come configurare il CMS, DB e EMU con NO-ip?

Il 'config.php' è esatto.
Tra il 'flash.php' e 'client.php' non c'è differenza, sono tutti e due uguali.
Per l'Emulatore non posso aiutarti perchè è Crakkato.
I DCR di Sou, hanno lo SWF bloccato.
Quindi devi prenderne un altro, ti consiglio quelli di Pako.​

Quindi cosa devo fare? Me li configuri correttamente te i file con i dcr che funzionano?
 
Riferimento: Come configurare il CMS, DB e EMU con NO-ip?

Quindi cosa devo fare? Me li configuri correttamente te i file con i dcr che funzionano?
Sì, però se prendi gli altri DCR tutti i furni non si vedranno.
Quindi ti consiglio di usare HaddoCMS+HaddoDB+PhoenixEMU, acqustabile a 20 euro da Otaku-Studios oppure cerchi la Crack su Google.
Eccoti la Guida per configurare HaddoCMS: http://www.sciax2.it/forum/guide-info/configurazione-funzionamento-haddocms-529398.html
 
Riferimento: Come configurare il CMS, DB e EMU con NO-ip?

Sì, però se prendi gli altri DCR tutti i furni non si vedranno.
Quindi ti consiglio di usare HaddoCMS+HaddoDB+PhoenixEMU, acqustabile a 20 euro da Otaku-Studios oppure cerchi la Crack su Google.
Eccoti la Guida per configurare HaddoCMS: http://www.sciax2.it/forum/guide-info/configurazione-funzionamento-haddocms-529398.html

Ok ora scarico haddo e ti faccio sapere...
--------------- AGGIUNTA AL POST ---------------
Ok ora scarico haddo e ti faccio sapere...

Continua a darmi problemi no-ip! Ho messo l' IPv4 come mi è stato detto nel sito di no-ip però nel programma di no-ip continua a segnarmi l'ip che c'era prima! Cosa defo fare?
 
Ultima modifica: