Hallo. Ich weiß zwar, dass dieses Thema schon x mal dran war. Doch leider wurde ich beim durchlesen der anderen Themen nicht schlauer.
Mein Client bleibt bei 76% hängen. Alle IP's und Ports wurden bereits überprüft.
Ich benutze den PlusEmu + SWF von RetroRipper und die dazugehörige BrainCMS.
Hier sind meine Config files:
Emulator config (Ich habe kein MySQL passwort, da dieses Hotel ausschließlich auf meinem PC (local) laufen soll)..
Spoiler anzeigen
## PlusEMU System Configuration File
## Must be edited for the server to work
## MySQL Configuration
db.hostname=127.0.0.1
db.port=3306
db.username=root
db.password=
db.name=sykora
## MySQL pooling setup (controls amount of connections)
db.pool.minsize=10
db.pool.maxsize=250
## Game TCP/IP Configuration
game.tcp.bindip=127.0.0.1
game.tcp.port=450
game.tcp.conlimit=100000
game.tcp.conperip=5
game.tcp.enablenagles=true
## RCON TCP/IP Configuration
rcon.tcp.bindip=127.0.0.1
rcon.tcp.port=30001
rcon.tcp.allowedaddr=localhost;127.0.0.1
## Client configuration
client.ping.enabled=1
client.ping.interval=20000
client.maxrequests=300
Alles anzeigen
BrainCMS brain-config:
Btw. $config['hotelUrl'] = ""; ->Die HotelUrl musste ich leer lassen, da ich im Browser sonst immer 127.0.0.1/127.0.0.1/me oder 127.0.0.1/127.0.0.1/client hatte. Dementsprechend habe ich natürlich die client.php angepasst.
Spoiler anzeigen
<?php
if(!defined('BRAIN_CMS'))
{
die('Sorry but you cannot access this file!');
}
/* Database Setting */
$db['host'] = '127.0.0.1'; //Mysql's Host
$db['port'] = '3306'; //Mysql's port
$db['user'] = "root"; //Mysql's user
$db['pass'] = ''; //Mysql's password
$db['db'] = "sykora"; //Mysql's database
/* Emu Settings */
$config['hotelEmu'] = 'plusemu'; // plusemu // arcturus
/* Client Setting */
$hotel['emuHost'] = "127.0.0.1"; //IP of VPS//IP of Proxy
$hotel['emuPort'] = "450"; //Port of VPS//Port of Proxy
$hotel['staffCheckClient'] = false; //Enable the staff pin in the client (true) or disable it (false)
$hotel['staffCheckClientMinimumRank'] = 3; //Minium staff rank to get the staff pin in the client
$hotel['homeRoom'] = '0'; //Set the start room when you get in the hotel
$hotel['external_Variables'] = "http://127.0.0.1/swf/gamedata/external_variables.txt";
$hotel['external_Variables_Override'] = "http://127.0.0.1/swf/gamedata/override/external_override_variables.txt";
$hotel['external_Texts'] = "http://127.0.0.1/swf/gamedata/external_flash_texts.txt";
$hotel['external_Texts_Override'] = "http://127.0.0.1/swf/gamedata/override/external_flash_override_texts.txt";
$hotel['productdata'] = "http://127.0.0.1/swf/gamedata/productdata.txt";
$hotel['furnidata'] = "http://127.0.0.1/swf/gamedata/furnidata.xml";
$hotel['figuremap'] = "http://127.0.0.1/swf/gamedata/figuremap.xml";
$hotel['figuredata'] = "http://127.0.0.1/swf/gamedata/figuredata.xml";
$hotel['swfFolder'] = "http://127.0.0.1/swf/gordon/PRODUCTION-201701242205-837386173";
$hotel['swfFolderSwf'] = "http://127.0.0.1/swf/gordon/PRODUCTION-201701242205-837386173/Habbo.swf";
/* Website Setting */
$config['hotelUrl'] = "";//Address of your hotel. Does not end with a "/"
$config['skin'] = "brain"; //Skin/template of your website
$config['lang'] = "en"; //Language of your website /en/nl/es
$config['hotelName'] = "Brain"; //Name of your hotel
$config['favicon'] = "http://127.0.0.1/templates/brain/style/images/favicon/favicon.ico";
$config['staffCheckHk'] = false; //Enable the staff pin in the housekeeping (true) or disable it (false)
$config['staffCheckHkMinimumRank'] = 3; //Minium staff rank to get the staff pin in the housekeeping
$config['maintenance'] = false; //Enable the maintenance of your website (true) or disable it (false)
$config['maintenancekMinimumRankLogin'] = 3; //Minium staff rank to login when the website is in maintenance
$config['groupBadgeURL'] = "http://127.0.0.1/swf/habbo-imaging/badge.php?badge=";
$config['badgeURL'] = "http://127.0.0.1/swf/c_images/album1584/";
$config['userLikeEnable'] = true; // Enable user likes
$config['newsCommandEnable'] = true; //Enable news commands
$config['newsCommandFilter'] = true; //Enable wordfilter on news commands (the filter use the db tabels wordfilter and wordfilter_characters)
/* Facebook Login Settings
You need a Facebook app for this to work go to
https://developers.facebook.com/apps/ */
$config['facebookLogin'] = false; //Enable the Facebook login (true) or disable it (false)
$config['facebookAPPID'] = '334162590sdaf292528';
$config['facebookAPPSecret'] = 'ce2504ff5adsfa3ff7a6a2fa6d984cd8836';
/* Email Settings */
$email['mailServerHost'] = 'smtp.gmail.com';
$email['mailServerPort'] = 587;
$email['SMTPSecure'] = 'TLS';
$email['mailUsername'] = 'gmail@gmail.com';
$email['mailPassword'] = '******';
$email['mailLogo'] = 'http://127.0.0.1/templates/brain/style/images/logo/logo.png';
$email['mailTemplate'] = '/system/app/plugins/PHPmailer/temp/resetpassword.html';
/* Social settings */
$config['facebook'] = 'https://www.facebook.com/Habbo/';
$config['facebookEnable'] = false;
$config['twitter'] = 'https://twitter.com/Habbo';
$config['twitterEnable'] = false;
/* Register Setting */
$config['startMotto'] = "Welkom in Brain!"; //Regsiter start motto
$config['credits'] = "10000";
$config['duckets'] = "20000";
$config['diamonds'] = "10";
$config['diamondsRef'] = "10";
$config['registerEnable'] = true;
/* Google recaptcha Site Key
Go to this website to create a recaptcha Site Key: https://www.google.com/recaptcha/intro/index.html */
$config['recaptchaSiteKey'] = "6LdzewwUAAAAABkJ3vsdfCDca9qmLGDaWAHqMRtFEs2";
$config['recaptchaSiteKeyEnable'] = false;
/* Buy VIP Settings */
$config['vipCost'] = "25";
$config['vipRankToGet'] = "3";
$config['vipBadge'] = "vip";
?>
Alles anzeigen
external_variables:
activity.point.display.enabled=true ads.domain=127.0.0.1/swf akamai.debugging. - Pastebin.com
client.php
Spoiler anzeigen
<?php
staffCheck();
Game::sso('client');
Game::homeRoom();
?>
<html>
</body>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title><?= $config['hotelName'] ?> - Game</title>
<script src="/templates/brain/client/js/jquery-latest.js" type="text/javascript"></script>
<script src="/templates/brain/client/js/jquery-ui.js" type="text/javascript"></script>
<script src="/templates/brain/client/js/flashclient.js"></script>
<script src="/templates/brain/client/js/flash_detect_min.js"></script>
<script src="/templates/brain/client/js/client.js" type="text/javascript"></script>
</head>
<body>
<center>
<div id="client-ui">
<div id="client" style='position:absolute; left:0; right:0; top:0; bottom:0; overflow:hidden; height:100%; width:100%;'></div>
</div>
<script>
var Client = new SWFObject("<?= $hotel['swfFolderSwf'] ?>", "client", "100%", "100%", "10.0.0");
Client.addVariable("client.allow.cross.domain", "0");
Client.addVariable("client.notify.cross.domain", "1");
Client.addVariable("connection.info.host", "<?= $hotel['emuHost'] ?>");
Client.addVariable("connection.info.port", "<?= $hotel['emuPort'] ?>");
Client.addVariable("site.url", "127.0.0.1");
Client.addVariable("url.prefix", "127.0.0.1");
Client.addVariable("client.reload.url", "127.0.0.1/me");
Client.addVariable("client.fatal.error.url", "127.0.0.1/me");
Client.addVariable("client.connection.failed.url", "127.0.0.1/me");
Client.addVariable("external.override.texts.txt", "http://127.0.0.1/swf/gamedata/override/external_flash_override_texts.txt");
Client.addVariable("external.override.variables.txt", "http://127.0.0.1/swf/gamedata/override/external_override_variables.txt");
Client.addVariable("external.variables.txt", "http://127.0.0.1/swf/gamedata/external_variables.txt");
Client.addVariable("external.texts.txt", "http://127.0.0.1/swf/gamedata/external_flash_texts.txt");
Client.addVariable("external.figurepartlist.txt", "http://127.0.0.1/swf/gamedata/figuredata.xml");
Client.addVariable("flash.dynamic.avatar.download.configuration", "http://127.0.0.1/swf/gamedata/figuremap.xml");
Client.addVariable("productdata.load.url", "http://127.0.0.1/swf/gamedata/productdata.txt");
Client.addVariable("furnidata.load.url", "http://127.0.0.1/swf/gamedata/furnidata.xml");
Client.addVariable("use.sso.ticket", "1");
Client.addVariable("sso.ticket", "<?= User::userData('auth_ticket') ?>");
Client.addVariable("processlog.enabled", "0");
Client.addVariable("client.starting", "<?= $config['hotelName'] ?> is loading...");
Client.addVariable("flash.client.url", "http://127.0.0.1/swf/gordon/PRODUCTION-201701242205-837386173/");
Client.addVariable("flash.client.origin", "popup");
Client.addVariable("nux.lobbies.enabled", "true");
Client.addVariable("country_code", "NL");
Client.addParam('base', 'http://127.0.0.1/swf/gordon/PRODUCTION-201701242205-837386173/');
Client.addParam('allowScriptAccess', 'always');
Client.addParam('menu', false);
Client.addParam('wmode', "opaque");
Client.write('client');
FlashExternalInterface.signoutUrl = "127.0.0.1/logout";
</script>
</center>
</body>
</html>
</center>
</div>
<script>
//no flash?!
if(!FlashDetect.installed){
window.location.href = "127.0.0.1/noflash.php";
}
</script>
</head>
Alles anzeigen