Page 1 of 1

CONSTANT_WEIGHT is extremely buggy! v0.21

Posted: Tue Sep 17, 2002 1:03 am
by Gambit37
Sorry to say, but this is screwed!

There's some serious flaw with the code here that makes any CONSTANT_WEIGHT pad automatically activate any time the party picks up an object associated with the pad, no matter where it is in the dungeon!

I reported some weird goings on in my CSB thread with the Green Gem/Scorpions room; I've been fiddling with a test dungeon and this confirms my suspicions.

Here's the dungeon I'm working on. Try picking up the food and you'll hear the gate opening and closing around the corner! The pad that should be controlling this isn't even on this tile, so there's something very weird going on!

<a href="http://www.dmcodex.com/rtcbugs/baking.t ... ing.txt</a>

CONSTANT_WEIGHT bug

Posted: Sat Sep 21, 2002 10:22 pm
by Sophia
I noticed this bug too, the hard way... :wink:

It seems to work fine as long as the OPBY is just OBJECT, but, if you try to set it specifically to one object, the bug appears.

The other thing I noticed is that, at least for me, it activated the pad when I put down the object anywhere in the dungeon, EXCEPT on that pad! Maybe you've got the sense of some comparison inverted or something...

Re: CONSTANT_WEIGHT bug

Posted: Sun Nov 17, 2002 6:13 pm
by George Gilbert
Fixed and will be in V0.22