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
➜ stuff
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Ellissir
(4 posts) Bio
|
Date
| Wed 16 Jan 2002 08:44 PM (UTC) |
Message
| Hi!
It's me again...
1) Now I need a no_sleep flag. Can anybody please help how to make a flag for a room? When it is set the player can't sleep or rest in that room. I'm trying to force the players to sleep in inns or their own houses.
2) Can I make a spell/skill which will "tie" a player so he can't move? Can anybody help, please? This spell/skill will by only used by immortals...
3) Is there a bank code? Or I will have to make something like a locker so the players store their coins in a "bank" which is actually a locker?
4) Is there a trigger for mobs which will trigger when a player gives the mob a specified object (for quests or weaponsmiths)?
5) Can I change the maximum vnums? It is somewhere around 32000... I need more. Don't ask anything :))
6) And something funny... How to make a character drunk when he drinks too much alcoholic drinks?
Thanks...
Is anybody interested for developing such, how are they called, snippets's? Please e-mail me....
Ellissir | Top |
|
Posted by
| Cirus
(22 posts) Bio
|
Date
| Reply #1 on Fri 07 Mar 2003 02:43 PM (UTC) |
Message
| ok on questions 4 and 5 I can offer some help
[4.] like I said earlier I have been experimenting with speech prog and it or it dose in swr 1.0 wich is a smaug dirivtive reconigzes emotes in the speech prog so I have been writeing speech progs that have the action in them like so
opedit or rpedit or mpedit add speech <emoted action>
this usualy works for me
hope that helps
[5.] The Below Modification is how I changed my max vnums in my mud hope it works for you
hum I tried pasteing the entire text file here but it was too big
hum here is the address
http://www.alsherok.net/Code/2billion.txt
|
CiRuS ThE ViRuS
Star Wars Spiral Void
wildcat1245@up-link.net | Top |
|
Posted by
| Meerclar
USA (733 posts) Bio
|
Date
| Reply #2 on Fri 07 Mar 2003 07:14 PM (UTC) |
Message
|
Quote:
1) Now I need a no_sleep flag. Can anybody please help how to make a flag for a room? When it is set the player can't sleep or rest in that room. I'm trying to force the players to sleep in inns or their own houses.
Not horribly difficult, and you don't necessarily need a no_sleep flag to accomplish this. If you have a house and/or inn room flag of some kind you can just add a check for the room being a house or inn in the do_sleep function.
If you don't have either of those flags its a bit more involved but still nothing impossible to code, though reflaging every room mudwide is gonna be a stone biatch. Search for the locations of an existing room flag, indoors for instance, and add a new flag to the end of the tables it appears in, nosleep or whatever you choose to call it. Then add the same check I talked about a earlier in do_sleep but you check against the room being nosleep and keep them from sleeping there.
Quote:
2) Can I make a spell/skill which will "tie" a player so he can't move? Can anybody help, please? This spell/skill will by only used by immortals...
As far as I know, SMAUG should carry the freeze command as part of its standard command package. If not, you can always just set their movement into heavy -numbers and theyre stuck.
Quote:
3) Is there a bank code? Or I will have to make something like a locker so the players store their coins in a "bank" which is actually a locker?
There are bank codes out there, most of which will need some alteration to work. Check out www.kyndig.com for several bank snipets to work with.
Quote:
4) Is there a trigger for mobs which will trigger when a player gives the mob a specified object (for quests or weaponsmiths)?
Actually, as long as the mprog engine handles it, the GIVE trigger can be triggered by a specific vnum and I've used it for some very ontricate mob driven quests.
Quote:
5) Can I change the maximum vnums? It is somewhere around 32000... I need more. Don't ask anything :))
Again, www.kyndig.com has several versions of this for several codebases, Im sure youll find something to meet your needs.
Quote:
6) And something funny... How to make a character drunk when he drinks too much alcoholic drinks?
Depends on how you intend to implement this one actually. Ive seen several versions on several codebases, some very good, some very cheesy. Kyndig.com has several veriations on this idea as well if you need ideas. |
Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.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.
11,794 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top