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
➜ Silent - Objprograms
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Halomantis
(27 posts) Bio
|
| Date
| Sat 07 Jun 2003 05:50 AM (UTC) |
| Message
| I am writing a item program for endless arrows.
Basically I have an arrow vnum 5 with a get program that when it is pulled out of the quiver forces the char to put the original back in the quiver (freeing up the spot in his inven) and mpoload another arrow vnum 6.
The program works fine with one problem I want to hide the Halomantis puts an arrow in his quiver. I want it to appear as though the quiver has an endless supply.
I found a command that would work wonders on http://webhome.idirect.com/~helspawn/smaug/olc-programs.html. the command is Silent. But it is ROD specific and I have no clue how I could mimic this. Any body out there have any ideas?
Thanks in advance,
James | | Top |
|
| Posted by
| Boborak
USA (228 posts) Bio
|
| Date
| Reply #1 on Mon 09 Jun 2003 10:56 AM (UTC) |
| Message
| Unfortunately, stock smaug doesn't provide much in this aspect, that could help you. Likely the reason the mud you found created a 'silent' command. The MUDPROGS have little control over object 'nesting' or containers, which forces you to use commands like 'put' which in turn has those lovely 'echos' to everyone in the room.
Personally I think the only way this could be done is if you had your own 'silent' command or made your own special version of 'put' to not echo around the char. I don't know of any snippets that do this, but then again I'm not a 'snippet guru' either. Maybe someone else here does *shrug* | | Top |
|
| Posted by
| Meerclar
USA (733 posts) Bio
|
| Date
| Reply #2 on Wed 11 Jun 2003 07:14 AM (UTC) |
| Message
| | Easier solution might be to use a customized extra or v4 flag depending on the obj type and what fields it accepts flags in. Be much much simpler than rewriting the put command to omit the echo in special instances that have to be constantly expanded as similar items are added. |
Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org | | Top |
|
| Posted by
| Boborak
USA (228 posts) Bio
|
| Date
| Reply #3 on Wed 11 Jun 2003 10:30 AM (UTC) |
| Message
| | I was thinking along the lines of an 'mpput' command myself. A trimmed down, silent, specialized version of 'put'. That way you wouldn't have to modify existing commands or objects, just the mprogs. | | 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,157 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top