Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

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