• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Akiix's Plus Edit, rs4.php?

Newbie Spellweaver
Joined
Jan 19, 2013
Messages
86
Reaction score
37
Hey, I recently got back into retros from a long time of being inactive, and I wanted to set up the r63b w/ the new UI, but I can't seem to get it to work.

I'm using Akiix's Plus Edit, and I keep getting a black client, with a connection message on the EMU.

I think its because I didn't do the following step,

"Don't forget to add "hotelview.banner.url" : "http://%yourhost%/game/rs4.php", to your client loader. "

Because, I have no clue what that means.
I'm using UberCMS, so I was wondering if anyone could tell me what to do
:rolleyes:

Thanks,

 
Newbie Spellweaver
Joined
Jan 19, 2013
Messages
86
Reaction score
37
Go to page-client.tpl, and add it under the line that grabs the port for the client. Replace %yourhost% with 127.0.0.1 or what ever your site's domain/link is.
Thanks for replying,
but when I do that, I get an "Update Flash Player" message on client, as shown below. ( I'm using Chrome, so I obviously don't have to)

VmQ2ne1 - Akiix's Plus Edit, rs4.php? - RaGEZONE Forums


This is a portion of my page-client.tpl. ( I replaced %yourhost% with my IP, just didn't show it on here).

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


<script type="text/javascript">
FlashExternalInterface.loginLogEnabled = true;

FlashExternalInterface.logLoginStep("web.view.start");

if (top == self) {
FlashHabboClient.cacheCheck();
}


var habboReqPath = "%www%";

var flashvars = {
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "1",
"connection.info.host" : "%connection_info_host%",
"connection.info.port" : "%connection_info_port%",
"hotelview.banner.url" : "http://%yourhost%/game/rs4.php"
"site.url" : "%site_url%",
"url.prefix" : "%site_url%",
"client.reload.url" : "%client_reload_url%",
"client.fatal.error.url" : "%client_fatal_error_url%",
"client.connection.failed.url" : "%client_fatal_error_url%",
"external.variables.txt" : "%external_variables_txt%",
"external.texts.txt" : "%external_texts_txt%",
"productdata.load.url" : "%productdata_load_url%",
"furnidata.load.url" : "%furnidata_load_url%",
"use.sso.ticket" : "1",
"sso.ticket" : "%sso_ticket%",
"processlog.enabled" : "1",
"account_id" : "19927505",
"client.starting" : "%client_starting%",
"flash.client.url" : "%www%/client",
"user.hash" : "<?php echo sha1(USER_ID); ?>",

"flash.client.origin" : "popup",


 
Upvote 0
Experienced Elementalist
Joined
Jan 8, 2011
Messages
292
Reaction score
77
Thanks for replying,
but when I do that, I get an "Update Flash Player" message on client, as shown below. ( I'm using Chrome, so I obviously don't have to)

VmQ2ne1 - Akiix's Plus Edit, rs4.php? - RaGEZONE Forums


This is a portion of my page-client.tpl. ( I replaced %yourhost% with my IP, just didn't show it on here).




Found this on a foreign forum.
It is because the client of another SWF post was wrong and there were many areas where there had to be. This works 100%

The problem was that the client was wrong since. In the post to not be with (code) as they had created spaces in the client giving errors. This I leave work 100%:
<?php

require_once('./data_classes/server-data.php_data_classes-core.php.php');
require_once('./data_classes/server-data.php_data_classes-session.php.php');

$SQL=mysql_query("SELECT * FROM user_tickets WHERE userid = '".$my_id."'");
echo mysql_error();
$N=mysql_num_rows($SQL);
if($N==0){
mysql_query("INSERT INTO `user_tickets` SET `user_tickets`.`userid` = '".$my_id."', `user_tickets`.`sessionticket` = '".GenerateTicket()."', `user_tickets`.`ipaddress` = '".$myrealip."'") or die(mysql_error());
}else{
mysql_query("UPDATE `user_tickets` SET `user_tickets`.`sessionticket` = '".GenerateTicket()."', `user_tickets`.`ipaddress` = '".$myrealip."' WHERE `userid` = '".$my_id."'") or die(mysql_error());
}

$ticketsql = mysql_query("SELECT * FROM user_tickets WHERE userid = '".$my_id."'") or die(mysql_error());
$ticketrow = mysql_fetch_assoc($ticketsql);

$client_port = mysql_fetch_assoc($client_port = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_port'"));
$client_mus = mysql_fetch_assoc($client_mus = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_mus'"));
$client_ip = mysql_fetch_assoc($client_ip = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_ip'"));
$client_variables = mysql_fetch_assoc($client_variables = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_variables'"));
$client_variables_night = mysql_fetch_assoc($client_variables_night = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_variables_night'"));
$client_texts = mysql_fetch_assoc($client_texts = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_texts'"));
$client_swf_path = mysql_fetch_assoc($client_swf_path = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_swf_path'"));
$client_habbo_swf = mysql_fetch_assoc($client_habbo_swf = mysql_query("SELECT * FROM cms_settings WHERE variable = 'client_habbo_swf'"));
$client_limit = mysql_fetch_assoc($client_limit = mysql_query("SELECT * FROM cms_settings WHERE variable = 'cms_clientlimit'"));
if($user_rank < 1 && $online_count >= $client_limit['value']){

require_once('./templates/login_subheader.php');
require_once('./templates/login_header.php');

?>
<br>
<div id="intermediate">
<h2><center>Límite de Usuarios</center></h2>
<div id="enter-hotel">
<div class="open enter-btn">
<a href="http://test.jebbo.net/me" target="client" onClick="return onClientOpen(this)">Vuelve al ME<i></i></a><b></b>
</div>
</div>

<div id="info">
Actualmente tenemos <b><?php echo $online_count; ?> <?php echo $shortname; ?>s </b> conectados en el Servidor 1 y el límite es de <b><?php echo $client_limit['value']; ?> Onlines.</div>

<?php require_once('./templates/login_footer.php'); }else{ require_once('./templates/client_subheader.php'); ?>

<script type="text/javascript">
FlashExternalInterface.loginLogEnabled = true;

FlashExternalInterface.logLoginStep("web.view.start");

if (top == self) {
FlashHabboClient.cacheCheck();
}

<?php
$pathd="test.jebbo.net";
?>
var flashvars = {
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "IP_HOTEL",
"connection.info.port" : "30000",
"site.url" : "<?php echo $path; ?>",
"url.prefix" : "<?php echo $path; ?>",
"client.reload.url" : "<?php echo $path; ?>/client",
"client.fatal.error.url" : "<?php echo $path; ?>/client",
"client.connection.failed.url" : "<?php echo $path; ?>/client",
"external.variables.txt" : "http://IP_HOTEL/game/external_variables.txt",
"external.texts.txt" : "http://IP_HOTEL/game/external_flash_texts.txt",
"productdata.load.url" : "http://IP_HOTEL/game/productdata.txt",
"furnidata.load.url" : "http://IP_HOTEL/game/furnidata_xml.xml",
"use.sso.ticket" : "1",
"sso.ticket" : "<?php echo $ticketrow['sessionticket']; ?>",
"processlog.enabled" : "1",
"account_id" : "1",
"hotelview.banner.url" : "http://198.50.153.97/game/rs4.php",
"client.starting" : "Aguarde! O Halls está carregando...",
"flash.client.url" : "http://IP_HOTEL/game/",
"user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",
"has.identity" : "1",
"flash.client.origin" : "popup"


};
var params = {
"base" : "http://IP_HOTEL/game/",
"allowScriptAccess" : "always",
"menu" : "false"
};

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

FlashExternalInterface.signoutUrl = "<?php echo $path; ?>/account/logout?token=<?php echo sha1($myrow['password']); ?>";

var clientUrl = "http://IP_HOTEL/game/RELEASE63-201401301855-255051757.swf";

swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "<?php echo $path; ?>/web-gallery/flash/expressInstall.swf", flashvars, params);

window.onbeforeunload = unloading;
function unloading() {
var clientObject;
if (navigator.appName.indexOf("Microsoft") != -1) {
clientObject = window["flash-container"];
} else {
clientObject = document["flash-container"];
}
try {
clientObject.unloading();
} catch (e) {}
}
</script>

<meta name="description" content="Jebbo Hotel: haz amig@s, únete a la diversión y date a conocer." />
<meta name="keywords" content="Jebbo hotel, mundo, virtual, red social, gratis, comunidad, personaje, chat, online, adolescente, roleplaying, unirse, social, grupos, forums, seguro, jugar, juegos, amigos, adolescentes, raros, furni raros, coleccionable, crear, coleccionar, conectar, furni, muebles, mascotas, diseño de salas, compartir, expresión, placas, pasar el rato, música, celebridad, visitas de famosos, celebridades, juegos en línea, juegos multijugador, multijugador masivo" />



<!--[if IE 8]>
<link rel="stylesheet" href="<?php echo $path; ?>/web-gallery/static/styles/ie8.css" type="text/css" />
<![endif]-->
<!--[if lt IE 8]>
<link rel="stylesheet" href="<?php echo $path; ?>/web-gallery/static/styles/ie.css" type="text/css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" href="<?php echo $path; ?>/web-gallery/static/styles/ie6.css" type="text/css" />
<script src="<?php echo $path; ?>/web-gallery/static/js/pngfix.js" type="text/javascript"></script>
<script type="text/javascript">
try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}
</script>

<style type="text/css">
body { behavior: url(/js/csshover.htc); }
</style>
<![endif]-->

<meta name="build" content="63-BUILD406 - 09.05.2011 23:04 - de" />
</head>
<body id="client" class="flashclient">
<div id="overlay"></div>
<img src="<?php echo $path; ?>/web-gallery/v2/images/page_loader.gif" style="position:absolute; margin: -1500px;" />

<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">Por favor, actualiza tu Flash Player a la última versión</h2>

<div class="box-content">
<p>Puedes instalar y descargar Adobe Flash Player aquí: <a href="http://get.adobe.com/flashplayer/">Instala Flash player</a>. Más instrucciones para su instalación aquí: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">Más información</a></p>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="<?php echo $path; ?>/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">click here</a></p>
</div>
</noscript>
</div>

</div>
<div id="fb-root"></div>
<script type="text/javascript">
(function() {
var e = document.createElement('script');
e.async = true;
e.src = 'https://connect.facebook.net/es_ES/all.js';
document.getElementById('fb-root').appendChild(e);
}());
</script>

</body>
</html>

<?php } ?>
 
Upvote 0
Newbie Spellweaver
Joined
Jan 19, 2013
Messages
86
Reaction score
37
Found this on a foreign forum.
Hey thanks for this mate, but do you happen to know if this is even UberCMS? And if so, what file it is? I would think its page-client.tpl. but just to make sure :p
 
Upvote 0
Back
Top