Problema risolto Client 76%

Stato
Discussione chiusa ad ulteriori risposte.

RonaldoCMS

Utente Attivo
Autore del topic
8 Aprile 2012
300
56
Miglior risposta
0
upload_2018-3-7_2-42-56.png

Chiedetemi quale .php vi devo mandare
Teoricamente è tutto fixxato, stesso errore in qualsiasi db, cms e dcr. Vorrei sapere se magari sono le porte poichè lo faccio in locale per scopi personali
 
<?php
/* #################################################################### \
|| ||
|| TwinkieCMS - Use of this software is strictly prohibited. *#
|| # Copyright (C) 2014 lD@vidl. *#
||---------------------------------------------------------------------*#
||---------------------------------------------------------------------*#
|| Script pensado para la gestión de retroservers Habbo. *#
|| Tanto el script como los autores del mismo no tienen ningún tipo *#
|| de asociación con Habbo y/o Sulake Oy Corp. Por lo tanto, estos no *#
|| se hacen responsables del uso que el usuario le dé. *#
|| ||
\ ################################################################### */
ob_start();
require_once 'inc/core.php';
$user->logged('yes');

if($user->Get("rank") >= RANKMIN && $_SESSION['CLIENT_PIN_NOW'] !== true){
header("LOCATION: ". PATH ."/client/index.php");
exit;
}else{
unset($_SESSION['CLIENT_PIN_NOW']);
$myid = $user->Get('id');
$my_id = $myid;
}

$_config['client'] = array(
'host' => 'localhost',
'port' => '3030',
'external_variables' => '
Perfavore, Entra oppure Registrati per vedere i Link!
',
'external_figurepartlist' => '
Perfavore, Entra oppure Registrati per vedere i Link!
',
'external_override_variables' => '
Perfavore, Entra oppure Registrati per vedere i Link!
',
'external_override_texts' => '
Perfavore, Entra oppure Registrati per vedere i Link!
',
'external_flash_texts' => '
Perfavore, Entra oppure Registrati per vedere i Link!
',
'productdata' => '
Perfavore, Entra oppure Registrati per vedere i Link!
',
'furnidata' => '
Perfavore, Entra oppure Registrati per vedere i Link!
',
'flash_client_url' => '
Perfavore, Entra oppure Registrati per vedere i Link!
',
'habbo_swf' => 'Habbo.swf'
);
$myusername = $user->Get('username');
$ticket = $user->GenerateTicket();
$ip = USER_IP;
$query = $db->query("UPDATE users SET auth_ticket = '{$ticket}', ip_last = '" . USER_IP . "', last_used = '". time() ."' WHERE id = '" . $myid . "'");
$rvip = $db->query("UPDATE users SET rank = 1 WHERE rank = 1");//Pa rango 2 a todos los users PD:emoji_smiley:avid plp
?>
<!DOCTYPE html>
<html lang="es_ES">
<head>
<title><?php echo SHORTNAME; ?> - Client</title>
<link rel="shortcut icon" href="<?php echo CDN; ?>/images/favicon.ico" type="image/vnd.microsoft.icon" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<meta name="description" content="Diversión al limite!" />
<script type="text/javascript" src="/libs2.js"></script>
<style type="text/css">
* { margin: 0; padding: 0; }
html, #flash-container { height: 100%; text-align: left; background-color: black; }
#flash-container { position: absolute; overflow: hidden; left: 0; top: 0; right: 0; bottom: 0; }
</style>
<script type="text/javascript">
var flashvars = {
"client.allow.cross.domain" : "0",
"client.notify.cross.domain" : "1",
"connection.info.host" : "<?php echo $_config['client']['host']; ?>",
"connection.info.port" : "<?php echo $_config['client']['port']; ?>",
"site.url" : "<?php echo PATH; ?>",
"url.prefix" : "<?php echo PATH; ?>",
"client.reload.url" : "<?php echo PATH; ?>/client.php",
"client.fatal.error.url" : "<?php echo PATH; ?>/client.php",
"client.connection.failed.url" : "<?php echo PATH; ?>/client.php",
"logout.url" : "<?php echo PATH; ?>/client.php",
"logout.disconnect.url" : "<?php echo PATH; ?>/client.php",
"external.variables.txt" : "<?php echo $_config['client']['external_variables']; ?>",
"external.texts.txt" : "<?php echo $_config['client']['external_flash_texts']; ?>",
"external.figurepartlist.txt" : "<?php echo $_config['client']['external_figurepartlist']; ?>",
"external.override.texts.txt" : "<?php echo $_config['client']['external_override_texts']; ?>",
"external.override.variables.txt" : "<?php echo $_config['client']['external_override_variables']; ?>",
"productdata.load.url" : "<?php echo $_config['client']['productdata']; ?>",
"furnidata.load.url" : "<?php echo $_config['client']['furnidata']; ?>",
"sso.ticket": "<?php echo $ticket; ?>",
"processlog.enabled" : "1",
"account_id" : "<?php echo $user->Get('username'); ?>",
"client.starting" : "Per favore, aspetta! <?php echo $myrow['username']; ?>Hubix sta caricando.",
"flash.client.url" : "<?php echo $_config['client']['flash_client_url']; ?>",
"user.hash" : "5690170255dbf26e0275377f436614c91d1a810d",
"has.identity" : "1",
"flash.client.origin" : "popup",
"nux.lobbies.enabled" : "false",
"country_code" : "DO"
};

var params = {
"base" : "<?php echo $_config['client']['flash_client_url']; ?>",
"allowScriptAccess" : "always",
"menu" : "true"
};

swfobject.embedSWF("<?php echo $_config['client']['flash_client_url'] . $_config['client']['habbo_swf']; ?>?s", "flash-container", "100%", "100%", "10.1.0", "
Perfavore, Entra oppure Registrati per vedere i Link!
", flashvars, params, null);
</script>

</head>
<body>
<div id="flash-container">
</div>
<!-- horizontal largo -->
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-8546276907774396"
data-ad-slot="4424363866"></ins>

</html>
<?php ob_end_flush(); ?>
 
<?php
/* #################################################################### \
|| ||
|| TwinkieCMS - Use of this software is strictly prohibited. *#
|| # Copyright (C) 2014 lD@vidl. *#
||---------------------------------------------------------------------*#
||---------------------------------------------------------------------*#
|| Script pensado para la gestión de retroservers Habbo. *#
|| Tanto el script como los autores del mismo no tienen ningún tipo *#
|| de asociación con Habbo y/o Sulake Oy Corp. Por lo tanto, estos no *#
|| se hacen responsables del uso que el usuario le dé. *#
|| ||
\ ################################################################### */
ob_start();
require_once 'inc/core.php';
$user->logged('yes');

if($user->Get("rank") >= RANKMIN && $_SESSION['CLIENT_PIN_NOW'] !== true){
header("LOCATION: ". PATH ."/client/index.php");
exit;
}else{
unset($_SESSION['CLIENT_PIN_NOW']);
$myid = $user->Get('id');
$my_id = $myid;
}

$_config['client'] = array(
'host' => 'localhost',
'port' => '3030',
'external_variables' => '
Perfavore, Entra oppure Registrati per vedere i Link!
',
'external_figurepartlist' => '
Perfavore, Entra oppure Registrati per vedere i Link!
',
'external_override_variables' => '
Perfavore, Entra oppure Registrati per vedere i Link!
',
'external_override_texts' => '
Perfavore, Entra oppure Registrati per vedere i Link!
',
'external_flash_texts' => '
Perfavore, Entra oppure Registrati per vedere i Link!
',
'productdata' => '
Perfavore, Entra oppure Registrati per vedere i Link!
',
'furnidata' => '
Perfavore, Entra oppure Registrati per vedere i Link!
',
'flash_client_url' => '
Perfavore, Entra oppure Registrati per vedere i Link!
',
'habbo_swf' => 'Habbo.swf'
);
$myusername = $user->Get('username');
$ticket = $user->GenerateTicket();
$ip = USER_IP;
$query = $db->query("UPDATE users SET auth_ticket = '{$ticket}', ip_last = '" . USER_IP . "', last_used = '". time() ."' WHERE id = '" . $myid . "'");
$rvip = $db->query("UPDATE users SET rank = 1 WHERE rank = 1");//Pa rango 2 a todos los users PD:emoji_smiley:avid plp
?>
<!DOCTYPE html>
<html lang="es_ES">
<head>
<title><?php echo SHORTNAME; ?> - Client</title>
<link rel="shortcut icon" href="<?php echo CDN; ?>/images/favicon.ico" type="image/vnd.microsoft.icon" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<meta name="description" content="Diversión al limite!" />
<script type="text/javascript" src="/libs2.js"></script>
<style type="text/css">
* { margin: 0; padding: 0; }
html, #flash-container { height: 100%; text-align: left; background-color: black; }
#flash-container { position: absolute; overflow: hidden; left: 0; top: 0; right: 0; bottom: 0; }
</style>
<script type="text/javascript">
var flashvars = {
"client.allow.cross.domain" : "0",
"client.notify.cross.domain" : "1",
"connection.info.host" : "<?php echo $_config['client']['host']; ?>",
"connection.info.port" : "<?php echo $_config['client']['port']; ?>",
"site.url" : "<?php echo PATH; ?>",
"url.prefix" : "<?php echo PATH; ?>",
"client.reload.url" : "<?php echo PATH; ?>/client.php",
"client.fatal.error.url" : "<?php echo PATH; ?>/client.php",
"client.connection.failed.url" : "<?php echo PATH; ?>/client.php",
"logout.url" : "<?php echo PATH; ?>/client.php",
"logout.disconnect.url" : "<?php echo PATH; ?>/client.php",
"external.variables.txt" : "<?php echo $_config['client']['external_variables']; ?>",
"external.texts.txt" : "<?php echo $_config['client']['external_flash_texts']; ?>",
"external.figurepartlist.txt" : "<?php echo $_config['client']['external_figurepartlist']; ?>",
"external.override.texts.txt" : "<?php echo $_config['client']['external_override_texts']; ?>",
"external.override.variables.txt" : "<?php echo $_config['client']['external_override_variables']; ?>",
"productdata.load.url" : "<?php echo $_config['client']['productdata']; ?>",
"furnidata.load.url" : "<?php echo $_config['client']['furnidata']; ?>",
"sso.ticket": "<?php echo $ticket; ?>",
"processlog.enabled" : "1",
"account_id" : "<?php echo $user->Get('username'); ?>",
"client.starting" : "Per favore, aspetta! <?php echo $myrow['username']; ?>Hubix sta caricando.",
"flash.client.url" : "<?php echo $_config['client']['flash_client_url']; ?>",
"user.hash" : "5690170255dbf26e0275377f436614c91d1a810d",
"has.identity" : "1",
"flash.client.origin" : "popup",
"nux.lobbies.enabled" : "false",
"country_code" : "DO"
};

var params = {
"base" : "<?php echo $_config['client']['flash_client_url']; ?>",
"allowScriptAccess" : "always",
"menu" : "true"
};

swfobject.embedSWF("<?php echo $_config['client']['flash_client_url'] . $_config['client']['habbo_swf']; ?>?s", "flash-container", "100%", "100%", "10.1.0", "
Perfavore, Entra oppure Registrati per vedere i Link!
", flashvars, params, null);
</script>

</head>
<body>
<div id="flash-container">
</div>
<!-- horizontal largo -->
<ins class="adsbygoogle"
style="display:inline-block;width:728px;height:90px"
data-ad-client="ca-pub-8546276907774396"
data-ad-slot="4424363866"></ins>

</html>
<?php ob_end_flush(); ?>
Gli external e l'emulatore?

Inviato dal mio JERRY utilizzando Tapatalk
 
activity.point.display.enabled=true
ads.domain=localhost
akamai.debugging.enabled=false
app.review.triggers=purchase,respect
app.review.url.android=
app.review.url.ios=itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?type=Purple+Software&id=794866182
avatar.editor.character.update.url=
Perfavore, Entra oppure Registrati per vedere i Link!

avatar.editor.url=
Perfavore, Entra oppure Registrati per vedere i Link!

avatar.expressions_menu.enabled=true
avatar.ignored.bubble.enabled=true
avatar.jumping.enabled=false
avatar.signs.enabled=true
avatar.sitting.enabled=true
avatar.widget.enabled=true
avatareditor.allowclubtryout=1
avatareditor.promohabbos=
Perfavore, Entra oppure Registrati per vedere i Link!

avatareditor.show.clubitems.dimmed=true
avatareditor.show.clubitems.first=true
avatareditor.support.sellablefurni=true
badge.display.excluded.badgeCodes=ADM,AMB,BAW01,BAW02,BAW03,BAW04
badge.image.path=//localhost/c_images/album1584....
...
toolbar.mode=transparent
toolbar.new_additions.notification.enabled=true
toolbar.stories.enabled=false
toolbar.tracking.enabled=true
tracking.framerate.reportInterval.seconds=2147483647
trading.commiterror.enabled=true
trax.player.sample.memory.purge.enabled=1
try.existing.session=false
unique.limited.items.enabled=true
url.prefix.no=
Perfavore, Entra oppure Registrati per vedere i Link!

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=
Perfavore, Entra oppure Registrati per vedere i Link!

zoom.enabled=1

productdata.load.url=
Perfavore, Entra oppure Registrati per vedere i Link!

external.texts.txt=
Perfavore, Entra oppure Registrati per vedere i Link!

external.override.variables.txt=
Perfavore, Entra oppure Registrati per vedere i Link!

flash.client.url=//localhost/gordon/PRODUCTION-201601012205-226667486/
furnidata.load.url=
Perfavore, Entra oppure Registrati per vedere i Link!

external.variables.txt=
Perfavore, Entra oppure Registrati per vedere i Link!

external.override.texts.txt=
Perfavore, Entra oppure Registrati per vedere i Link!

external.figurepartlist.txt=
Perfavore, Entra oppure Registrati per vedere i Link!

## MySQL Configuration
db.hostname=localhost
db.port=3306
db.username=root
db.password=ciao123
db.name=kabbo

## MySQL pooling setup (controls amount of connections)
db.pool.minsize=10
db.pool.maxsize=250


## Game TCP/IP Configuration
game.tcp.bindip=localhost
game.tcp.port=30000
game.tcp.conlimit=100000
game.tcp.conperip=2000
game.tcp.enablenagles=true

## MUS TCP/IP Configuration
mus.tcp.bindip=127.0.0.1
mus.tcp.port=3001
mus.tcp.allowedaddr=127.0.0.1;localhost

## Client configuration
client.ping.enabled=1
client.ping.interval=20000
client.maxrequests=300

## Autres
rank.helpeur=3
licence.nom=Vanilla
ambassador.minrank=3

## IPstaff

ipstaff=false
rank.ipstaff=4

seasonalcurrencyindicator.currency=103
seasonalcurrencyindicator.enabled=true
seasonalcurrencyindicator.page=diamonds

ads.domain=localhost
roomenterad.habblet.enabled=false

diamonds.enabled=false
camera.enabled=false
builders.club.enabled=false
toolbar.stories.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=
Perfavore, Entra oppure Registrati per vedere i Link!


game.center.default_game=basejump
game.center.enabled=true
game.center.promoted_game=basejump

embed.showInRoomInfo=true
sms.identity.verification.button.enabled=false
sms.identity.verification.enabled=false

multi.item.trading.enabled=true

disabled.custom.chat.styles=

flash.dynamic.download.name.template=%typeid%.swf
flash.dynamic.download.url=
Perfavore, Entra oppure Registrati per vedere i Link!

flash.dynamic.avatar.download.configuration=
Perfavore, Entra oppure Registrati per vedere i Link!

group.badge.url=
Perfavore, Entra oppure Registrati per vedere i Link!


habbopages.url=
Perfavore, Entra oppure Registrati per vedere i Link!


flash.client.url=
Perfavore, Entra oppure Registrati per vedere i Link!

external.texts.txt=
Perfavore, Entra oppure Registrati per vedere i Link!

external.override.texts.txt=
Perfavore, Entra oppure Registrati per vedere i Link!

external.override.variables.txt=
Perfavore, Entra oppure Registrati per vedere i Link!

productdata.load.url=
Perfavore, Entra oppure Registrati per vedere i Link!

furnidata.load.url=
Perfavore, Entra oppure Registrati per vedere i Link!
 
Ultima modifica da un moderatore:
## MySQL Configuration
db.hostname=localhost
db.port=3306
db.username=root
db.password=ciao123
db.name=kabbo

## MySQL pooling setup (controls amount of connections)
db.pool.minsize=10
db.pool.maxsize=250


## Game TCP/IP Configuration
game.tcp.bindip=localhost
game.tcp.port=30000
game.tcp.conlimit=100000
game.tcp.conperip=2000
game.tcp.enablenagles=true

## MUS TCP/IP Configuration
mus.tcp.bindip=127.0.0.1
mus.tcp.port=3001
mus.tcp.allowedaddr=127.0.0.1;localhost

## Client configuration
client.ping.enabled=1
client.ping.interval=20000
client.maxrequests=300

## Autres
rank.helpeur=3
licence.nom=Vanilla
ambassador.minrank=3

## IPstaff

ipstaff=false
rank.ipstaff=4
Su game.tcp.bindip metti 127.0.0.1
Su game.tcp.port metti 3030 e facci sapere

Inviato dal mio JERRY utilizzando Tapatalk
 
RonaldoCMS RonaldoCMS cerca di argomentare maggiormente i tuoi post.
 
activity.point.display.enabled=true
ads.domain=localhost
akamai.debugging.enabled=false
app.review.triggers=purchase,respect
app.review.url.android=
app.review.url.ios=itms-apps:
Perfavore, Entra oppure Registrati per vedere i Link!

avatar.editor.character.update.url=
Perfavore, Entra oppure Registrati per vedere i Link!

avatar.editor.url=
Perfavore, Entra oppure Registrati per vedere i Link!

avatar.expressions_menu.enabled=true
avatar.ignored.bubble.enabled=true
avatar.jumping.enabled=false
avatar.signs.enabled=true
avatar.sitting.enabled=true
avatar.widget.enabled=true
avatareditor.allowclubtryout=1
avatareditor.promohabbos=
Perfavore, Entra oppure Registrati per vedere i Link!

avatareditor.show.clubitems.dimmed=true
avatareditor.show.clubitems.first=true
avatareditor.support.sellablefurni=true
badge.display.excluded.badgeCodes=ADM,AMB,BAW01,BAW02,BAW03,BAW04
badge.image.path=
Perfavore, Entra oppure Registrati per vedere i Link!
....
...
toolbar.mode=transparent
toolbar.new_additions.notification.enabled=true
toolbar.stories.enabled=false
toolbar.tracking.enabled=true
tracking.framerate.reportInterval.seconds=2147483647
trading.commiterror.enabled=true
trax.player.sample.memory.purge.enabled=1
try.existing.session=false
unique.limited.items.enabled=true
url.prefix.no=https:
Perfavore, Entra oppure Registrati per vedere i Link!

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=Habbo.com Customer Support
zoom.enabled=1

productdata.load.url=
Perfavore, Entra oppure Registrati per vedere i Link!

external.texts.txt=
Perfavore, Entra oppure Registrati per vedere i Link!

external.override.variables.txt=
Perfavore, Entra oppure Registrati per vedere i Link!

flash.client.url=
Perfavore, Entra oppure Registrati per vedere i Link!

furnidata.load.url=
Perfavore, Entra oppure Registrati per vedere i Link!

external.variables.txt=
Perfavore, Entra oppure Registrati per vedere i Link!

external.override.texts.txt=
Perfavore, Entra oppure Registrati per vedere i Link!

external.figurepartlist.txt=
Perfavore, Entra oppure Registrati per vedere i Link!

Sostituisci gli external variables con questi che ti ho postato ora
 
RonaldoCMS RonaldoCMS hai risolto il problema ?
 
Stato
Discussione chiusa ad ulteriori risposte.