po-devs/po-server-goodies

Destroy Chan sends user to glitched channel

Closed this issue · 2 comments

if (sys.isInChannel(player, 0) !== true) {

I destroyed a channel on my server, right after, I got put into a duplicate channel. Clicking exit on said channel is immediate crash.

Cirno destroyed a channel earlier, and crashed from it. This is likely the cause as I literally watched my channels increase upon destroying an unrelated channel.

Was in: Tohjo Falls, Mafia, Indigo Plateau
-- Command: Fuzzy: /destroychan cinnabar island
Now in: Tohjo Falls, Mafia, Indigo Plateau, Tohjo Falls

However, it doesn't happen all the time. Perhaps it is more related to destroying a channel with an issue resolving who is all in it?

I can't get this to happen at all.
The only time I know you crash from destroychan, is when someone recreates the channel, before you exit the channel after "You are no longer in the channel" or w/e

Happened to me once, and I'm assuming Cirno once too... but I destroyed many more channels after that and couldnt recreate. The only time it actually worked is right after another glitched channel was around.

I guess I assumed it would happen more often than it actually does...