CONSTANT_WEIGHT is extremely buggy! v0.21

Messages are moved here (should anyone ever want to see them again) once they are no longer applicable to the current version (e.g. suggestions that have been implemented or bugs that have been fixed).

Moderator: George Gilbert

Forum rules
Please read the Forum rules and policies before posting. You may Image to help finance the hosting costs of this forum.
Post Reply
User avatar
Gambit37
Should eat more pies
Posts: 13773
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

CONSTANT_WEIGHT is extremely buggy! v0.21

Post 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>
User avatar
Sophia
Concise and Honest
Posts: 4307
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

CONSTANT_WEIGHT bug

Post 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...
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Re: CONSTANT_WEIGHT bug

Post by George Gilbert »

Fixed and will be in V0.22
Post Reply