Im using Smaug 1.4 I believe, not FUSS. I want to make a room program that when (12 pm) comes, the door to the south, will close and lock, and when (6 am) comes, the door to the south will unlock and open. Can anyone help me?
HEEELP.
Posted by Manakra on Mon 18 Apr 2005 06:15 PM — 11 posts, 38,399 views.
This isn't a coding question, it's a building question :/
Ah well.
This should be pretty obvious from reading the smaug help files, but:
In the room, type:
rpedit add time 24
close south
lock south
done
rpedit add time 6
unlock south
open south
done
However, the supermob can't lock/unlock doors without a key in stock smaug, if I remember correctly.
So you'll either want to add a check that'll allow it to do so, and do so invisibly, or have it load the key, and add a check to make it lock the door invisibly, or instead make it an mprog performed by a mob with the key in its inv.
:P.
Ah well.
This should be pretty obvious from reading the smaug help files, but:
In the room, type:
rpedit add time 24
close south
lock south
done
rpedit add time 6
unlock south
open south
done
However, the supermob can't lock/unlock doors without a key in stock smaug, if I remember correctly.
So you'll either want to add a check that'll allow it to do so, and do so invisibly, or have it load the key, and add a check to make it lock the door invisibly, or instead make it an mprog performed by a mob with the key in its inv.
:P.
One, What Smaug help files? heh. Two, thanks for your help.
Open up help.are in your areas folder in textpad/area editor.
Everything you need to know about building's in there.
Cheers.
Everything you need to know about building's in there.
Cheers.
I have to ask: Why 1.4(a) over FUSS?
FUSS is a much better place to start, especially with some of the nasty bugs in 1.4. Samson also updated the reset system in FUSS 1.6 so if you're just starting up it would probably be a good idea to go with that instead. My $.02 anyway.
The prog question seemed to be answered pretty well already. I'll second the suggestion to do this with mob progs versus room progs, because that's much simpler and there's no issues with the key because you can always equip the mob with it. Actually a bit more realistic that way, since you can kill the guard and unlock the door. ;)
What are smaug help files? Try doing a "help <command>" in the game. There's actually quite a bit of information in there if you take the time to go through it.
Hope that helps!
FUSS is a much better place to start, especially with some of the nasty bugs in 1.4. Samson also updated the reset system in FUSS 1.6 so if you're just starting up it would probably be a good idea to go with that instead. My $.02 anyway.
The prog question seemed to be answered pretty well already. I'll second the suggestion to do this with mob progs versus room progs, because that's much simpler and there's no issues with the key because you can always equip the mob with it. Actually a bit more realistic that way, since you can kill the guard and unlock the door. ;)
What are smaug help files? Try doing a "help <command>" in the game. There's actually quite a bit of information in there if you take the time to go through it.
Hope that helps!
What? FUSS 1.6?
I couldnt download the compiler to get FUSS at the point of my questioning, but I found a faster server, got it to compile, and now am Using fuss. I decided the mob prog wouldve worked best, best like you pointed out, its more realistic.
Satsui: "What? FUSS 1.6?"
I think that'll need just a smidgen more elaboration. I know I'm confused. Are you just unfamiliar with that release or did part of the post get chopped off?
I think that'll need just a smidgen more elaboration. I know I'm confused. Are you just unfamiliar with that release or did part of the post get chopped off?
Ah. I'm assuming it's SmaugFuss v1.6 for Smaug1.4a..
not a fixed up version of Smaug1.6 :P
not a fixed up version of Smaug1.6 :P
Quote:
Ah. I'm assuming it's SmaugFuss v1.6 for Smaug1.4a..
not a fixed up version of Smaug1.6 :P
Ah. I'm assuming it's SmaugFuss v1.6 for Smaug1.4a..
not a fixed up version of Smaug1.6 :P
FUSS = Fixed Up Smaug Source, of which the present version is 1.6. There is no SMAUG 1.6 that I know of, and hence no fixed up version thereof.
I bumped the version on the FUSS package to 1.6 when the new reset code went in. This was to distinguish it from the 1.4 packages that don't have this, and are no longer being maintained. Aside from that the code is the same.
As advised it would be best to start from the 1.6 package especially if beginning new. All of the more recent fixes are only being applied to the 1.6 code and include a few exploits that were found.
If you're looking for where to get it, it can be found at www.smaugmuds.org
As advised it would be best to start from the 1.6 package especially if beginning new. All of the more recent fixes are only being applied to the 1.6 code and include a few exploits that were found.
If you're looking for where to get it, it can be found at www.smaugmuds.org