Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site clyde.UUCP Path: utzoo!watmath!clyde!jona From: jona@clyde.UUCP (Jon Allingham) Newsgroups: net.games.hack Subject: Re: Possible bug in hack Message-ID: <769@clyde.UUCP> Date: Wed, 23-Jan-85 14:52:43 EST Article-I.D.: clyde.769 Posted: Wed Jan 23 14:52:43 1985 Date-Received: Thu, 24-Jan-85 05:41:33 EST References: <3338@ucla-cs.ARPA> Organization: AT&T Bell Laboratories, Whippany NJ Lines: 21 > Has anyone ever had a problem with a players strength going down > to -128 around level 24 or so > if you have please post on how this problem is fixed.. > It has somthng to do withthe strength going past 18/** strength is only an 8 bit number and if you increase your strength to much you'll cause it to wrap around and become negative. In the code, there is a check for strength == 118 , it should probably ( but I haven't tried it ) be strength >= 118 to keep from incrementing into the negative. One solution is to stop quaffing potions of gain strength and don't eat any tins of spinach once your strength is ** since it won't get much better. -- Jon M. Allingham (201)386-3466 AT&T Bell Laboratories-WH "Beam me up Scotty, no intelligent life down here!"