Retro-Zones
Würden Sie gerne auf diese Nachricht reagieren? Erstellen Sie einen Account in wenigen Klicks oder loggen Sie sich ein, um fortzufahren.


Dein Retro Forum
 
StartseiteSuchenNeueste BilderAnmeldenLogin

 

 Wie man ein v51/v52 erstellt

Nach unten 
AutorNachricht
Dj-dark
Besitzer
Besitzer
Dj-dark


Anzahl der Beiträge : 73
Taler : 194
Bewertungssystem : 0
Anmeldedatum : 21.04.10
Ort : Dortmund

Wie man ein v51/v52 erstellt Empty
BeitragThema: Wie man ein v51/v52 erstellt   Wie man ein v51/v52 erstellt I_icon_minitimeMo Jun 21, 2010 11:56 am

Ich denke jeder hat Emulator und CMS von Uber und Mysql connector 6.2.3 (wenn nicht kriegt ihr es unter Realases)

1. Entpacke CMS in htdocs

2. Füge Mysql in Phpmyadmin

3. geh auf dein Router (z.Bsp. 192.168.2.1)<--- Da einloggen dann da wo ihr euere freigeschalteten Ports seht
Screen:


Ihr braucht die IP wo vorm dem: :(PORT) steht hier beispiel: 192.168.2.100:30000

4. Wenn ihr Ports 30000 und 30001 noch net frei habt müsst ihr das tun

5. Bei euerem Emulator bin/x86/debug/uber-conf.conf <--- Mit editor öffnen

## MySQL Configuration
db.hostname=localhost
db.port=3306
db.username=root
db.password=Localhost PASSWORT
db.name=DATABASE

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

## Game TCP/IP Configuration
game.tcp.bindip=EUERE IP DIE IHR GRAD BEIM ROOT GESUCHT HABT bsp. 192.168.2.100
game.tcp.port=30000
game.tcp.conlimit=500

## MUS TCP/IP Configuration
mus.tcp.bindip=EUERE IP DIE IHR GRAD BEIM ROOT GESUCHT HABT bsp. 192.168.2.100
mus.tcp.port=30001
mus.tcp.allowedaddr=EUERE IP DIE IHR GRAD BEIM ROOT GESUCHT HABT bsp. 192.168.2.100

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

Dann abspeichern

6. Geht in htdocs/inc/class.db.mysql mit editor öffnen

$connected = false;
private $hostname = "localhost";
private $username = "root";
private $password = "PASSWORT";
private $database = "DATABASE";
private $link;

public function MySQL($host, $user, $pass, $db)
Dann abspeichern

7. Geht in htdocs/inc/inc.config

$config['Site']['www'] = "NO_IP ADRESSE";
$config['Site']['hash_secret'] = "xCg532%@%gdvf^5DGaa6&*rFTfg^FD4\$OIFThrR_gh(ugf*/";

$config['MySQL']['hostname'] = "localhost";
$config['MySQL']['username'] = "root";
$config['MySQL']['password'] = "PASSWORT";
$config['MySQL']['database'] = "DATABASE";

$config['MUS']['enabled'] = false;
$config['MUS']['ip'] = "EUERE IP VOM ROUTER beisp. 192.168.2.100";
$config['MUS']['port'] = 30001;

{
Dann abspeichern

8. htdocs/inc/tpl/page-client.tpl

Alles löschen das einfügen:

Zitat:



var habboDefaultClientPopupUrl = "%www%/client";







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" : "NO-IP ADRESSE",
"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" : "%www%/gamedata/external?id=external_variables",
"external.texts.txt" : "http://www.habbo.de/gamedata/external?id=external_flash_texts",
"use.sso.ticket" : "1",

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" : "Hotel wird gestartet...",
"flash.client.url" : "%flash_client_url%",
"user.hash" : "",
"facebook.user" : "0",
"has.identity" : "0",
"flash.client.origin" : "popup"
};
var params = {
"base" : "%flash_base%",
"allowscriptAccess" : "always",
"menu" : "false"
};

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

var clientUrl = "%flash_base%Habbo10.swf";
try {
if (swfobject.getFlashPlayerVersion().major <= 9) {
clientUrl = "%flash_base%Habbo.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);








Bitte installiere Adobe Flash Player.


Sie installieren können und laden Sie Adobe Flash Player hier: Flash Player installieren. Weitere Hinweise zur Installation finden Sie hier: Weitere Informationen

Get Adobe Flash player





$('content').show();



Wenn Sie nicht automatisch weitergeleitet werden, klicken Sie bitte hier









%hotel_status%


setTimeout(function() {
HabboCounter.init(600);
}, 20000);



RightClick.init("flash-wrapper", "flash-container");





ACHTUNG: das muss zusammen sein

Dann speichern!

9. htdocs/client.php öffnen

Alles löschen und das einfügen:

Zitat:
/*=======================================================================
| UberWeb - Lightweight site system for Uber
| #######################################################################
| Copyright (c) 2009, Roy 'Meth0d'
| http://www.meth0d.org
| #######################################################################
| 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.
\======================================================================*/

define('HIDE_FEEDBACK', true);

require_once "global.php";
require_once "inc/class.rooms.php";

if (!LOGGED_IN)
{
header("Location: " . WWW. "/login_popup");
exit;
}

$forwardType = 0;
$forwardId = 0;

if ($users->getUserVar(USER_ID, 'newbie_status') == "0")
{
if (isset($_GET['createRoom']) && is_numeric($_GET['createRoom']))
{
$roomId = RoomManager::CreateRoom(USER_NAME . "'s room", USER_NAME, 'model_s');

switch (intval($_GET['createRoom']))
{
default:
case 0:

RoomManager::PaintRoom($roomId, '1701', '601');
break;

case 1:

RoomManager::PaintRoom($roomId, '607', '111');
break;

case 2:

RoomManager::PaintRoom($roomId, '1901', '301');
break;

case 3:

RoomManager::PaintRoom($roomId, '1801', '110');
break;

case 4:

RoomManager::PaintRoom($roomId, '503', '104');
break;

case 5:

RoomManager::PaintRoom($roomId, '804', '107');
break;
}

//die('createRoom Result: ' . $roomId);
dbquery("UPDATE users SET home_room = '" . $roomId . "', newbie_status = '1' WHERE id = '" . USER_ID . "' LIMIT 1");

//$forwardType = 2;
//$forwardId = $roomId;
}
else
{
header("Location: " . WWW . "/client?createRoom=" . rand(0, 5));
exit;
}
}
else if (isset($_GET['forwardType']) && isset($_GET['forwardId']) && is_numeric($_GET['forwardType']) && is_numeric($_GET['forwardId']))
{
$forwardType = intval($_GET['forwardType']);
$forwardId = intval($_GET['forwardId']);

if ($forwardType >= 3 || $forwardType <= 0)
{
return;
}
}

if ($users->GetUserVar(USER_ID, "newbie_status", false) == "1")
{
header("Location: " . WWW . "/account/policy-verify");
exit;
}

$users->CheckSSO(USER_ID);

$tpl->Init();

$tpl->AddGeneric('head-init');
$tpl->AddIncludeSet('default');
$tpl->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/habboclient.css', 'stylesheet'));
$tpl->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/habboflashclient.css', 'stylesheet'));
$tpl->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/habboflashclient.js'));
$tpl->WriteIncludeFiles();
$tpl->AddGeneric('head-bottom');

$client = new Template('page-client');
$client->SetParam('page_title', ' ');
$client->SetParam('sso_ticket', $users->GetUserVar(USER_ID, 'auth_ticket', false));
$client->SetParam('flash_base', 'http://images.habbo.com/gordon/RELEASE50-26469-26468-201005140123_516302b6ced161417c67a20c2ed7bf8d/');
$client->SetParam('flash_client_url', 'http://images.habbo.com/dcr/r50_none_e3801d20ad745cc86660598ea0c4bdf4/');
$client->SetParam('hotel_status', $core->GetUsersOnline() . ' users online now!');
$client->SetParam('forwardType', $forwardType);
$client->SetParam('forwardId', $forwardId);

if (isset($_GET['forceTicket']) && $users->HasFuse(USER_ID, 'fuse_admin'))
{
$client->SetParam('sso_ticket', $_GET['forceTicket']);
}

$tpl->AddTemplate($client);

$tpl->Output();

?>


Dann speichern!!

Nun Emulator öffnen und Einchecken fertig!

Das TuTorial nur für ohne Hamachi Hotel's
Nach oben Nach unten
http://retro-zones.tk
 
Wie man ein v51/v52 erstellt
Nach oben 
Seite 1 von 1

Befugnisse in diesem ForumSie können in diesem Forum nicht antworten
Retro-Zones :: Tutorials-
Gehe zu: