From root@thantos.mudservices.com Fri Sep 25 23:45:48 1998 Return-Path: <root@thantos.mudservices.com> Received: from thantos.mudservices.com (IDENT:root@thantos.mudservices.com [206.245.158.10]) by endo.mudservices.com (8.9.1/8.9.1) with ESMTP id DAA15970 for <dominion@endo.mudservices.com>; Sat, 26 Sep 1998 03:45:47 GMT Received: from eola.ao.net (ghost@eola.ao.net [205.244.242.15]) by thantos.mudservices.com (8.9.1/8.9.1) with ESMTP id XAA13892 for <coding@mudservices.com>; Fri, 25 Sep 1998 23:34:55 -0400 Received: from localhost (ghost@localhost) by eola.ao.net (8.8.8/8.8.5) with SMTP id XAA30580 for <coding@mudservices.com>; Fri, 25 Sep 1998 23:38:50 -0400 X-Authentication-Warning: eola.ao.net: ghost owned process doing -bs Date: Fri, 25 Sep 1998 23:38:50 -0400 (EDT) From: Ghost Shaidan <ghost@ao.net> To: coding@mudservices.com Subject: Re: C++ In-Reply-To: <002b01bde8d3$90a29700$029841cf@webserver_pc68.reemay.com> Message-ID: <Pine.LNX.3.95.980925233548.30404A-100000@eola.ao.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Status: RO > You asked for a start. As a start, converting will let you see the > beginning of the gotchas and problems that exist in C++ and how it differs > from C. Once you've converted, and dealt the various issues that are > involved, you can then do one of two things. Leave it and be happy, or > start from scratch. > > If you already know C++, then skip the converting, and rebuild it from the Another point here, at least in my case, is that we have been working on our mud for almost 3 years now, and if we can make it all compile under c++ first, then we can go about redesigning it, without loosing features, or players, or uptime. Heck it's a hobby right? It's also almost Ironic, MUD's are based on RPG's. There isn't really a way to end an RPG by 'winning'. Theoretically you can always make your character better. Isn't that alot like running a MUD, even more than playing one? It can always get better, the only way to quit is to give up. Anyway, Conversion, then redesign seems to be working for us :) From root@thantos.mudservices.com Sat Sep 26 02:54:14 1998 Return-Path: <root@thantos.mudservices.com> Received: from thantos.mudservices.com (IDENT:root@thantos.mudservices.com [206.245.158.10]) by endo.mudservices.com (8.9.1/8.9.1) with ESMTP id GAA19004 for <dominion@endo.mudservices.com>; Sat, 26 Sep 1998 06:54:13 GMT Received: from alpha.aviastar.net (IDENT:root@alpha.aviastar.net [207.137.52.161]) by thantos.mudservices.com (8.9.1/8.9.1) with ESMTP id CAA17926 for <coding@mudservices.com>; Sat, 26 Sep 1998 02:46:10 -0400 Received: from aviastar.net (Samson1@user126.aviastar.net [207.137.53.126]) by alpha.aviastar.net (8.8.6/8.8.6) with ESMTP id XAA09062; Fri, 25 Sep 1998 23:46:33 -0700 (PDT) Message-ID: <360C8E2E.8D805E03@aviastar.net> Date: Fri, 25 Sep 1998 23:48:14 -0700 From: Roger Libiez <samson1@aviastar.net> Reply-To: samson1@aviastar.net Organization: Lands of Solan telnet://solan.org:5500 X-Mailer: Mozilla 4.06 [en] (Win98; U) MIME-Version: 1.0 To: Mark Jedrzejczyk <mjedrzej@anderson.edu> CC: Mudservices Code List <coding@mudservices.com> Subject: Re: declarations.. References: <009701bde8b0$743720e0$7b0808c7@kirk.dorms.anderson.edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Status: RO You need to add the entries for the do_finger command in tables.c. There's two spots you need to do this in. This is the first entry you need: if ( skill == do_finger ) return "do_finger"; This is the other entry you need: if ( !str_cmp( name, "do_finger" )) return do_finger; Just do a search in your tables.c for do_fixchar and insert the do_finger line that looks similar to that. Then recompile your code, and you should be all set. Incidently, you might also be interested in the updated finger snippet I have posted on my web page (see mail sig below). > Mark Jedrzejczyk wrote: > > I am having a coding difficulty. I am a newbie coder, and really > haven't tried to do much besides adding snippets so far. I am running > a Smaug 1.4 mud. > The problem is that I am trying to add a snippet to the code, and > the compiler complains that there is an undefined reference to the > command, yet I have it defined in my mud.h file. I have this defined > in the mud.h > > > DECLARE_DO_FUN( do_finger ); > > void save_finger args( ( CHAR_DATA *ch ) ); > > void fwrite_finger args( ( CHAR_DATA *ch, FILE *fp ) ); > > void read_finger args( ( CHAR_DATA *ch, char *argument ) ); > > void fread_finger args( ( CHAR_DATA *ch, FILE *fp ) ); > > > > but in save.c it keeps saying there is an undefined reference to > fread_finger ... I am wondering what is going on, because other > files I have not touched in the *.h file or in their *.c files have > started giving me the same problems, despite the fact that the > variable is defined. If someone could answer this, I would appreciate > it much. > > thanks, > > Mark jedrzejczyk -- Drop by for a look, stay for the adventure! Samson, Implementor - Lands of Solan http://www.solan.org telnet://solan.org:5500 Personal homepage + snippet collection: http://www.aviastar.net/~samson1 "General, you're listening to a machine! Do the world a favor and don't act like one." -- Prof. Steven Falken, War Games From root@thantos.mudservices.com Sat Sep 26 06:12:28 1998 Return-Path: <root@thantos.mudservices.com> Received: from thantos.mudservices.com (IDENT:root@thantos.mudservices.com [206.245.158.10]) by endo.mudservices.com (8.9.1/8.9.1) with ESMTP id KAA22756; Sat, 26 Sep 1998 10:12:27 GMT Received: from smtp1.mailsrvcs.net (smtp1.gte.net [207.115.153.30]) by thantos.mudservices.com (8.9.1/8.9.1) with ESMTP id GAA21565 for <admins@mudservices.com>; Sat, 26 Sep 1998 06:03:51 -0400 Received: from gte.net (1Cust109.tnt1.troy.oh.da.uu.net [208.254.173.109]) by smtp1.mailsrvcs.net with ESMTP id FAA03494 for <admins@mudservices.com>; Sat, 26 Sep 1998 05:05:58 -0500 (CDT) Sender: root@smtp1.mailsrvcs.net Message-ID: <360CBC77.6EB903A2@gte.net> Date: Sat, 26 Sep 1998 06:05:43 -0400 From: Ben Garber <bhgarber@gte.net> X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.35 i586) MIME-Version: 1.0 To: admins@mudservices.com Subject: MudMan Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Status: RO I know this is come up before but I"ve never had the need to logon the Mudman page... what is the addy for tha page? Thanks Ben