Hallo zusammen,
ich kämpfe schon seit einigen Tagen mit dem Problem und hoffe mir hier eine Lösung dafür zu finden.
Es geht darum das Neue User sich nicht im Client befinden können. Der loader bleibt bei 73% hängen. Mehr auch nicht.
Nur Vorherige User kommen ins Hotel 100% rein. Ich habe echt alles Überprüft. Php Version gewechselt. sso angeschaut. Client.php angeschaut. SWF geändert.
Dies und das. Firewall ist aus.
C#
using System;
using System.Linq;
using System.Text;
using System.Data;
using System.Collections.Generic;
using Cloud.HabboHotel.Games;
using Cloud.Communication.Packets.Outgoing.GameCenter;
using Cloud.Database.Interfaces;
namespace Cloud.Communication.Packets.Incoming.GameCenter
{
class JoinPlayerQueueEvent : IPacketEvent
{
public void Parse(HabboHotel.GameClients.GameClient Session, ClientPacket Packet)
{
if (Session == null || Session.GetHabbo() == null)
Console.WriteLine("SESSION NULL"); return;
int GameId = Packet.PopInt();
GameData GameData = null;
if (CloudServer.GetGame().GetGameDataManager().TryGetGame(GameId, out GameData))
{
string SSOTicket = "HABBOON-Fastfood-" + GenerateSSO(32) + "-" + Session.GetHabbo().Id;
Session.SendMessage(new JoinQueueComposer(GameData.GameId));
Session.SendMessage(new LoadGameComposer(Session, GameData, SSOTicket));
}
}
private string GenerateSSO(int length)
{
Random random = new Random();
string characters = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
StringBuilder result = new StringBuilder(length);
for (int i = 0; i < length; i++)
{
result.Append(characters[random.Next(characters.Length)]);
}
return result.ToString();
}
}
}
Alles anzeigen
PHP
<?php
/* #################################################################### \
|| ||
|| TotixCMS v5 - El uso de este software es privado y único *#
|| # Copyright (C) 2016 @Author: Francisco Olivera <Totix> *#
||---------------------------------------------------------------------*#
||---------------------------------------------------------------------*#
|| Script pensado para la gestión de retroservers Habbo. *#
|| Tanto el script como los autores del mismo no tienen ningún tipo *#
|| de asociación con Habbo y/o Sulake Oy Corp. Por lo tanto, estos no *#
|| se hacen responsables del uso que el usuario le dé. *#
|| ||
\ #################################################################### */
require_once 'engine/funciones.php';
$totix->checklogged('no');
$totix->banned();
function GenerateSSO(){
$data = "NZ-";
for ($i=1; $i<=6; $i++){
$data = $data . rand(0,9);
}
$data = $data . "-";
for ($i=1; $i<=20; $i++){
$data = $data . rand(0,9);
}
$data = $data . "-Habbo-NZ";
$data = $data . rand(0,5);
return $data;
}
$remote_ip = $_SERVER['REMOTE_ADDR'];
$db->query("UPDATE users SET auth_ticket = '".GenerateSSO()."', ip_last = '".$remote_ip."' WHERE id = '".$totix->user('id')."'") or die('Hubo un error inesperado');
$ticket = 'TOTIX-550-'.md5(rand(10000,99999)).'-118';
$ticketsql = $db->query("SELECT * FROM users WHERE id = '".$totix->user('id')."'") or die('Hubo un error inesperado');
$ticketrow = $ticketsql->fetch_assoc();
?>
<html xmlns="https://www.w3.org/1999/xhtml" xml:lang="es" lang="es">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="shortcut icon" href="<?php echo www; ?>/favicon.ico" type="image/vnd.microsoft.icon" />
<title><?php echo name; ?> » Client</title>
<script src="<?php echo www; ?>/clientjs/jquery-latest.js" type="text/javascript"></script>
<script src="<?php echo www; ?>/clientjs/jquery-ui.js" type="text/javascript"></script>
<script src="<?php echo www; ?>/clientjs/flashclient.js"></script>
<script src="<?php echo www; ?>/clientjs/flash_detect_min.js"></script>
<script src="<?php echo www; ?>/clientjs/client.js" type="text/javascript"></script>
<script type="text/javascript">
document.habboLoggedIn = true;
var habboName = "<?php echo $totix->user('username') ?>";
var habboId = <?php echo $totix->user('id'); ?>;
var facebookUser = false;
var habboReqPath = "";
var habboStaticFilePath = "<?php echo www; ?>/gallery";
var habboImagerUrl = "<?php echo wwww; ?>/habbo-imaging/";
var habboPartner = "";
var habboDefaultClientPopupUrl = "<?php echo wwww; ?>/client";
window.name = "b58df0d876739bc03afc2afeecaf72830c280c71";
if (typeof HabboClient != "undefined") {
HabboClient.windowName = "b58df0d876739bc03afc2afeecaf72830c280c71";
HabboClient.maximizeWindow = true;
}
$(document).ready(function(){
});
</script>
<style type="text/css">
*, body {
margin: 0;
padding: 0;
font: initial;
}
.antilagg {
padding: 5px;
top: 0;
left: 0;
position: absolute;
background: #000;
color: #fff;
z-index: 10000000;
border-radius: 0px 0px 5px 0px;
}
.antilagg a {
color: #fff;
text-decoration: none;
font-family: 'Arial';
}
</style>
</head>
<body>
<div id="client-ui">
<div id="client" style='position:absolute; left:0; right:0; top:0; bottom:0; overflow:hidden; height:100%; width:100%;background: #000;'></div>
</div>
<script>
var Client = new SWFObject("<?php echo www; ?>/swf/gordon/PRODUCTION-201607262204-86871104/OtakuTF.swf", "client", "100%", "100%", "10.0.0"); Client.addVariable("client.allow.cross.domain", "1");
Client.addVariable("client.notify.cross.domain", "0");
Client.addVariable("connection.info.host", "IP");
Client.addVariable("connection.info.port", "30000");
Client.addVariable("site.url", "<?php echo www; ?>");
Client.addVariable("url.prefix", "<?php echo www; ?>");
Client.addVariable("client.reload.url", "<?php echo www; ?>/client");
Client.addVariable("client.fatal.error.url", "<?php echo www; ?>/client");
Client.addVariable("client.connection.failed.url", "<?php echo www; ?>/client");
Client.addVariable("logout.url", "<?php echo www; ?>/client");
Client.addVariable("logout.disconnect.url", "<?php echo www; ?>/client");
Client.addVariable("external.variables.txt", "<?php echo www; ?>/swf/gamedata/external_variables.txt?adNasd");
Client.addVariable("external.texts.txt", "<?php echo www; ?>/swf/gamedata/external_flash_texts.txt?assasdsd");
Client.addVariable("external.override.variables.txt", "<?php echo $datos->cliente('ext_ov_var'); ?>");
Client.addVariable("external.override.texts.txt", "<?php echo $datos->cliente('ext_ov_txt'); ?>");
Client.addVariable("productdata.load.url", "<?php echo www; ?>/swf/gamedata/productdata.txt");
Client.addVariable("furnidata.load.url", "<?php echo www; ?>/swf/gamedata/furnidata.xml?12");
Client.addVariable("external.figurepartlist.txt", "<?php echo www; ?>/swf/gamedata/figuredata.xml");
Client.addVariable("flash.dynamic.avatar.download.configuration", "<?php echo www; ?>/swf/gamedata/figuremap.xml");
Client.addVariable("use.sso.ticket", "1");
Client.addVariable("sso.ticket", "<?php echo $ticketrow['auth_ticket']; ?>");
Client.addVariable("account_id", "<?php echo $totix->user('id'); ?>");
Client.addVariable("processlog.enabled", "1");
Client.addVariable("client.starting", "<?php echo name; ?>TF Wird Geladen...");
//Client.addVariable("client.starting.revolving", "Para ciencia, \u00A1T\u00FA, monstruito!\/Cargando mensajes divertidos... Por favor, espera.\/\u00BFTe apetecen salchipapas con qu\u00E9?\/Sigue al pato amarillo.\/El tiempo es s\u00F3lo una ilusi\u00F3n.\/\u00A1\u00BFTodav\u00EDa estamos aqu\u00ED?!\/Me gusta tu camiseta.\/Mira a la izquierda. Mira a la derecha. Parpadea dos veces. \u00A1Ta-ch\u00E1n!\/No eres t\u00FA, soy yo.\/Shhh! Estoy intentando pensar.\/Cargando el universo de p\u00EDxeles.");//
<?php if($room) { ?>Client.addVariable("forward.id", "<?php echo $room; ?>");<?php } ?>
Client.addVariable("flash.client.url", "<?php echo www; ?>/swf/gordon/PRODUCTION-201607262204-86871104/");
Client.addVariable("flash.client.origin", "popup");
Client.addVariable("nux.lobbies.enabled", "true");
Client.addParam('base', '<?php echo www; ?>/swf/gordon/PRODUCTION-201607262204-86871104/');
Client.addParam('allowScriptAccess', 'always');
Client.addParam('menu', false);
Client.addParam('wmode', "opaque");
Client.write('client');
FlashExternalInterface.signoutUrl = "<?php echo www; ?>/logout";
</script>
<script src="<?php echo www; ?>/jquery.js"></script>
<script>if(!FlashDetect.installed){window.location.href = "<?php echo www; ?>/noflash";}</script>
<script type="text/javascript">
$(function () {
$('#lalalastatus').load('/counter1.php');
});
</script>
<script language="JavaScript">
setInterval(function() {
$('#lalalastatus').load('/counter1.php');
}, 2000);
</script>
</body>
<body id="client" class="flashclient">
<style>
#clnt-ui-pl-btn-2 {
background-color: #2d789c;
border: 2px solid;
border-color: #00b8ff;
color: #fff!important;
padding: 6px;
border-radius: 2px;
-moz-border-radius: 0px 5px 5px 0px;
box-shadow: 0 3px 0 1px rgba(0,0,0,.3);
position: absolute;
top: 10px;
left: 265px;
font-size: 13px;
cursor: pointer;
z-index: 560;
font-family: Arial;
font-weight: bold;
}
#clnt-ui-pl-btn-3 {
background-color: #2d789c;
border: 2px solid;
border-color: #00b8ff;
color: #fff!important;
border-radius: 2px;
-moz-border-radius: 0px 5px 5px 0px;
box-shadow: 0 3px 0 1px rgba(0,0,0,.3);
position: absolute;
top: 10px;
left: 385px;
font-size: 13px;
cursor: pointer;
z-index: 560;
font-family: Arial;
font-weight: bold;
height: 30px;
overflow: hidden;
}
#clnt-ui-pl-btn-4 {
background-color: #2d789c;
border: 2px solid;
border-color: #00b8ff;
color: #fff!important;
border-radius: 2px;
-moz-border-radius: 0px 5px 5px 0px;
box-shadow: 0 3px 0 1px rgba(0,0,0,.3);
position: absolute;
top: 10px;
left: 194px;
font-size: 13px;
cursor: pointer;
z-index: 560;
font-family: Arial;
font-weight: bold;
height: 30px;
overflow: hidden;
}
</style>
<div id="clnt-ui-pl-btn-4">
<script src="<?php echo www; ?>/fullscreen.js" charset="utf-8"></script>
<i class="fa fa-arrows" onclick="toggleFullScreen()" style="background-color: #2d789c;color: white;font-size: 20px;width: 20px;padding: 5px; return false;"></i>
<a href="#"><i title="Klick hier falls der Client laggt..!" class="fa fa-rotate-right" style="background-color: #2d789c;color: white;font-size: 20px;width: 20px;padding: 5px; return false;"></i></a>
</div>
<div id="clnt-ui-pl-btn-2">
<b id="lalalastatus" style="font-family: Arial;font-weight: bold;font: 200;transition: 500ms;"></b> Habbos online
</div>
<div id="clnt-ui-pl-btn-3">
<link href="https://blackrockdigital.github.io/startbootstrap-sb-admin-2/vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<audio id="player" src="http://server3.jan-d.ga:8000/stream.mp3" autoplay="true"></audio>
<script>
document.getElementById("player").volume=0.1;
</script>
<i class="fa fa-play" onclick="document.getElementById('player').volume += 0.1" style="background-color: #2d789c;color: white;font-size: 20px;width: 20px;padding: 5px; return false;"></i>
<i class="fa fa-stop" onclick="document.getElementById('player').volume=0.0" style="background-color: #2d789c;color: white;font-size: 20px;width: 20px;padding: 5px; return false;"></i>
<i class="fa fa-volume-down" onclick="document.getElementById('player').volume -= 0.1" style="background-color: #2d789c;color: white;font-size: 20px;width: 20px;padding: 5px; return false;"></i>
<i class="fa fa-volume-up" onclick="document.getElementById('player').volume += 0.1" style="background-color: #2d789c;color: white;font-size: 20px;width: 20px;padding: 5px; return false;"></i>
<a onclick="return false;" href="http://radio.habbo.tf/" target="_blank"><i onclick="return false;" class="fa fa-folder" style="background-color: #2d789c;color: white;font-size: 20px;width: 20px;padding: 5px;"></i> </a>
</div>
</body>
</html>
Alles anzeigen