Top Mud Sites Forum

Top Mud Sites Forum (http://www.topmudsites.com/forums/index.php)
-   MUD Coding (http://www.topmudsites.com/forums/forumdisplay.php?f=9)
-   -   Recommend a C++ codebase (http://www.topmudsites.com/forums/showthread.php?t=5979)

Hygelac 03-15-2010 03:13 PM

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.

Newworlds 03-15-2010 04:06 PM

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.

Realedazed 03-16-2010 01:22 AM

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.

Hygelac 03-16-2010 06:48 AM

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

Samson 03-19-2010 04:00 AM

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.

Hygelac 03-22-2010 05:22 AM

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.


All times are GMT -4. The time now is 01:29 AM.

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright Top Mud Sites.com 2022