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 Tutorials
How to make R63 | With links|
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="omgwtf" data-source="post: 21173" data-attributes="member: 4104"><p>I have the same problem! ...</p><p>Is it right?:</p><p></p><p>inc.config.php</p><p>[CODE]</p><p><?php</p><p>/*=======================================================================</p><p>| UberCMS - Advanced Website and Content Management System for uberEmu</p><p>| #######################################################################</p><p>| Copyright (c) 2010, Roy 'Meth0d'</p><p>| http://www.meth0d.org</p><p>| #######################################################################</p><p>| This program is free software: you can redistribute it and/or modify</p><p>| it under the terms of the GNU General Public License as published by</p><p>| the Free Software Foundation, either version 3 of the License, or</p><p>| (at your option) any later version.</p><p>| #######################################################################</p><p>| This program is distributed in the hope that it will be useful,</p><p>| but WITHOUT ANY WARRANTY; without even the implied warranty of</p><p>| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</p><p>| GNU General Public License for more details.</p><p>\======================================================================*/</p><p></p><p>$config['Site']['www'] = "http://127.0.0.1";</p><p>$config['Site']['hash_secret'] = "xCg532%@%gdvf^5DGaa6&*rFTfg^FD4\$OIFThrR_gh(ugf*/";</p><p></p><p>$config['MySQL']['hostname'] = "localhost";</p><p>$config['MySQL']['username'] = "root";</p><p>$config['MySQL']['password'] = "12345";</p><p>$config['MySQL']['database'] = "uberdb";</p><p></p><p>$config['MUS']['enabled'] = false;</p><p>$config['MUS']['ip'] = "127.0.0.1";</p><p>$config['MUS']['port'] = 21;</p><p></p><p>?></p><p>[/CODE]</p><p></p><p></p><p>externals.php</p><p>[CODE]</p><p><?php</p><p>/*=======================================================================</p><p>| UberCMS - Advanced Website and Content Management System for uberEmu</p><p>| #######################################################################</p><p>| Copyright (c) 2010, Roy 'Meth0d'</p><p>| http://www.meth0d.org</p><p>| #######################################################################</p><p>| This program is free software: you can redistribute it and/or modify</p><p>| it under the terms of the GNU General Public License as published by</p><p>| the Free Software Foundation, either version 3 of the License, or</p><p>| (at your option) any later version.</p><p>| #######################################################################</p><p>| This program is distributed in the hope that it will be useful,</p><p>| but WITHOUT ANY WARRANTY; without even the implied warranty of</p><p>| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</p><p>| GNU General Public License for more details.</p><p>\======================================================================*/</p><p></p><p>require_once "global.php";</p><p></p><p>$id = '';</p><p></p><p>if (isset($_GET['id']))</p><p>{</p><p> $id = $_GET['id'];</p><p>}</p><p></p><p>switch ($id)</p><p>{</p><p> case "external_variables":</p><p> </p><p> echo @file_get_contents("http://127.0.0.1/gamedata/external?id=external_variables"); </p><p> $get = dbquery("SELECT * FROM external_variables");</p><p> </p><p> while ($ext = mysql_fetch_assoc($get))</p><p> {</p><p> echo clean($ext['skey']) . '=' . clean($ext['sval'], true) . LB;</p><p> }</p><p> </p><p> break;</p><p></p><p> case "external_flash_texts":</p><p> </p><p> echo @file_get_contents("http://127.0.0.1/gamedata/external?id=external_flash_texts"); </p><p> $get = dbquery("SELECT * FROM external_texts");</p><p> </p><p> while ($ext = mysql_fetch_assoc($get))</p><p> {</p><p> echo clean($ext['skey']) . '=' . clean($ext['sval'], true) . LB;</p><p> }</p><p> </p><p> break;</p><p>}</p><p></p><p>?></p><p>[/CODE]</p><p></p><p>client.php</p><p>[CODE]</p><p><?php</p><p>/*=======================================================================</p><p>| UberCMS - Advanced Website and Content Management System for uberEmu</p><p>| #######################################################################</p><p>| Copyright (c) 2010, Roy 'Meth0d' and updates by Matthew 'MDK'</p><p>| http://www.meth0d.org & http://www.sulake.biz</p><p>| #######################################################################</p><p>| This program is free software: you can redistribute it and/or modify</p><p>| it under the terms of the GNU General Public License as published by</p><p>| the Free Software Foundation, either version 3 of the License, or</p><p>| (at your option) any later version.</p><p>| #######################################################################</p><p>| This program is distributed in the hope that it will be useful,</p><p>| but WITHOUT ANY WARRANTY; without even the implied warranty of</p><p>| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</p><p>| GNU General Public License for more details.</p><p>\======================================================================*/</p><p></p><p>define('HIDE_FEEDBACK', true);</p><p></p><p>require_once "global.php";</p><p>require_once "inc/class.rooms.php";</p><p></p><p>if (!LOGGED_IN)</p><p>{</p><p> header("Location: " . WWW. "/login_popup");</p><p> exit;</p><p>}</p><p></p><p>$forwardType = 0;</p><p>$forwardId = 0;</p><p></p><p>$lang = '';</p><p>$habbo10 = '';</p><p></p><p>if (isset($_GET['lang']))</p><p>{</p><p> $lang = $_GET['lang'];</p><p>}</p><p></p><p>switch ($lang)</p><p>{</p><p> default:</p><p> case "en":</p><p></p><p> $lang = "";</p><p> dbquery("UPDATE users SET real_name = 'English' WHERE id = '" . USER_ID . "' LIMIT 1");</p><p> break;</p><p></p><p> case "br":</p><p></p><p> $lang = "_br";</p><p> dbquery("UPDATE users SET real_name = 'Brazilian' WHERE id = '" . USER_ID . "' LIMIT 1");</p><p> break;</p><p></p><p> case "de":</p><p></p><p> $lang = "_de";</p><p> dbquery("UPDATE users SET real_name = 'German' WHERE id = '" . USER_ID . "' LIMIT 1");</p><p> break;</p><p></p><p> case "dk":</p><p></p><p> $lang = "_dk";</p><p> dbquery("UPDATE users SET real_name = 'Danish' WHERE id = '" . USER_ID . "' LIMIT 1");</p><p> break;</p><p></p><p> case "es":</p><p></p><p> $lang = "_es";</p><p> dbquery("UPDATE users SET real_name = 'Spanish' WHERE id = '" . USER_ID . "' LIMIT 1");</p><p> break;</p><p></p><p> case "fi":</p><p></p><p> $lang = "_fi";</p><p> dbquery("UPDATE users SET real_name = 'Finnish' WHERE id = '" . USER_ID . "' LIMIT 1");</p><p> break;</p><p></p><p> case "fr":</p><p></p><p> $lang = "_fr";</p><p> dbquery("UPDATE users SET real_name = 'French' WHERE id = '" . USER_ID . "' LIMIT 1");</p><p> break;</p><p></p><p> case "it":</p><p></p><p> $lang = "_it";</p><p> dbquery("UPDATE users SET real_name = 'Italian' WHERE id = '" . USER_ID . "' LIMIT 1");</p><p> break;</p><p></p><p> case "jp":</p><p></p><p> $lang = "_jp";</p><p> $habbo10 = "_jp";</p><p> dbquery("UPDATE users SET real_name = 'Japanese' WHERE id = '" . USER_ID . "' LIMIT 1");</p><p> break;</p><p></p><p> case "nl":</p><p></p><p> $lang = "_nl";</p><p> dbquery("UPDATE users SET real_name = 'Dutch' WHERE id = '" . USER_ID . "' LIMIT 1");</p><p> break;</p><p></p><p> case "no":</p><p></p><p> $lang = "_no";</p><p> dbquery("UPDATE users SET real_name = 'Norwegian' WHERE id = '" . USER_ID . "' LIMIT 1");</p><p> break;</p><p></p><p> case "se":</p><p></p><p> $lang = "_se";</p><p> dbquery("UPDATE users SET real_name = 'Swedish' WHERE id = '" . USER_ID . "' LIMIT 1");</p><p> break;</p><p>}</p><p></p><p></p><p>if ($users->getUserVar(USER_ID, 'newbie_status') == "0")</p><p>{</p><p> if (isset($_GET['createRoom']) && is_numeric($_GET['createRoom']))</p><p> {</p><p> $roomId = RoomManager::CreateRoom(USER_NAME . "'s kamer", USER_NAME, 'model_s');</p><p></p><p> switch (intval($_GET['createRoom']))</p><p> {</p><p> default:</p><p> case 0:</p><p> </p><p> RoomManager::PaintRoom($roomId, '1701', '601');</p><p> break;</p><p> </p><p> case 1:</p><p> </p><p> RoomManager::PaintRoom($roomId, '607', '111');</p><p> break;</p><p> </p><p> case 2:</p><p> </p><p> RoomManager::PaintRoom($roomId, '1901', '301');</p><p> break;</p><p> </p><p> case 3:</p><p> </p><p> RoomManager::PaintRoom($roomId, '1801', '110');</p><p> break;</p><p> </p><p> case 4:</p><p> </p><p> RoomManager::PaintRoom($roomId, '503', '104');</p><p> break;</p><p> </p><p> case 5:</p><p> </p><p> RoomManager::PaintRoom($roomId, '804', '107');</p><p> break;</p><p> }</p><p></p><p> //die('createRoom Result: ' . $roomId);</p><p> dbquery("UPDATE users SET home_room = '" . $roomId . "', newbie_status = '1' WHERE id = '" . USER_ID . "' LIMIT 1");</p><p> </p><p> //$forwardType = 2;</p><p> //$forwardId = $roomId;</p><p> }</p><p> else</p><p> {</p><p> header("Location: " . WWW . "/client?createRoom=" . rand(0, 5));</p><p> exit;</p><p> }</p><p>}</p><p>else if (isset($_GET['forwardType']) && isset($_GET['forwardId']) && is_numeric($_GET['forwardType']) && is_numeric($_GET['forwardId']))</p><p>{</p><p> $forwardType = intval($_GET['forwardType']);</p><p> $forwardId = intval($_GET['forwardId']);</p><p> </p><p> if ($forwardType >= 3 || $forwardType <= 0)</p><p> {</p><p> return;</p><p> }</p><p>}</p><p></p><p>if ($users->GetUserVar(USER_ID, "newbie_status", false) == "1")</p><p>{</p><p> dbquery("UPDATE users SET newbie_status = '2' WHERE id = '" . USER_ID . "' LIMIT 1");</p><p>}</p><p></p><p>$users->CheckSSO(USER_ID);</p><p></p><p>$tpl->Init();</p><p></p><p>$client = new Template('page-client-r63');</p><p></p><p>$client->SetParam('info_host', '127.0.0.1');</p><p>$client->SetParam('info_port', '21');</p><p></p><p>$client->SetParam('flash_base', '%www%/gordon/RELEASE63-30321-30315-201011261026_5c1cea64af7b6d2573b0d9936b1fa1ad/');</p><p>$client->SetParam('flash_client_url', '%www%/client');</p><p>$client->SetParam('habbo10_swf', '%www%/gordon/RELEASE63-30321-30315-201011261026_5c1cea64af7b6d2573b0d9936b1fa1ad/Habbo10'.$habbo10.'.swf');</p><p>$client->SetParam('external_flash_texts', '%www%/gamedata/external?id=external_flash_texts'.$lang);</p><p></p><p>if (isset($_GET['forceTicket']) && $users->HasFuse(USER_ID, 'fuse_admin'))</p><p>{</p><p> $client->SetParam('sso_ticket', $_GET['forceTicket']);</p><p>}</p><p>else</p><p>{</p><p> $client->SetParam('sso_ticket', $users->GetUserVar(USER_ID, 'auth_ticket', false));</p><p>}</p><p></p><p>$tpl->AddTemplate($client);</p><p></p><p>$tpl->Output();</p><p>?></p><p>[/CODE]</p><p></p><p>uber-config.conf</p><p>[CODE]</p><p></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=localhost</p><p>db.port=3306</p><p>db.username=root</p><p>db.password=12345</p><p>db.name=uberdb</p><p></p><p>## MySQL pooling setup (controls amount of connections)</p><p>db.pool.minsize=5</p><p>db.pool.maxsize=30</p><p></p><p>## Game TCP/IP Configuration</p><p>game.tcp.bindip=127.0.0.1</p><p>game.tcp.port=7575</p><p>game.tcp.conlimit=500</p><p></p><p>## MUS TCP/IP Configuration</p><p>mus.tcp.bindip=127.0.0.1</p><p>mus.tcp.port=6565</p><p>mus.tcp.allowedaddr=127.0.0.1</p><p></p><p>## Client configuration</p><p>client.ping.enabled=0</p><p>client.ping.interval=0</p><p>[/CODE]</p></blockquote><p></p>
[QUOTE="omgwtf, post: 21173, member: 4104"] I have the same problem! ... Is it right?: inc.config.php [CODE] <?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; ?> [/CODE] externals.php [CODE] <?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; } ?> [/CODE] client.php [CODE] <?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(); ?> [/CODE] uber-config.conf [CODE] ## 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 [/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Tutorials
How to make R63 | With links|
Top