[TUT] How to make r63b Habbo Retro

Did this tutorial help you?


  • Total voters
    142
Status
Not open for further replies.

KyleVonnie

Come @ me Bro!
Oct 26, 2011
993
176
my client goes black then d/c. my emu doesn't say anything like connection received. i dont know where to clear the cache and history :\
Sorry for the late replies, I havn't been on for days. Anyway If you are still experience this problem or any others, just tell me and I'll be glad to help you out.
How will i know the site of my retro?
Go to

Anyone else, feel free to PM me your problem and I'll try my best to solve them.
 

JayFord

Member
Mar 31, 2013
49
0
My emulator and evrything is okay. I clicked and that. After setting up the emu what will be the next step. ?
 

JayFord

Member
Mar 31, 2013
49
0
This is my problem:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 261904 bytes) in C:\Users\Sevillia\Desktop\Retro\xampp\htdocs\app\tpl\class.html.php on line 27
 

Straya

Straya Cunt
Mar 23, 2013
178
44
This is my problem:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 261904 bytes) in C:\Users\Sevillia\Desktop\Retro\xampp\htdocs\app\tpl\class.html.php on line 27
Check that code.
 

JayFord

Member
Mar 31, 2013
49
0
this is my class.html.php:
1<?php
2
3namespace Revolution;
4if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }
5class html implements iHTML
6{
7
8private $html;
9
10final public function get($file)
11{
12global $template, $_CONFIG;
13
14if($file != null && ctype_alnum($file))
15{
16if(file_exists('app/tpl/skins/'.$_CONFIG['template']['style'].'/' . $file . '.php'))
17{
18ob_start();
19include('app/tpl/skins/'.$_CONFIG['template']['style'].'/' . $file . '.php');
20$this->html .= ob_get_contents();
21ob_end_clean();
22
23$this->setHTML();
24}
25else
26{
27$this->get('404');
28}
29}
30else
31{
32header('Location: '.$_CONFIG['hotel']['url'].'/index');
33exit;
34}
35
36}
37
38final public function getHK($file)
39{
40global $template, $_CONFIG;
41
42if($file != null)
43{
44if(file_exists('../app/tpl/skins/'.$_CONFIG['template']['style'].'/hk/' . $file . '.php'))
45{
46ob_start();
47require_once('../app/tpl/skins/'.$_CONFIG['template']['style'].'/hk/' . $file . '.php');
48$this->html .= ob_get_contents();
49ob_end_clean();
50
51$this->setHTML();
52}
53else
54{
55$this->getHK('404');
56}
57}
58else
59{
60$this->getHK('dash');
}
}

final public function setHTML()
{
global $template;
$template->tpl .= $this->html;
unset($this->html);
}


}
?>
 

ceazarjay1

New Member
Apr 2, 2013
4
0
I need help on my client im stuck at a voting page but I've already voted why is like that???​
:muffit: :gangnam::muffit: :gangnam::muffit: :gangnam::muffit: :muffit: :gangnam::muffit: :gangnam::muffit: :gangnam::muffit:
 

SqarLyle

Member
Apr 10, 2013
39
1
My BcStorm emu works and my client loads but then goes black and a few seconds after it says Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 65488 bytes) in C:\xampp\htdocs\app\tpl\class.html.php on line 27. Please help?
 

JayFord

Member
Mar 31, 2013
49
0
My BcStorm emu works and my client loads but then goes black and a few seconds after it says Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 65488 bytes) in C:\xampp\htdocs\app\tpl\class.html.php on line 27. Please help?

i think that means you doesnt have disconnected.php
Just make one or change your template.
 

JayFord

Member
Mar 31, 2013
49
0
paste this to your disconnected.php

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.
\======================================================================*/
 
require_once "global.php";
 
?>
<!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">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Habbo - Disconnected</title>
<style type="text/css">
body
{
    background-color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: rgb(65, 65, 66);   
    margin: auto;
    padding-top: 50px;
}
 
#container
{
    margin: 10px;
    padding: 10px;
    vertical-align: middle;
}
 
a, a:visited, a:hover, a:active
{
    color: blue;
    text-decoration: none;
    border-bottom: 1px dotted;
}
 
a:hover
{
    border-bottom: 1px solid;
}
 
h1
{
    font-size: 300%;
}
</style>
</head>
<body>
 
<div id="container">
<table width="100%" height="100%">
<tr>
    <td valign="middle" style="text-align: center;">
        <img src="<?php echo localhost; ?>/images/sadface.png">
    </td>
    <td valign="middle" style="float: right; padding: 25px;">
       
        <?php if (LOGGED_IN) { ?>
        <h1>Disconnected!</h1>
       
        <h2>
            It appears you have been disconnected from {hotel name}.
        </h2>
       
        <br />
       
        <h3>
            <a href="<?php echo localhost; ?>{url}/client">Reload client</a>
        </h3>
       
               
        <?php } else { ?>
        <h1>Logged out</h1>
       
        <h2>
            You have been logged out of the hotel. Thanks for visiting!
        </h2>
       
        <br />
       
        <h3>
            <a href="<?php echo locahost; ?>/client">Log in again?</a>
        </h3>       
        <?php } ?>
       
        <h3>
            <a href="#" onclick="window.close();">Close window</a>
        </h3>       
       
    </td>
</tr>
</div>
   
</body>
</html>
 
Status
Not open for further replies.

Users who are viewing this thread

Top