Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block jonm

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View make-check.txt
$ make check
Making check in src
/Applications/ tests
gcc -DHAVE_CONFIG_H -I. -I.. -DLOCAL_STATE_DIR=\"/usr/local/var\" -g -O2 -MT test.act.wizard.o -MD -MP -MF .deps/test.act.wizard.Tpo -c -o test.act.wizard.o test.act.wizard.c
mv -f .deps/test.act.wizard.Tpo .deps/test.act.wizard.Po
gcc -DLOCAL_STATE_DIR=\"/usr/local/var\" -g -O2 -o tests comm.o act.comm.o act.move.o act.obj1.o act.obj2.o act.other.o act.wizard.o handler.o db.o interpreter.o utility.o spec_assign.o shop.o limits.o mobact.o fight.o modify.o weather.o spells1.o spells2.o spell_parser.o reception.o constants.o spec_procs.o signals.o board.o magic.o magic2.o skills.o Opinion.o Trap.o magicutils.o multiclass.o hash.o Sound.o Heap.o spec_procs2.o magic3.o security.o spec_procs3.o create.o bsd.o parser.o intrinsics.o test.act.wizard.o -lcriterion
/Applications/ check-TESTS
PASS: tests
jonm / autotools-make-1.txt
Created Nov 16, 2015
first attempt at `make` with autotools-generated `Makefile`
View autotools-make-1.txt
[~/src/SillyMUD]$ make
/Applications/ all-recursive
Making all in src
gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT comm.o -MD -MP -MF .deps/comm.Tpo -c -o comm.o comm.c
mv -f .deps/comm.Tpo .deps/comm.Po
gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT act.comm.o -MD -MP -MF .deps/act.comm.Tpo -c -o act.comm.o act.comm.c
mv -f .deps/act.comm.Tpo .deps/act.comm.Po
gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -MT -MD -MP -MF .deps/ -c -o error: no member named 'gname' in 'struct char_special_data'
if (person->specials.gname && CAN_SEE(ch, person)) {
jonm / configure.txt
Created Nov 16, 2015
first run of `./configure`
View configure.txt
[~/src/SillyMUD]$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
jonm / autoreconf-install-2.txt
Created Nov 16, 2015
second run of `autoreconf --install`
View autoreconf-install-2.txt
[~/src/SillyMUD]$ autoreconf --install installing './compile' installing './install-sh' installing './missing' installing './INSTALL' error: required file './NEWS' not found error: required file './README' not found error: required file './AUTHORS' not found error: required file './ChangeLog' not found installing './COPYING' using GNU General Public License v3 file
jonm /
Created Nov 16, 2015
initial `` for src/ directory
bin_PROGRAMS = dmserver
dmserver_SOURCES = comm.c act.comm.c act.move.c act.obj1.c \
act.obj2.c act.other.c act.wizard.c handler.c \
db.c interpreter.c utility.c spec_assign.c shop.c limits.c mobact.c \
fight.c modify.c weather.c spells1.c spells2.c spell_parser.c \
reception.c constants.c spec_procs.c signals.c board.c magic.c \
magic2.c skills.c Opinion.c Trap.c magicutils.c multiclass.c hash.c \
Sound.c Heap.c spec_procs2.c magic3.c security.c spec_procs3.c \
create.c bsd.c parser.c intrinsics.c main.c
jonm / autoreconf-install-1.txt
Created Nov 16, 2015
first attempt at `autoreconf --install`
View autoreconf-install-1.txt
[~/src/SillyMUD]$ autoreconf --install error: option '-g' not recognized error: option '-DIMPL_SECURITY' not recognized error: option '-DNEW_RENT' not recognized error: option '-DLEVEL_LOSS' not recognized error: option '-DNEWEXP' not recognized error: option '-DGROUP_NAMES' not recognized
autoreconf: automake failed with exit status: 1
jonm /
Last active Nov 16, 2015
first attempt at for src/ directory
AC_INIT([dmserver], [0.1.0], [])
jonm /
Created Nov 15, 2015
top-level ``
View struct-descriptor-data.h
struct descriptor_data
int descriptor; /* file descriptor for socket */
char host[50]; /* hostname */
char pwd[12]; /* password */
int pos; /* position in player-file */
int connected; /* mode of 'connectedness' */
int wait; /* wait for how many loops */
char *showstr_head; /* for paging through texts */
char *showstr_point; /* - */
View do-users.c
void do_users(struct char_data *ch, char *argument, int cmd)
char buf[MAX_STRING_LENGTH], line[200], buf2[255];
extern const char *connected_types[];
struct descriptor_data *d;
strcpy(buf, "Connections:\n\r------------\n\r");
for (d = descriptor_list; d; d = d->next){
You can’t perform that action at this time.