Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!caip!cbmvax!bpa!asi!metro From: metro@asi.UUCP (Metro T. Sauper) Newsgroups: net.sources.d Subject: Re: More info on larn 12.0 bugs Message-ID: Date: Fri, 5-Sep-86 13:51:42 EDT Article-I.D.: asi.14 Posted: Fri Sep 5 13:51:42 1986 Date-Received: Fri, 5-Sep-86 22:09:39 EDT References: Distribution: net Organization: Assessment Systems, Inc., Philadelphia, PA Lines: 15 Summary: fix for armor class bug. In article , soussan@ihlpf.UUCP (Soussan) writes: > I have some more info on the bug in larn 12.0 which gives you armor > classes >200. > > It seems to happen when a rust monster hits you, depleting your > armor class. Instead of getting a lower AC, you get a better one > (>260!). The problem comes from the System V C complier (mine is level 3.1) treats characters as unsigned. The array for Rust Monster Damage in module monster.c is a character array and has negative numbers. Just change the array type to be "short" and everything will be fine. Metro T. Sauper, Jr. ihnp4!ll1!bpa!asi!metro