Re: Autoloot

From: Professor Hoopster (hoopy@notfoo.res.cmu.edu)
Date: 07/13/96


On Sat, 13 Jul 1996, John C. A. Bambenek, Esq. wrote:
> I was working with the autollot code on the snippets page, and put it 
> in.  I am getting this compiling error.
> 
> fight.c: In function `damage':
> fight.c:756: parse error before `void'
> fight.c:757: warning: implicit declaration of function `do_get'
> make[1]: *** [fight.o] Error 1
> make[1]: Leaving directory `/home/jc/circle30bpl11/src'
> make: *** [all] Error 2
> 
> Here is my code at this point.
> 
>     die(victim);
>     if (IS_NPC(victim) && !IS_NPC(ch) && PRF_FLAGGED(ch, PRF_AUTOLOOT))
>       ACMD(do_get);
>       do_get(ch, "all corpse", 0, 0);

The code is wrong. Move the ACMD(do_get); to the variable declaration 
section of damage(), and it should work fine.


From goamkows@janeway.geog.scarolina.edu Sat, 13 Jul 96 15:47:39 EDT
X-SystemInfo: MyE-Mail: EMail
X-Message-No: 2376 (database)
From: the count <goamkows@janeway.geog.scarolina.edu>
To: circle <circle@pvv.ntnu.no>
Subject: imms and no-magic rooms
Date: Sat, 13 Jul 96 15:47:00
Message-ID: <CMM.0.90.0.837287259.goamkows@janeway.geog.sc.edu>
X-POP3-Rcpt: lk4150@per
Return-Path: owner-circle@pvv.ntnu.no
Received: from flipper.pvv.ntnu.no (43@flipper.pvv.ntnu.no [129.241.210.200]) by per.cybercity.dk (8.6.12/8.6.12) with ESMTP id WAA25573 for <lk4150@krull.dk>; Sat, 13 Jul 1996 22:07:40 +0200
Received: (from majordomo@localhost) by flipper.pvv.ntnu.no (8.7.5/8.6.12) id VAA16343 for circle-outgoing; Sat, 13 Jul 1996 21:43:29 +0200
Received: from otis.cla.sc.edu (otis.cla.sc.edu [129.252.1.2]) by flipper.pvv.ntnu.no (8.7.5/8.6.12) with SMTP id VAA16332 for <circle@pvv.ntnu.no>; Sat, 13 Jul 1996 21:43:13 +0200
Received: from kirk.geog.sc.edu by otis.cla.sc.edu (4.1/SMI-4.1)id AA12383; Sat, 13 Jul 96 15:43:10 EDT
Received: from janeway.geog.sc.edu by kirk.geog.sc.edu (4.1/SMI-4.1)id AA12570; Sat, 13 Jul 96 14:39:55 EDT
Sender: owner-circle@pvv.ntnu.no
Precedence: bulk

anybody else out there get annoyed that not even imms (or at least
imps ;)  can cast spells in no-magic rooms?

i changed it in my mud, but am curious if anybody else has.


oh, and i get the conflicting def for qsort in the code for saving
poofins that was posted a while back (which was actually called as
extras.c).



This archive was generated by hypermail 2b30 : 12/07/00 PST