Top Mud Sites Forum Return to TopMudSites.com
Go Back   Top Mud Sites Forum > Mud Development and Administration > MUD Coding
Click here to Register

Reply
 
Thread Tools
Old 03-15-2010, 03:13 PM   #1
Hygelac
New Member
 
Join Date: Jun 2009
Posts: 3
Hygelac is on a distinguished road
Recommend a C++ codebase

What are some good C++ MUD codebases. I am looking for codebases that use STL or Boost, rather than reimplementing low level system functionality.

Also. How do i get threads to display oldest to newest on this forum. The oldest thread should be on the top not the bottom.
Hygelac is offline   Reply With Quote
Old 03-15-2010, 04:06 PM   #2
Newworlds
Legend
 
Join Date: Aug 2007
Name: NewWorlds
Home MUD: New Worlds
Posts: 1,425
Newworlds will become famous soon enoughNewworlds will become famous soon enough
Re: Recommend a C++ codebase

In your User Profile go to Edit Options then down the page a bit you will see an option to select Thread order <newest first> etc.
Newworlds is offline   Reply With Quote
Old 03-16-2010, 01:22 AM   #3
Realedazed
Member
 
Join Date: May 2002
Location: AZ
Home MUD: Armageddon
Home MUD: Harshlands
Home MUD: DartMUD
Posts: 157
Realedazed is on a distinguished road
Send a message via AIM to Realedazed Send a message via Yahoo to Realedazed
Re: Recommend a C++ codebase

You can check this link:

There's a long list of different codebases. There's a bunch in C++. I'm still learning, so I can't be too much more help. But I hope that cna point you in the right direction.
Realedazed is offline   Reply With Quote
Old 03-16-2010, 06:48 AM   #4
Hygelac
New Member
 
Join Date: Jun 2009
Posts: 3
Hygelac is on a distinguished road
Smile Re: Recommend a C++ codebase

Thank you for your quick reply. That list was very helpful and I used it as my starting point when I started looking for a better mud engine. That list is also woefully outdated. Several of the c++ muds I have evaluated are not even on that list. MudBytes has a far more comprehensive of over 2000 entries (click on the directory headings at the top for more items).

I've ported the Xenobia code base, a derivative of AFKMud 1.63 (c source), to compile under g++. Now I am going to integrate AFKMud 2.11 (c++ source) back into my code base. Here I have three options:Now I've looked into murk++ and it is good. It uses SQLite as the db and is well written c++ code. Unfortunately it's very small and does not have all the features of AFK. So I am left with the task of rewriting much of the functionality I need.

Ideally I would like to find a code-base thatI'm asking for recommendations. What would you do/use given my situation.

Thanks in advance.

btw Feel free to check out Xenobia at

Last edited by Hygelac : 03-16-2010 at 06:51 AM. Reason: hmm, realized the lists did not get parsed automatically
Hygelac is offline   Reply With Quote
Old 03-19-2010, 04:00 AM   #5
Samson
Member
 
Join Date: Apr 2002
Location: United Socialist States of America
Home MUD: SmaugMuds.org
Home MUD: Arthmoor MUD Hosting
Posts: 249
Samson is on a distinguished road
Re: Recommend a C++ codebase

You should probably consider using 2.1.4 as your platform rather than 2.1.1. There were a number of additional bugfixes applied that folks found.

Also, the reason I haven't put out a C++ MUD is because Alsherok closed down. Unless you meant something else. The work on getting AFKMud completely over into C++ code sort of fell apart after I lost interest in continued development on it. The first round of conversions to get std::string done took far too long and sapped much of the motivation I had to keep going. It was especially trying since GNU made several compiler updates that got progressively more strict in what they'd accept. The infamous const char* stuff you've probably seen talked about.

Unfortunately I'm not really aware of any recent full-featured C++ bases out there that are actually completely C++. AFKMud is caught about halfway in between right now and isn't likely to get much farther.
Samson is offline   Reply With Quote
Old 03-22-2010, 05:22 AM   #6
Hygelac
New Member
 
Join Date: Jun 2009
Posts: 3
Hygelac is on a distinguished road
Re: Recommend a C++ codebase

Thanks for the heads up. I was not even aware that version 2.1.4 existed.

Yea, I now what you mean about frustrating compiler standards. It took me close to 40 hours to make AFK 1.6.3 compile in g++. Almost all of that was fixing const correctness.

Ok, fair enough. AFK is a great code base. I'll merge Xenobia into AFK 2.1.4 and write any additional functionality I need. The std::string is the most important part anyways, since the majority of the code does text processing. The logic code does not have to change much, mostly changing data types. At this point, I might as well forget about refactoring the data structures and globals into a tighter scope. I'll cross that bridge if I have to.
Hygelac is offline   Reply With Quote
Reply


Thread Tools


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -4. The time now is 10:21 PM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Style based on a design by Essilor
Copyright Top Mud Sites.com 2022