24 Oct, 2012, AlphaTech wrote in the 1st comment:
Votes: 0
Ok so I downloaded quickmud fixed 2012.tar from here, what ells do I need aside from that to make my make command not yell at me in cygwin? im sorry im very noob to this, but im learning fast, this is day 2 and iv learned a ton already. just a little bit of a nudge and I think ill have it.
25 Oct, 2012, Davion wrote in the 2nd comment:
Votes: 0
What is Cygwin yelling at you about?
25 Oct, 2012, Tyche wrote in the 3rd comment:
Votes: 0
Linux/BSD distributions come with a package manager. It could be Yast, Yum, RPM, Ports, Emerge, Apt, etc.
These can either be invoked directly as a command in the shell to install/deinstall something or they run
a menu type interface or they are invoke from a GUI. Many of the major Linux distributions today install
some GUI, like Gnome or KDE where you'll find a application that wraps whatever package manager that distribution
uses.

Linux distributions used to include most of the development tools a C programmer used. A lot of them don't
today because they are geared toward end users. In that way they are similar to Windows, you'll get a browser,
an editor, a command shell, some sort of Office ware, media players, a few games. You'll have to
locate and run the software package manager to install developement tools.

When you install Cygwin you get a bash shell and a bunch commands to manipulate files and directories.
Cygwin's package manager is the setup.exe program the same one you use to install it. From there
you have to select the software you need to compile/develop your application or mud.

You definately don't want to install everything, whether you are running Cygwin or Linux.
There are hundreds or even thousands of programs that will be downloaded and installed and
that could take dozens of hours to install.

Packages you'll probably need to compile a lot of muds written in C or C++:

binutils linker utilities
csh a shell used to run scripts
make build utility
gcc-core C 3.x
gcc-g++ C++ 3.x
gcc4-core C v4.x
gcc4-g++ C++ v4.x
gdb debugger

Some muds make use of additional tools and libraries. Some common ones are:

cmake another build utility
bison a parser generator
byacc another parser generator
flex a lexical scanner
gdbm database
zlib compression library
sqlite3 database

You'll also need an editor. The following are probably the easiest to use:
nano
vim

Or you can use Windows programmer editors like:
Textpad
Notepad++

Don't use Notepad that comes with Windows.
1) It strips out tabs. (That breaks Linux Makefiles which use tabs.)
2) It adds carriage returns. (That breaks bash/csh scripts)

===================================================================================================

On asking questions.

Include exactly what you typed and what the exact response was.
If you have compile errors include the exact error messages and the lines of code referenced by them.
Better yet do some research first.. like typing the general error message codes into google first.

Only a genuine psychic can answer a question like..
"Make is yelling at me. What do I do?"

=================================================================

Most of the mud code you will find in the repository here is old. Probably the mud you
were originally trying to use also. Most of the C code here may have been written for
gcc 2.x or 3.x and is unlikely to compile on what most Linux distributions ship as the
default compiler, gcc 4.x.

You'll either have to fix them up, or install an older compiler. And then you'll have
to then invoke the compiler differently gcc-3 instead of gcc or by setting environment
variables `export CC=gcc-3`.
25 Oct, 2012, AlphaTech wrote in the 4th comment:
Votes: 0
Ok here is what it gives me when I try to run the rom.exe in the area folder it gave me after compiling

Thu Oct 25 00:12:17 2012 :: Loading area wyvern.are
Thu Oct 25 00:12:17 2012 :: [*****] BUG: Fix_exits: 10525:1 -> 10535:3 -> 10534.

Thu Oct 25 00:12:17 2012 :: [*****] BUG: Fix_exits: 3458:2 -> 3472:0 -> 10401.
Thu Oct 25 00:12:17 2012 :: [*****] BUG: Fix_exits: 8705:4 -> 8706:5 -> 8708.
Thu Oct 25 00:12:17 2012 :: [*****] BUG: Fix_exits: 8717:2 -> 8719:0 -> 8718.
Thu Oct 25 00:12:17 2012 :: Check Levels:
Thu Oct 25 00:12:17 2012 :: Object: (VNUM 9217)(Level 7) an elemental rod of
earthquake
Thu Oct 25 00:12:17 2012 :: Mob: (VNUM 9217)(Level 3) a small rock
Thu Oct 25 00:12:17 2012 :: Check Levels:
Thu Oct 25 00:12:17 2012 :: Object: (VNUM 9218)(Level 27) elemental wand of w
ind and air
Thu Oct 25 00:12:17 2012 :: Mob: (VNUM 9234)(Level 13) an alchemist
Thu Oct 25 00:12:17 2012 :: Check Levels:
Thu Oct 25 00:12:17 2012 :: Object: (VNUM 9216)(Level 25) an ice staff
Thu Oct 25 00:12:17 2012 :: Mob: (VNUM 9214)(Level 8) a puddle
Thu Oct 25 00:12:17 2012 :: Check Levels:
Thu Oct 25 00:12:17 2012 :: Object: (VNUM 9227)(Level 28) an icicle
Thu Oct 25 00:12:17 2012 :: Mob: (VNUM 9228)(Level 24) the Ice Bandit
Thu Oct 25 00:12:17 2012 :: Check Levels:
Thu Oct 25 00:12:17 2012 :: Object: (VNUM 9215)(Level 16) elemental wand of f
ire
Thu Oct 25 00:12:17 2012 :: Mob: (VNUM 9215)(Level 4) a flame
Thu Oct 25 00:12:17 2012 :: Check Levels:
Thu Oct 25 00:12:17 2012 :: Object: (VNUM 9215)(Level 16) elemental wand of f
ire
Thu Oct 25 00:12:17 2012 :: Mob: (VNUM 9215)(Level 4) a flame
Thu Oct 25 00:12:17 2012 :: Check Levels:
Thu Oct 25 00:12:17 2012 :: Object: (VNUM 9218)(Level 27) elemental wand of w
ind and air
Thu Oct 25 00:12:17 2012 :: Mob: (VNUM 9218)(Level 4) a small spark
Thu Oct 25 00:12:17 2012 :: Check Levels:
Thu Oct 25 00:12:17 2012 :: Object: (VNUM 9218)(Level 27) elemental wand of w
ind and air
Thu Oct 25 00:12:17 2012 :: Mob: (VNUM 9225)(Level 2) an eddie
Thu Oct 25 00:12:17 2012 :: Check Levels:
Thu Oct 25 00:12:17 2012 :: Object: (VNUM 9216)(Level 25) an ice staff
Thu Oct 25 00:12:17 2012 :: Mob: (VNUM 9235)(Level 16) a baby rainbow drag
on
Thu Oct 25 00:12:17 2012 :: Check Levels:
Thu Oct 25 00:12:17 2012 :: Object: (VNUM 8010)(Level 5) a wet noodle
Thu Oct 25 00:12:17 2012 :: Mob: (VNUM 8002)(Level 17) a Futsie
Thu Oct 25 00:12:17 2012 :: ROM is ready to rock on port 4000 (0.0.0.0).
Thu Oct 25 00:12:18 2012 :: IMC: Loading IMC2 command table…
Thu Oct 25 00:12:18 2012 :: IMC: No command table found.
Thu Oct 25 00:12:18 2012 :: ***BUG*** IMC: imc_startup: Unable to load command t
able!
1 [main] rom 840 exception::handle: Exception: STATUS_ACCESS_VIOLATION
1807 [main] rom 840 open_stackdumpfile: Dumping stack trace to rom.exe.stackd
ump
25 Oct, 2012, Davion wrote in the 5th comment:
Votes: 0
It looks like a failed connection to IMC. Try commenting out IMC=1 in the Makefile. Just add '#' to the beginning of the line.

Edit:

Right. Then do a clean make :D
25 Oct, 2012, Tyche wrote in the 6th comment:
Votes: 0
Here's a tip. Put the following in your cygwin.bat file somewhere before the 'bash –login -i' line.

set CYGWIN=error_start:dumper

This won't fix the problem, but you'll get a core dump instead of a stack trace when your mud crashes.
The gdb debugger can be used to read core dumps and provide useful information.
25 Oct, 2012, AlphaTech wrote in the 7th comment:
Votes: 0
Ok ill do both of those, thank you. ill post when I get results.
25 Oct, 2012, AlphaTech wrote in the 8th comment:
Votes: 0
ok so I did what you said Davion and now when I try and run the rom.exe it gave me I get this

Thu Oct 25 12:25:03 2012 :: Loading configuration settings from ../area/qmconfig.re.
Thu Oct 25 12:25:03 2012 :: qmcomfig.re not found. Using compiled-in defaults/
Thu Oct 25 12:25:03 2012 :: Set IP address to 0.0.0.0
Init socket: bind: address already in use

then the window shuts.
what did I do wrong?
25 Oct, 2012, Davion wrote in the 9th comment:
Votes: 0
Is it already running? That means you're trying to boot up the MUD on a port that already in use.
25 Oct, 2012, AlphaTech wrote in the 10th comment:
Votes: 0
I fixed that problem now I have another haha.

its looking for area.list and I have none, I have nothing in my area folder other then the rom and 2 DLL's it made me move to the area folder from my cygwin DLL folder.
25 Oct, 2012, Davion wrote in the 11th comment:
Votes: 0
The stock quickmud area folder comes with a whole bunch of files other than those :D. What have you done!? Maybe try restoring the area directory?
29 Oct, 2012, AlphaTech wrote in the 12th comment:
Votes: 0
the src files i downloaded for Quickmud did not have an area folder at all. all it comes with is the src stuff. so what am I forgetting to download?
29 Oct, 2012, triskaledia wrote in the 13th comment:
Votes: 0
I didn't notice anyone else note about this:
The things regarding room_exits is because you looped back onto a room that already has an exit set to go that way.
The things regarding objects after a mob is because you have loaded a higher level item to the mobs level.
The code doesn't like such things, and can become buggy… I commented out the bug_log for higher level items and the looped exits.
29 Oct, 2012, triskaledia wrote in the 14th comment:
Votes: 0
Also, grab the QuickMUD viewed on this page:
http://www.mudbytes.net/index.php?a=file...
29 Oct, 2012, AlphaTech wrote in the 15th comment:
Votes: 0
Ok thank you, that this point I have complied the quickmud and when I try and run ./startup & it tells me '$ -bash: ./startup: /bin/csh: bad interpreter: Permission denied' I am by the way in the area folder when I type that in where the startup file is located. i feel im getting close but im obviously screwing something up still.

Also, upon trying to 'make' in the src directory I receive

/usr/include/stdio.h:675:20: note: previous declaration of getline was here
make: *** [obj/string.o] Error 1

and it stops. again, using cygwin however this time tested on Ubuntu giving both errors in both situations.
29 Oct, 2012, AlphaTech wrote in the 16th comment:
Votes: 0
Alpha@Alpha-PC /cygdrive/c/users/alpha/desktop/mudstuff/quickmud/src
$ make
gcc act_comm.c -Wall -O -ggdb -Dunix -DNOCRYPT -c -o obj/act_comm.o
In file included from act_comm.c:41:0:
merc.h:2456:10: warning: conflicting types for built-in function logf
In file included from act_comm.c:44:0:
tables.h:29:31: error: array type has incomplete element type
tables.h:30:35: error: array type has incomplete element type
tables.h:31:30: error: array type has incomplete element type
tables.h:32:31: error: array type has incomplete element type
tables.h:35:31: error: array type has incomplete element type
tables.h:36:31: error: array type has incomplete element type
tables.h:37:31: error: array type has incomplete element type
tables.h:38:31: error: array type has incomplete element type
tables.h:39:31: error: array type has incomplete element type
tables.h:40:31: error: array type has incomplete element type
tables.h:41:31: error: array type has incomplete element type
tables.h:42:31: error: array type has incomplete element type
tables.h:43:31: error: array type has incomplete element type
tables.h:44:31: error: array type has incomplete element type
tables.h:45:31: error: array type has incomplete element type
tables.h:46:31: error: array type has incomplete element type
tables.h:47:31: error: array type has incomplete element type
tables.h:48:31: error: array type has incomplete element type
tables.h:49:31: error: array type has incomplete element type
tables.h:50:33: error: array type has incomplete element type
tables.h:51:31: error: array type has incomplete element type
tables.h:52:31: error: array type has incomplete element type
tables.h:53:31: error: array type has incomplete element type
tables.h:54:31: error: array type has incomplete element type
tables.h:55:31: error: array type has incomplete element type
tables.h:56:31: error: array type has incomplete element type
tables.h:57:31: error: array type has incomplete element type
tables.h:58:31: error: array type has incomplete element type
tables.h:59:31: error: array type has incomplete element type
tables.h:60:31: error: array type has incomplete element type
tables.h:61:31: error: array type has incomplete element type
tables.h:62:31: error: array type has incomplete element type
tables.h:63:31: error: array type has incomplete element type
tables.h:64:31: error: array type has incomplete element type
tables.h:65:31: error: array type has incomplete element type
tables.h:66:31: error: array type has incomplete element type
tables.h:67:31: error: array type has incomplete element type
tables.h:68:31: error: array type has incomplete element type
tables.h:69:31: error: array type has incomplete element type
tables.h:70:30: error: array type has incomplete element type
act_comm.c: In function do_emote:
act_comm.c:1086:5: warning: array subscript has type char
act_comm.c:1086:5: warning: array subscript has type char
act_comm.c: In function do_pmote:
act_comm.c:1122:5: warning: array subscript has type char
act_comm.c:1122:5: warning: array subscript has type char
Makefile:32: recipe for target `obj/act_comm.o' failed
make: *** [obj/act_comm.o] Error 1
29 Oct, 2012, Tyche wrote in the 17th comment:
Votes: 0
AlphaTech said:
Ok thank you, that this point I have complied the quickmud and when I try and run ./startup & it tells me '$ -bash: ./startup: /bin/csh: bad interpreter: Permission denied' I am by the way in the area folder when I type that in where the startup file is located. i feel im getting close but im obviously screwing something up still.

You don't have csh installed.
Run cygwin setup and install tcsh. It's in the shells category.
29 Oct, 2012, AlphaTech wrote in the 18th comment:
Votes: 0
ok ill give that a try as well. Im now running Ubuntu but I'm not having much luck here either haha.

EDIT- Ok so I did as you said and installed tsch, now when I type in ./startup it does nothing, it gives me no new promt, no out put. not a damn thing to know what I did wrong. any suggestions now?
29 Oct, 2012, arholly wrote in the 19th comment:
Votes: 0
Nevermind, someone beat me to it.
29 Oct, 2012, Tyche wrote in the 20th comment:
Votes: 0
You have not successfully compiled the mud, so startup script loops forever.
I mentioned in the last two paragraphs of post #3 that older mud code depended on older compilers.
Quickmud was probably written and compiled with gcc v3.
0.0/27