[comp.sources.games.bugs] Wierd bug in Ularn

operator@compsys.mu.edu (07/13/89)

There seems to be a bug in Ularn that gives players super weapons and armor.
With two characters now I've found what seemed to be normal magic armor
(ring mail +2 or something like that), but when I put it on and do an inventory,
suddenly I have ring mail +250!  Not Bad!  This has also happened to a sword
I found.  Any ideas?


Rob McKnight
operator@marque.mu.edu

sippy@f.gp.cs.cmu.edu (Jay Sipelstein) (07/14/89)

In article <9512@marque.mu.edu> operator@compsys.mu.edu (Rob McKnight) writes:
>
>There seems to be a bug in Ularn that gives players super weapons and armor.
>With two characters now I've found what seemed to be normal magic armor
>(ring mail +2 or something like that), but when I put it on and do an inventory,
>suddenly I have ring mail +250!  Not Bad!  This has also happened to a sword
>I found.  Any ideas?
>
>
>Rob McKnight
>operator@marque.mu.edu

There is a similar bug that is tickled when your armor is rusted.
This only happens on machines with unsigned ints (such as the IBM RT).
There is an implicit assuption in many places in ularn that negative
numbers can be stored in chars, without explicitly declaring the variable
to be signed char.  This can be fixed by changing by changing the
declaration.  I've only bothered to change this for rust monster bug
mentioned above (change rustarm to be an array of signed chars in 
monster.c).  I know that a similar change needs to be done in the 
code to display inventory of dead characters (the -i option), and
I'm sure it occurs in other places as well.

I'm not sure if this is your problem, however the above fixes should be 
made.

	Jay Sipelstein
	sippy@cs.cmu.edu

dwho@nmtsun.nmt.edu (David Olix) (07/14/89)

In article <9512@marque.mu.edu> operator@compsys.mu.edu (Rob McKnight) writes:
>
>There seems to be a bug in Ularn that gives players super weapons and armor.

... (Interesting examples deleted) ...

Good!  So I'm not the only one to notice this little problem.  More neat
examples:

  A character FOUND Slayer 5 spaces from the level 1 entrance to the dungeons.
  The same character also found Bessman's flailing hammer and other awesome
  armor and gems, etc., etc.

  Mayhaps there is a problem with the random number generator?  I know
  Moria had a similar problem when it's 4.87 release came out...

  BTW:  I'm running this on a VAX 11/750 running 4.3 BSD
  I suppose I should take a look...

--David Olix (dwho@nmtsun.nmt.edu)

ajy2208%ritcv@cs.rit.edu (07/14/89)

In article <2957@nmtsun.nmt.edu> dwho@nmtsun.nmt.edu (David Olix) writes:
>Good!  So I'm not the only one to notice this little problem.  More neat
>examples:
>
>  A character FOUND Slayer 5 spaces from the level 1 entrance to the dungeons.
>  The same character also found Bessman's flailing hammer and other awesome
>  armor and gems, etc., etc.
>
>  Mayhaps there is a problem with the random number generator?  I know
>  Moria had a similar problem when it's 4.87 release came out...
>
>  BTW:  I'm running this on a VAX 11/750 running 4.3 BSD
>  I suppose I should take a look...
>
>--David Olix (dwho@nmtsun.nmt.edu)

I also noticed that it is very easy to win with Ularn.  Already I have
won twice.  Each time it has taken about 6 hours (if that!).  Since I
am a lab assistant, I get to spend the majority of my time reading news
or playing games.. 

I think the random number generator is the cause of this, but I haven't 
taken a look at the source yet to see if this might be the case.  At one
point I had the right combination of magical items/weapons/armour to walk
right through demon princes, and the Hellfire God only took 3 hits to
kill (I was surprised he was so hard!).  Later on I killed him with the
Lance of Death.  That took QUITE a bit longer (about 40, maybe more, hits).

Albert Yarusso, Rochester Institute of Technology

bitnet: ajy2208@ritvax.bitnet	(most reliable)
usenet: ajy2208.rit.ritcv.edu	(most unreliable)

operator@compsys.mu.edu (07/15/89)

In article <9512@marque.mu.edu> I write:
>There seems to be a bug in Ularn that gives players super weapons and armor.

Just to follow up..  When I originally posted I didn't know when exactly this
happened.  Now I noticed that plate mail I bought when I was level 4 became
plate mail + 250 the moment I went up to level 5.  When I sold the armor, I
got 600,000+ gp. for it.  This is making the game rather boring.

Rob McKnight
operator@marque