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
➜ Six-ish Easy Questions
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Npp83
(16 posts) Bio
|
Date
| Sat 15 May 2010 06:23 PM (UTC) |
Message
| Hey guys, I am using SWRFUSS 1.1.
1. What format are player/admin files saved as?
2. What is a good editor to edit these files with without corrupting them?
3. Can you edit the files and save them while the game is still up? AND do you have to have the player logout while saving them? Do you need to do a make to update?
4. Where is the code saved at for immortals? I.E. I want to change MAX_LEVEL for imms.
5. Where can I find a resource online for how commands are organized? For instance, I just started this SWR, and I dont know what the first step to assigning an area to myself is and how to edit it properly. Is there a list of steps somewhere that I can memorize to assigning, building and saving areas?
6. Is there a way to wipe areas completely (start from scratch)? If so, where can I find a resource on it? | Top |
|
Posted by
| David Haley
USA (3,881 posts) Bio
|
Date
| Reply #1 on Sat 15 May 2010 10:30 PM (UTC) |
Message
|
Quote: 1. What format are player/admin files saved as?
Plain-text (basically).
Quote: 2. What is a good editor to edit these files with without corrupting them?
The best way is to edit things in-game using the game commands. If you must, any text editor will do as long as you're careful.
Quote: 3. Can you edit the files and save them while the game is still up? AND do you have to have the player logout while saving them? Do you need to do a make to update?
You can edit pfiles as long as the player is not logged in. (Otherwise, when they save or quit, your edits will be squashed.)
You don't need to recompile to update pfiles.
Quote: 4. Where is the code saved at for immortals? I.E. I want to change MAX_LEVEL for imms.
I think there was a thread about this quite recently; try searching for "max level" or something like that.
Quote: 5. Where can I find a resource online for how commands are organized? For instance, I just started this SWR, and I dont know what the first step to assigning an area to myself is and how to edit it properly. Is there a list of steps somewhere that I can memorize to assigning, building and saving areas?
Here's one for general SMAUG commands:
http://www.gammon.com.au/forum/bbshowpost.php?bbtopic_id=115
Many SWR commands are similar.
Quote: 6. Is there a way to wipe areas completely (start from scratch)? If so, where can I find a resource on it?
Yes, but it involves some trickery. You can "start over" by simply creating new rooms that don't link to the old ones, and gradually remove the old ones. You need to be careful when removing old areas because there can be cross-references in the vnums, and the code can refer to certain vnums explicitly (such as the starting room, respawn room, corpse object vnums, etc.). |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | 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.
12,761 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top