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
➜ Item Connection snippet and Coloring channels
|
Item Connection snippet and Coloring channels
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Camulos
Canada (17 posts) Bio
|
| Date
| Sat 03 Dec 2005 08:37 AM (UTC) |
| Message
| Ahoy...
I'm using an essentially stock SMAUG mud, and have had the item connection snippet up and running for quite a long time now. Unfortunately we've only just discovered a rather strange bug wherein the use of 'connect item1 item2' will remove ALL instances of both item1 and item2 from your inventory, instead of just one of each.
I'm not particularly proficient as a coder, I basically just install snippets and tweak minor things.
My second problem is that I can't for the life of me figure out how to allow the use of ANSI color in channels, object descriptions, etc...
I've tried changing all the send_to_char's into send_to_char_color, but it hasn't made any noticable impact.
Any assistance with either issue would be much appreciated. | | Top |
|
| Posted by
| Zeno
USA (2,871 posts) Bio
|
| Date
| Reply #1 on Sat 03 Dec 2005 03:54 PM (UTC) |
| Message
| You just need to add the line:
Before the item extracts in the code. You'll need to do that code for both the connect items.
If you follow the doc that explains how to do that, it'll work fine. I've done it in the past.
Although, why not use FUSS? |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | | Top |
|
| Posted by
| Camulos
Canada (17 posts) Bio
|
| Date
| Reply #2 on Fri 09 Dec 2005 05:03 AM (UTC) |
| Message
| That worked, and we've switched to FUSS and installed the snippet again, heh.
Thanks for the help. | | Top |
|
| Posted by
| Zeno
USA (2,871 posts) Bio
|
| Date
| Reply #3 on Fri 09 Dec 2005 01:48 PM (UTC) |
| Message
| | You probably realized this already, but I meant separate_obj. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.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.
14,561 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top