BUG: TAR_OBJ_EQUIP

From: George (gagreer@dragon.ham.muohio.edu)
Date: 07/01/96


In the function:	ACMD(do_cast)

Change:
    if (!target && IS_SET(SINFO.targets, TAR_OBJ_EQUIP)) {
      for (i = 0; !target && i < NUM_WEARS; i++)
	if (GET_EQ(ch, i) && !str_cmp(t, GET_EQ(ch, i)->name)) {
To:
    if (!target && IS_SET(SINFO.targets, TAR_OBJ_EQUIP)) {
      for (i = 0; !target && i < NUM_WEARS; i++)
	if (GET_EQ(ch, i) && isname(t, GET_EQ(ch, i)->name)) {
			     ^^^^^^^
While changing remove_curse to allow equipped objects (due to the
fact you can no longer remove them) I noticed that you couldn't
find the target on Black Rook Armour.  After looking through the
code I noticed that you have to pass the entire 'name' field of
the armor to the spell, in correct order.  Since no mortal should
be able to do that, you might want to make it isname ;)

-George Greer


From jelson@blaze.cs.jhu.edu Mon, 01 Jul 96 16:12:43 EDT
X-SystemInfo: MyE-Mail: EMail
X-ReplyTo-No: 1801 (There are no more replies.)
X-Message-No: 1806 (database)
From: Jeremy Elson <jelson@blaze.cs.jhu.edu>
To: ShAnE wOlFf <wolff@j51.com>
Subject: Re: Gnu-Win32 with Circlebpl11 
Date: Mon, 1 Jul 96 16:12:00
Message-ID: <199607012012.WAA22016@flipper.pvv.ntnu.no>
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 WAA21605 for <lk4150@krull.dk>; Mon, 1 Jul 1996 22:13:12 +0200
Received: (from majordomo@localhost) by flipper.pvv.ntnu.no (8.7.5/8.6.12) id WAA22030 for circle-outgoing; Mon, 1 Jul 1996 22:13:07 +0200
Received: from blaze.cs.jhu.edu (root@blaze.cs.jhu.edu [128.220.13.50]) by flipper.pvv.ntnu.no (8.7.5/8.6.12) with ESMTP id WAA22016 for <circle@pvv.ntnu.no>; Mon, 1 Jul 1996 22:12:49 +0200
Received: from mail-clientby blaze.cs.jhu.edu with SMTP; Mon, 1 Jul 1996 20:12:44 GMT
Received: by mail-client (4.1) id AA11352; Mon, 1 Jul 96 16:12:43 EDT
Cc: Jeremy Elson <jelson@blaze.cs.jhu.edu>, circle@pvv.ntnu.no
Sender: owner-circle@pvv.ntnu.no
Precedence: bulk

> On Mon, 1 Jul 1996, Jeremy Elson wrote:
> 
> > 
> > Does anyone ever read documentation anymore?  People ask this question
> > all the time but the answer can be quite easily found by reading a short
> > text file.
> > 
> > There is a file called README.WIN distributed with Circle that tells you
> > to use the files conf.h.win and Makefile.win for Windows.
> > 
>   I read the docs. Readme.win is for msvc++ I am using GCC and the 
> ways described in README.WIN don't work for GCC. Looks like i am stuck?

The point is, you are supposed to use conf.h.win and Makefile.win instead
of running configure!

Obviously there is not going to be any documentation for using GCC under
Win95 since you are the first one to ever do it.



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