Advertisement
Guest User

Emulador e client

a guest
Mar 15th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.23 KB | None | 0 0
  1. #############Client#################
  2.  
  3. <?php
  4. include "includes/ban.php";
  5. ?>
  6. <!DOCTYPE html>
  7. <html>
  8. <head>
  9. <style>
  10. body {
  11. margin: 0;
  12. padding: 0;
  13. font: 12px 'Lucida Grande', Arial, sans-serif;
  14. background-color: #000000;
  15. }
  16. </style>
  17. <meta http-equiv="content-type" content="text/html; charset=utf-8">
  18. <title>{hotelName} - Client</title>
  19. <link rel="shortcut icon" type="img/png" href="/content/skin/Gold/assets/img/icons/gold.png">
  20. <link rel="stylesheet" href="http://localhost/app/tpl/skins/{skin}/style/client.css" type="text/css">
  21.  
  22. <script type="text/javascript" src="http://localhost/app/tpl/skins/{skin}/js/swfobject.js"></script>
  23. <script type="text/javascript">
  24. var BaseUrl = "{swf_folder}";
  25. var flashvars =
  26. {
  27. "client.allow.cross.domain": "1",
  28. "client.notify.cross.domain": "0",
  29. "connection.info.host": "localhost",
  30. "connection.info.port": "90",
  31. "site.url": "http://localhost",
  32. "url.prefix": "http://localhost",
  33. "client.reload.url": "http://localhost/client",
  34. "client.fatal.error.url": "http://localhost/disconnected",
  35. "logout.url": "http://localhost/disconnected",
  36. "logout.disconnect.url": "http://localhost/disconnected",
  37. "client.connection.failed.url": "http://localhost/disconnected",
  38. "external.variables.txt": "http://localhost/swf/gamedata/external_variables.txt",
  39. "external.texts.txt": "http://localhost/swf/gamedata/external_flash_texts.txt",
  40. "productdata.load.url": "http://localost/swf/gamedata/productdata.txt",
  41. "furnidata.load.url": "http://localhost/swf/gamedata/furnidata.xml",
  42. "use.sso.ticket": "1",
  43. "sso.ticket": "{sso}",
  44. "processlog.enabled": "1",
  45. "client.starting": "Olá {username}, {hotelName} esta carregando...",
  46. "client.starting.revolving": "Quando você menos esperar...terminaremos de carregar.../Carregando mensagem divertida! Por favor espere./Você quer batatas fritas para acompanhar?/Siga o pato amarelo./O tempo é apenas uma ilusão./Já chegamos?!/Eu gosto da sua camiseta./Olhe para um lado. Olhe para o outro. Pisque duas vezes. Pronto!/Não é você, sou eu./Shhh! Estou tentando pensar aqui./Carregando o universo de pixels.",
  47. "flash.client.url": BaseUrl,
  48. "flash.client.origin": "popup"
  49. };
  50. var params =
  51. {
  52. "base": BaseUrl + "/",
  53. "allowScriptAccess": "always",
  54. "menu": "false"
  55. };
  56. swfobject.embedSWF(BaseUrl + "/{habbo_swf}", "client", "100%", "100%", "10.0.0", "http://localhost/swf/gordon/PRODUCTION-201607262204-86871104/Habbo.swf", flashvars, params, null);
  57. </script>
  58. </head>
  59. <body>
  60. <div id="client"></div>
  61. <!-- ANUNCIO -->
  62.  
  63. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
  64. <script type="text/javascript">
  65. var time = 30;
  66. var timerun = true;
  67.  
  68. function closeTheBanner1() {
  69. $(".roomenterad-habblet-container1").animate({
  70. top: -$(".roomenterad-habblet-container1").height() + "px"
  71. }, 2000);
  72. timerun = false
  73. }
  74.  
  75. setInterval(function () {
  76. if (timerun) {
  77. $(".roomenterad-closing1").text("Fechando em " + time + " segundos");
  78. time--;
  79. if (time < 0) {
  80. closeTheBanner1();
  81. }
  82. }
  83. }, 2000);
  84.  
  85. setInterval(function () {
  86. var htmlz = $(".roomenterad-habblet-thead1").html();
  87. $(".roomenterad-habblet-thead1").text("");
  88. $(".roomenterad-habblet-container1").animate({
  89. top: "0px"
  90. }, 2000);
  91. $(".roomenterad-habblet-thead1").html(htmlz);
  92. time = 30;
  93. timerun = true
  94. }, 300000);
  95. </script>
  96. <div class="roomenterad-habblet-container1" style="display: inline-block; left: 50%; margin-left: -370px; margin-top: -30px; position: fixed; height: 195px; width: 740px; background-image: url(http://i.imgur.com/H2CeyfP.png); background-repeat: no-repeat no-repeat; z-index: 99999;">
  97. <div
  98. style="position: absolute; right: 22px; top: 76px; color: #ffffff; font-weight: bold; font-size: 10px; font-family: Verdana, sans-serif;">
  99. Fechar agora
  100. </div>
  101. <div
  102. style="position: absolute; left: 6px; top: 76px; color: rgb(255, 255, 255); font-size: 10px; font-family: Verdana, sans-serif; visibility: visible;"
  103. class="roomenterad-closing1">Fechando em 30 segundos
  104. </div>
  105. <div style="position: absolute; right: 9px; top: 75px;"><img onclick="closeTheBanner1();"
  106. src="http://i.imgur.com/VuLhUw2.png"></div>
  107. <div style="position: absolute; left: 6px; top: 91px" class="roomenterad-habblet-thead1">
  108.  
  109. <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  110. <!-- Bananada -->
  111. <ins class="adsbygoogle"
  112. style="display:inline-block;width:728px;height:90px"
  113. data-ad-client="ca-pub-3716724879003548"
  114. data-ad-slot="6660938710"></ins>
  115. <script>
  116. (adsbygoogle = window.adsbygoogle || []).push({});
  117. </script>
  118.  
  119. </div>
  120. </div>
  121. <!-- ANUNCIO -->
  122. </body>
  123. </html>
  124.  
  125.  
  126. ########################Emulador#####################
  127.  
  128. ## uberEmulator System Configuration File
  129.  
  130. ## Must be edited for the server to work
  131.  
  132.  
  133.  
  134. ## MySQL Configuration
  135.  
  136. db.hostname=localhost
  137.  
  138. db.port=3306
  139.  
  140. db.username=root
  141.  
  142. db.password=
  143. db.name=habbo
  144.  
  145. ## MySQL pooling setup (controls amount of connections)
  146.  
  147. db.pool.minsize=10
  148.  
  149. db.pool.maxsize=250
  150.  
  151.  
  152.  
  153. ## Game TCP/IP Configuration
  154.  
  155. game.tcp.bindip=localhost
  156. game.tcp.port=90
  157. game.tcp.conlimit=3
  158.  
  159. game.tcp.conperip=3
  160.  
  161. game.tcp.enablenagles=true
  162.  
  163.  
  164.  
  165. ## MUS TCP/IP Configuration
  166.  
  167. mus.tcp.bindip=localhost
  168. mus.tcp.port=300
  169. mus.tcp.allowedaddr=localhost;localhost
  170.  
  171.  
  172.  
  173. ## Client configuration
  174.  
  175. client.ping.enabled=1
  176.  
  177. client.ping.interval=20000
  178.  
  179. client.maxrequests=300
  180.  
  181.  
  182.  
  183. ##Config rank Embajadores
  184.  
  185. ambassador.minrank=5
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement