Domanda Risolto Creare un Retroserver - Guida Universale

Stato
Discussione chiusa ad ulteriori risposte.

SalvoExtreme

Utente Silver
9 Maggio 2011
3
3
1
53
20svwq8.png


CHE COS'E' UN RETROSERVER?:

Il retroserver è una copia identica di Habbo. Si tratta di un emulatore che copia tutti i servizi che offre Habbo. Ovviamente è del tutto illegale. Sciax2 non è responsabile dei risultati che avranno i vostri retro server. Alcuni siti come Altervista, Netsons chiudono i RetroServer, mentre se si viene denuncati alla sulake si puo avere una e-mail di alert che vi da un limite di tempo per chiudere il vostro retro!! Ovviamente se non si chiude scatterà una multa. Ma non preoccupatevi, i siti dove hosterete i vostri retro ve li sospenderanno per non avere questa spiacevole notizia, LA MULTA.

Continuando il discorso, oggi, SalvoExtreme farà una guida su come creare un RetroServer r63++. Per prima cosa dobbiamo fornirci delle cose fondamentali, i downland. Iniziamo:

DOWNLAND:

Xampp 1.7.1: Old Version of Xampp 1.7.1 Download - OldApps.com
Net Framework 4.0: Download Confirmation
InfinityCMS r62 ++: InfinityCMS v2 r62 ++.rar - 4shared.com - partage et stockage de fichiers en ligne - télécharger
PokerEMU: MEGAUPLOAD - The leading online storage and file delivery service
MySQL 6.2.4: MySQL :: Select a Mirror to Start Downloading - mysql-connector-net-6.2.4.zip
No-Ip "Se avete sboccato le porte": Download a Free Dynamic DNS Update client for your dynamic IP
Hamachi: https://secure.logmein.com/IT/products/hamachi2/download.aspx


PROCEDIMENTO:

Insallati i seguenti componenti, ora possiamo iniziare con il Procedimento. Per prima cosa dobbiamo estrarre il Cms nella cartella, però il contenuto che c'era prima deve essere cancellato e appunto deve essere estratto il CMS:
qrnath.png

Ora dobbiamo estrarre l'Emulatore in una cartella qualsiasi nel Dekstop "Io la chiamerò Server"...
rbguf9.png

Per accedere al PhPMyAdmin dovete registrarvi in questo sito:
http://localhost/security/xamppsecurity.php

Esegui proprio come nello screen:
etzk9v.png

A "Neuses Password" dovete mettere una vostra password a piacere ed a "Wiederhole neuses Passwort" dovete riperla e per completare la registrazione clicca su "Passwort Andern".

Arrivati qui possiamo accedere al PhPMyAdmin per importare il Database. Andate su questo Link : http://localhost/phpmyadmin inserite solo la vostra Password, a nome utente dovete mettere per forza "root".

Prima di importare il Database dovete dargli un nome ;). Vedrete un bottone dove c'è scritto "Crea" alla pagina principale. Io, il database lo chiamerò "sciax". Seguite lo Screen:
14w60c6.png

Ora dobbiamo importare il Database che si trova nella cartella server. Si chiama "DATABASE AGGIORNATO 27-12-2010 ORE 20-11". Se andiamo nel nostro pannello PhPMyAdmin noteremo che su, alla pagina troveremo un bottone di nome "Importa", noi ci clicchiamo e in seguito ci appare un'altra finestra dove noi dobbiamo cliccare su "Importa", ovviamente dobbiamo importare il Database che si trova nella cartella "Server" quindi, seguite lo screen:
zy8zra.png

Fatto questo dobbiamo configurare il CMS... Allora dobbiamo andare in Xampp e cliccare su Explore:
1znohsj.png

Ora dobbiamo andare in Htdocs/Inc e troveremo i due file di nome "Inc.Config & Class.db.sql" dobbiamo andarli a configurare. Prima configuriamo "L'Inc.Config" come nello spoiler:
<?php
/*=======================================================================
| UberCMS - Advanced Website and Content Management System for uberEmu
| #######################################################################
| Copyright (c) 2010, Roy 'Meth0d'
| Meth0d dot org &ndash; stuff goes here
| #######################################################################
| 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'] = "http://metti tuo no-ip o hamachi";
$config['Site']['hash_secret'] = "xCg532%@%gdvf^5DGaa6&*rFTfg^FD4\$OIFThrR_gh(ugf*/";

$config['MySQL']['hostname'] = "localhost";
$config['MySQL']['username'] = "root";
$config['MySQL']['password'] = "password phpmyadmin";
$config['MySQL']['database'] = "qui metti il nome del db precisamente come lo hai scritto rispettanto maiuscole e minuscole";

$config['MUS']['enabled'] = false;
$config['MUS']['ip'] = "ip del router o hamachi";
$config['MUS']['port'] = "2001";

?>

Ora il "Class.db.sql" come nello spoiler:
<?php
/*=======================================================================
| UberCMS - Advanced Website and Content Management System for uberEmu
| #######################################################################
| Copyright (c) 2010, Roy 'Meth0d'
| Meth0d dot org &ndash; stuff goes here
| #######################################################################
| 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 phpmyadmin"; <--- Da configurare questo
private $database = "tuo db"; <--- Da configurare questo
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)
{
[MENTION=50612]mYsQL[/MENTION]_close($this->link) or $this->error("could not close conn");
$this->connected = false;
}
}

public function DoQuery($query)
{
$resultset = [MENTION=50612]mYsQL[/MENTION]_query($query, $this->link) or $this->error(mysql_error());
return $resultset;
}

public function Evaluate($resultset)
{
return [MENTION=50612]mYsQL[/MENTION]_result($resultset, 0);
}

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

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

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

?>

Arrivati qui, naturalmente dobbiamo configurare l'Emulatore... Ora io vado nella cartello da cui ho estratto il server e clicco su "Config" e configurate proprio come nello spoiler ;):
## System Configuration File

## MySQL Configuration
db.hostname=localhost
db.port=3306
db.username=root
db.password=Inserire la password con cui ti sei registrato
db.name=nome database rispettando maiuscole e minuscole

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

## Game TCP/IP Configuration
game.tcp.bindip=Tuo Ip Hamachi o No-Ip
game.tcp.port=30000
game.tcp.conlimit=5000

## MUS TCP/IP Configuration
mus.tcp.bindip=Tuo Ip Hamachi o No-Ip
mus.tcp.port=30001
mus.tcp.allowedaddr=Tuo Ip Hamachi o No-Ip

## Client configuration
client.ping.enabled=1
client.ping.interval=30000

Ora dobbiamo configurare il "Page-Client" che si trova in "Htdocs/Inc/Tpl". Configurate come nello spoiler:
<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.star t");

if (top == self) {
FlashHabboClient.cacheCheck();
}
var flashvars = {
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "Mettere link No-Ip o Ip Hamachi",
"connection.info.port" : "30000",
"site.url" : "%www%",
"url.prefix" : "%www%",
"client.reload.url" : "%www%/account/reauthenticate?page=/flash_client",
"client.fatal.error.url" : "%www%/flash_client_error",
"client.connection.failed.url" : "%www%/client_connection_failed",
"external.hash" : "",
"external.variables.txt" : "http://images.haddoz.net/gamedata/external_variables_nav2.txt",
"external.texts.txt" : "http://images.haddoz.net/gamedata/external_flash_texts_it.txt",
"use.sso.ticket" : "1",
<?php

if ($forwardType > 0)
{
echo ' "forward.type" : "' . $forwardType . '",' . LB;
echo ' "forward.id" : "' . $forwardId . '",' . LB;
}

?>
"sso.ticket" : "%sso_ticket%",
"processlog.enabled" : "0",
"account_id" : "0",
"client.starting" : "Attendi perfavore! Intel sta caricando",
"flash.client.url" : "http://images.haddoz.net/dcr/r63_none_1dc60c6d6ea6e089c6893ab4e0541ee0/",
"user.hash" : "",
"facebook.user" : "0",
"has.identity" : "0",
"flash.client.origin" : "popup"
};
var params = {
"base" : "http://images.haddoz.net/gordon/RELEASE63-30321-30315-201011261026_5c1cea64af7b6d2573b0d9936b1fa1ad/",
"allowScriptAccess" : "always",
"menu" : "false"
};

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

var clientUrl = "http://images.haddoz.net/gordon/RELEASE63-30321-30315-201011261026_5c1cea64af7b6d2573b0d9936b1fa1ad/Habbo.swf";
try {
if (swfobject.getFlashPlayerVersion().major <= 9) {
clientUrl = "http://images.haddoz.net/gordon/RELEASE63-30321-30315-201011261026_5c1cea64af7b6d2573b0d9936b1fa1ad/Habbo10.swf";
}
} catch(e) {}
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "9.0.115", "http://images.habbo.com/habboweb/%web_build%/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="cbb clearfix">
<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/%web_build%/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">
%hotel_status%
</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>

Fatto questo dobbiamo accendere il server come nello spoiler:
2exoaps.png

RISULTATO:

Ecco il risultato della Guida :).
1zyc4sn.png

FINE:

Spero che la guida sia stata di vostro gradimento. Accetto critiche e commenti. Commentate se c'è qualcosa che non va.
Ps: La guida è compatibile con tutti gli UberCMS e gli UberEMU ^^.

Fonte: 100% Mia.
Screen: 100% Miei.
Vietata la copia parziale della Guida.
 
Ultima modifica:
http://www.sciax2.it/forum/guide-info/uber-creare-retroserver-r63-screen-319051.html

Ok che sembrerebbe tua ameno che non hai fatto un clone pure del nick, ma se scrivi sciax2 nella guida metti la fonte...
 
Non so sei un bug del poker emu ma 1 non crea il database aggiornato nella cartella che vai a chiamare server-2 il download del poker emu v2 nella cartella non contiene i file che sono nella screen non voglio essere polemico ma se devo scaricare tutta sta roba devi dare la certezza di poter creare un retro:patt:grazie cmq bella guida :sisi:
 
Stato
Discussione chiusa ad ulteriori risposte.