Bug Closed · Resolved

[Bug] AND/OR Gate trigger stops working

#3515 opened by Unknown 3 years ago

Unknownreported this bug

All AND/OR Gate triggers occasionally stop working after you edit a dungeon. When all triggers are met no functions will be fired. Most of the time this is solved by re-starting the server, but of course this is not a viable solution for when we go public.

The AND/OR Gate listens to multiple signal receiver triggers.

Unknowncommented

I'm going to dedicate some time to investigating this issue, since multiple people have mentioned the issue now. Does this happen with all gates, or only ones that involve signal receivers? If you're not sure, that's fine, I'll just include it in my tests.

I can't promise a swift fix, since this seems to be a relatively random issue with no reproducible pattern yet.

Unknowncommented

Since we only use signal receivers, I don't know. But it happens with both AND and OR gate triggers.

Thank you for looking into it.

Unknowncommented

I believe I have found some reproducible steps to the issue. It involves multiple instances of the dungeon running. I am currently investigating why it is happening and how to fix it, but here are the steps I took.

  1. Player A enters the dungeon and begins triggering the signals
  2. Player B enters another instance of the same dungeon
  3. Everything will work fine for Player A... however, for Player B, the AND gate will not work.

I have been unable to make this happen for OR Gates so far.

Unknowncommented

Aha, and after only a few minutes of looking into the code with this new knowledge, I was able to locate the problem. I believe this should fix all the issues with AND and OR gates both, as they do share some code. Please try the latest dev build and let me know if the issue persists. :)

Sign in to join the discussion.