Debian-based distributions highly enough (ex. (K/X)Ubuntu, G/Knoppix, Xandros). The apt-get/Synaptic system makes installing and updating software unbelievably easy. For the vast majority of users, it's at least as easy using Windows, and that's not something I've always been able to say. Incidentally, I just switched over myself about 2 months ago. I was expecting it to be a pretty rough transition, but it's actually been pretty darn easy.
A new version is available that fixes additional compile errors that have cropped up since then due to changes in the GNU C++ libraries. (Also, now with 100% less 404 errors!)
If you've been using the pre-compiled binaries from my original Nov. 2008 version, there's probably no reason to update them. This is just a minor update to the source to kill some errors involving some <cstring> functions, but you'll need it if you're trying to compile from source.
Note that this version does not compile totally cleanly. Sorry. That may be fixed soon. See the top post for details.
EDIT: When I have time I'll give Arch Linux a shot, I heard it has a superior package management system. *And* it has rolling releases, which is another thing I am really, really missing in Ubuntu.
Of course it's unfair - that's the whole point.
The Adom wiki: everything you don't want to know about Adom.
I thought that I had the .diff file stored somewhere, but unfortunately this does not seem to be the case.
In case someone needed to compile it *now*, I whipped up a quick solution addressing only issues #1 and #3 from the first post, that seems to get it to compile when used with version hosted at http://kiserai.net/adom/sage/, although with many compiler warnings.
EDIT: As the .diff file becomes rubbish after being treated with Windows machine, here is the same thing in plain text:
Just save is as temp_fix.diff and you are all set.Code:diff -u sage-frontend.cc sage-frontend.cc --- sage-frontend.cc 2002-11-20 17:20:03.000000000 +0100 +++ sage-frontend.cc 2010-04-08 23:48:45.000000000 +0200 @@ -15,6 +15,8 @@ #include <sys/stat.h> #include <string> +using namespace std; + char *optarg; int optind, opterr, optopt; diff -u stl.h stl.h --- stl.h 2002-11-20 17:20:03.000000000 +0100 +++ stl.h 2010-04-08 23:48:02.000000000 +0200 @@ -10,11 +10,13 @@ #include <vector> #include <string> -#include <hash_map> +#include <ext/hash_map> #include <list> #include <map> #include <deque> +using namespace std; +using namespace __gnu_cxx; /*--------------------------------------------------------------------------- * STL helpers - common
Last edited by averus; 04-08-2010 at 11:32 PM.
Another version of the patch, but instead of focusing on compiler warnings I decided to add something that always irked me - proper damage display for unarmed combat, for all classes. Unfortunately, my knowledge of C++ is limited, so it's a shabby hack of a patch now. Let me know if it works with your system configuration.
Here is the version 5 of the patch. <<< CURRENT VERSION
I added version 5 of the patch, I believe all of the original issues addressed by Stathol's patch have been resolved here as well.
Last edited by averus; 04-13-2010 at 12:55 AM. Reason: Next version of the patch added.
Whoops. I forgot these were hosted from my home PC, which was recently replaced. I've edited the OP with the new hosting location. This should be more stable since it's a hosted VPS.
Nevertheless, if anything goes wrong with the hosting in the future, just PM me here. I haven't really messed with ADOM in nearly 2 years, so I haven't been following the forums. But I do have it set up to ping my gmail account, so I should see your message within the week, at least. Sorry for taking longer than that to respond this time, Alucard -- I caught a bad cold right after I saw your email, and it took my antihistamine-addled brain a little longer than I intended to remember to update this.
Anyhow, I haven't messed with this patch since my update about 12 months ago, so I don't know if it compiles/runs cleanly on the latest *nixes. Averus's patch may be the better part of valor. Mine was never more than "a shabby hack of patch", either.
Also, if someone wants to mirror these somewhere, I can update the OP with alternative sources. I've been thinking of getting my own VPS lately. If I do, I'll probably make that the primary and let meriwoker be the fallback.
Last edited by Stathol; 04-13-2010 at 04:12 PM.
New version, I peeked at Stathol's sources and tweaked my version appropriately, all the fixes mentioned in the first post are present now. (Except for "Initialized some uninitialized variables in the get_key function of io.cc." - is that one really necessary?)
- the damage for barehanded combat is now displayed properly,
- got rid of the ambigious else statement warning,
- the code just got prettier (and easier to read IMO), all thanks to Artistic Style.
Things to add:
- proper kick damage display for monks. <<< Could not reproduce, probably my mistake.
I don't provide a patch this time, since it would be twice as big as the sources themselves.
Precompiled Linux binaries:
Updated source tarball:
Last edited by averus; 04-13-2010 at 11:19 PM.