Compiling and such

Posted by Walker on Thu 28 Aug 2003 08:44 PM — 12 posts, 43,526 views.

#0
I sorta get the compiling and will adventually today download the cygen thing. Though first of all i downloaded the source the files named .c from this www. And i am wondering when i extract is there a certain place in the smaug folder i extract to or is it just extracted to its own folder or is it left free floating in the smaug folder?
Australia Forum Administrator #1
You downloaded what from where? The source files available here are in a directory tree already, just preserve that when you unzip it.
#2
smaug1.4a.sce is the name of the file i got from your site, i am not sure where to put the files it contains. I understand that the editing of the Max levels and such is in the mud.h and thats in the zip i just described so where do i extract it? Or is it already in the smaug server 1.4 or whatever its called thing.
USA #3
Well, thats a problem. Thats only the Smaug source. If you want a windows Smaug, get smaug1.4a.zip.
Australia Forum Administrator #4
That particular zip file is just the source files. So, I would unzip it into a "src" directory (make it yourself) under the SMAUG directory. As Zeno said, the other SMAUG download has all the other stuff like areas, commands.dat and so on.
#5
So your telling me all i needed was the first thing i downloaded in the first place?

http://www.gammon.com.au/files/smaug/smaug1.4a.zip - 1.6 Mb - Executable for SMAUG server v 1.4a for Win32

If thats the case where would i edit the max levels cause everything i saw thus far was using junk like mud.h which is a source file zip thing that i mentioned above that yall are saying i dont even need.
#6
And in turn would that mean i dont need the cygwin?
Australia Forum Administrator #7
There are two different things here, it isn't clear which one you want.

To change the level of a single character (eg. your own) just edit his player file and change the "level" line to the number you want. For this you don't need the mud.h or any other such file, nor Cygwin.

To change the maximum number of levels in the MUD (eg. from 65 to 99) you need to recompile, which means you need the source files, Cygwin, and so on.
#8
Okay to make this just a little freaking simpler to answer, 1. give me an example of the directory to extract the source files to and 2. Then in turn do i need to put them in the cygwin directory too?
#9
And as well as asking that when installing the cygwin would i set it instead of unix to DOS?
USA #10
First off make sure Cygwin is installed (unix options) then extract the archive from this site that has the smaug executable. It's about 1.6mb. When you unzip that it will create a directory tree with a root called 'smaug'. In that directory (/smaug/) create a new directory (if it doesn't exist) called 'src'. In that directory unzip the source only version of the Smaug server from this site. You then have the complete smaug server to include source. Then refrence the previous sections of this site that Nick has pointed out. Hope this helps.

-Bobo
#11
Yes that answers my needing to know where to put the source files very easily, thanks.