In this second part of making a simple MUD, we will try to add simple logging to our server. Logging is used to output information from the server, that can be read by an administrator in case of some problem.
While working on part 2, I noticed that I had forgotten one thing in part 1: Object file dependencies. Each object file compiled by the
Makefile depends on its source file of course, but most of the time of one or more header files as well. So when a header file is changed, all object files that depend on that header file will be built and the whole application linked again.
In this first part of making Tutorial MUD,I will set up the build environment and create a set of makefile that will be used to build the server.
I don’t know how many people still makes MUD servers, or want to make their own MUD server, but I’m guessing it must be more than me. Some of those people might want to make a server, but just don’t know how.
Don’t worry, in this series I will create a simple MUD server in C++, while describing each and every step of the way for people to get a better understanding of what goes into a MUD server and how to make one.