Petition Details and Chat

Petition ID 1709: Memory Part Equal troubles
Submitted Mon, 16 Sep 13 23:28:32 +0000

I use a global memory to set up a locking system in a few rooms in my Place, enabling people with access to those rooms to lock them once inside, without needing keys. All of these programs (there are four for each room: one outside in the common room, one in the room itself, and two in pages that are in the room). Each of these programs use a Memory Part Equal to determine when it should fire. For some reason, the program outside of the room works alright. The other three programs, though, aren't working correctly. The locking program works right the first time, but not after that. The other two programs also fail to operate properly. When set to debugging, the Memory Part Equals are failing, even when I know for a fact that the memory is set to a number that matches what the contrivance is looking for.

Essentially, the two rooms are each set to one digit of the memory, using a binary system. For each digit, a "0" leaves the room unlocked, and a "1" locks it. Thus, the programs are set to increment up and down by one number in the selected digit (1 for the first digit, 10 for the second, etc...), with other Memory Part Equals set up to prevent the number from going above 1 in any single digit.

As I said, though, the Memory Part Equals aren't reading properly, so the doors aren't locking properly, and the numbers keep cycling upwards. Sometimes, the pages don't show up properly (because, once again, the pages that are visibly linked are determined by what digit is in each place).

Any ideas?

Back to the List of Petitions

You have to be logged in to chat.