CLIENT - Problema client new crypto

ivan2011

Utente Medio
Autore del topic
9 Aprile 2011
103
43
Miglior risposta
0
Assistenza Tecnica Habbo Retroserver
Titolo
Problema client new crypto
Tipologia del tuo problema/richiesta
CLIENT
CMS/Server/DB/Client Utilizzato
PixmaCMSv1 [New Crypto] , Trypolin Emu, Dcr compresi in PixmaCMS
Qual è il tuo errore?
l'habbo.swf parte pero il client rimane nero
Screenshot
-
Ulteriori informazioni
-
 
Assistenza Tecnica Habbo Retroserver
Titolo
Problema client new crypto
Tipologia del tuo problema/richiesta
CLIENT
CMS/Server/DB/Client Utilizzato
PixmaCMSv1 [New Crypto] , Trypolin Emu, Dcr compresi in PixmaCMS
Qual è il tuo errore?
l'habbo.swf parte pero il client rimane nero
Screenshot
-
Ulteriori informazioni
-

La porta del client e quella dell'emulatore sono le stesse?
 
Posta client e config emulatore per favore.

del emu quale butterfly o fastfood ?

- - - Aggiornato - - -

Posta client e config emulatore per favore.

Allora ci sei ?

- - - Aggiornato - - -

Posta client e config emulatore per favore.
Config butterfly emu:
## uberEmulator System Configuration File
## Must be edited for the server to work

## MySQL Configuration
db.hostname=localhost
db.port=3306
db.username=root
db.password=*********
db.name=db

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

## MySQL Configuration FOR ITEMS
db2.hostname=localhost
db2.port=3306
db2.username=root
db2.password=*********
db2.name=db

## MySQL pooling setup (controls amount of connections) FOR ITEMS
db2.pool.minsize=10
db2.pool.maxsize=20

## Game TCP/IP Configuration
game.tcp.bindip=localhost
game.tcp.port=300
game.tcp.conlimit=11000
game.tcp.conperip=100
game.tcp.enablenagles=False

## MUS TCP/IP Configuration
mus.tcp.bindip=localhost
mus.tcp.port=30001
mus.tcp.allowedaddr=localhost;127.0.0.1;

## Client configuration
client.ping.enabled=1
client.ping.interval=60000
client.maxrequests=300
client.maxpossiblefriends=500
client.maxitemsininventary=3400

auth.ssodisabled=true


#Says wether the users should receive pixels each X seconds, how much and when (When in seconds)
game.pixel.enabled=true
game.pixel.amount=1000
game.pixel.time=120

#Says wether the users should receive pixels each X seconds, how much and when (When in seconds)
game.credits.enabled=true
game.credits.amount=2500
game.credits.time=120

game.login.credits.receiveamount=100
game.login.pixel.receiveamount=100

# Colors configuration
game.roomswithbotscolor=1
game.botdefaultcolor=2
game.botbadge=BOT
game.staffdefaultcolor=23

# Staff Chat configuration
game.staffchat.name=Staff chat
game.staffchat.look=hr-3163-1356.ca-3219-1341.hd-180-3.lg-3078-1341.ch-3208-1341-100
game.staffchat.motto=StaffChat

#Maxinum NameChanges
game.maxnamechanges=1

#FastFood
base.url=http://localhost/game/gamecenter_basejump/
fastfood.server=localhost

#StaticEvents
static.events=false

Client :
<?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/configs.php');
if(!session_is_registered(username)){ require_once('./logoutclient.php'); exit; }

$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."'");
}else{
mysql_query("UPDATE `user_tickets` SET `user_tickets`.`sessionticket` = '".GenerateTicket()."', `user_tickets`.`ipaddress` = '".$myrealip."' WHERE `userid` = '".$my_id."'");
}

$ticketsql = mysql_query("SELECT * FROM user_tickets WHERE userid = '".$my_id."'");
$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(''); }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" : "localhost",
"connection.info.port" : "30000",
"site.url" : "http://localhost",
"url.prefix" : "http://localhost",
"client.reload.url" : "http://localhost/clientutils.php",
"client.fatal.error.url" : "http://localhost/clientutils.php",
"client.connection.failed.url" : "http://localhost/clientutils.php",
"external.hash" : "",
"external.variables.txt" : "http://localhost/game/external_variables.txt",
"external.texts.txt" : "http://localhost/game/external_flash_texts.txt",
"productdata.load.url" : "http://localhost/game/productdata.txt",
"furnidata.load.url" : "http://localhost/game/furnidata.txt",
"use.sso.ticket" : "1",
"sso.ticket" : "<?php echo $ticketrow['sessionticket']; ?>",
"processlog.enabled" : "0",
"account_id" : "0",
"client.starting" : "¡<?php echo $name; ?> estas entrado a <?php echo $shortname; ?>! ~ Hay <?php echo $online_count; ?> Usuarios en línea",
"flash.client.url" : "http://localhost/game/",
"user.hash" : "",
"facebook.user" : "0",
"has.identity" : "0",
"flash.client.origin" : "popup"
};
var params = {
"base" : "http://localhost/game/",
"allowScriptAccess" : "always",
"menu" : "false",

};

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

FlashExternalInterface.signoutUrl = "http://<?php echo $cms_server; ?>/account/logout";


var clientUrl = "http://localhost/game/Habbo.swf";
swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://<?php echo $cms_server; ?>/web-gallery/flash/expressInstall.swf", flashvars, params);
</script>
<body id="client" class="flashclient">
<div id="overlay"></div>
<img src="http://<?php echo $cms_server; ?>/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, instalar el Adobe Flash Player.</h2>
<div class="box-content">
<p>Puedes instalar y descargar Adobe Flash Player aquí: <a href="http://get.adobe.com/flashplayer/">Instalar 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="http://<?php echo $cms_server; ?>/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>Si usted no es redirigido automáticamente, por favor <a href="/client/nojs">click aqui</a></p>
</div>
</noscript>
</div>
</div>
<div id="content" class="client-content"></div>
</div>


<div style="display: none">
<div id="habboCountUpdateTarget">
20 users online now!
</div>
<script language="JavaScript" type="text/javascript">
setTimeout(function() {
HabboCounter.init(600);
}, 20000);
</script>
</div>
<script type="text/javascript">
RightClick.init("flash-wrapper", "flash-container");
</script>

</body>
</html>

<?php } ?>
 
Appunto per questo devi modificarla in 300 perchè è la porta che usa l'emulatore, come potrai notare qui:

game.tcp.port=300

Quindi Sostituisci:
"connection.info.port" : "30000",

con:
"connection.info.port" : "300",
 
Sostituisci la vecchia stringa "sso.ticket" nel client, con questa:

"sso.ticket" : "<?php echo $ticketrow['sessionticket']; ?>"