Advertisement
Guest User

Blackscreen

a guest
Apr 22nd, 2017
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.98 KB | None | 0 0
  1. He can go to my site gebohotel.ddns.net but when he tries to enter the hotel it just loads forever (Blackscreen) But not for me, I can enter.
  2. I use Silverwave Emu
  3. [SPOILER="Config.php"][/SPOILER]
  4. My Config.php
  5. [CODE]<?php
  6. if(!defined('IN_INDEX')) { die('Sorry, you cannot access this file.'); }
  7. #Please fill this all out.
  8.  
  9. #NOTE: To set up TheHabbos.ORG's API go to wwwroot/mysite/thehabbos_api for IIS, OR, htdocs/thehabbos_api for XAMPP and others.
  10.  
  11. /*
  12. *
  13. * MySQL management
  14. *
  15. */
  16.  
  17. $_CONFIG['mysql']['connection_type'] = 'pconnect'; //Type of connection: It must be connect, or pconnect: if you want a persistent connection.
  18.  
  19. $_CONFIG['mysql']['hostname'] = '127.0.0.1'; //MySQL host
  20.  
  21. $_CONFIG['mysql']['username'] = 'root'; //MySQL username
  22.  
  23. $_CONFIG['mysql']['password'] = '-----'; //MySQL password
  24.  
  25. $_CONFIG['mysql']['database'] = 'database'; //MySQL database
  26.  
  27. $_CONFIG['mysql']['port'] = '3306'; //MySQL's port
  28.  
  29. /*
  30. *
  31. * Hotel management - All URLs do not end with an "/"
  32. *
  33. */
  34.  
  35. $_CONFIG['hotel']['server_ip'] = '(myipishere)'; //IP of VPS/DEDI/etc
  36.  
  37. $_CONFIG['hotel']['url'] = 'http://gebohotel.ddns.net'; //Does not end with a "/"
  38.  
  39. $_CONFIG['hotel']['name'] = 'Gebo'; // Hotel's name
  40.  
  41. $_CONFIG['hotel']['desc'] = 'Always on Gebo Hotel!'; //Hotel's description
  42.  
  43. $_CONFIG['hotel']['email'] = 'Support@hotmail.com'; //Where the help queries from users are emailed to.@Priv skin
  44.  
  45. $_CONFIG['hotel']['in_maint'] = False; //False if hotel is NOT in maintenance. True if hotel IS in maintenance
  46.  
  47. $_CONFIG['hotel']['motto'] = 'I am a new Gebo User!.'; //Default motto users will register with.
  48.  
  49. $_CONFIG['hotel']['credits'] = 5000; //Default number of credits users will register with.
  50.  
  51. $_CONFIG['hotel']['pixels'] = 0; //Default number of pixels users will register with.
  52.  
  53. $_CONFIG['hotel']['figure'] = 'hr-3162-1028.hd-180-1.ch-3208-66.lg-3058-82.sh-3027-91'; //Default figure users will register with.
  54.  
  55. $_CONFIG['hotel']['web_build'] = '63_1dc60c6d6ea6e089c6893ab4e0541ee0/1532'; //Web_Build
  56.  
  57. $_CONFIG['hotel']['external_vars'] = 'http://gebohotel.ddns.net/game/external_variables.txt'; //URL to your external
  58.  
  59. $_CONFIG['hotel']['external_texts'] = 'http://gebohotel.ddns.net/game/external_flash_texts.txt'; //URL to your external texts
  60.  
  61. $_CONFIG['hotel']['product_data'] = 'http://gebohotel.ddns.net/game/productdata.txt'; //URL to your productdata
  62.  
  63. $_CONFIG['hotel']['furni_data'] = 'http://gebohotel.ddns.net/game/furnidata_xml.xml'; //URL to your furnidata
  64.  
  65. $_CONFIG['hotel']['swf_folder'] = 'http://gebohotel.ddns.net/game'; //URL to your SWF folder(does not end with a '/')
  66. /*
  67. *
  68. * Templating management - Pick one of our default styles or make yours by following our examples!
  69. *
  70. */
  71.  
  72. #RevCMS has 2 default styles, 'Mango' by dannyy94 and 'Priv' by joopie - Others styles are to come, such as RastaLulz's ProCMS style and Nominal's PhoenixCMS 4.0 style.
  73.  
  74. $_CONFIG['template']['style'] = 'Custom-Habbo';
  75.  
  76. /*
  77. *
  78. * Other topsites.. thing
  79. *
  80. */
  81.  
  82. $_CONFIG['thehabbos']['username'] = 'Gebo';
  83. $_CONFIG['retro_top']['user'] = 'Gebo';
  84.  
  85. /*
  86. *
  87. * Recaptcha management - Fill the information below if you have one, else leave it like that and don't worry, be happy.
  88. *
  89. */
  90.  
  91. $_CONFIG['recaptcha']['priv_key'] = '6LcZ58USAAAAABSV5px9XZlzvIPaBOGA6rQP2G43';
  92. $_CONFIG['recaptcha']['pub_key'] = '6LcZ58USAAAAAAQ6kquItHl4JuTBWs-5cSKzh6DD';
  93.  
  94.  
  95. /*
  96. *
  97. * Social Networking stuff
  98. *
  99. */
  100.  
  101. $_CONFIG['social']['twitter'] = 'GeboHotel'; //Hotel's Twitter account
  102.  
  103. $_CONFIG['social']['facebook'] = 'GeboHotel'; //Hotel's Facebook account
  104.  
  105. error_reporting(0)
  106. ?>[/CODE]
  107. ------------------------------------------------------------------------------------------------------------------------------
  108. [SPOILER="Client.php"][/SPOILER]
  109. my Client.php
  110. [CODE]<!DOCTYPE html>
  111. <html lang="en">
  112. <head>
  113. <meta http-equiv="content-type" content="text/html; charset=utf-8">
  114. <title>{hotelName} - Client</title>
  115.  
  116. <link rel="stylesheet" href="{url}/app/tpl/skins/{skin}/styles/client.css" type="text/css">
  117.  
  118. <script type="text/javascript" src="{url}/app/tpl/skins/{skin}/js/swfobject.js"></script>
  119. <script type="text/javascript">
  120. var BaseUrl = "http://gebohotel.ddns.net/game";
  121. var flashvars =
  122. {
  123. "client.starting" : "Please wait, {hotelname} loading",
  124. "hotelview.banner.url" : "http://gebohotel.ddns.net/game/rs4.php",
  125. "client.allow.cross.domain" : "1",
  126. "client.notify.cross.domain" : "0",
  127. "connection.info.host" : "127.0.0.1",
  128. "connection.info.port" : "30000",
  129. "site.url" : "http://gebohotel.ddns.net",
  130. "url.prefix" : "http://gebohotel.ddns.net",
  131. "client.reload.url" : "http://gebohotel.ddns.net/client",
  132. "client.fatal.error.url" : "http://gebohotel.ddns.net/me",
  133. "client.connection.failed.url" : "http://gebohotel.ddns.net/me",
  134. "external.variables.txt" : "http://gebohotel.ddns.net/game/external_variables.txt",
  135. "external.texts.txt" : "http://gebohotel.ddns.net/game/external_flash_texts.txt",
  136. "productdata.load.url" : "http://gebohotel.ddns.net/game/productdata.txt",
  137. "furnidata.load.url" : "http://gebohotel.ddns.net/game/furnidata_xml.xml",
  138. "hotelview.banner.url" : "http://gebohotel.ddns.net/game/rs4.php",
  139. "use.sso.ticket" : "1",
  140. "sso.ticket" : "{sso}",
  141. "processlog.enabled" : "0",
  142. "flash.client.url" : BaseUrl,
  143. "flash.client.origin" : "popup"
  144.  
  145. };
  146. var params =
  147. {
  148. "base" : BaseUrl + "/",
  149. "allowScriptAccess" : "always",
  150. "menu" : "false"
  151. };
  152. swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "http://gebohotel.ddns.net/game/expressInstall.swf", flashvars, params, null);
  153. </script>
  154. </head>
  155.  
  156. <body>
  157.  
  158. <div id="client"></div>
  159.  
  160. </body>
  161. </html>[/CODE]
  162. ------------------------------------------------------------------------------------------------------------
  163. [SPOILER="Config.ini"][/SPOILER]
  164. my Config.ini
  165. [CODE] ## uberEmulator System Configuration File
  166. ## Must be edited for the server to work
  167.  
  168. ## MySQL Configuration
  169. db.hostname=127.0.0.1
  170. db.port=3306
  171. db.username=root
  172. db.password=------
  173. db.name=database
  174.  
  175. ## MySQL pooling setup (controls amount of connections)
  176. db.pool.minsize=10
  177. db.pool.maxsize=500
  178.  
  179. ## Game TCP/IP Configuration
  180. game.tcp.bindip=0.0.0.0
  181. game.tcp.port=30000
  182. game.tcp.conlimit=11000
  183. game.tcp.conperip=100
  184. game.tcp.enablenagles=true
  185.  
  186. ## MUS TCP/IP Configuration
  187. mus.tcp.bindip=0.0.0.0
  188. mus.tcp.port=3001
  189. mus.tcp.allowedaddr=0.0.0.0;127.0.0.1
  190.  
  191. ## Client configuration
  192. client.ping.enabled=1
  193. client.ping.interval=20000
  194. client.maxrequests=300[/CODE]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement