SMAUG Coding Tutorial
By Gangien (gangien@hotmail.com)
Homepage http://tdod.org/gangien
Introduction
This tutorial is intended
for those who have some familiarity with C or at the very least programming
experience. I have been coding on a mud
for the past 5+ years so I think I know a thing or two, though I’m sure there’s
lots about SMAUG I have yet to learn. Though this will be centered on coding for a SMAUG mud, it can
probably be applied to any mud, but the functions and code samples will
probably not work without a little bit of modification. If someone would like to ‘port’ my tutorial
to another code base, I’ll gladly post it here.
What this is not, this is
not a learn C tutorial. I assume that
you have a basic understanding of C. I
will explain pointers a little bit since they seem to confuse people, but
beyond that, I’ll assume you know how to use C. This is also not a guide for installing SMAUG or other code
bases, or how to compile them. I assume
that you have a working copy of SMAUG and that you know how to compile it.
If you wish to post this tutorial someplace else, I hope that you will at least email me. I have no problems with it being anywhere else, as long as the credit for me writing it is kept, and my email/homepage address is kept.