Thx! That worked! But now im with another problem! Could you please add me on msn? I'd preffer to have direct contact for best result you know.
[email protected]
Thx!!
When i try to get into the hotel, it keeps restarting. Help? MSN = [email protected]
Please add me!
<?php
/*=======================================================================
| UberCMS - Advanced Website and Content Management System for uberEmu
| #######################################################################
| Copyright (c) 2010, Roy 'Meth0d'
| http://www.meth0d.org
| #######################################################################
| This program is free software: you can redistribute it and/or modify
| it under the terms of the GNU General Public License as published by
| the Free Software Foundation, either version 3 of the License, or
| (at your option) any later version.
| #######################################################################
| This program is distributed in the hope that it will be useful,
| but WITHOUT ANY WARRANTY; without even the implied warranty of
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
| GNU General Public License for more details.
\======================================================================*/
$config['Site']['www'] = "http://127.0.0.1";
$config['Site']['hash_secret'] = "xCg532%@%gdvf^5DGaa6&*rFTfg^FD4\$OIFThrR_gh(ugf*/";
$config['MySQL']['hostname'] = "localhost";
$config['MySQL']['username'] = "root";
$config['MySQL']['password'] = "12345";
$config['MySQL']['database'] = "uberdb";
$config['MUS']['enabled'] = false;
$config['MUS']['ip'] = "127.0.0.1";
$config['MUS']['port'] = 21;
?>
<?php
/*=======================================================================
| UberCMS - Advanced Website and Content Management System for uberEmu
| #######################################################################
| Copyright (c) 2010, Roy 'Meth0d'
| http://www.meth0d.org
| #######################################################################
| This program is free software: you can redistribute it and/or modify
| it under the terms of the GNU General Public License as published by
| the Free Software Foundation, either version 3 of the License, or
| (at your option) any later version.
| #######################################################################
| This program is distributed in the hope that it will be useful,
| but WITHOUT ANY WARRANTY; without even the implied warranty of
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
| GNU General Public License for more details.
\======================================================================*/
require_once "global.php";
$id = '';
if (isset($_GET['id']))
{
$id = $_GET['id'];
}
switch ($id)
{
case "external_variables":
echo @file_get_contents("http://127.0.0.1/gamedata/external?id=external_variables");
$get = dbquery("SELECT * FROM external_variables");
while ($ext = mysql_fetch_assoc($get))
{
echo clean($ext['skey']) . '=' . clean($ext['sval'], true) . LB;
}
break;
case "external_flash_texts":
echo @file_get_contents("http://127.0.0.1/gamedata/external?id=external_flash_texts");
$get = dbquery("SELECT * FROM external_texts");
while ($ext = mysql_fetch_assoc($get))
{
echo clean($ext['skey']) . '=' . clean($ext['sval'], true) . LB;
}
break;
}
?>
<?php
/*=======================================================================
| UberCMS - Advanced Website and Content Management System for uberEmu
| #######################################################################
| Copyright (c) 2010, Roy 'Meth0d' and updates by Matthew 'MDK'
| http://www.meth0d.org & http://www.sulake.biz
| #######################################################################
| This program is free software: you can redistribute it and/or modify
| it under the terms of the GNU General Public License as published by
| the Free Software Foundation, either version 3 of the License, or
| (at your option) any later version.
| #######################################################################
| This program is distributed in the hope that it will be useful,
| but WITHOUT ANY WARRANTY; without even the implied warranty of
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
| GNU General Public License for more details.
\======================================================================*/
define('HIDE_FEEDBACK', true);
require_once "global.php";
require_once "inc/class.rooms.php";
if (!LOGGED_IN)
{
header("Location: " . WWW. "/login_popup");
exit;
}
$forwardType = 0;
$forwardId = 0;
$lang = '';
$habbo10 = '';
if (isset($_GET['lang']))
{
$lang = $_GET['lang'];
}
switch ($lang)
{
default:
case "en":
$lang = "";
dbquery("UPDATE users SET real_name = 'English' WHERE id = '" . USER_ID . "' LIMIT 1");
break;
case "br":
$lang = "_br";
dbquery("UPDATE users SET real_name = 'Brazilian' WHERE id = '" . USER_ID . "' LIMIT 1");
break;
case "de":
$lang = "_de";
dbquery("UPDATE users SET real_name = 'German' WHERE id = '" . USER_ID . "' LIMIT 1");
break;
case "dk":
$lang = "_dk";
dbquery("UPDATE users SET real_name = 'Danish' WHERE id = '" . USER_ID . "' LIMIT 1");
break;
case "es":
$lang = "_es";
dbquery("UPDATE users SET real_name = 'Spanish' WHERE id = '" . USER_ID . "' LIMIT 1");
break;
case "fi":
$lang = "_fi";
dbquery("UPDATE users SET real_name = 'Finnish' WHERE id = '" . USER_ID . "' LIMIT 1");
break;
case "fr":
$lang = "_fr";
dbquery("UPDATE users SET real_name = 'French' WHERE id = '" . USER_ID . "' LIMIT 1");
break;
case "it":
$lang = "_it";
dbquery("UPDATE users SET real_name = 'Italian' WHERE id = '" . USER_ID . "' LIMIT 1");
break;
case "jp":
$lang = "_jp";
$habbo10 = "_jp";
dbquery("UPDATE users SET real_name = 'Japanese' WHERE id = '" . USER_ID . "' LIMIT 1");
break;
case "nl":
$lang = "_nl";
dbquery("UPDATE users SET real_name = 'Dutch' WHERE id = '" . USER_ID . "' LIMIT 1");
break;
case "no":
$lang = "_no";
dbquery("UPDATE users SET real_name = 'Norwegian' WHERE id = '" . USER_ID . "' LIMIT 1");
break;
case "se":
$lang = "_se";
dbquery("UPDATE users SET real_name = 'Swedish' WHERE id = '" . USER_ID . "' LIMIT 1");
break;
}
if ($users->getUserVar(USER_ID, 'newbie_status') == "0")
{
if (isset($_GET['createRoom']) && is_numeric($_GET['createRoom']))
{
$roomId = RoomManager::CreateRoom(USER_NAME . "'s kamer", USER_NAME, 'model_s');
switch (intval($_GET['createRoom']))
{
default:
case 0:
RoomManager::PaintRoom($roomId, '1701', '601');
break;
case 1:
RoomManager::PaintRoom($roomId, '607', '111');
break;
case 2:
RoomManager::PaintRoom($roomId, '1901', '301');
break;
case 3:
RoomManager::PaintRoom($roomId, '1801', '110');
break;
case 4:
RoomManager::PaintRoom($roomId, '503', '104');
break;
case 5:
RoomManager::PaintRoom($roomId, '804', '107');
break;
}
//die('createRoom Result: ' . $roomId);
dbquery("UPDATE users SET home_room = '" . $roomId . "', newbie_status = '1' WHERE id = '" . USER_ID . "' LIMIT 1");
//$forwardType = 2;
//$forwardId = $roomId;
}
else
{
header("Location: " . WWW . "/client?createRoom=" . rand(0, 5));
exit;
}
}
else if (isset($_GET['forwardType']) && isset($_GET['forwardId']) && is_numeric($_GET['forwardType']) && is_numeric($_GET['forwardId']))
{
$forwardType = intval($_GET['forwardType']);
$forwardId = intval($_GET['forwardId']);
if ($forwardType >= 3 || $forwardType <= 0)
{
return;
}
}
if ($users->GetUserVar(USER_ID, "newbie_status", false) == "1")
{
dbquery("UPDATE users SET newbie_status = '2' WHERE id = '" . USER_ID . "' LIMIT 1");
}
$users->CheckSSO(USER_ID);
$tpl->Init();
$client = new Template('page-client-r63');
$client->SetParam('info_host', '127.0.0.1');
$client->SetParam('info_port', '21');
$client->SetParam('flash_base', '%www%/gordon/RELEASE63-30321-30315-201011261026_5c1cea64af7b6d2573b0d9936b1fa1ad/');
$client->SetParam('flash_client_url', '%www%/client');
$client->SetParam('habbo10_swf', '%www%/gordon/RELEASE63-30321-30315-201011261026_5c1cea64af7b6d2573b0d9936b1fa1ad/Habbo10'.$habbo10.'.swf');
$client->SetParam('external_flash_texts', '%www%/gamedata/external?id=external_flash_texts'.$lang);
if (isset($_GET['forceTicket']) && $users->HasFuse(USER_ID, 'fuse_admin'))
{
$client->SetParam('sso_ticket', $_GET['forceTicket']);
}
else
{
$client->SetParam('sso_ticket', $users->GetUserVar(USER_ID, 'auth_ticket', false));
}
$tpl->AddTemplate($client);
$tpl->Output();
?>
## 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=12345
db.name=uberdb
## MySQL pooling setup (controls amount of connections)
db.pool.minsize=5
db.pool.maxsize=30
## Game TCP/IP Configuration
game.tcp.bindip=127.0.0.1
game.tcp.port=7575
game.tcp.conlimit=500
## MUS TCP/IP Configuration
mus.tcp.bindip=127.0.0.1
mus.tcp.port=6565
mus.tcp.allowedaddr=127.0.0.1
## Client configuration
client.ping.enabled=0
client.ping.interval=0
localhost don't work on mine pc and wtf is ubercms
xD
(sorry for my bad english. I'm from the netherlands)
<?php
$name = $_POST["name"];
$type = $_POST["type"];
$message = $_POST["message"];
if($type == "1"){
echo "We will get back to your support issue soon, $name.";
include "includes/supportsql.php";
mysql_query("INSERT INTO `support` ( `name` , `type` , `message` ) VALUES ( '$name' , '$type' , '$message')")
or die ("Could not insert into database.");
} else {}
if($type == "2"){
echo "Thank you for sending in your enquiry, $name. We will get back to you shortly.";
include "includes/supportsql.php";
mysql_query("INSERT INTO `support` ( `name` , `type` , `message` ) VALUES ( '$name' , '$type' , '$message')")
or die ("Could not insert into database.");
} else {}
if($type == "3"){
echo "Thank you for your complaint, $name. We will look into it shortly.";
include "includes/supportsql.php";
mysql_query("INSERT INTO `support` ( `name` , `type` , `message` ) VALUES ( '$name' , '$type' , '$message')")
or die ("Could not insert into database.");
}
?>
I cant open the tebbocms link
help :L