Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
FireWind client problem
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Matiaser" data-source="post: 378382" data-attributes="member: 28256"><p>Hi Devbest!</p><p></p><p>I am using FireStorm. I am using SQL and Swf from the same realese but I just get black client after loading. I get 1 user online on the server and if i shoutdown the emulator the user get diconectet from the black page.</p><p>I am using Revcms and I get my hotel with this CMS woring with Bcstom leion edition.</p><p></p><p>My ad-block is of.</p><p>I think my settings is correct but I lave them under if you have time locking on it.</p><p></p><p></p><p>[CODE] <script type="text/javascript"></p><p> var habboName = "{username}";</p><p> var habboReqPath = "{url}";</p><p> var habboStaticFilePath = "http://images.habbo.com/habboweb/{web_build}/web-gallery";</p><p> var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";</p><p> var habboPartner = "";</p><p> var habboDefaultClientPopupUrl = "{url}/client";</p><p> window.name = "ClientWndw";</p><p> if (typeof HabboClient != "undefined") { HabboClient.windowName = "ClientWndw"; }</p><p> </script></p><p></p><p><link rel="alternate" type="application/rss+xml" title="Habbo Hotel - RSS" href="http://www.habbo.com/articles/rss.xml" /></p><p><script src="app/tpl/skins/{skin}/client/libs2.js" type="text/javascript"></script></p><p><script src="app/tpl/skins/{skin}/client/visual.js" type="text/javascript"></script></p><p><script src="app/tpl/skins/{skin}/client/libs.js" type="text/javascript"></script></p><p><script src="app/tpl/skins/{skin}/client/common.js" type="text/javascript"></script></p><p><link rel="stylesheet" href="http://images.habbo.com/habboweb/{web_build}/web-gallery/static/styles/common.css" type="text/css" /></p><p><link rel="stylesheet" href="http://images.habbo.com/habboweb/{web_build}/web-gallery/static/styles/habboflashclient.css" type="text/css" /></p><p><noscript></p><p> <meta http-equiv="refresh" content="0;url=/client/nojs" /></p><p></noscript></p><p><link rel="stylesheet" href="app/tpl/skins/{skin}/client/client.css" type="text/css" /></p><p><script src="app/tpl/skins/{skin}/client/habboflashclient.js" type="text/javascript"></script></p><p></p><p><script type="text/javascript"></p><p> FlashExternalInterface.loginLogEnabled = false;</p><p> FlashExternalInterface.logLoginStep("web.view.start");</p><p> </p><p> if (top == self) {</p><p> FlashHabboClient.cacheCheck();</p><p> }</p><p> var flashvars = {</p><p> "client.allow.cross.domain" : "0",</p><p> "client.notify.cross.domain" : "1",</p><p> "connection.info.host" : "192.99.186.73",</p><p> "connection.info.port" : "30000",</p><p> "site.url" : "{url}/",</p><p> "url.prefix" : "{url}/",</p><p> "client.reload.url" : "{url}/client",</p><p> "client.fatal.error.url" : "{url}/disconnected",</p><p> "client.connection.failed.url" : "{url}/disconnected",</p><p> "external.variables.txt" : "{external_vars}",</p><p> "external.texts.txt" : "{external_texts}",</p><p> "productdata.load.url" : "{product_data}",</p><p> "furnidata.load.url" : "{furni_data}",</p><p> "use.sso.ticket" : "1",</p><p> "sso.ticket" : "{sso}",</p><p> "processlog.enabled" : "0",</p><p> "account_id" : "1",</p><p> "client.starting" : "Please wait! {hotelName} is starting up",</p><p> "flash.client.url" : "{swf_folder}/",</p><p> "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02",</p><p> "has.identity" : "0",</p><p> "flash.client.origin" : "popup",</p><p> "token" : "{sso}"</p><p> };</p><p> var params = {</p><p> "base" : "{swf_folder}/",</p><p> "allowScriptAccess" : "always",</p><p> "menu" : "false" </p><p> };</p><p> </p><p> if (!(HabbletLoader.needsFlashKbWorkaround())) {</p><p> params["wmode"] = "opaque";</p><p> }</p><p> </p><p> var clientUrl = "{swf_folder}/Habbo.swf";</p><p></p><p> swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/{web_build}/web-gallery/flash/expressInstall.swf", flashvars, params);</p><p> window.onbeforeunload = unloading;</p><p> function unloading() {</p><p> var clientObject;</p><p> if (navigator.appName.indexOf("Microsoft") != -1) {</p><p> clientObject = window["flash-container"];</p><p> } else {</p><p> clientObject = document["flash-container"];</p><p> }</p><p> try {</p><p> clientObject.unloading();</p><p> } catch (e) {}</p><p> }</p><p></script></p><p></p><p><body id="client" class="flashclient"></p><p><div id="overlay"></div></p><p><img src="http://images.habbo.com/habboweb/{web_build}/web-gallery/v2/images/page_loader.gif" style="position:absolute; margin: -1500px;" /></p><p></p><p><div id="overlay"></div></p><p><div id="client-ui" ></p><p> <div id="flash-wrapper"></p><p> <div id="flash-container"></p><p> <div id="content" style="width: 400px; margin: 20px auto 0 auto; display: none"></p><p></p><p><div class="cbb clearfix"></p><p> <h2 class="title">Please update your Flash Player to the latest version.</h2></p><p> <div class="box-content"></p><p> <p>You can install and download Adobe Flash Player here: <a href="http://get.adobe.com/flashplayer/">Install flash player</a>. More instructions for installation can be found here: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">More information</a></p></p><p> <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://images.habbo.com/habboweb/{web_build}/web-gallery/v2/images/client/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p></p><p> </div></p><p></div></p><p></p><p> </div></p><p> <script type="text/javascript"></p><p> $('content').show();</p><p> </script></p><p> <noscript></p><p> <div style="width: 400px; margin: 20px auto 0 auto; text-align: center"></p><p> <p>If you are not automatically redirected, please <a href="/client/nojs">click here</a></p></p><p> </div></p><p> </noscript></p><p> </div></p><p> </div></p><p> </p><p></div></p><p> <div style="display: none"></p><p></p><p><div id="habboCountUpdateTarget"></p><p>{status}</p><p></div></p><p> <script language="JavaScript" type="text/javascript"></p><p> setTimeout(function() {</p><p> HabboCounter.init(600);</p><p> }, 20000);</p><p> </script></p><p> </div></p><p> <script type="text/javascript"></p><p> RightClick.init("flash-wrapper", "flash-container");</p><p> if (window.opener && window.opener != window && typeof window.opener.location.href != "undefined") {</p><p> window.opener.location.replace(window.opener.location.href);</p><p> }</p><p> $(document.body).addClassName("js");</p><p> HabboClient.startPingListener();</p><p> </script></p><p></p><p><script type="text/javascript"></p><p> HabboView.run();</p><p></script></p><p></p><p><script type="text/javascript"></p><p></p><p> var _gaq = _gaq || [];</p><p> _gaq.push(['_setAccount', 'UA-15697942-2']);</p><p> _gaq.push(['_trackPageview']);</p><p></p><p> (function() {</p><p> var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;</p><p> ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';</p><p> var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);</p><p> })();</p><p></p><p></script>[/CODE]</p><p></p><p></p><p>Thanks for help!</p><p>Sorry for bad english.</p><p>[doublepost=1467247609,1467247431][/doublepost][SPOILER="Banner"]</p><p><?php</p><p></p><p>/*</p><p>*****************</p><p>* @author capos *</p><p>*****************</p><p>*/</p><p></p><p> header("Expires: Tue, 03 Jul 2001 06:00:00 GMT");</p><p> header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");</p><p> header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");</p><p> header("Cache-Control: post-check=0, pre-check=0", false);</p><p> header("Pragma: no-cache");</p><p></p><p>$width = 100;</p><p>$height = 114;</p><p></p><p>function buildimg($bytes, $width, $height)</p><p>{</p><p> $img=imagecreatetruecolor($width, $height);imagealphablending($img, false);imagesavealpha($img, true);$x=0;$y=0;</p><p> $colors=unpack("N*", implode("",$bytes));</p><p> foreach($colors as $color)</p><p> {</p><p> imagesetpixel($img, $x, $y, (0x7f-($color>>25)<<24)|($color&0xffffff));</p><p> if(++$x==$width)</p><p> {$x=0;$y++;}</p><p> }</p><p> header('Content-Type: image/png');</p><p> imagepng($img);</p><p>}</p><p></p><p>//if($_GET)</p><p>//{</p><p> $token = trim($_GET["token"]);</p><p> //if(strlen($token) >= 10)</p><p> //{ </p><p>/**</p><p></p><p> // Stuff to connect to mus and get banner data.. (prime and generator)</p><p> $fp = fsockopen("192.99.186.73", 30001, $errno, $errstr, 1);</p><p> if (!is_resource($fp))</p><p> {</p><p> exit("LE FAIL...");</p><p> }</p><p> </p><p> $packet = 'setToken'.chr(1).$token;</p><p></p><p> fwrite($fp, $packet);</p><p> fflush($fp);</p><p> </p><p> stream_set_timeout($fp, 1);</p><p> $data = fgets($fp, 512);</p><p>fclose($fp);</p><p></p><p>***/</p><p></p><p></p><p>$conexion = mysql_connect("localhost","root","kawasaki123");</p><p>mysql_select_db("fire", $conexion);</p><p>$result = mysql_fetch_assoc(mysql_query("SELECT bannerdata FROM server_status;",$conexion));</p><p>$data = $result['bannerdata'];</p><p></p><p>//$data="1342451846182550614618898458778670684120590689881624754130339:1135845477726102894817523431022206527949967456094879262187953";</p><p> list($prime, $generator) = explode(':', $data);</p><p> </p><p></p><p> $insert = chr(strlen($prime)).$prime.chr(strlen($generator)).$generator;</p><p> $Length = strlen($token);$Length2 = strlen($insert);</p><p> $p = 0;$bitsnum = "";</p><p> for($i=0;$i<$Length2;$i++)</p><p> {</p><p> $bits = base_convert(ord($insert[$i]) ^ ord($token[$p]),10,2);</p><p> $need = 8 - strlen($bits);</p><p> for($o=0;$o<$need;$o++)$bits = "0".$bits;</p><p> $bitsnum .= $bits;</p><p> if (++$p == $Length) $p = 0;</p><p> }</p><p> $insertpos = 0;$Length = strlen($bitsnum);</p><p> for ($y = 39; $y < 69; $y++)</p><p> {</p><p> $a = 0;</p><p> for ($r = 4; $r < 84; $r++)</p><p> {</p><p> $pos = (($y + $a) * $width + $r) * 4;</p><p> $b = 1;</p><p> while ($b < 4)</p><p> {</p><p> if($insertpos < $Length)</p><p> {</p><p> $binaryData = base_convert(ord($pixels[$pos + $b]),10,2);</p><p> $need = 8 - strlen($binaryData);</p><p> for($o=0;$o<$need;$o++) $binaryData = "0".$binaryData;</p><p> $binaryData[7] = $bitsnum[$insertpos];</p><p> $pixels[$pos + $b] = chr(base_convert($binaryData,2,10));</p><p> $insertpos++;$b++;</p><p> continue;</p><p> }</p><p> break 3;</p><p> }</p><p> if ($r % 2 == 0) $a++;</p><p> }</p><p> }</p><p> </p><p> //}</p><p>//}</p><p>buildimg($pixels, $width, $height);</p><p>?></p><p>[/SPOILER]</p><p>[doublepost=1467247661][/doublepost][SPOILER="emu config"]</p><p>## uberEmulator System Configuration File</p><p>## Must be edited for the server to work</p><p></p><p>## MySQL Configuration</p><p>db.hostname=localhost</p><p>db.port=3306</p><p>db.username=root</p><p>db.password=kawasaki123</p><p>db.name=fire</p><p></p><p>## MySQL pooling setup (controls amount of connections)</p><p>db.pool.minsize=100</p><p>db.pool.maxsize=200</p><p></p><p>## Game TCP/IP Configuration</p><p>game.tcp.bindip=192.99.186.73</p><p>game.tcp.port=30000</p><p>game.tcp.conlimit=11000</p><p>game.tcp.conperip=100</p><p>game.tcp.enablenagles=False</p><p></p><p>## MUS TCP/IP Configuration</p><p>mus.tcp.bindip=192.99.186.73</p><p>mus.tcp.port=30001</p><p>mus.tcp.allowedaddr=192.99.186.73</p><p></p><p>## Client configuration</p><p>client.ping.enabled=1</p><p>client.ping.interval=20000</p><p>client.maxrequests=300</p><p></p><p>#IRC</p><p>irc.enabled=false</p><p>irc.server=irc.website-service.org</p><p>irc.port=6667</p><p>irc.user=USER CSharpBot 8 * :I'm a C# irc bot</p><p>irc.nick=[VG]Mordi</p><p>irc.channel=#habbovg_servermod</p><p>irc.password=rofl123</p><p></p><p>group.enabled=true</p><p>auth.ssodisabled=false</p><p></p><p></p><p>#Says wether the users should receive pixels each X seconds, how much and when (When in seconds)</p><p>game.pixel.enabled=true</p><p>game.pixel.amount=100</p><p>game.pixel.time=600</p><p></p><p>#Says wether the users should receive pixels each X seconds, how much and when (When in seconds)</p><p>game.credits.enabled=true</p><p>game.credits.amount=1000</p><p>game.credits.time=600</p><p></p><p>game.login.credits.receiveamount=100</p><p>game.login.pixel.receiveamount=100</p><p></p><p>#Threading Main Loops.</p><p>#Esta opcion separa del MainGameLoop cada tarea a ejecutar en un proceso distinto.</p><p>SeparatedTasksInMainLoops.enabled=true</p><p></p><p></p><p>#Threading GameClientManager Loops.</p><p>#Esta opcion separa del GameClientManager.OnCycle las tareas de forma lógica para aumentar rendimiento.</p><p>SeparatedTasksInGameClientManager.enabled=false</p><p></p><p>#Baneo por spam</p><p>#Esta opción banea a los usuarios tras sucesivos intentos de flood.</p><p>spambans.enabled=false</p><p>spambans.limit=20</p><p>[/SPOILER]</p><p></p><p>[SPOILER="cms congif"]</p><p><?php</p><p>if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }</p><p>error_reporting(0);</p><p></p><p></p><p>/*</p><p>MySQL management</p><p>*/</p><p></p><p>$_CONFIG['mysql']['connection_type'] = 'pconnect'; //Type of connection: It must be connect, or pconnect: if you want a persistent connection.</p><p></p><p>$_CONFIG['mysql']['hostname'] = 'localhost'; //MySQL host, usualy localhost</p><p></p><p>$_CONFIG['mysql']['username'] = 'root'; //MySQL username, default administrative username is root.</p><p></p><p>$_CONFIG['mysql']['password'] = 'kawasaki123'; //MySQL password, default is not set, it has been set by the administrator.</p><p></p><p>$_CONFIG['mysql']['database'] = 'fire'; //MySQL database</p><p></p><p>$_CONFIG['mysql']['port'] = '3306'; //MySQL's port, usualy 3306.</p><p></p><p></p><p>/*</p><p> Website settings</p><p>*/</p><p></p><p>$_CONFIG['hotel']['badgeurl'] = '<a href="http://habx.no/swf/c_images/album1584/" target="_blank">http://habx.no/swf/c_images/album1584/</a>' ; // Badge folder location (for the /homes and staff badges can be edited in static folder)</p><p></p><p>$_CONFIG['hotel']['url'] = '<a href="http://habx.no';" target="_blank">http://habx.no';</a> //You do no need to enter a url here, else Does not end with a "/"</p><p></p><p>$_CONFIG['hotel']['name'] = 'Habx'; // Hotel's name5</p><p></p><p>$_CONFIG['hotel']['desc'] = 'Habx er tingen!!'; //Hotel's description , not needed</p><p></p><p>$_CONFIG['hotel']['in_maint'] = false; //False if hotel is NOT in maintenance. True if hotel IS in maintenance</p><p></p><p>$_CONFIG['hotel']['motto'] = 'Jeg er best!'; //Default motto users will register with.</p><p></p><p>$_CONFIG['hotel']['credits'] = 100000; //Default number of credits users will register with.</p><p></p><p>$_CONFIG['hotel']['pixels'] = 60000; //Default number of pixels users will register with.</p><p></p><p>$_CONFIG['hotel']['figure'] = 'lg-3201-85-110.hr-3163-42.hd-180-7.ch-3110-85-110.ha-1022-85.ea-3083-85'; //Default figure users will register with.</p><p></p><p>/*</p><p>* Hotel management - Connection variables and swfs.</p><p>*/</p><p></p><p>$_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/527'; //Web_Build</p><p></p><p>$_CONFIG['hotel']['external_vars'] = '<a href="http://192.99.186.73/swf/external_variables.txt';" target="_blank">http://192.99.186.73/swf/external_variables.txt';</a> //URL to your external vars</p><p></p><p>$_CONFIG['hotel']['external_texts'] = '<a href="http://192.99.186.73/swf/external_flash_texts.txt';" target="_blank">http://192.99.186.73/swf/external_flash_texts.txt';</a> //URL to your external texts</p><p></p><p>$_CONFIG['hotel']['product_data'] = '<a href="http://192.99.186.73/swf/productdata.txt';" target="_blank">http://192.99.186.73/swf/productdata.txt';</a> //URL to your productdata</p><p></p><p>$_CONFIG['hotel']['furni_data'] = '<a href="http://192.99.186.73/swf/furnidata.txt';" target="_blank">http://192.99.186.73/swf/furnidata.txt';</a> //URL to your furnidata</p><p></p><p>$_CONFIG['hotel']['swf_folder'] = '<a href="http://192.99.186.73/swf';" target="_blank">http://192.99.186.73/swf';</a> //URL to your SWF folder(does not end with a '/')</p><p>/*</p><p>*</p><p>* Templating management - Pick one of our default styles or make yours by following our examples!</p><p>*</p><p>*/</p><p></p><p>#RevCMS style & voting system</p><p></p><p>$_CONFIG['template']['style'] = 'site'; </p><p>$_CONFIG['thehabbos']['username'] = 'ShockStyle';</p><p>$_CONFIG['retro_top']['user'] = 'ShockStyle'; </p><p></p><p>/*</p><p>* Social Networking stuff - not needed in shockstyle</p><p>*/</p><p>$_CONFIG['hotel']['twitter'] = 'Habbo'; //Twitter Username</p><p>$_CONFIG['hotel']['twitterwidget_id'] = '345163210678206465'; //Twiter Widget ID</p><p>$_CONFIG['hotel']['facebook'] = 'Habbo'; //Facebook Username</p><p></p><p>?></p><p>[/SPOILER]</p></blockquote><p></p>
[QUOTE="Matiaser, post: 378382, member: 28256"] Hi Devbest! I am using FireStorm. I am using SQL and Swf from the same realese but I just get black client after loading. I get 1 user online on the server and if i shoutdown the emulator the user get diconectet from the black page. I am using Revcms and I get my hotel with this CMS woring with Bcstom leion edition. My ad-block is of. I think my settings is correct but I lave them under if you have time locking on it. [CODE] <script type="text/javascript"> var habboName = "{username}"; var habboReqPath = "{url}"; var habboStaticFilePath = "http://images.habbo.com/habboweb/{web_build}/web-gallery"; var habboImagerUrl = "http://www.habbo.com/habbo-imaging/"; var habboPartner = ""; var habboDefaultClientPopupUrl = "{url}/client"; window.name = "ClientWndw"; if (typeof HabboClient != "undefined") { HabboClient.windowName = "ClientWndw"; } </script> <link rel="alternate" type="application/rss+xml" title="Habbo Hotel - RSS" href="http://www.habbo.com/articles/rss.xml" /> <script src="app/tpl/skins/{skin}/client/libs2.js" type="text/javascript"></script> <script src="app/tpl/skins/{skin}/client/visual.js" type="text/javascript"></script> <script src="app/tpl/skins/{skin}/client/libs.js" type="text/javascript"></script> <script src="app/tpl/skins/{skin}/client/common.js" type="text/javascript"></script> <link rel="stylesheet" href="http://images.habbo.com/habboweb/{web_build}/web-gallery/static/styles/common.css" type="text/css" /> <link rel="stylesheet" href="http://images.habbo.com/habboweb/{web_build}/web-gallery/static/styles/habboflashclient.css" type="text/css" /> <noscript> <meta http-equiv="refresh" content="0;url=/client/nojs" /> </noscript> <link rel="stylesheet" href="app/tpl/skins/{skin}/client/client.css" type="text/css" /> <script src="app/tpl/skins/{skin}/client/habboflashclient.js" type="text/javascript"></script> <script type="text/javascript"> FlashExternalInterface.loginLogEnabled = false; FlashExternalInterface.logLoginStep("web.view.start"); if (top == self) { FlashHabboClient.cacheCheck(); } var flashvars = { "client.allow.cross.domain" : "0", "client.notify.cross.domain" : "1", "connection.info.host" : "192.99.186.73", "connection.info.port" : "30000", "site.url" : "{url}/", "url.prefix" : "{url}/", "client.reload.url" : "{url}/client", "client.fatal.error.url" : "{url}/disconnected", "client.connection.failed.url" : "{url}/disconnected", "external.variables.txt" : "{external_vars}", "external.texts.txt" : "{external_texts}", "productdata.load.url" : "{product_data}", "furnidata.load.url" : "{furni_data}", "use.sso.ticket" : "1", "sso.ticket" : "{sso}", "processlog.enabled" : "0", "account_id" : "1", "client.starting" : "Please wait! {hotelName} is starting up", "flash.client.url" : "{swf_folder}/", "user.hash" : "31385693ae558a03d28fc720be6b41cb1ccfec02", "has.identity" : "0", "flash.client.origin" : "popup", "token" : "{sso}" }; var params = { "base" : "{swf_folder}/", "allowScriptAccess" : "always", "menu" : "false" }; if (!(HabbletLoader.needsFlashKbWorkaround())) { params["wmode"] = "opaque"; } var clientUrl = "{swf_folder}/Habbo.swf"; swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "http://images.habbo.com/habboweb/{web_build}/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> <body id="client" class="flashclient"> <div id="overlay"></div> <img src="http://images.habbo.com/habboweb/{web_build}/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">Please update your Flash Player to the latest version.</h2> <div class="box-content"> <p>You can install and download Adobe Flash Player here: <a href="http://get.adobe.com/flashplayer/">Install flash player</a>. More instructions for installation can be found here: <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">More information</a></p> <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://images.habbo.com/habboweb/{web_build}/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/nojs">click here</a></p> </div> </noscript> </div> </div> </div> <div style="display: none"> <div id="habboCountUpdateTarget"> {status} </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"); if (window.opener && window.opener != window && typeof window.opener.location.href != "undefined") { window.opener.location.replace(window.opener.location.href); } $(document.body).addClassName("js"); HabboClient.startPingListener(); </script> <script type="text/javascript"> HabboView.run(); </script> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-15697942-2']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script>[/CODE] Thanks for help! Sorry for bad english. [doublepost=1467247609,1467247431][/doublepost][SPOILER="Banner"] <?php /* ***************** * @author capos * ***************** */ header("Expires: Tue, 03 Jul 2001 06:00:00 GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0"); header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); $width = 100; $height = 114; function buildimg($bytes, $width, $height) { $img=imagecreatetruecolor($width, $height);imagealphablending($img, false);imagesavealpha($img, true);$x=0;$y=0; $colors=unpack("N*", implode("",$bytes)); foreach($colors as $color) { imagesetpixel($img, $x, $y, (0x7f-($color>>25)<<24)|($color&0xffffff)); if(++$x==$width) {$x=0;$y++;} } header('Content-Type: image/png'); imagepng($img); } //if($_GET) //{ $token = trim($_GET["token"]); //if(strlen($token) >= 10) //{ /** // Stuff to connect to mus and get banner data.. (prime and generator) $fp = fsockopen("192.99.186.73", 30001, $errno, $errstr, 1); if (!is_resource($fp)) { exit("LE FAIL..."); } $packet = 'setToken'.chr(1).$token; fwrite($fp, $packet); fflush($fp); stream_set_timeout($fp, 1); $data = fgets($fp, 512); fclose($fp); ***/ $conexion = mysql_connect("localhost","root","kawasaki123"); mysql_select_db("fire", $conexion); $result = mysql_fetch_assoc(mysql_query("SELECT bannerdata FROM server_status;",$conexion)); $data = $result['bannerdata']; //$data="1342451846182550614618898458778670684120590689881624754130339:1135845477726102894817523431022206527949967456094879262187953"; list($prime, $generator) = explode(':', $data); $insert = chr(strlen($prime)).$prime.chr(strlen($generator)).$generator; $Length = strlen($token);$Length2 = strlen($insert); $p = 0;$bitsnum = ""; for($i=0;$i<$Length2;$i++) { $bits = base_convert(ord($insert[$i]) ^ ord($token[$p]),10,2); $need = 8 - strlen($bits); for($o=0;$o<$need;$o++)$bits = "0".$bits; $bitsnum .= $bits; if (++$p == $Length) $p = 0; } $insertpos = 0;$Length = strlen($bitsnum); for ($y = 39; $y < 69; $y++) { $a = 0; for ($r = 4; $r < 84; $r++) { $pos = (($y + $a) * $width + $r) * 4; $b = 1; while ($b < 4) { if($insertpos < $Length) { $binaryData = base_convert(ord($pixels[$pos + $b]),10,2); $need = 8 - strlen($binaryData); for($o=0;$o<$need;$o++) $binaryData = "0".$binaryData; $binaryData[7] = $bitsnum[$insertpos]; $pixels[$pos + $b] = chr(base_convert($binaryData,2,10)); $insertpos++;$b++; continue; } break 3; } if ($r % 2 == 0) $a++; } } //} //} buildimg($pixels, $width, $height); ?> [/SPOILER] [doublepost=1467247661][/doublepost][SPOILER="emu config"] ## 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=kawasaki123 db.name=fire ## MySQL pooling setup (controls amount of connections) db.pool.minsize=100 db.pool.maxsize=200 ## Game TCP/IP Configuration game.tcp.bindip=192.99.186.73 game.tcp.port=30000 game.tcp.conlimit=11000 game.tcp.conperip=100 game.tcp.enablenagles=False ## MUS TCP/IP Configuration mus.tcp.bindip=192.99.186.73 mus.tcp.port=30001 mus.tcp.allowedaddr=192.99.186.73 ## Client configuration client.ping.enabled=1 client.ping.interval=20000 client.maxrequests=300 #IRC irc.enabled=false irc.server=irc.website-service.org irc.port=6667 irc.user=USER CSharpBot 8 * :I'm a C# irc bot irc.nick=[VG]Mordi irc.channel=#habbovg_servermod irc.password=rofl123 group.enabled=true auth.ssodisabled=false #Says wether the users should receive pixels each X seconds, how much and when (When in seconds) game.pixel.enabled=true game.pixel.amount=100 game.pixel.time=600 #Says wether the users should receive pixels each X seconds, how much and when (When in seconds) game.credits.enabled=true game.credits.amount=1000 game.credits.time=600 game.login.credits.receiveamount=100 game.login.pixel.receiveamount=100 #Threading Main Loops. #Esta opcion separa del MainGameLoop cada tarea a ejecutar en un proceso distinto. SeparatedTasksInMainLoops.enabled=true #Threading GameClientManager Loops. #Esta opcion separa del GameClientManager.OnCycle las tareas de forma lógica para aumentar rendimiento. SeparatedTasksInGameClientManager.enabled=false #Baneo por spam #Esta opción banea a los usuarios tras sucesivos intentos de flood. spambans.enabled=false spambans.limit=20 [/SPOILER] [SPOILER="cms congif"] <?php if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); } error_reporting(0); /* MySQL management */ $_CONFIG['mysql']['connection_type'] = 'pconnect'; //Type of connection: It must be connect, or pconnect: if you want a persistent connection. $_CONFIG['mysql']['hostname'] = 'localhost'; //MySQL host, usualy localhost $_CONFIG['mysql']['username'] = 'root'; //MySQL username, default administrative username is root. $_CONFIG['mysql']['password'] = 'kawasaki123'; //MySQL password, default is not set, it has been set by the administrator. $_CONFIG['mysql']['database'] = 'fire'; //MySQL database $_CONFIG['mysql']['port'] = '3306'; //MySQL's port, usualy 3306. /* Website settings */ $_CONFIG['hotel']['badgeurl'] = '[URL]http://habx.no/swf/c_images/album1584/[/URL]' ; // Badge folder location (for the /homes and staff badges can be edited in static folder) $_CONFIG['hotel']['url'] = '[URL]http://habx.no';[/URL] //You do no need to enter a url here, else Does not end with a "/" $_CONFIG['hotel']['name'] = 'Habx'; // Hotel's name5 $_CONFIG['hotel']['desc'] = 'Habx er tingen!!'; //Hotel's description , not needed $_CONFIG['hotel']['in_maint'] = false; //False if hotel is NOT in maintenance. True if hotel IS in maintenance $_CONFIG['hotel']['motto'] = 'Jeg er best!'; //Default motto users will register with. $_CONFIG['hotel']['credits'] = 100000; //Default number of credits users will register with. $_CONFIG['hotel']['pixels'] = 60000; //Default number of pixels users will register with. $_CONFIG['hotel']['figure'] = 'lg-3201-85-110.hr-3163-42.hd-180-7.ch-3110-85-110.ha-1022-85.ea-3083-85'; //Default figure users will register with. /* * Hotel management - Connection variables and swfs. */ $_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/527'; //Web_Build $_CONFIG['hotel']['external_vars'] = '[URL]http://192.99.186.73/swf/external_variables.txt';[/URL] //URL to your external vars $_CONFIG['hotel']['external_texts'] = '[URL]http://192.99.186.73/swf/external_flash_texts.txt';[/URL] //URL to your external texts $_CONFIG['hotel']['product_data'] = '[URL]http://192.99.186.73/swf/productdata.txt';[/URL] //URL to your productdata $_CONFIG['hotel']['furni_data'] = '[URL]http://192.99.186.73/swf/furnidata.txt';[/URL] //URL to your furnidata $_CONFIG['hotel']['swf_folder'] = '[URL]http://192.99.186.73/swf';[/URL] //URL to your SWF folder(does not end with a '/') /* * * Templating management - Pick one of our default styles or make yours by following our examples! * */ #RevCMS style & voting system $_CONFIG['template']['style'] = 'site'; $_CONFIG['thehabbos']['username'] = 'ShockStyle'; $_CONFIG['retro_top']['user'] = 'ShockStyle'; /* * Social Networking stuff - not needed in shockstyle */ $_CONFIG['hotel']['twitter'] = 'Habbo'; //Twitter Username $_CONFIG['hotel']['twitterwidget_id'] = '345163210678206465'; //Twiter Widget ID $_CONFIG['hotel']['facebook'] = 'Habbo'; //Facebook Username ?> [/SPOILER] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
FireWind client problem
Top