Problema Problema con registrazione!!!

vituz

Nuovo utente
Autore del topic
16 Novembre 2008
37
0
Miglior risposta
0
Ho creato un retro v.60 con la guida di Razor98 ma c'è un probelma: appena mi registro dice che non c'è connessione e quindi non posso andare alla pagina principale del personaggio!
vi elenco il DB il Cms e l'emulatore:
Remix DB
WareCms r6
Remix Emulador v1
Aiutatemi Perfavore!!!:ghigl:
 
Riferimento: Problema con registrazione!!!

Nn avrai konfigurato bene mandaci le konfigurazioni sicuramente il problema è quello ;)
 
Riferimento: Problema con registrazione!!!

Ho provato a cambiare cms (per 5 volte) comunqye ora METTO LE CONFIGURAZIONI
inc.config:

<?php
/*=======================================================================
| UberCMS - Advanced Website and Content Management System for uberEmu
| #######################################################################
| Copyright (c) 2010, Roy 'Meth0d'
|
Perfavore, Entra oppure Registrati per vedere i Link!

| #######################################################################
| This program is free software: you can redistribute it and/or modify
| it under the terms of the GNU General Public License as published by
| the Free Software Foundation, either version 3 of the License, or
| (at your option) any later version.
| #######################################################################
| This program is distributed in the hope that it will be useful,
| but WITHOUT ANY WARRANTY; without even the implied warranty of
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
| GNU General Public License for more details.
\======================================================================*/

$config['Site']['www'] = "qui ho messo sito mio";
$config['Site']['hash_secret'] = "xCg532%@%gdvf^5DGaa6&*rFTfg^FD4\$OIFThrR_gh(ugf*/";

$config['MySQL']['hostname'] = "localhost";
$config['MySQL']['username'] = "root";
$config['MySQL']['password'] = "qui la password di pma";
$config['MySQL']['database'] = "qui ho messo il nome del db";

$config['MUS']['enabled'] = false;
$config['MUS']['ip'] = "qui il mio vero ip";
$config['MUS']['port'] = "2001";

?>
poi class.db.mysql:

<?php
/*=======================================================================
| UberCMS - Advanced Website and Content Management System for uberEmu
| #######################################################################
| Copyright (c) 2010, Roy 'Meth0d'
|
Perfavore, Entra oppure Registrati per vedere i Link!

| #######################################################################
| This program is free software: you can redistribute it and/or modify
| it under the terms of the GNU General Public License as published by
| the Free Software Foundation, either version 3 of the License, or
| (at your option) any later version.
| #######################################################################
| This program is distributed in the hope that it will be useful,
| but WITHOUT ANY WARRANTY; without even the implied warranty of
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
| GNU General Public License for more details.
\======================================================================*/

class MySQL
{
private $connected = false;
private $hostname = "localhost";
private $username = "root";
private $password = "password php my admin";
private $database = "nome db di php my admin";
private $link;

public function MySQL($host, $user, $pass, $db)
{
$this->connected = false;
$this->hostname = $host;
$this->username = $user;
$this->password = $pass;
$this->database = $db;
}

public function IsConnected()
{
if ($this->connected)
{
return true;
}

return false;
}

public function Connect()
{
$this->link = mysql_connect($this->hostname, $this->username, $this->password) or $this->error(mysql_error());
mysql_select_db($this->database, $this->link) or $this->error(mysql_error());

$this->connected = true;
}

public function Disconnect()
{
if($this->connected)
{
@mYsQL_close($this->link) or $this->error("could not close conn");
$this->connected = false;
}
}

public function DoQuery($query)
{
$resultset = @mYsQL_query($query, $this->link) or $this->error(mysql_error());
return $resultset;
}

public function Evaluate($resultset)
{
return @mYsQL_result($resultset, 0);
}

public function Error($errorString)
{
global $core;

$core->systemError('Database Error', $errorString);
}

public function __destruct()
{
$this->disconnect();
}
}

?>
ancora in page-client:

<body id="client" class="flashclient">

<script type="text/javascript">
var habboDefaultClientPopupUrl = "%www%/client";
</script>

<noscript>
<meta http-equiv="refresh" content="0;url=%www%/client/nojs" />
</noscript>

<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" : "0",
"connection.info.host" : "mio vero ip",
"connection.info.port" : "30000",
"site.url" : "%www%",
"url.prefix" : "%www%",
"client.reload.url" : "http://%www%/account/reauthenticate?page=/flash_client",
"client.fatal.error.url" : "http://%www%/flash_client_error",
"client.connection.failed.url" : "http://%www%/client_connection_failed",
"external.hash" : "",
"external.variables.txt" : "http://images.hebbo.info/gamedata/external_variables.txt?",
"external.texts.txt" : "http://hotel.noctworld.it/r57/external_flash_texts.txt",
"use.sso.ticket" : "1",
"sso.ticket" : "%sso_ticket%",
"processlog.enabled" : "0",
"account_id" : "0",
"client.starting" : "Attendi Perfavore! ~ Intel Sta Caricando",
"flash.client.url" : "http://images.hebbo.info/dcr/r56_none_d979554a9b032c2626a4284ffac1bde1/",
"user.hash" : "3228904846f0d252a0c89a5462763c840352e021",
"facebook.user" : "0",
"has.identity" : "0",
"flash.client.origin" : "popup"
};
var params = {
"base" : "http://images.hebbo.info/gordon/RELEASE57-27947-27946-201008260248_1079303621800c85173eddf186d0a4c8/",
"allowScriptAccess" : "always",
"menu" : "false"
};

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

var clientUrl = "http://images.hebbo.info/gordon/RELEASE57-27947-27946-201008260248_1079303621800c85173eddf186d0a4c8/Habbo10.swf";
try {
if (swfobject.getFlashPlayerVersion().major <= 9) {
clientUrl = "http://images.hebbo.info/gordon/RELEASE57-27947-27946-201008260248_1079303621800c85173eddf186d0a4c8/Habbo.swf";
}
} catch(e) {}
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "9.0.115", "http://images.habbo.com/habboweb/55_7110c7122872fa19356f8608c88fa174/3/web-gallery/flash/expressInstall.swf", flashvars, params);
</script>

<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="cbbclearfix">
<h2 class="title">Please install Adobe Flash Player.</h2>
<div class="box-content">
<p>You can install and download Adobe Flash Player here: <a href="http://get.adobe.com/flashplayer/">Install flash player</a>. More instructions for installation can be found here: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">More information</a></p>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://images.habbo.com/habboweb/45_0061af58e257a7c6b931c91f771b4483/2/web-gallery/v2/images/client/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">
71 users online now!
</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");
</script>

</body>
</html>

P.S. ho sbloccato anche le porte (30000-30001) ma non funziona!!!:lookno:
 
Riferimento: Problema con registrazione!!!

Ho provato a cambiare cms (per 5 volte) comunqye ora METTO LE CONFIGURAZIONI
inc.config:

<?php
/*=======================================================================
| UberCMS - Advanced Website and Content Management System for uberEmu
| #######################################################################
| Copyright (c) 2010, Roy 'Meth0d'
|
Perfavore, Entra oppure Registrati per vedere i Link!

| #######################################################################
| This program is free software: you can redistribute it and/or modify
| it under the terms of the GNU General Public License as published by
| the Free Software Foundation, either version 3 of the License, or
| (at your option) any later version.
| #######################################################################
| This program is distributed in the hope that it will be useful,
| but WITHOUT ANY WARRANTY; without even the implied warranty of
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
| GNU General Public License for more details.
\======================================================================*/

$config['Site']['www'] = "qui ho messo sito mio";
$config['Site']['hash_secret'] = "xCg532%@%gdvf^5DGaa6&*rFTfg^FD4\$OIFThrR_gh(ugf*/";

$config['MySQL']['hostname'] = "localhost";
$config['MySQL']['username'] = "root";
$config['MySQL']['password'] = "qui la password di pma";
$config['MySQL']['database'] = "qui ho messo il nome del db";

$config['MUS']['enabled'] = false;
$config['MUS']['ip'] = "qui il mio vero ip";
$config['MUS']['port'] = "2001";

?>
poi class.db.mysql:

<?php
/*=======================================================================
| UberCMS - Advanced Website and Content Management System for uberEmu
| #######################################################################
| Copyright (c) 2010, Roy 'Meth0d'
|
Perfavore, Entra oppure Registrati per vedere i Link!

| #######################################################################
| This program is free software: you can redistribute it and/or modify
| it under the terms of the GNU General Public License as published by
| the Free Software Foundation, either version 3 of the License, or
| (at your option) any later version.
| #######################################################################
| This program is distributed in the hope that it will be useful,
| but WITHOUT ANY WARRANTY; without even the implied warranty of
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
| GNU General Public License for more details.
\======================================================================*/

class MySQL
{
private $connected = false;
private $hostname = "localhost";
private $username = "root";
private $password = "password php my admin";
private $database = "nome db di php my admin";
private $link;

public function MySQL($host, $user, $pass, $db)
{
$this->connected = false;
$this->hostname = $host;
$this->username = $user;
$this->password = $pass;
$this->database = $db;
}

public function IsConnected()
{
if ($this->connected)
{
return true;
}

return false;
}

public function Connect()
{
$this->link = mysql_connect($this->hostname, $this->username, $this->password) or $this->error(mysql_error());
mysql_select_db($this->database, $this->link) or $this->error(mysql_error());

$this->connected = true;
}

public function Disconnect()
{
if($this->connected)
{
@mYsQL_close($this->link) or $this->error("could not close conn");
$this->connected = false;
}
}

public function DoQuery($query)
{
$resultset = @mYsQL_query($query, $this->link) or $this->error(mysql_error());
return $resultset;
}

public function Evaluate($resultset)
{
return @mYsQL_result($resultset, 0);
}

public function Error($errorString)
{
global $core;

$core->systemError('Database Error', $errorString);
}

public function __destruct()
{
$this->disconnect();
}
}

?>
ancora in page-client:

<body id="client" class="flashclient">

<script type="text/javascript">
var habboDefaultClientPopupUrl = "%www%/client";
</script>

<noscript>
<meta http-equiv="refresh" content="0;url=%www%/client/nojs" />
</noscript>

<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" : "0",
"connection.info.host" : "mio vero ip",
"connection.info.port" : "30000",
"site.url" : "%www%",
"url.prefix" : "%www%",
"client.reload.url" : "http://%www%/account/reauthenticate?page=/flash_client",
"client.fatal.error.url" : "http://%www%/flash_client_error",
"client.connection.failed.url" : "http://%www%/client_connection_failed",
"external.hash" : "",
"external.variables.txt" : "http://images.hebbo.info/gamedata/external_variables.txt?",
"external.texts.txt" : "http://hotel.noctworld.it/r57/external_flash_texts.txt",
"use.sso.ticket" : "1",
"sso.ticket" : "%sso_ticket%",
"processlog.enabled" : "0",
"account_id" : "0",
"client.starting" : "Attendi Perfavore! ~ Intel Sta Caricando",
"flash.client.url" : "http://images.hebbo.info/dcr/r56_none_d979554a9b032c2626a4284ffac1bde1/",
"user.hash" : "3228904846f0d252a0c89a5462763c840352e021",
"facebook.user" : "0",
"has.identity" : "0",
"flash.client.origin" : "popup"
};
var params = {
"base" : "http://images.hebbo.info/gordon/RELEASE57-27947-27946-201008260248_1079303621800c85173eddf186d0a4c8/",
"allowScriptAccess" : "always",
"menu" : "false"
};

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

var clientUrl = "http://images.hebbo.info/gordon/RELEASE57-27947-27946-201008260248_1079303621800c85173eddf186d0a4c8/Habbo10.swf";
try {
if (swfobject.getFlashPlayerVersion().major <= 9) {
clientUrl = "http://images.hebbo.info/gordon/RELEASE57-27947-27946-201008260248_1079303621800c85173eddf186d0a4c8/Habbo.swf";
}
} catch(e) {}
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "9.0.115", "http://images.habbo.com/habboweb/55_7110c7122872fa19356f8608c88fa174/3/web-gallery/flash/expressInstall.swf", flashvars, params);
</script>

<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="cbbclearfix">
<h2 class="title">Please install Adobe Flash Player.</h2>
<div class="box-content">
<p>You can install and download Adobe Flash Player here: <a rel="nofollow" href="http://get.adobe.com/flashplayer/">Install flash player</a>. More instructions for installation can be found here: <a rel="nofollow" href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">More information</a></p>
<p><a rel="nofollow" href="http://www.adobe.com/go/getflashplayer"><img src="http://images.habbo.com/habboweb/45_0061af58e257a7c6b931c91f771b4483/2/web-gallery/v2/images/client/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">
71 users online now!
</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");
</script>

</body>
</html>

P.S. ho sbloccato anche le porte (30000-30001) ma non funziona!!!:lookno:

Cambia db e cms Perche quel db mi sembra molto vecchio! ;)
 
Riferimento: Problema con registrazione!!!

grazie seguirò il consiglio