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 ➜ SMAUG coding ➜ Vnum Help?

Vnum Help?

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


Posted by Microp   USA  (68 posts)  Bio
Date Fri 22 Mar 2002 10:29 PM (UTC)
Message
(I'm using offline editor "Area Editor".) I'm trying to change the vnum range in an area on my game, yet whenever I try I get the following..
"Your area has mud programs, but you have not loaded all of the following files: commands.dat, socials.dat, and skills.dat"

How do I load these .dats, and what are they for?
Top

Posted by Nick Gammon   Australia  (23,165 posts)  Bio   Forum Administrator
Date Reply #1 on Sat 23 Mar 2002 02:25 AM (UTC)
Message
The Area Editor, unlike some other offline editors, will renumber your mob programs as well as the vnums in the area itself.

In order to do that it has to be able to parse the programs (make sense of them). For that to be possible it needs to know what commands (eg. run), socials (eg. smile) and skills (eg. kick) that you might be using.

Those .dat files will be in the SMAUG "system" folder (not the Windows "system" folder) under the names you gave.

To load them, go to the Skills, Commands and Socials menus, and use the "load" command (top one) in each case to load each of those files.

You can save time in future by setting the paths to those files in File -> Preferences.

Then the renumber should work.

- Nick Gammon

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

Posted by Microp   USA  (68 posts)  Bio
Date Reply #2 on Sat 23 Mar 2002 02:53 AM (UTC)
Message
Thanks for the help, I really appreciate it :)

Microps feels as if he has met a celebrity (Mr. Gammon.)

So what I do is this ..

>skills >load skills >smaugconfig.dat
Then do the same thing for commands and socials?

That's cake!

Whenever I alter to vnums, I have to do this?

I'm a bit unclear on that part.

On the tree menu in "Area", if I change the vnums there (low->high), it will alter ALL the vnums throughout the entire Area file (all mobs, obs, and rooms vnums)?


On an unrelated note, the programs (look_prog etc), is there anyplace I could go that would explain what each does, and maybe give me a list of the code for each?
Top

Posted by Nick Gammon   Australia  (23,165 posts)  Bio   Forum Administrator
Date Reply #3 on Sat 23 Mar 2002 03:23 AM (UTC)
Message
Quote:

So what I do is this ..

>skills >load skills >smaugconfig.dat
Then do the same thing for commands and socials?


No, you do this ...

>skills >load skills> skills.dat
>socials >load socials> socials.dat
>commands >load commands> commands.dat

Those files didn't come with Area Editor, they came with SMAUG, look for them there.

Quote:

Whenever I alter to vnums, I have to do this?


No, go to the File menu > Preferences.

On the first screen, browse for the three files (skills.dat, socials.dat, commands.dat) in the appropriate boxes. Then they will be loaded every time you start Area Editor, and you won't have to do it again.

Quote:

On the tree menu in "Area", if I change the vnums there (low->high), it will alter ALL the vnums
throughout the entire Area file (all mobs, obs, and rooms vnums)?


No, that only changes the allowed ranges. They are auto-detected as the area is read in, as they are not in the area file. Changing them will not affect the area at all.

To renumber the area, go to the Area menu -> Renumber.

Quote:

On an unrelated note, the programs (look_prog etc), is there anyplace I could go that would
explain what each does, and maybe give me a list of the code for each?


Look in the "doc" directory of the SMAUG download. Then look at some of the links I gave in the forum under "SMAUG Server" section.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
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.


16,014 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.