Bugs with Counters

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

Bugs with Counters

Post by Sophia »

If a WALLITEM_COUNTER is set to TOGGLE (rather than ACTIVATE or DEACTIVATE), it will trigger is target as soon as something triggers it at all, not when the count hits 0.

Also, if a WALLITEM_ALCOVE is in the same square as a counter, the counter will be triggered any time something is put into the alcove (even if the alcove has no targets), which will cause the counter to fire off prematurely.
User avatar
Gambit37
Should eat more pies
Posts: 13769
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: Bugs with Counters

Post by Gambit37 »

Yep, I've reported the problems with alcoves before, and it's due to the inherent nature of how RTC handles mouse-clicks in the dungeon view.

I get the impression that George has changed some quite fundamental aspects of the engine in v0.22, so hopefully these problems have been fixed. Here's some of the threads that refer to these problems:

<a href="http://pub50.ezboard.com/freturntochaos ... 8.topic</a>
<a href="http://pub50.ezboard.com/freturntochaos ... 1.topic</a>
<a href="http://pub50.ezboard.com/freturntochaos ... 2.topic</a>
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Re: Bugs with Counters

Post by George Gilbert »

Yes, I've changed quite a few things; however, the first part (to do with TOGGLE) is behaving exactly as intended.

When a counter changes it's value it sees if it's zero or not. If it is zero, then it performs the action, if it isn't (either has a positive, or negative, value) then it performs the inverse of the action. The inverse of ACTIVATE is DEACTIVATE (i.e. one followed by the other gets you back to where you started) and vice versa for DEACTIVATE.

The inverse of TOGGLE is however TOGGLE (i.e. if you do one followed by another then you get back to where you were). So yes, whenever you have a counter with an action of TOGGLE, then it will always toggle whenever you change it's state...

Changing it's state when you put something in an alcove - that's a bug though!
User avatar
George Gilbert
Dungeon Master
Posts: 3022
Joined: Mon Sep 25, 2000 11:04 am
Location: London, England
Contact:

Re: Bugs with Counters

Post by George Gilbert »

Fixed and will be in V0.22
Post Reply