Offical BCStorm Help Thread

James - Offical BCStorm Help Thread - RaGEZONE Forums

HELPPP

It means your `favoritegroup` is a group that doesn't exist. (Do UPDATE users SET favoritegroup = 0 WHERE username = 'YOUR USERNAME')
 
Upvote 0
Heey Leon, you will post the source when? (:

When I have it working properly. Currently got it running on with my own CMS to eliminate bugs. Working on group-related bugs at the moment.
 
Upvote 0
When I have it working properly. Currently got it running on with my own CMS to eliminate bugs. Working on group-related bugs at the moment.

Haha.. Ok! Thanks ^^"
 
Upvote 0
Hello there ragezone,

I have a problem with the badge images.
I did what BatDev said.
Downloaded the correct SWF.
Added Habbo-imaging to my root.
 
Upvote 0
Jup, same here. When using NovaCMS the client loads up to 70% and then does nothing. When using Uber2.0, it keeps black, and with HabboPHP it give's me the connection error.
 
Upvote 0
I am so confused right now....

Using Leons release.

php creates a auth ticket.

PHP:
function rand_string( $length ) {
    $chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";    

    $size = strlen( $chars );
    for( $i = 0; $i < $length; $i++ ) {
        $str .= $chars[ rand( 0, $size - 1 ) ];
    }

    return $str;
}
 
$ticket = rand_string(10);

The database shows the right auth ticket but the server says it's a different ticket.


James - Offical BCStorm Help Thread - RaGEZONE Forums



It gets weirder....


If in my php script I say $ticket = "123456789" then I can connect without problems.

I have tried different methods of generating the ticket and it always shows the right ticket in the client source and the db but the server somehow always manages to change the sso (see screenshot). Only when i manually type a ticket it will work...

James - Offical BCStorm Help Thread - RaGEZONE Forums



Does anyone have any idea what is going on here?
 
Last edited:
Upvote 0
I already fixed the Presents, Catalogue and i'll fix the rooms later :p

@BoomHotel
try to see some structure on emulator and change us ^^
 
Upvote 0
Error ticket sso client lavvos help-me
<?php
$myrealip = $_server['remote_addr'] = $_server["http_cf_connecting_ip"] ? $_server["http_cf_connecting_ip"] : $_server["remote_addr"];

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');

?>

<?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();
}

var flashvars = {
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "142.54.166.187",
"connection.info.port" : "30000",
"site.url" : "http://toophotel.com",
"url.prefix" : "http://toophotel.com/",
"client.reload.url" : "http://toophotel.com/client",
"client.fatal.error.url" : "http://toophotel.com/client",
"client.connection.failed.url" : "http://toophotel.com/client",
"external.hash" : "",
"external.variables.txt" : "http://142.54.166.187:8080/swfs/external_variables.txt",
"external.texts.txt" : "http://142.54.166.187:8080/swfs/external_flash_texts.txt",
"productdata.load.url" : "http://142.54.166.187:8080/swfs/productdata.txt",
"furnidata.load.url" : "http://142.54.166.187:8080/swfs/furnidata.txt",
"use.sso.ticket" : "1",
"sso.ticket" : "<?php echo $ticketrow['sessionticket']; ?>",
"processlog.enabled" : "0",
"account_id" : "0",
"client.starting" : "carregando",
"flash.client.url" : "http://toophotel.com/client",
"user.hash" : "",
"has.identity" : "0",
"flash.client.origin" : "popup"


};
var params = {
"base" : "http://142.54.166.187:8080/swfs/",
"allowscriptaccess" : "always",
"menu" : "false"
};

if (!(habbletloader.needsflashkbworkaround())) {
params["wmode"] = "opaque";
}

flashexternalinterface.signouturl = "http://toophotel.com/client";

var clienturl = "http://142.54.166.187:8080/swfs/habbo.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="lavvo hotel: Haz amig@s, únete a la diversión y date a conocer." />
<meta name="keywords" content="lavvo 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>



</body>
</html>

<?php } ?>
 
Upvote 0
I get this?
Any ideas on how to fix this?

James - Offical BCStorm Help Thread - RaGEZONE Forums


Critical exceptions -
TokenID: 0Invalid Dario bug duing user login: System.ArgumentException: Column 'quests' does not belong to table Table.
at System.Data.DataRow.GetDataColumn(String columnName)
at System.Data.DataRow.get_Item(String columnName)
at Butterfly.HabboHotel.Users.Authenticator.HabboFactory.GenerateHabbo(DataRow dRow, DataRow group) in c:\Users\Leon\Desktop\Development\C#\BcStorm\Butterfly\HabboHotel\Users\Authenticator\HabboFactory.cs:line 31
at Butterfly.HabboHotel.Users.UserDataManagement.UserDataFactory.GetUserData(String sessionTicket, String ip, Byte& errorCode) in c:\Users\Leon\Desktop\Development\C#\BcStorm\Butterfly\HabboHotel\Users\UserDataManagement\UserDataFactory.cs:line 295
at Butterfly.HabboHotel.GameClients.GameClient.tryLogin(String AuthTicket) in c:\Users\Leon\Desktop\Development\C#\BcStorm\Butterfly\HabboHotel\GameClients\GameClient.cs:line 241
 
Last edited:
Upvote 0
Back