Register forum user name Search FAQ

Gammon Forum

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 ➜ Adding Color

Adding Color

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Yourdrunkendad   (35 posts)  Bio
Date Sat 23 Aug 2003 03:36 AM (UTC)
Message
I'm using the smaug1.4a_mxp.tgz that I got from this site.
I've tried to add a few snippets designed to allow greater use of colors, however they are designed for stock smaug and do not work with this copy.
Is there a snippet, piece of code, or walkthrough somewhere, that achieves this for this version of the codebase?

Shampoo is for sissies real men use poo*
[werd]thewerd.com "Smacking Your Mom Then Running Away"
Top

Posted by Boborak   USA  (228 posts)  Bio
Date Reply #1 on Sat 23 Aug 2003 05:05 AM (UTC)
Message
Which particular snippets are you trying to add. I don't believe many snippets have been made specifically for Nick's version of SMAUG. However most SMAUG snippets can be added to about any other SMAUG release with only minor changes, depending on what that release already incorporates and the particular scope of the snippet. After all, C code is C code ;-)
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #2 on Sat 23 Aug 2003 07:30 AM (UTC)
Message
My version is really stock SMAUG with comparatively few changes, mainly to the comm.c module which is where the TCP/IP stuff is.

Snippets in the form of patches or similar should work in most cases.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Yourdrunkendad   (35 posts)  Bio
Date Reply #3 on Sat 23 Aug 2003 01:28 PM (UTC)
Message
Perhaps you could help me.. I want to add colors to the who list and to this part when you type eq.
<worn on finger>
<worn on finger>
<worn around neck>

Shampoo is for sissies real men use poo*
[werd]thewerd.com "Smacking Your Mom Then Running Away"
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #4 on Sun 24 Aug 2003 05:14 AM (UTC)
Message
The code to do the sending is in act_info.c, maybe change the send_to_char to send_to_char_color.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
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,435 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.