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
➜ Running the server
➜ Problems with aassign/savearea and vnum ranges
Problems with aassign/savearea and vnum ranges
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Toad
(6 posts) Bio
|
Date
| Sat 17 Jan 2004 03:20 AM (UTC) Amended on Sat 17 Jan 2004 03:21 AM (UTC) by Toad
|
Message
| Anyway I figured out through trial and error that my aassign/savearea isnt saving rooms/zones. Yet foldarea is. So half my olc problem is solved. Next question for you guys. Is there anyway to save the mobs/objects, besides doing what I am now? Any help would be appreciated. I checked the boards but couldn't find anything referring to this. Anyway thanks again. | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #1 on Sat 17 Jan 2004 03:38 AM (UTC) |
Message
| According to the online help, you should aassign area-name, make your changes then:
aassign none
foldarea (name)
What is wrong with doing that? It seemed to work OK for me. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Toad
(6 posts) Bio
|
Date
| Reply #2 on Sat 17 Jan 2004 04:56 AM (UTC) |
Message
| Ok here's what i did:
test.are is the area file.
I assigned the vnum ranges 25000-25050 for rooms, obj, mobs.
aassign test.are
mcreate 25000 Doug from R&D
aassign none
foldarea test.are
reboot mud now
Startup mud
minvoke doug
Log: Abel: minvoke doug
No such mobile exists.
Sorry to be such a newb. I am a ANSI/PL SQL programmer by trade, not a c programmer. Also I have played muds for years but this is the first time running/creating one. Anyway any help you can give is once again very much appreciated.
Thanks,
Todd | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #3 on Sat 17 Jan 2004 05:36 AM (UTC) |
Message
| In your area folder is a file called area.lst. The area file name needs to be inside that. Is it? |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Toad
(6 posts) Bio
|
Date
| Reply #4 on Sat 17 Jan 2004 06:09 AM (UTC) |
Message
| Yeah it's in there. I have tested on many areas, and none save objects or mobiles. | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #5 on Sat 17 Jan 2004 06:54 AM (UTC) |
Message
| OK, I see the problem. I got your example to work with a few extras. :)
Type "help massign" and you see this:
help massign
RASSIGN MASSIGN OASSIGN
Syntax: rassign
oassign
massign
> Steps for creating a new area from scratch;
> 1. checkvnum rooms low_vnum hi_vnum
> checkvnum objects low_vnum hi_vnum
> checkvnum mobs low_vnum hi_vnum
> (make sure the vnums don't overlap another area)
> 2. rassign (person) low_vnum hi_vnum
> massign (person) low_vnum hi_vnum
> oassign (person) low_vnum hi_vnum
> 3. mset (person) aloaded yes
> 4. goto low_vnum
> goto hi_vnum
> 5. savea
> 6. save
>
> This should create a new area listed as '{PROTO} (Person)'s area in
> progress', with the file name '(person).are' and it should load up after
> rebooting the MUD with 'loadarea' or 'loadarea (person).are' if it's not
> your area.
NEVER do this to someone who has an area assigned to them. This would
change the range for the area they have assigned and wipe out the area.
The problem with your example as given is that it doesn't know your mob is in your area.
If you type "zones" you see this:
zones
test.are | Rooms: 0 - 0 Objs: 0 - 0 Mobs: 0 - 0
So, when you save the area, it only saves mobs in the vnum range 0 to 0. Thus your mob isn't saved.
You need the commands:
rassign self 25000 25050
massign self 25000 25050
oassign self 25000 25050
Then when you type "zones" you should see:
zones
test.are | Rooms: 25000 - 25050 Objs: 25000 - 25050 Mobs: 25000 - 25050
Then, folding the area saves the mobs, etc.
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Toad
(6 posts) Bio
|
Date
| Reply #6 on Sat 17 Jan 2004 07:21 AM (UTC) |
Message
| Thanks a lot Nick, you were a big help. Much appreciated. | 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.
20,682 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top