You search new Rooms?
No Problem xD
I have 3 Room Models to release :
Screenis :
r6313.PNG - Bilder und Fotos kostenlos auf ImageBanana hochladen
r644.PNG - Bilder und Fotos kostenlos auf ImageBanana hochladen
r645.PNG - Bilder und Fotos kostenlos auf ImageBanana hochladen
Go in your database and run this sql command
Now you must restart your Emulator and create a new room without items. Then change the model in rooms, unload the room and ready to use! Juhu! :DCode:INSERT INTO `room_models` (`id`, `door_x`, `door_y`, `door_z`, `door_dir`, `heightmap`, `public_items`, `club_only`) VALUES ('starter_model', 10, 2, 0, 2, 'x555555xxxxxxxxx\r\nx555555xxxx00000\r\nx555555xxx000000\r\nx555555xxxx00000\r\nx555555xxxx00000\r\nx555555432100000\r\nx555555xxxx00000', '', '0'), ('starter2_model', 0, 3, 1, 2, 'xxxxxxxxxxx\r\nx111110000x\r\nx11111x000x\r\n111111x000x\r\nx11111x000x\r\nx11111x000x\r\nx111110000x\r\nx11111x000x', '', '0'), ('starter3_model', 0, 7, 1, 2, 'x22222\r\nx22222\r\nx22222\r\nxxx2xx\r\nxxx1xx\r\nx11111\r\nx11111\r\n111111\r\nx11111\r\nx11111\r\nx11111\r\nx11111\r\nxxx1xx\r\nxxx0xx\r\nx00000\r\nx00000\r\nx00000\r\nx00000', '', '0');
WHEN YOU USE UBERCMS HERE IS A STARTER ROOM TOOL FOR THE NEW ROOM
Copy this Files to htdocs :
new rooms.rar
than go to client.php and change the complete if-line
if ($users->getUserVar(USER_OD, 'newbie_status') == "0")
and that under it to :
IMPORTANT! ONLY THE IF GROUP
Credits :PHP Code:if ($users->getUserVar(USER_ID, 'newbie_status') == "0")
{
if (isset($_GET['createRoom']) && is_numeric($_GET['createRoom']))
{
switch (intval($_GET['createRoom']))
{
default:
case 0:
$roomId = RoomManager::CreateRoom(USER_NAME . "'s Raum", USER_NAME, 'starter_model');
RoomManager::PaintRoom($roomId, '607', '111');
break;
case 1:
$roomId = RoomManager::CreateRoom(USER_NAME . "'s Raum", USER_NAME, 'starter2_model');
RoomManager::PaintRoom($roomId, '607', '111');
break;
case 2:
$roomId = RoomManager::CreateRoom(USER_NAME . "'s Raum", USER_NAME, 'starter3_model');
RoomManager::PaintRoom($roomId, '1901', '301');
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;
}
}
1 % Meth0d for Uber CMS
99 % me for for Room Layouts and the welcome room system!
PS : With a sql code can you make all registered users to newbies! ;D





