Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Entire forum
➜ SMAUG
➜ SMAUG coding
➜ Changing default rooms
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Bort
(1 post) Bio
|
Date
| Mon 31 Aug 2009 11:46 PM (UTC) |
Message
| I'm running SmaugFUSS1.9. I'm not good at coding or programming. I'd like to change the default room for when you recall or resurrect after death. How would I do that? Thanks. | Top |
|
Posted by
| Hanaisse
Canada (114 posts) Bio
|
Date
| Reply #1 on Tue 01 Sep 2009 12:28 AM (UTC) Amended on Tue 01 Sep 2009 12:29 AM (UTC) by Hanaisse
|
Message
| It's simple enough to do without knowing much coding/programming.
Edit the file mud.h in the src directory. Find the section that starts with
/* Well known room virtual numbers./
There you'll find where the recall and death rooms are defined.
#define ROOM_VNUM_TEMPLE 21001 (<- recall)
#define ROOM_VNUM_ALTAR 21194 (<- death)
Change the vnum to whatever you'd like it to be, make clean, make and reboot the mud. |
aka: Hana
Owner in Training of: Fury of the Gods
alm-dev.org:4000 | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
10,997 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top