Path: utzoo!attcan!uunet!mcvax!play
From: play@cwi.nl (The MC Funhouse Master)
Newsgroups: comp.sources.games.bugs
Subject: Re: Wanderer unfair
Keywords: unfair, cheat, bug?
Message-ID: <554@sering.cwi.nl>
Date: 15 Jul 88 23:02:10 GMT
References: <116@kl-cs.cs.kl.ac.uk>
Organization: CWI, Amsterdam
Lines: 36

In article <116@kl-cs.cs.kl.ac.uk> jonathan@cs.keele.ac.uk (Jonathan Knight) writes:
 > OK.  I got wanderer going.  I had to do it on a Sun as our
 > Ultrix 1.2 machine puked at nocbreak() and cbreak().  Must be
 > some function Sun's got that Ultrix hasn't.
Well BSD has them, they are probably not in AT&T curses.  Anyhow, change
cbreak to crmode, and leave out the nocbreak.  That should do it
(possibly also on the Sun).
 > 
 > I've done the first four levels no problem (well a little at 3 maybe).
 > The screen isn't always tidied up (leaves Jumping to next screen message
 > on and that gets part eaten by full map displays) but I can cope
 > with that (I may even have a crack at fixing it).  What I can't cope
 > with is the blatent cheating on level 5.  I practise away until
 > I can do it easily by skipping to the screen and practising, and
 > then off I go back to the beginning to get the really MEGA score.
 > But when I start clearing off the $'s on the top right of the board
 > all of a sudden from off the playing area a boulder appears and knocks
 > me on the head.  I can't get the $ without getting killed it's impossible.
 > OK so who's the joker who put that little feature in, I'm off
 > to sulk until someone tells me how to get around it.
Yes, one of those bugs.  I fixed a lot, and when I have fixed the last
three I will mail the result to the author for submussion to the newsgroup
(including a new screen and game edit mode).  Anyhow, as you are in dire
need for a fix, here is one for the most blatant bug.  Change line 65
in fall.c, which now reads:

if((screen[y-1][x] == 'O') && (nx>=0))       /* boulder falls ? */

to:

if((screen[y-1][x] == 'O') && (nx>=0) && (y > 0)) /* boulder falls ? */

I hope this helps.
-- 
Game Keeper
Mail: play@cwi.nl