Archived

This topic is now archived and is closed to further replies.

MUD programming

This topic is 6164 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

This is a general question so I''ll try to be a bit more specific. First off, how would one going about programming a MUD? I can easily make a program using iostream that makes a single player game of the same nature, but how do you go about making one that reads map data(in .dat or something else?) and client/server features? Would you be using Winsock clients or something else? I don''t know much about multiplayer programming and any tutorials or tips would be great. Thanks

Share this post


Link to post
Share on other sites
I would start by dissecting some source code. If I remember correctly there is a free package here (mud source), that I got to compile. It''s just a place to start

Prairie

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
As far as code bases go, I had good experience using Merc and ROM derivitives. In the code, most MUDs that I''ve seen use C, not C++ which means that you''ll ahve to delve into the wonderful world of standard IO. However, ROM has a descent number of commands that almost let you ignore that fact, such as send_to_char.

Share this post


Link to post
Share on other sites
You can download the circle mud source at http://www.circlemud.org/
which is a more combat based mud.

basiaclly a mud is a kind of telnet server that excepts client and display info to them. So there is a bit of socket coding for accepting telent sessions.

Share this post


Link to post
Share on other sites