Hey fellow users of DevBest,
Recently I have set up a hotel with my friend and we are encountering a few errors or problems.
In all honesty I have followed procedures or at least I have but can't figure out the problem with our client.
could anyone possible give us a helping hand?
CLIENT.PHP:
CONFIG.INI (emu config)
it would mean a lot of you guys helped us
Recently I have set up a hotel with my friend and we are encountering a few errors or problems.
In all honesty I have followed procedures or at least I have but can't figure out the problem with our client.
could anyone possible give us a helping hand?
CLIENT.PHP:
PHP:
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>{hotelName}: Client</title>
<link rel="stylesheet" href="{url}/app/tpl/skins/Custom-Habbo/styles/client.css" type="text/css">
<script type="text/javascript" src="{url}/app/tpl/skins/Custom-Habbo/js/swfobject.js"></script>
<script type="text/javascript">
var BaseUrl = "{url}/game";
var flashvars =
{
"client.starting.revolving" : "For science, you monster/Loading funny message... please wait./Would you like fries with that?/Follow the yellow duck./Time is just an illusion./Are we there yet?!/I like your t-shirt./Look left. Look right. Blink twice. Ta da!/It\'s not you, it\'s me./Shhh! I\'m trying to think here./Loading pixel universe.",
"client.allow.cross.domain" : "1",
"client.notify.cross.domain" : "0",
"connection.info.host" : "proxyip",
"connection.info.port" : "proxyport",
"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" : "http://URL/game/gamedata/external_variables.txt",
"external.texts.txt" : "http://URL/game/gamedata/external_flash_texts.txt",
"productdata.load.url" : "http://URL/game/gamedata/productdata.txt",
"furnidata.load.url" : "http://URL/game/gamedata/furnidata.xml",
"use.sso.ticket" : "1",
"sso.ticket" : "{sso}",
"processlog.enabled" : "0",
"flash.client.url" : BaseUrl,
"flash.client.origin" : "popup"
};
var params =
{
"base" : BaseUrl + "/",
"allowScriptAccess" : "always",
"menu" : "false"
};
swfobject.embedSWF(BaseUrl + "/Habbo.swf", "client", "100%", "100%", "10.0.0", "{swf_folder}/expressInstall.swf", flashvars, params, null);
</script>
</head>
<body id="client" class="flashclient">
<script data-rocketsrc="http://code.jquery.com/jquery-latest.js" type="text/rocketscript" ></script>
<script type="text/rocketscript" >
var refreshId = setInterval(function()
{
$('#TheStats').fadeOut("slow").load('/index.php?url=stats').fadeIn("slow");
}, 100000);
</script>
</head>
<body>
<div id="client"></div>
</body>
</html>
<?php include_once('includes/checktheban.php'); ?>
CONFIG.INI (emu config)
PHP:
## 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=dbpassword
db.name=dbname
## MySQL pooling setup (controls amount of connections)
db.pool.minsize=10
db.pool.maxsize=250
## Game TCP/IP Configuration
game.tcp.bindip=proxyio
game.tcp.port=30000
game.tcp.conlimit=100000
game.tcp.conperip=200
game.tcp.enablenagles=true
## MUS TCP/IP Configuration
mus.tcp.bindip=0.0.0.0
mus.tcp.port=30001
mus.tcp.allowedaddr=0.0.0.0
## Client configuration
client.ping.enabled=1
client.ping.interval=20000
client.maxrequests=200
it would mean a lot of you guys helped us