Adding Color

Posted by Yourdrunkendad on Sat 23 Aug 2003 03:36 AM — 5 posts, 21,016 views.

#0
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?
USA #1
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 ;-)
Australia Forum Administrator #2
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.
#3
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>
Australia Forum Administrator #4
The code to do the sending is in act_info.c, maybe change the send_to_char to send_to_char_color.