Register forum user name Search FAQ

Gammon Forum

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.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ Compiling the server ➜ Altar area

Altar area

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Chris   (37 posts)  Bio
Date Tue 17 Jul 2001 01:15 PM (UTC)
Message
What file contains the Altar area?
Top

Posted by Chris   (37 posts)  Bio
Date Reply #1 on Wed 18 Jul 2001 12:11 AM (UTC)
Message
Where you go when you die?
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #2 on Wed 18 Jul 2001 05:41 AM (UTC)
Message
Quote:

What file contains the Altar area?


I don't know about the "altar area" - do you mean the area with an altar in it?

Use "grep" or "find in files" in your favourite editor to search for such things.

For example, if you are using Cygwin, change to the area directory and type:

grep altar *.are

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #3 on Wed 18 Jul 2001 05:43 AM (UTC)
Message
Quote:

Where you go when you die?


It depends if you are in a clan or not. The code says:


if ( !IS_NPC(ch) && ch->pcdata->clan )
    location = get_room_index( ch->pcdata->clan->recall );

if ( !location )
    location = get_room_index( ROOM_VNUM_ALTAR );

if ( !location )
    location = get_room_index( 1 );



Thus it appears that if you are in a clan you go to the clan recall room, otherwise room ROOM_VNUM_ALTAR (21194), otherwise room 1.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Chris   (37 posts)  Bio
Date Reply #4 on Wed 18 Jul 2001 01:19 PM (UTC)
Message
Its kind a strange,because i deleted almost all the .area files,but i kept newacad.are,gods.are,limbo.are,help.are,newdark.are,newgate.are,ice-help.are and imc-help.are but i cant find the altar in any of them?!
Top

Posted by Chris   (37 posts)  Bio
Date Reply #5 on Wed 18 Jul 2001 01:20 PM (UTC)
Message
And the strange part it that when i die i wake up at the altar?!?
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #6 on Thu 19 Jul 2001 01:03 AM (UTC)
Message
It's not that strange. If you type 'zones' you see:


limbo.are | Rooms: 1 - 43 Objs: 2 - 99 Mobs: 1 - 99
newgate.are | Rooms: 100 - 199 Objs: 100 - 199 Mobs: 100 - 199
astral.are | Rooms: 800 - 899 Objs: 800 - 899 Mobs: 800 - 899
gods.are | Rooms: 1200 - 1201 Objs: 1200 - 1200 Mobs: 1200 - 1200
srefuge.are | Rooms: 1500 - 1599 Objs: 1500 - 1599 Mobs: 1500 - 1599
pixie.are | Rooms: 2070 - 2099 Objs: 2070 - 2076 Mobs: 2070 - 2073
unholy.are | Rooms: 2101 - 2172 Objs: 2101 - 2150 Mobs: 2101 - 2120
manor.are | Rooms: 2400 - 2499 Objs: 2400 - 2499 Mobs: 2405 - 2484
chapel.are | Rooms: 3405 - 3475 Objs: 3400 - 3430 Mobs: 3400 - 3416
midennir.are | Rooms: 3500 - 3590 Objs: 3500 - 3550 Mobs: 3500 - 3550
grave.are | Rooms: 3600 - 3651 Objs: 3600 - 3613 Mobs: 3600 - 3605
haon.are | Rooms: 6000 - 6156 Objs: 6000 - 6155 Mobs: 6000 - 6117
dwarven.are | Rooms: 6500 - 6554 Objs: 6502 - 6519 Mobs: 6500 - 6517
daycare.are | Rooms: 6601 - 6651 Objs: 6600 - 6647 Mobs: 6600 - 6610
sewer.are | Rooms: 7001 - 7445 Objs: 7190 - 7310 Mobs: 7000 - 7206
redferne.are | Rooms: 7900 - 7918 Objs: 7909 - 7911 Mobs: 7900 - 7900
grove.are | Rooms: 8901 - 8999 Objs: 8900 - 8919 Mobs: 8900 - 8911
Build.are | Rooms: 9500 - 9589 Objs: 0 - 0 Mobs: 0 - 0
export.are | Rooms: 9810 - 9899 Objs: 9810 - 9899 Mobs: 9800 - 9899
newacad.are | Rooms: 10300 - 10499 Objs: 10300 - 10499 Mobs: 10300 - 10499
newdark.are | Rooms: 21000 - 21499 Objs: 21000 - 21435 Mobs: 21000 - 21499
gallery.are | Rooms: 24800 - 24899 Objs: 24800 - 24899 Mobs: 24800 - 24899
Areas listed: 22 Loaded: 22


You can see that room 21194 is in newdark.are (that is in the range 21000 to 21499) and you have kept that area.


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #7 on Thu 19 Jul 2001 01:04 AM (UTC)
Message
And if you look in the newdark.are file you can see the altar:


#21194
The Cathedral Altar~
You are before the cathedral's altar. Those of ill luck or poor faith often
come here to pray to their God for guidance, or chance. An aisle leads back
south through the cathedral, while a large public board lies to the west.
~
0 1319944 0 0 0 0
D2
The walkway leads back to the pews.
~
~
0 -1 21182 0
D3
The public board room of Darkhaven lies to the west.
~
~
0 -1 21174 0
S

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Chris   (37 posts)  Bio
Date Reply #8 on Thu 19 Jul 2001 12:21 PM (UTC)
Message
ok,thanks
Top

Posted by Chris   (37 posts)  Bio
Date Reply #9 on Thu 19 Jul 2001 12:35 PM (UTC)
Message
But can i make a new Altar area an delete the old one?
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #10 on Fri 20 Jul 2001 12:53 AM (UTC)
Message
It's not an area on its own, that's what I've been saying. It is part of newdark.are. You could edit that area in the Area Editor, or Notepad, and change that room, if you want it to say something different.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Chris   (37 posts)  Bio
Date Reply #11 on Fri 20 Jul 2001 01:00 AM (UTC)
Message
I cant open newdark.are,i keeps saying:
"Skills table not loaded-cannot look up skill name"

"Error occured at (linw 1110)'Heal' "'NONE'" "'NONE'"

"Unexspected file format."
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #12 on Fri 20 Jul 2001 03:42 AM (UTC)
Message
Under the File menu -> Preferences, set up the commands.dat, skills.dat and socials.dat files for SMAUG.

Just click the browse button and locate those files (from wherever you put them when you unzipped the server).

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Tenchi   (7 posts)  Bio
Date Reply #13 on Sat 28 Jul 2001 11:46 PM (UTC)
Message
I'm pretty new to the mud too, but I've learned a lot over these 2 years being a newbie (That's a long time for a newbie!), so I'll tell you what I've experienced.

If you're going to actually delete the altar and move it elsewhere, make sure you either keep the same room vnum or edit the code. If you're using smaug, look for "Well known room". On the line, #define ROOM_VNUM_ALTAR, change the number to whatever vnum the new altar will be in.

After that you should be fine.
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.


29,577 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.