Xref: utzoo comp.sources.games.bugs:1024 rec.games.misc:5825 Path: utzoo!bnr-vpa!bnr-fos!dgibbs From: dgibbs@bnr-fos.UUCP (David Gibbs) Newsgroups: comp.sources.games.bugs,rec.games.misc Subject: Omega bug(fix) Message-ID: <810@bnr-fos.UUCP> Date: 27 Jul 89 20:59:46 GMT Reply-To: dgibbs@bnr-fos.UUCP (David Gibbs) Organization: Bell-Northern Research, Ottawa, Canada Lines: 23 I have found a small error in Omega, which is (I think) a bug, not designer intent. If a person with a high power (>21) and very chaotic (alignment < -30) he can end up being charged a large fee to enter the sorcerors guild, and this will go up if his power increases. I had this occur to a character of mine who had to paw several thousand gold to join. (greater than 10000) The bug is caused by two lines in oguild2.c , 477 and 478 at the top of the function fee is initialized to 3000. 477: fee += Player.alignment * 100 478: fee = (int)(fee*(1 + (12-Player.Pow)/9.0)) if alignment is, say -300 (Servant of Chaos, not hard to get) and Pow is 25, this can be very costly. probably the easiest way to fix this is to change line 477 to: fee = max( 0, (fee + Player.alignment*100)); -David Gibbs