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
HabboEmulator ~ Support thread.
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="NathannHerre16" data-source="post: 442008" data-attributes="member: 81629"><p>[ATTACH=full]7664[/ATTACH]</p><p></p><p>[SPOILER="EMU config.php"]</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=127.0.0.1</p><p>db.port=3306</p><p>db.username=root</p><p>db.password=***</p><p>db.name=hotel</p><p></p><p>## MySQL pooling setup (controls amount of connections)</p><p>db.pool.minsize=10</p><p>db.pool.maxsize=250</p><p></p><p>## Game TCP/IP Configuration</p><p>game.tcp.bindip=***</p><p>game.tcp.port=30000</p><p>game.tcp.conlimit=100000</p><p>game.tcp.conperip=200</p><p>game.tcp.enablenagles=true</p><p></p><p>## rcon TCP/IP Configuration</p><p>rcon.tcp.bindip=***</p><p>rcon.tcp.port=30001</p><p>rcon.tcp.allowedaddr=localhost;***</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>## Camera configuration</p><p>camera.path.preview=preview/{1}-{0}.png</p><p>camera.path.purchased=purchased/{1}-{0}.png</p><p>camera.preview.maxcache=1000</p><p></p><p>[/SPOILER]</p><p></p><p>[SPOILER="EMU"]</p><p>2018-12-21 04:02:10,234 INFO - Emulator.HabboEnvironment >> Connected to Database!</p><p>2018-12-21 04:02:10,457 INFO - Emulator.HabboHotel.Moderation.ModerationManager >> Loaded 7 moderation presets.</p><p>2018-12-21 04:02:10,457 INFO - Emulator.HabboHotel.Moderation.ModerationManager >> Loaded 6 moderation categories.</p><p>2018-12-21 04:02:10,458 INFO - Emulator.HabboHotel.Moderation.ModerationManager >> Loaded 6 moderation action preset messages.</p><p>2018-12-21 04:02:10,458 INFO - Emulator.HabboHotel.Moderation.ModerationManager >> Cached 0 username and machine bans.</p><p>2018-12-21 04:02:10,458 INFO - Emulator.HabboHotel.Moderation.ModerationManager >> Moderation Manager -> LOADED</p><p>2018-12-21 04:02:10,729 INFO - Emulator.HabboHotel.Items.ItemDataManager >> Item Manager -> LOADED</p><p>2018-12-21 04:02:10,732 INFO - Cloud.HabboHotel.Items.Crafting.CraftingManager >> » Crafring Manager -> LOADED</p><p>2018-12-21 04:02:10,743 INFO - Emulator.HabboHotel.Items.RareBundlesManager >> RareBundleManager -> LOADED 1 Room Bundles.</p><p>2018-12-21 04:02:10,773 ERROR - Emulator.HabboHotel.Items.CrateManager >> Couldn't load Catalog Item 3840, no furniture record found.</p><p>2018-12-21 04:02:10,775 ERROR - Emulator.HabboHotel.Items.CrateManager >> Couldn't load Catalog Item 4836, no furniture record found.</p><p>2018-12-21 04:02:10,783 ERROR - Emulator.HabboHotel.Items.CrateManager >> Couldn't load Catalog Item 2741, no furniture record found.</p><p>2018-12-21 04:02:10,783 INFO - Emulator.HabboHotel.Items.CrateManager >> CrateManager -> LOADED</p><p>2018-12-21 04:02:10,786 INFO - Emulator.HabboHotel.Items.Crackable >> Crackable Manager -> LOADED</p><p>2018-12-21 04:02:10,787 INFO - Emulator.HabboHotel.Items.Crackable >> LOADED A TOTAL OF 1 Crackable item Prizes</p><p>2018-12-21 04:02:11,052 INFO - Plus.Catalog.HabboClub.HabboClubManager >> Loaded 2 catalog subscriptions and 0 club gifts.</p><p>2018-12-21 04:02:11,053 INFO - Emulator.HabboHotel.Catalog.CatalogManager >> Catalog Manager -> LOADED</p><p>2018-12-21 04:02:11,055 INFO - Emulator.HabboHotel.Items.Televisions.TelevisionManager >> Television Items -> LOADED</p><p>2018-12-21 04:02:11,085 INFO - Emulator.HabboHotel.Navigator.NavigatorManager >> Navigator -> LOADED</p><p>2018-12-21 04:02:11,101 INFO - Emulator.HabboHotel.Rooms.RoomManager >> Room Manager -> LOADED</p><p>2018-12-21 04:02:11,149 INFO - Emulator.HabboHotel.Rooms.Chat.Styles.ChatStyleManager >> Loaded 38 chat styles.</p><p>2018-12-21 04:02:11,149 INFO - Emulator.HabboHotel.Rooms.Chat.ChatManager >> Chat Manager -> LOADED</p><p>2018-12-21 04:02:11,166 INFO - Emulator.HabboHotel.Quests.QuestManager >> Quest Manager -> LOADED</p><p>2018-12-21 04:02:11,192 INFO - Emulator.HabboHotel.Achievements.AchievementManager >> Achievement Manager -> LOADED</p><p>2018-12-21 04:02:11,214 INFO - Emulator.HabboHotel.LandingView.LandingViewManager >> Landing View Manager -> LOADED</p><p>2018-12-21 04:02:11,218 INFO - Emulator.HabboHotel.Games.GameDataManager >> Game Data Manager -> LOADED</p><p>2018-12-21 04:02:11,219 INFO - Mango.Global.ServerUpdater >> Server Status Updater has been started.</p><p>2018-12-21 04:02:11,221 INFO - Emulator.HabboHotel.Global.LanguageLocale >> Language Locale Manager -> LOADED</p><p>2018-12-21 04:02:11,225 INFO - Emulator.HabboHotel.Cache.CacheManager >> Cache Manager -> LOADED</p><p>2018-12-21 04:02:11,256 INFO - Emulator.HabboHotel.Badges.BadgeManager >> Loaded 4623 badge definitions.</p><p>2018-12-21 04:02:11,274 INFO - Emulator.HabboHotel.Permissions.PermissionManager >> Loaded 52 permissions.</p><p>2018-12-21 04:02:11,275 INFO - Emulator.HabboHotel.Permissions.PermissionManager >> Loaded 9 permissions groups.</p><p>2018-12-21 04:02:11,275 INFO - Emulator.HabboHotel.Permissions.PermissionManager >> Loaded 6 permissions group rights.</p><p>2018-12-21 04:02:11,276 INFO - Emulator.HabboHotel.Permissions.PermissionManager >> Loaded 3 permissions subscription rights.</p><p>2018-12-21 04:02:11,292 INFO - Emulator.Subscriptions.SubscriptionManager >> Loaded 4 subscriptions and 1 club subscriptions.</p><p>2018-12-21 04:02:11,361 INFO - Emulator.Core.ConnectionManager >> Successfully setup GameSocketManager on port (30000)!</p><p>2018-12-21 04:02:11,362 INFO - Emulator.Core.ConnectionManager >> Maximum connections per IP has been set to [200]!</p><p>2018-12-21 04:02:11,365 INFO - Emulator.HabboEnvironment >> EMULATOR -> READY! (1 s, 756 ms)</p><p>[/SPOILER]</p><p></p><p>[SPOILER="Brain-Config.php"]</p><p><?php</p><p> if(!defined('BRAIN_CMS'))</p><p> {</p><p> die('Sorry but you cannot access this file!');</p><p> }</p><p></p><p> /* Database Setting */</p><p> $db['host'] = '127.0.0.1'; //Mysql's Host</p><p> $db['port'] = '3306'; //Mysql's port</p><p> $db['user'] = "root"; //Mysql's user</p><p> $db['pass'] = '****'; //Mysql's password</p><p> $db['db'] = "hotel"; //Mysql's database</p><p></p><p> /* Emu Settings */</p><p> $config['hotelEmu'] = 'plusemu'; // plusemu // arcturus</p><p></p><p> /* Client Setting */</p><p> $hotel['emuHost'] = "***"; //IP of VPS//IP of Proxy</p><p> $hotel['emuPort'] = "30000"; //Port of VPS//Port of Proxy</p><p> $hotel['staffCheckClient'] = false; //Enable the staff pin in the client (true) or disable it (false)</p><p> $hotel['staffCheckClientMinimumRank'] = 3; //Minium staff rank to get the staff pin in the client</p><p> $hotel['homeRoom'] = '0'; //Set the start room when you get in the hotel</p><p> $hotel['external_Variables'] = "<a href="http://habvice.com/swf/gamedata/external_variables.txt" target="_blank">http://habvice.com/swf/gamedata/external_variables.txt</a>";</p><p> $hotel['external_Variables_Override'] = "<a href="http://habvice.com/swf/gamedata/external_override_variables.txt" target="_blank">http://habvice.com/swf/gamedata/external_override_variables.txt</a>";</p><p> $hotel['external_Texts'] = "<a href="http://habvice.com/swf/gamedata/external_flash_texts.txt" target="_blank">http://habvice.com/swf/gamedata/external_flash_texts.txt</a>";</p><p> $hotel['external_Texts_Override'] = "<a href="http://habvice.com/swf/gamedata/external_flash_override_texts.txt" target="_blank">http://habvice.com/swf/gamedata/external_flash_override_texts.txt</a>";</p><p> $hotel['productdata'] = "<a href="http://habvice.com/swf/gamedata/productdata.txt" target="_blank">http://habvice.com/swf/gamedata/productdata.txt</a>";</p><p> $hotel['furnidata'] = "<a href="http://habvice.com/swf/gamedata/furnidata.xml" target="_blank">http://habvice.com/swf/gamedata/furnidata.xml</a>";</p><p> $hotel['figuremap'] = "<a href="http://habvice.com/swf/gamedata/figuremap.xml" target="_blank">http://habvice.com/swf/gamedata/figuremap.xml</a>";</p><p> $hotel['figuredata'] = "<a href="http://habvice.com/swf/gamedata/figuredata.xml" target="_blank">http://habvice.com/swf/gamedata/figuredata.xml</a>";</p><p> $hotel['swfFolder'] = "<a href="http://habvice.com/swf/gordon/PRODUCTION-201709052204-426856518" target="_blank">http://habvice.com/swf/gordon/PRODUCTION-201709052204-426856518</a>";</p><p> $hotel['swfFolderSwf'] = "<a href="http://habvice.com/swf/gordon/PRODUCTION-201709052204-426856518/Habbo.swf" target="_blank">http://habvice.com/swf/gordon/PRODUCTION-201709052204-426856518/Habbo.swf</a>";</p><p> $hotel['onlineCounter'] = true; // Enable the user count in the client.</p><p> $hotel['diamonds.enabled'] = true; // Enable diamonds in the hotel.</p><p></p><p> /* Website Setting */</p><p> $config['hotelUrl'] = "<a href="http://habvice.com" target="_blank">http://habvice.com</a>";//Address of your hotel. Does not end with a "/"</p><p> $config['skin'] = "brain"; //Skin/template of your website</p><p> $config['lang'] = "en"; //Language of your website en/nl/es</p><p> $config['hotelName'] = "Habvice"; //Name of your hotel</p><p> $config['favicon'] = "<a href="http://habvice.com/favicon.ico" target="_blank">http://habvice.com/favicon.ico</a>";</p><p> $config['staffCheckHk'] = false; //Enable the staff pin in the housekeeping (true) or disable it (false)</p><p> $config['staffCheckHkMinimumRank'] = 4; //Minium staff rank to get the staff pin in the housekeeping</p><p> $config['maintenance'] = true; //Enable the maintenance of your website (true) or disable it (false)</p><p> $config['maintenancekMinimumRankLogin'] = 4; //Minium staff rank to login when the website is in maintenance</p><p> $config['groupBadgeURL'] = "<a href="http://habvice.com/swf/c_images/Badgeparts/generated/" target="_blank">http://habvice.com/swf/c_images/Badgeparts/generated/</a>";</p><p> $config['badgeURL'] = "<a href="http://habvice.com/swf/c_images/album1584/" target="_blank">http://habvice.com/swf/c_images/album1584/</a>";</p><p> $config['userLikeEnable'] = true; // Enable user likes</p><p> $config['newsCommandEnable'] = true; //Enable news commands</p><p> $config['newsCommandFilter'] = true; //Enable wordfilter on news commands (the filter use the db tabels wordfilter and wordfilter_characters)</p><p> $config['alertReferrer'] = false;</p><p> $config['alert'] = ''; //Alert message. If you don't want a alert, you do leave it blank.</p><p> $config['brainversion'] = '1.9.1'; // Please do not change.</p><p></p><p> /* Email Settings */</p><p> $email['mailServerHost'] = 'smtp.gmail.com';</p><p> $email['mailServerPort'] = 587;</p><p> $email['SMTPSecure'] = 'TLS';</p><p> $email['mailUsername'] = '<a href="mailto:gmail@gmail.com">gmail@gmail.com</a>';</p><p> $email['mailPassword'] = '*****';</p><p> $email['mailLogo'] = '<a href="http://habvice.com/templates/brain/style/images/logo/logo.png';" target="_blank">http://habvice.com/templates/brain/style/images/logo/logo.png';</a></p><p> $email['mailTemplate'] = '/system/app/plugins/PHPmailer/temp/resetpassword.html';</p><p></p><p> /* Social settings */</p><p> $config['facebook'] = '<a href="https://www.facebook.com/habvice/';" target="_blank">https://www.facebook.com/habvice/';</a></p><p> $config['facebookEnable'] = true;</p><p> $config['twitter'] = '<a href="https://twitter.com/habvice';" target="_blank">https://twitter.com/habvice';</a></p><p> $config['twitterEnable'] = true;</p><p></p><p> /* Register Setting */</p><p> $config['startMotto'] = "I'm new to Habvice!"; //Register start motto</p><p> $config['credits'] = "10000";</p><p> $config['duckets'] = "20000";</p><p> $config['diamonds'] = "0";</p><p> $config['diamondsRef'] = "10";</p><p> $config['registerEnable'] = true;</p><p> $config['look'] = "hr-3163-1035.hd-3092-2.ch-215-63.lg-3320-1189-62.sh-3089-1408.ca-3219-110.wa-2001-0";</p><p></p><p> /* Google recaptcha Site Key</p><p> Go to this website to create a recaptcha Site Key: <a href="https://www.google.com/recaptcha/intro/index.html" target="_blank">https://www.google.com/recaptcha/intro/index.html</a> */</p><p> $config['recaptchaSiteKey'] = "6LdzewwUAAAAABkJ3vsdfCDca9qmLGDaWAHqMRtFEs2";</p><p> $config['recaptchaSiteKeyEnable'] = false;</p><p></p><p> /* Buy VIP Settings */</p><p> $config['vipCost'] = "25";</p><p> $config['vipRankToGet'] = "3";</p><p> $config['vipBadge'] = "vip";</p><p></p><p> switch($config['hotelEmu'])</p><p> {</p><p> case "arcturus":</p><p> $emuUse['user_wardrobe'] = 'users_wardrobe ';</p><p> $emuUse['ip_last'] = 'ip_current';</p><p> $emuUse['respect'] = 'respects_received';</p><p> $emuUse['user_stats'] = 'users_settings';</p><p> $emuUse['user_stats_user_id'] = 'user_id';</p><p> $emuUse['OnlineTime'] = 'online_time';</p><p> break;</p><p> case "plusemu":</p><p> $emuUse['user_wardrobe'] = 'user_wardrobe ';</p><p> $emuUse['ip_last'] = 'ip_last';</p><p> $emuUse['respect'] = 'Respect';</p><p> $emuUse['user_stats'] = 'user_stats';</p><p> $emuUse['user_stats_user_id'] = 'id';</p><p> $emuUse['OnlineTime'] = 'OnlineTime';</p><p> break;</p><p> default:</p><p> //Nothing</p><p> break;</p><p> }</p><p></p><p>[/SPOILER]</p><p></p><p>[SPOILER="external_variables.txt"]</p><p>activity.point.display.enabled=true</p><p>ads.domain=habvice.com/swf</p><p>.............</p><p>try.existing.session=false</p><p>unique.limited.items.enabled=true</p><p>url.prefix.no=<a href="http://habvice.com" target="_blank">http://habvice.com</a></p><p>use.default.localizations=false</p><p>use_minimized_own_avatar_menu=true</p><p>v3_credit_flow.enabled=true</p><p>v3_credit_flow_navigation.enabled=true</p><p>v3_credit_flow_navigation=true</p><p>valentines.enabled=false</p><p>vip.snowstorm.offer.length.days=31</p><p>viral.furni.post_type=appRequest</p><p>welcome.screen.enabled=0</p><p>wired.enabled.air=1</p><p>xmas11.campaignPrefix=xmas11</p><p>xmas11.enabled=false</p><p>xmas2012.calendar.enabled=false</p><p>xmas2012.calendar.startdate=2012-12-02 00:00</p><p>zendesk.url=<a href="http://help.habbo.com/home" target="_blank">http://help.habbo.com/home</a></p><p>zoom.enabled=1</p><p>flash.dynamic.icon.download.name.template=icons/%typeid%%param%_icon.png</p><p>catalog.deep.hierarchy=true</p><p>camera.photo.publishing.enabled=false</p><p>stories.image_url_base=<a href="http://habvice.com/swf/camera/" target="_blank">http://habvice.com/swf/camera/</a></p><p>stories.upload_image.url=<a href="http://habvice.com/swf/camera/upload" target="_blank">http://habvice.com/swf/camera/upload</a></p><p></p><p>productdata.load.url=<a href="http://habvice.com/swf/gamedata/productdata.txt" target="_blank">http://habvice.com/swf/gamedata/productdata.txt</a></p><p>external.texts.txt=<a href="http://habvice.com/swf/gamedata/external_flash_texts.txt" target="_blank">http://habvice.com/swf/gamedata/external_flash_texts.txt</a></p><p>external.override.variables.txt=<a href="http://habvice.com/swf/gamedata/external_override_variables.txt" target="_blank">http://habvice.com/swf/gamedata/external_override_variables.txt</a></p><p>flash.client.url=<a href="http://habvice.com/swf/gordon/PRODUCTION-201709052204-426856518/" target="_blank">http://habvice.com/swf/gordon/PRODUCTION-201709052204-426856518/</a></p><p>furnidata.load.url=<a href="http://habvice.com/swf/gamedata/furnidata.xml" target="_blank">http://habvice.com/swf/gamedata/furnidata.xml</a></p><p>external.variables.txt=<a href="http://habvice.com/swf/gamedata/external_variables.txt" target="_blank">http://habvice.com/swf/gamedata/external_variables.txt</a></p><p>external.override.texts.txt=<a href="http://habvice.com/swf/gamedata/external_flash_override_texts.txt" target="_blank">http://habvice.com/swf/gamedata/external_flash_override_texts.txt</a></p><p>external.figurepartlist.txt=<a href="http://habvice.com/swf/gamedata/figuredata.xml" target="_blank">http://habvice.com/swf/gamedata/figuredata.xml</a></p><p></p><p>[/SPOILER]</p><p></p><p>[SPOILER="external_override_variable.txt"]</p><p>seasonalcurrencyindicator.currency=103</p><p>seasonalcurrencyindicator.enabled=false</p><p>seasonalcurrencyindicator.page=diamonds</p><p>diamonds.enabled=true</p><p></p><p></p><p>ads.domain=habvice.com</p><p>roomenterad.habblet.enabled=false</p><p></p><p>builders.club.enabled=false</p><p>toolbar.stories.enabled=false</p><p>navigator.newstyle.enabled=true</p><p>hc.enabled=true</p><p>talent.track.citizenship.enabled=true</p><p>tablet.bc.enabled=false</p><p>camera.enabled=false</p><p></p><p>supersaverads.video.promo.development.mode=false</p><p>supersaverads.video.promo.enabled=false</p><p></p><p>offers.enabled=false</p><p>offers.sponsorpay.appid=0</p><p>offers.supersonic.enabled=false</p><p></p><p>avatareditor.promohabbos=<a href="http://habvice.com/swf/gamedata/habblet/xml/promo_habbos.xml" target="_blank">http://habvice.com/swf/gamedata/habblet/xml/promo_habbos.xml</a></p><p></p><p>game.center.default_game=basejump</p><p>game.center.enabled=true</p><p>game.center.promoted_game=basejump</p><p></p><p>group.blocking.enabled=true</p><p></p><p>embed.showInRoomInfo=true</p><p>sms.identity.verification.button.enabled=false</p><p>sms.identity.verification.enabled=false</p><p></p><p>camera.photo.publishing.enabled=true</p><p>stories.image_url_base=<a href="http://habvice.com" target="_blank">http://habvice.com</a></p><p>stories.upload_image.url=<a href="http://habvice.com/upload" target="_blank">http://habvice.com/upload</a></p><p>camera.uploadlink=<a href="http://habvice.com/swf/camera/upload.php" target="_blank">http://habvice.com/swf/camera/upload.php</a></p><p>camera.photocost=F<img src="https://cdn.devbest.com/data/assets/smilies/REE.png" srcset="https://cdn.devbest.com/data/assets/smilies/REE.png 1x, https://cdn.devbest.com/data/assets/smilies/REE-2x.png 2x" class="smilie" loading="lazy" alt="REE" title="REE REE" data-shortname="REE" /></p><p></p><p>multi.item.trading.enabled=true</p><p></p><p>show.sanction.info.on.login=false</p><p>call.for.help.improvements.enabled=true</p><p>zendesk.url=<a href="http://habvice.com" target="_blank">http://habvice.com</a></p><p></p><p>disabled.custom.chat.styles=1,2,8,9,10,18,21,22,23,24,25,26,27,28,30,31,32,33,34,35</p><p></p><p>flash.dynamic.download.name.template=%typeid%.swf</p><p>flash.dynamic.download.url=<a href="http://habvice.com/swf/dcr/hof_furni/" target="_blank">http://habvice.com/swf/dcr/hof_furni/</a></p><p>flash.dynamic.avatar.download.configuration=<a href="http://habvice.com/swf/gamedata/clothing/figuremap.xml" target="_blank">http://habvice.com/swf/gamedata/clothing/figuremap.xml</a></p><p>flash.dynamic.icon.download.name.template=%typeid%%param%_icon.png</p><p>group.badge.url=<a href="http://habvice.com/swf/habbo-imaging/badge/%imagerdata%.gif" target="_blank">http://habvice.com/swf/habbo-imaging/badge/%imagerdata%.gif</a></p><p></p><p>habbopages.url=<a href="http://habvice.com/swf/gamedata/habbopages/" target="_blank">http://habvice.com/swf/gamedata/habbopages/</a></p><p></p><p>flash.client.url=<a href="http://habvice.com/swf/gordon/PRODUCTION-201709052204-426856518/" target="_blank">http://habvice.com/swf/gordon/PRODUCTION-201709052204-426856518/</a></p><p>external.texts.txt=<a href="http://habvice.com/swf/gamedata/external_flash_texts.txt" target="_blank">http://habvice.com/swf/gamedata/external_flash_texts.txt</a></p><p>external.override.texts.txt=<a href="http://habvice.com/swf/gamedata/external_flash_override_texts.txt" target="_blank">http://habvice.com/swf/gamedata/external_flash_override_texts.txt</a></p><p>external.override.variables.txt=<a href="http://habvice.com/swf/gamedata/external_override_variables.txt" target="_blank">http://habvice.com/swf/gamedata/external_override_variables.txt</a></p><p>productdata.load.url=<a href="http://habvice.com/swf/gamedata/productdata.txt" target="_blank">http://habvice.com/swf/gamedata/productdata.txt</a></p><p>furnidata.load.url=<a href="http://habvice.com/swf/gamedata/furnidata.xml" target="_blank">http://habvice.com/swf/gamedata/furnidata.xml</a></p><p></p><p>[/SPOILER]</p><p></p><p>[SPOILER="external__flash_override_texts.txt"]</p><p><?php</p><p></p><p> // Overrides generator</p><p></p><p> header('content-type: text/plain');</p><p></p><p> // Check to see if there is already a texts file and when it was last</p><p> // updated. If it was last updated over 12 hours ago then we will open</p><p> // a database connection to update it.</p><p> if(file_exists('external_flash_override_texts.txt') && (time() - 43200 < filemtime('external_flash_override_texts.txt')))</p><p> {</p><p> include_once('external_flash_override_texts.txt');</p><p> }</p><p></p><p> $sql = new MySQLi('localhost', 'root', ****', 'hotel');</p><p></p><p> if($sql->connect_error)</p><p> {</p><p> // There's a problem connecting to the database so the texts cannot</p><p> // be updated. The outdated version will be displayed till we can</p><p> // get a database connection.</p><p> if(file_exists('external_flash_override_texts.txt'))</p><p> {</p><p> include_once('external_flash_override_texts.txt');</p><p> exit;</p><p> }</p><p> }</p><p></p><p> ob_start();</p><p></p><p> if($stmt = $sql->prepare('SELECT `key`,`value` FROM `client_external_texts`'))</p><p> {</p><p> $stmt->execute();</p><p> $stmt->bind_result($key, $value);</p><p></p><p> while($stmt->fetch())</p><p> {</p><p> // All results are now fetched from the database so</p><p> // we'll output them and cache everything once this</p><p> // has finished.</p><p> echo $key . "=" . $value . "\r\n";</p><p> }</p><p></p><p> $stmt->close();</p><p> }</p><p></p><p> if($stmt = $sql->prepare('SELECT `badge_code`, `badge_title`, `badge_desc` FROM `client_external_badge_texts`'))</p><p> {</p><p> $stmt->execute();</p><p> $stmt->bind_result($code, $title, $description);</p><p></p><p> while($stmt->fetch())</p><p> {</p><p> // All results are now fetched from the database so</p><p> // we'll output them and cache everything once this</p><p> // has finished.</p><p> echo "badge_name_" . $code . "=" . $title . "\r\n";</p><p> echo "badge_desc_" . $code . "=" . $description . "\r\n";</p><p> }</p><p></p><p> $stmt->close();</p><p> }</p><p></p><p> $sql->close();</p><p></p><p> // The above has grabbed the badge names and descriptions from the database</p><p> // and outputted them to the page. Now we need to write them to the cache</p><p> // so we aren't opening a database connection each time this file is requested.</p><p> $file = fopen('external_flash_override_texts.txt', 'w');</p><p></p><p> fwrite($file, ob_get_contents());</p><p> fclose($file);</p><p></p><p> ob_end_flush();</p><p></p><p>[/SPOILER]</p></blockquote><p></p>
[QUOTE="NathannHerre16, post: 442008, member: 81629"] [ATTACH=full]7664[/ATTACH] [SPOILER="EMU config.php"] ## uberEmulator 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=hotel ## MySQL pooling setup (controls amount of connections) db.pool.minsize=10 db.pool.maxsize=250 ## Game TCP/IP Configuration game.tcp.bindip=*** game.tcp.port=30000 game.tcp.conlimit=100000 game.tcp.conperip=200 game.tcp.enablenagles=true ## rcon TCP/IP Configuration rcon.tcp.bindip=*** rcon.tcp.port=30001 rcon.tcp.allowedaddr=localhost;*** ## Client configuration client.ping.enabled=1 client.ping.interval=20000 client.maxrequests=300 ## Camera configuration camera.path.preview=preview/{1}-{0}.png camera.path.purchased=purchased/{1}-{0}.png camera.preview.maxcache=1000 [/SPOILER] [SPOILER="EMU"] 2018-12-21 04:02:10,234 INFO - Emulator.HabboEnvironment >> Connected to Database! 2018-12-21 04:02:10,457 INFO - Emulator.HabboHotel.Moderation.ModerationManager >> Loaded 7 moderation presets. 2018-12-21 04:02:10,457 INFO - Emulator.HabboHotel.Moderation.ModerationManager >> Loaded 6 moderation categories. 2018-12-21 04:02:10,458 INFO - Emulator.HabboHotel.Moderation.ModerationManager >> Loaded 6 moderation action preset messages. 2018-12-21 04:02:10,458 INFO - Emulator.HabboHotel.Moderation.ModerationManager >> Cached 0 username and machine bans. 2018-12-21 04:02:10,458 INFO - Emulator.HabboHotel.Moderation.ModerationManager >> Moderation Manager -> LOADED 2018-12-21 04:02:10,729 INFO - Emulator.HabboHotel.Items.ItemDataManager >> Item Manager -> LOADED 2018-12-21 04:02:10,732 INFO - Cloud.HabboHotel.Items.Crafting.CraftingManager >> » Crafring Manager -> LOADED 2018-12-21 04:02:10,743 INFO - Emulator.HabboHotel.Items.RareBundlesManager >> RareBundleManager -> LOADED 1 Room Bundles. 2018-12-21 04:02:10,773 ERROR - Emulator.HabboHotel.Items.CrateManager >> Couldn't load Catalog Item 3840, no furniture record found. 2018-12-21 04:02:10,775 ERROR - Emulator.HabboHotel.Items.CrateManager >> Couldn't load Catalog Item 4836, no furniture record found. 2018-12-21 04:02:10,783 ERROR - Emulator.HabboHotel.Items.CrateManager >> Couldn't load Catalog Item 2741, no furniture record found. 2018-12-21 04:02:10,783 INFO - Emulator.HabboHotel.Items.CrateManager >> CrateManager -> LOADED 2018-12-21 04:02:10,786 INFO - Emulator.HabboHotel.Items.Crackable >> Crackable Manager -> LOADED 2018-12-21 04:02:10,787 INFO - Emulator.HabboHotel.Items.Crackable >> LOADED A TOTAL OF 1 Crackable item Prizes 2018-12-21 04:02:11,052 INFO - Plus.Catalog.HabboClub.HabboClubManager >> Loaded 2 catalog subscriptions and 0 club gifts. 2018-12-21 04:02:11,053 INFO - Emulator.HabboHotel.Catalog.CatalogManager >> Catalog Manager -> LOADED 2018-12-21 04:02:11,055 INFO - Emulator.HabboHotel.Items.Televisions.TelevisionManager >> Television Items -> LOADED 2018-12-21 04:02:11,085 INFO - Emulator.HabboHotel.Navigator.NavigatorManager >> Navigator -> LOADED 2018-12-21 04:02:11,101 INFO - Emulator.HabboHotel.Rooms.RoomManager >> Room Manager -> LOADED 2018-12-21 04:02:11,149 INFO - Emulator.HabboHotel.Rooms.Chat.Styles.ChatStyleManager >> Loaded 38 chat styles. 2018-12-21 04:02:11,149 INFO - Emulator.HabboHotel.Rooms.Chat.ChatManager >> Chat Manager -> LOADED 2018-12-21 04:02:11,166 INFO - Emulator.HabboHotel.Quests.QuestManager >> Quest Manager -> LOADED 2018-12-21 04:02:11,192 INFO - Emulator.HabboHotel.Achievements.AchievementManager >> Achievement Manager -> LOADED 2018-12-21 04:02:11,214 INFO - Emulator.HabboHotel.LandingView.LandingViewManager >> Landing View Manager -> LOADED 2018-12-21 04:02:11,218 INFO - Emulator.HabboHotel.Games.GameDataManager >> Game Data Manager -> LOADED 2018-12-21 04:02:11,219 INFO - Mango.Global.ServerUpdater >> Server Status Updater has been started. 2018-12-21 04:02:11,221 INFO - Emulator.HabboHotel.Global.LanguageLocale >> Language Locale Manager -> LOADED 2018-12-21 04:02:11,225 INFO - Emulator.HabboHotel.Cache.CacheManager >> Cache Manager -> LOADED 2018-12-21 04:02:11,256 INFO - Emulator.HabboHotel.Badges.BadgeManager >> Loaded 4623 badge definitions. 2018-12-21 04:02:11,274 INFO - Emulator.HabboHotel.Permissions.PermissionManager >> Loaded 52 permissions. 2018-12-21 04:02:11,275 INFO - Emulator.HabboHotel.Permissions.PermissionManager >> Loaded 9 permissions groups. 2018-12-21 04:02:11,275 INFO - Emulator.HabboHotel.Permissions.PermissionManager >> Loaded 6 permissions group rights. 2018-12-21 04:02:11,276 INFO - Emulator.HabboHotel.Permissions.PermissionManager >> Loaded 3 permissions subscription rights. 2018-12-21 04:02:11,292 INFO - Emulator.Subscriptions.SubscriptionManager >> Loaded 4 subscriptions and 1 club subscriptions. 2018-12-21 04:02:11,361 INFO - Emulator.Core.ConnectionManager >> Successfully setup GameSocketManager on port (30000)! 2018-12-21 04:02:11,362 INFO - Emulator.Core.ConnectionManager >> Maximum connections per IP has been set to [200]! 2018-12-21 04:02:11,365 INFO - Emulator.HabboEnvironment >> EMULATOR -> READY! (1 s, 756 ms) [/SPOILER] [SPOILER="Brain-Config.php"] <?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'] = "hotel"; //Mysql's database /* Emu Settings */ $config['hotelEmu'] = 'plusemu'; // plusemu // arcturus /* Client Setting */ $hotel['emuHost'] = "***"; //IP of VPS//IP of Proxy $hotel['emuPort'] = "30000"; //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'] = "[URL]http://habvice.com/swf/gamedata/external_variables.txt[/URL]"; $hotel['external_Variables_Override'] = "[URL]http://habvice.com/swf/gamedata/external_override_variables.txt[/URL]"; $hotel['external_Texts'] = "[URL]http://habvice.com/swf/gamedata/external_flash_texts.txt[/URL]"; $hotel['external_Texts_Override'] = "[URL]http://habvice.com/swf/gamedata/external_flash_override_texts.txt[/URL]"; $hotel['productdata'] = "[URL]http://habvice.com/swf/gamedata/productdata.txt[/URL]"; $hotel['furnidata'] = "[URL]http://habvice.com/swf/gamedata/furnidata.xml[/URL]"; $hotel['figuremap'] = "[URL]http://habvice.com/swf/gamedata/figuremap.xml[/URL]"; $hotel['figuredata'] = "[URL]http://habvice.com/swf/gamedata/figuredata.xml[/URL]"; $hotel['swfFolder'] = "[URL]http://habvice.com/swf/gordon/PRODUCTION-201709052204-426856518[/URL]"; $hotel['swfFolderSwf'] = "[URL]http://habvice.com/swf/gordon/PRODUCTION-201709052204-426856518/Habbo.swf[/URL]"; $hotel['onlineCounter'] = true; // Enable the user count in the client. $hotel['diamonds.enabled'] = true; // Enable diamonds in the hotel. /* Website Setting */ $config['hotelUrl'] = "[URL]http://habvice.com[/URL]";//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'] = "Habvice"; //Name of your hotel $config['favicon'] = "[URL]http://habvice.com/favicon.ico[/URL]"; $config['staffCheckHk'] = false; //Enable the staff pin in the housekeeping (true) or disable it (false) $config['staffCheckHkMinimumRank'] = 4; //Minium staff rank to get the staff pin in the housekeeping $config['maintenance'] = true; //Enable the maintenance of your website (true) or disable it (false) $config['maintenancekMinimumRankLogin'] = 4; //Minium staff rank to login when the website is in maintenance $config['groupBadgeURL'] = "[URL]http://habvice.com/swf/c_images/Badgeparts/generated/[/URL]"; $config['badgeURL'] = "[URL]http://habvice.com/swf/c_images/album1584/[/URL]"; $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) $config['alertReferrer'] = false; $config['alert'] = ''; //Alert message. If you don't want a alert, you do leave it blank. $config['brainversion'] = '1.9.1'; // Please do not change. /* Email Settings */ $email['mailServerHost'] = 'smtp.gmail.com'; $email['mailServerPort'] = 587; $email['SMTPSecure'] = 'TLS'; $email['mailUsername'] = '[email]gmail@gmail.com[/email]'; $email['mailPassword'] = '*****'; $email['mailLogo'] = '[URL]http://habvice.com/templates/brain/style/images/logo/logo.png';[/URL] $email['mailTemplate'] = '/system/app/plugins/PHPmailer/temp/resetpassword.html'; /* Social settings */ $config['facebook'] = '[URL]https://www.facebook.com/habvice/';[/URL] $config['facebookEnable'] = true; $config['twitter'] = '[URL]https://twitter.com/habvice';[/URL] $config['twitterEnable'] = true; /* Register Setting */ $config['startMotto'] = "I'm new to Habvice!"; //Register start motto $config['credits'] = "10000"; $config['duckets'] = "20000"; $config['diamonds'] = "0"; $config['diamondsRef'] = "10"; $config['registerEnable'] = true; $config['look'] = "hr-3163-1035.hd-3092-2.ch-215-63.lg-3320-1189-62.sh-3089-1408.ca-3219-110.wa-2001-0"; /* Google recaptcha Site Key Go to this website to create a recaptcha Site Key: [URL]https://www.google.com/recaptcha/intro/index.html[/URL] */ $config['recaptchaSiteKey'] = "6LdzewwUAAAAABkJ3vsdfCDca9qmLGDaWAHqMRtFEs2"; $config['recaptchaSiteKeyEnable'] = false; /* Buy VIP Settings */ $config['vipCost'] = "25"; $config['vipRankToGet'] = "3"; $config['vipBadge'] = "vip"; switch($config['hotelEmu']) { case "arcturus": $emuUse['user_wardrobe'] = 'users_wardrobe '; $emuUse['ip_last'] = 'ip_current'; $emuUse['respect'] = 'respects_received'; $emuUse['user_stats'] = 'users_settings'; $emuUse['user_stats_user_id'] = 'user_id'; $emuUse['OnlineTime'] = 'online_time'; break; case "plusemu": $emuUse['user_wardrobe'] = 'user_wardrobe '; $emuUse['ip_last'] = 'ip_last'; $emuUse['respect'] = 'Respect'; $emuUse['user_stats'] = 'user_stats'; $emuUse['user_stats_user_id'] = 'id'; $emuUse['OnlineTime'] = 'OnlineTime'; break; default: //Nothing break; } [/SPOILER] [SPOILER="external_variables.txt"] activity.point.display.enabled=true ads.domain=habvice.com/swf ............. try.existing.session=false unique.limited.items.enabled=true url.prefix.no=[URL]http://habvice.com[/URL] use.default.localizations=false use_minimized_own_avatar_menu=true v3_credit_flow.enabled=true v3_credit_flow_navigation.enabled=true v3_credit_flow_navigation=true valentines.enabled=false vip.snowstorm.offer.length.days=31 viral.furni.post_type=appRequest welcome.screen.enabled=0 wired.enabled.air=1 xmas11.campaignPrefix=xmas11 xmas11.enabled=false xmas2012.calendar.enabled=false xmas2012.calendar.startdate=2012-12-02 00:00 zendesk.url=[URL]http://help.habbo.com/home[/URL] zoom.enabled=1 flash.dynamic.icon.download.name.template=icons/%typeid%%param%_icon.png catalog.deep.hierarchy=true camera.photo.publishing.enabled=false stories.image_url_base=[URL]http://habvice.com/swf/camera/[/URL] stories.upload_image.url=[URL]http://habvice.com/swf/camera/upload[/URL] productdata.load.url=[URL]http://habvice.com/swf/gamedata/productdata.txt[/URL] external.texts.txt=[URL]http://habvice.com/swf/gamedata/external_flash_texts.txt[/URL] external.override.variables.txt=[URL]http://habvice.com/swf/gamedata/external_override_variables.txt[/URL] flash.client.url=[URL]http://habvice.com/swf/gordon/PRODUCTION-201709052204-426856518/[/URL] furnidata.load.url=[URL]http://habvice.com/swf/gamedata/furnidata.xml[/URL] external.variables.txt=[URL]http://habvice.com/swf/gamedata/external_variables.txt[/URL] external.override.texts.txt=[URL]http://habvice.com/swf/gamedata/external_flash_override_texts.txt[/URL] external.figurepartlist.txt=[URL]http://habvice.com/swf/gamedata/figuredata.xml[/URL] [/SPOILER] [SPOILER="external_override_variable.txt"] seasonalcurrencyindicator.currency=103 seasonalcurrencyindicator.enabled=false seasonalcurrencyindicator.page=diamonds diamonds.enabled=true ads.domain=habvice.com roomenterad.habblet.enabled=false builders.club.enabled=false toolbar.stories.enabled=false navigator.newstyle.enabled=true hc.enabled=true talent.track.citizenship.enabled=true tablet.bc.enabled=false camera.enabled=false supersaverads.video.promo.development.mode=false supersaverads.video.promo.enabled=false offers.enabled=false offers.sponsorpay.appid=0 offers.supersonic.enabled=false avatareditor.promohabbos=[URL]http://habvice.com/swf/gamedata/habblet/xml/promo_habbos.xml[/URL] game.center.default_game=basejump game.center.enabled=true game.center.promoted_game=basejump group.blocking.enabled=true embed.showInRoomInfo=true sms.identity.verification.button.enabled=false sms.identity.verification.enabled=false camera.photo.publishing.enabled=true stories.image_url_base=[URL]http://habvice.com[/URL] stories.upload_image.url=[URL]http://habvice.com/upload[/URL] camera.uploadlink=[URL]http://habvice.com/swf/camera/upload.php[/URL] camera.photocost=FREE multi.item.trading.enabled=true show.sanction.info.on.login=false call.for.help.improvements.enabled=true zendesk.url=[URL]http://habvice.com[/URL] disabled.custom.chat.styles=1,2,8,9,10,18,21,22,23,24,25,26,27,28,30,31,32,33,34,35 flash.dynamic.download.name.template=%typeid%.swf flash.dynamic.download.url=[URL]http://habvice.com/swf/dcr/hof_furni/[/URL] flash.dynamic.avatar.download.configuration=[URL]http://habvice.com/swf/gamedata/clothing/figuremap.xml[/URL] flash.dynamic.icon.download.name.template=%typeid%%param%_icon.png group.badge.url=[URL]http://habvice.com/swf/habbo-imaging/badge/%imagerdata%.gif[/URL] habbopages.url=[URL]http://habvice.com/swf/gamedata/habbopages/[/URL] flash.client.url=[URL]http://habvice.com/swf/gordon/PRODUCTION-201709052204-426856518/[/URL] external.texts.txt=[URL]http://habvice.com/swf/gamedata/external_flash_texts.txt[/URL] external.override.texts.txt=[URL]http://habvice.com/swf/gamedata/external_flash_override_texts.txt[/URL] external.override.variables.txt=[URL]http://habvice.com/swf/gamedata/external_override_variables.txt[/URL] productdata.load.url=[URL]http://habvice.com/swf/gamedata/productdata.txt[/URL] furnidata.load.url=[URL]http://habvice.com/swf/gamedata/furnidata.xml[/URL] [/SPOILER] [SPOILER="external__flash_override_texts.txt"] <?php // Overrides generator header('content-type: text/plain'); // Check to see if there is already a texts file and when it was last // updated. If it was last updated over 12 hours ago then we will open // a database connection to update it. if(file_exists('external_flash_override_texts.txt') && (time() - 43200 < filemtime('external_flash_override_texts.txt'))) { include_once('external_flash_override_texts.txt'); } $sql = new MySQLi('localhost', 'root', ****', 'hotel'); if($sql->connect_error) { // There's a problem connecting to the database so the texts cannot // be updated. The outdated version will be displayed till we can // get a database connection. if(file_exists('external_flash_override_texts.txt')) { include_once('external_flash_override_texts.txt'); exit; } } ob_start(); if($stmt = $sql->prepare('SELECT `key`,`value` FROM `client_external_texts`')) { $stmt->execute(); $stmt->bind_result($key, $value); while($stmt->fetch()) { // All results are now fetched from the database so // we'll output them and cache everything once this // has finished. echo $key . "=" . $value . "\r\n"; } $stmt->close(); } if($stmt = $sql->prepare('SELECT `badge_code`, `badge_title`, `badge_desc` FROM `client_external_badge_texts`')) { $stmt->execute(); $stmt->bind_result($code, $title, $description); while($stmt->fetch()) { // All results are now fetched from the database so // we'll output them and cache everything once this // has finished. echo "badge_name_" . $code . "=" . $title . "\r\n"; echo "badge_desc_" . $code . "=" . $description . "\r\n"; } $stmt->close(); } $sql->close(); // The above has grabbed the badge names and descriptions from the database // and outputted them to the page. Now we need to write them to the cache // so we aren't opening a database connection each time this file is requested. $file = fopen('external_flash_override_texts.txt', 'w'); fwrite($file, ob_get_contents()); fclose($file); ob_end_flush(); [/SPOILER] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
HabboEmulator ~ Support thread.
Top