-
How to make a R61 Hotel. By Captcha
Instruction created by Captcha :):
Hello RaGEZONE, I'll explain now how to make a R61 Hotel (Uber).
1.What do yo need?
-UberCMS (EpicCMS V2)
-SWF Pack [R61+, Injected, Uber] (Thanks to PEjump2)
-UberEmulator edited by Slaxxer V3 (Thanks to DarkBreakX (Slaxxer)
-Xampp
-WinRar
-Mysql Connector 6.2.3
2.Install Winrar,Mysql Connector 6.2.3 and Xampp.
3.If you have Xampp installed, click on Apache and Mysql.
http://myphb.bplaced.net/xampp.png
4.Go to http://localhost/security/xamppsecurity.php
5.Go to http://localhost/phpmyadmin
6.Create new Database (no matter what name)
7.Go to Import and Import then the slaxxerdb from the uberEmu.
8.Go to Slaxxer's uberEmu V3 then bin then Debug and then click on uber-config.
You have to change:
db.password
db.name
game.tcp.bindip
game.tcp.port
mus.tcp.bindip
mus.tcp.port
mus.tcp.allowedaddr
9.Go to htdocs/inc/ and click on inc.config and change the Settings.
Then save it.
Go to htdocs/inc/ and click on class.db.mysql and change the Settings.
10.Go to the SWF's and add all the files in htdocs.
11.Go to htdocs/gamedata/ and open external_variables.txt
12.Search the 127.0.0.1 and replace it with your Hotel Link
13.Open the uberEmu edited by Slaxxer V3
14.Go to .httacces und delete:
Quote:
RewriteRule ^gamedata/external(|/)$ ./externals.php
15.Edit your host and Port in client.php
Quote:
$client->SetParam('info_host', '127.0.0.1');
$client->SetParam('info_port', '30000');
15.Finished and have fun!
If you still want to ask questions then ask! xD
TUTORIAL BY Captcha ( My First Post :) )
-
Re: How to make a R61 Hotel. By Captcha
good tut, would be better if you had some screenshots. but its good :)
---------- Post added at 11:45 AM ---------- Previous post was at 11:39 AM ----------
ahh , when i upload the stuff, ; it comes up in a different language, and it comes up without pics ; , any ideas?
-
Re: How to make a R61 Hotel. By Captcha
What is the problem if my url automaticly sets localhost to it.
When I surf to: http://localhost i get http://localhost/localhost/
How to fix this issue?
-
Re: How to make a R61 Hotel. By Captcha
Quote:
Originally Posted by
tristanh
You have an mistake in the File inc.config.
in Hotel Link you have write: YOURHOTELLINK/
But you have to delete the / in YOURHOTELLINK
So it should be: YOURHOTELLINK and with the http://
-
Re: How to make a R61 Hotel. By Captcha
Good tut but i hate the layout 6/10
-
Re: How to make a R61 Hotel. By Captcha
when i try to open uber-config it asks me what to open it with please help:?:
-
Re: How to make a R61 Hotel. By Captcha
Right click and then open with notepad!
-
Re: How to make a R61 Hotel. By Captcha
Quote:
Originally Posted by
Miggs
Right click and then open with notepad!
Thanks i feel dumb now haha
-
Re: How to make a R61 Hotel. By Captcha
catchpa can you add me on msn?: stefangrims@hotmail.com
-
Re: How to make a R61 Hotel. By Captcha
LOL.Do you have any more problems??
-
Re: How to make a R61 Hotel. By Captcha
Quote:
Originally Posted by
Captcha
You have an mistake in the File inc.config.
in Hotel Link you have write: YOURHOTELLINK/
But you have to delete the / in YOURHOTELLINK
So it should be: YOURHOTELLINK and with the http://
Nice thanks, forget the http://
But now, my loader works but it stops when the hotel shows up and the loader is done..
-
Re: How to make a R61 Hotel. By Captcha
-
Re: How to make a R61 Hotel. By Captcha
RoflLOL
It is on..
MUS SOcket listening on 127.0.0.1:30001
Loaded 2090 item defeniton(s).
Performed database cleanup.
Your UberServer has been successfully booted. Now listening.
-
Re: How to make a R61 Hotel. By Captcha
Can anyone help me with making my retro ? ;
add me on msn please,
lindsay.x.x@hotmail.com
-
Re: How to make a R61 Hotel. By Captcha
make sure it is the same ip and the same port you used
---------- Post added at 06:33 PM ---------- Previous post was at 06:32 PM ----------
Quote:
Originally Posted by
-Summer,x
I can!
---------- Post added at 06:37 PM ---------- Previous post was at 06:33 PM ----------
Quote:
Originally Posted by
Captcha
Why use epicCMS???Renamer -.-' just use ubercms edit~
-
Re: How to make a R61 Hotel. By Captcha
Quote:
Originally Posted by
Miggs
I can!
Talk to me on msn ? (:
-
Re: How to make a R61 Hotel. By Captcha
[QUOTE=-Summer,x;6116733]Talk to me on msn ? (:[/
going on
-
Re: How to make a R61 Hotel. By Captcha
Must MUS port and INFO port be the same or?
-
Re: How to make a R61 Hotel. By Captcha
Mus port should be 30001 and info should be 30000
-
Re: How to make a R61 Hotel. By Captcha
can someone help me with creating a hotel?
-
Re: How to make a R61 Hotel. By Captcha
Quote:
Originally Posted by
Miggs
make sure it is the same ip and the same port you used
---------- Post added at 06:33 PM ---------- Previous post was at 06:32 PM ----------
I can!
---------- Post added at 06:37 PM ---------- Previous post was at 06:33 PM ----------
Why use epicCMS???Renamer -.-' just use ubercms edit~
Theres not my CMS,but I use it for my Hotel.Therefore I now have just taken the CMS.
-
Re: How to make a R61 Hotel. By Captcha
captcha can you help me with creating a R61 hotel?
-
Re: How to make a R61 Hotel. By Captcha
When i put all the info into the config file, in inc.
the retro comes up without any pics.
what do i do?
-
Re: How to make a R61 Hotel. By Captcha
Quote:
Originally Posted by
-Summer,x
When i put all the info into the config file, in inc.
the retro comes up without any pics.
what do i do?
It's your Web-Build.
Go to htdocs/inc/class.tpl and delete all!
Then add the code:
Code:
<?php
/*=======================================================================
| UberCMS - Advanced Website and Content Management System for uberEmu
| #######################################################################
| Copyright (c) 2010, Roy 'Meth0d' and updates by Matthew 'MDK'
| http://www.meth0d.org & http://www.sulake.biz
| #######################################################################
| 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 uberTpl
{
private $outputData;
private $params = Array();
private $includeFiles = Array();
public function Init()
{
global $core, $users;
$this->SetParam('', 'Holo');
$this->SetParam('body_id', '');
$this->SetParam('page_title', ' ');
$this->SetParam('flash_build', 'flash_50_9');
$this->SetParam('web_build', '63_1dc60c6d6ea6e089c6893ab4e0541ee0/36');
$this->SetParam('web_build_str', '50-BUILD66 - 06.05.2010 22:28 - Novic');
$this->SetParam('req_path', WWW);
$this->SetParam('www', WWW);
$this->SetParam('hotel_status_fig', uberCore::GetSystemStatusString(true));
$this->SetParam('hotel_status', uberCore::GetSystemStatusString(false));
if (LOGGED_IN)
{
$this->SetParam('habboLoggedIn', 'true');
$this->SetParam('habboName', USER_NAME);
$this->SetParam('vipbalance', '<b>' . $users->GetUserVar(USER_ID, 'vip_points') . ' <img src="' . WWW . '/images/vipcoin.gif" style="vertical-align: middle;"></b>');
}
else
{
$this->SetParam('habboLoggedIn', 'false');
$this->SetParam('habboName', 'null');
}
}
public function AddIncludeSet($set)
{
switch (strtolower($set))
{
case "frontpage":
$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/libs2.js'));
$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/landing.js'));
$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/frontpage.css', 'stylesheet'));
break;
case "register":
$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/visual.js'));
$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/common.js'));
$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/style.css', 'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/buttons.css', 'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/boxes.css', 'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/tooltips.css', 'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/embeddedregistration.css', 'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/simpleregistration.js'));
break;
case "process-template":
$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/libs2.js'));
$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/visual.js'));
$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/libs.js'));
$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/common.js'));
$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/fullcontent.js'));
$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/style.css', 'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/buttons.css', 'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/boxes.css', 'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/tooltips.css', 'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/process.css', 'stylesheet'));
break;
case 'myhabbo':
$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/libs2.js'));
$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/visual.js'));
$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/libs.js'));
$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/common.js'));
$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/fullcontent.js'));
$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/style.css', 'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/buttons.css', 'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/boxes.css', 'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/tooltips.css', 'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/styles/myhabbo/myhabbo.css', 'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/styles/myhabbo/skins.css', 'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/styles/myhabbo/dialogs.css', 'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/styles/myhabbo/buttons.css', 'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/styles/myhabbo/control.textarea.css', 'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/styles/myhabbo/boxes.css', 'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/myhabbo.css', 'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css', 'http://www.habbo.co.uk/myhabbo/styles/assets.css', 'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/homeview.js'));
$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/lightwindow.css', 'stylesheet'));
break;
case 'default':
default:
$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/libs2.js'));
$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/visual.js'));
$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/libs.js'));
$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/common.js'));
$this->AddIncludeFile(new IncludeFile('text/javascript', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/static/js/fullcontent.js'));
$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/style.css', 'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/buttons.css', 'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/boxes.css', 'stylesheet'));
$this->AddIncludeFile(new IncludeFile('text/css', 'http://images.habbo.com/habboweb/%web_build%/web-gallery/v2/styles/tooltips.css', 'stylesheet'));
break;
}
}
public function AddGeneric($tplName)
{
$tpl = new Template($tplName);
$this->outputData .= $tpl->GetHtml();
}
public function AddTemplate($tpl)
{
$this->outputData .= $tpl->GetHtml();
}
public function SetParam($param, $value)
{
$this->params[$param] = is_object($value) ? $value->fetch() : $value;
}
public function UnsetParam($param)
{
unset($this->params[$param]);
}
public function AddIncludeFile($incFile)
{
$this->includeFiles[] = $incFile;
}
public function WriteIncludeFiles()
{
foreach ($this->includeFiles as $f)
{
$this->Write($f->GetHtml() . LB);
}
}
public function Write($str)
{
$this->outputData .= $str;
}
public function FilterParams($str)
{
foreach ($this->params as $param => $value)
{
$str = str_ireplace('%' . $param . '%', $value, $str);
}
return $str;
}
public function Output()
{
global $core;
$this->Write(LB . LB . '<!-- uberCMS: Took ' . (microtime(true) - $core->execStart) . ' to output this page -->' . LB . LB);
echo $this->FilterParams($this->outputData);
}
}
class Template
{
private $params = Array();
private $tplName = '';
public function Template($tplName)
{
$this->tplName = $tplName;
}
public function GetHtml()
{
global $users;
extract($this->params);
$file = CWD . 'inc/tpl/' . $this->tplName . '.tpl';
if (!file_exists($file))
{
uberCore::SystemError('Template system error', 'Could not load template: ' . $this->tplName);
}
ob_start();
include($file);
$data = ob_get_contents();
ob_end_clean();
return $this->FilterParams($data);
}
public function FilterParams($str)
{
foreach ($this->params as $param => $value)
{
if (is_object($value))
{
continue;
}
$str = str_ireplace('%' . $param . '%', $value, $str);
}
return $str;
}
public function SetParam($param, $value)
{
$this->params[$param] = $value;
}
public function UnsetParam($param)
{
unset($this->params[$param]);
}
}
class IncludeFile
{
private $type;
private $src;
private $rel;
private $name;
public function IncludeFile($type, $src, $rel = '', $name = '')
{
global $tpl;
$this->type = $type;
$this->src = $src;
$this->rel = $rel;
$this->name = $name;
}
public function GetHtml()
{
switch ($this->type)
{
case 'application/rss+xml':
return '<link rel="' . $this->rel . '" type="' . $this->type . '" title="' . $this->name . '" href="' . $this->src . '" />';
case 'text/javascript':
return '<script src="' . $this->src . '" type="text/javascript"></script>';
case 'text/css':
default:
return '<link rel="' . $this->rel . '" href="' . $this->src . '" type="' . $this->type . '" />';
}
}
}
?>
---------- Post added at 08:40 PM ---------- Previous post was at 08:38 PM ----------
Quote:
Originally Posted by
grimske1
captcha can you help me with creating a R61 hotel?
Yes,add me in ICQ:566398069
If you do not have ICQ, simply ask your question here
-
Re: How to make a R61 Hotel. By Captcha
captchpa i have many problems with the site
---------- Post added at 09:23 PM ---------- Previous post was at 09:13 PM ----------
how to setup the dcrs into the client?
---------- Post added at 09:53 PM ---------- Previous post was at 09:23 PM ----------
and what to put in here: %flash_base%
---------- Post added at 09:56 PM ---------- Previous post was at 09:53 PM ----------
ps i have many questions sry xD