Your Makefile doesn't look like mine. Maybe they changed the way it works. In mine I see this near the start:
CC = g++
#PROF = -p
#Uncomment to compile in Cygwin
#CYGWIN = -DCYGWIN
#Uncomment the line below if you are getting undefined references to dlsym, dlop
en, and dlclose.
#Comment it out if you get errors about ldl not being found.
NEED_DL = -ldl
#Some systems need this for dynamic linking to work.
EXPORT_SYMBOLS = -export-dynamic
The relevant line is about the 5th one, and you remove the "#" to uncomment it, so it reads:
Okay, the problem is that I didn't uncomment the Cygwin definition. What is the Cygwin definition? I know it is in the MakeFile, and I opened it up but I don't know where in the Makefile it is. Here is what the Makefile looks like:
# Project: SmaugFUSS
# Makefile created by Dev-C++ 4.9.9.2
So I think I got it to work, I can connect to it using a client, but none of the commands work. I logged on with admin/admin and anything I type in only comes back as "huh?". The only command I got to work was "dance".
Maybe that is because I'm not putting in the right commands, I tried accessing help files within the game but all I got was "huh?". I don't know if that is because there aren't any or if there is an error, or if I'm just not typing in the right thing.
More strange is that when I log in as a regular character, still none of the commands work. Just like with the admin character if I put in north I get "huh", or really anything I get "huh?". It says when I log in with a normal character to type in "HelpStart". I tried that and all I got was "huh?".
Is this supposed to happen?
I'm just wondering if I am just using it incorrectly and need to learn how to use the builder and stuff or if something got messed up in the compiling process.
Okay I downloaded it and I'm still not entirely sure how to compile it.
Is it possible for someone to give me a really (really) dumbed down explanation on how to do it? I've been trying to figure this out for awhile now...
I am using Cygwin, and so following the steps in the readme I am supposed to start by
1.Change to dist/src directory
I'm not entirely sure what that is, following the directions that are elsewhere on this site, I figured out how to do what I thought was that with the other file. What exactly do I do to do that?
2. Next it says to open the Makefile and then uncomment the Cygwin comment.
What and where is the Cygwin comment? Shouldn't it be something with this symbol next to it #? I'm really not sure what to do there...
I know I'm screwing up on what should be really easy, but any help would be much appreciated.
Okay, thanks. Sorry, I didn't know how much of the code I should post.I can't understand any of it. But if there is a better version of it, I will certainly try that first.
And to help we would need to see an excerpt of act_move.c around line 604. Without mentioning the server version we would be totally guessing what that line might have on it.
And I agree with Zeno.
Modern gcc compilers have tightened up a lot of syntax checks, older versions of Smaug that used to compile in the past, won't now. Using SmaugFUSS will solve that, as it compiles "out of the box".
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.