• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Arcturus home room

Newbie Spellweaver
Joined
Sep 16, 2012
Messages
74
Reaction score
14
Hello,

I am trying to add a home room to my Arcturus Hotel, but it won't work.
How can I make the home room work?

Thanks!

Love,

Elissatje
 
Junior Spellweaver
Joined
May 3, 2009
Messages
173
Reaction score
134
Change 'hotel.home.room' value in emulator_settings to the room id you want.

This works only for users who did not choose a home room
 
Upvote 0
Not so spooky...
Loyal Member
Joined
May 22, 2010
Messages
1,017
Reaction score
276
You could use something like this in your client.php
<?php
if(!isset($_SESSION['user']['username']))

/* Room Forwarding */
$roomId = mysql_real_escape_string(intval($_GET['roomId']));

$username = $_SESSION['user']['username'];
$useridd = $_SESSION['user']['id'];
$query = mysql_query("UPDATE users SET home_room = '$roomId' WHERE username = '$username' AND id = '$useridd'");
mysql_query("UPDATE users SET home_room = 'ROOM ID HERE' WHERE id = '".$_SESSION['user']['id']."'") or die(mysql_error);
}

?>
 
Upvote 0
Back
Top