stargate-rewritten / Stargate-Bukkit

The original, and still the best, survival-friendly portal plugin.
https://sgrewritten.org/paper
GNU Lesser General Public License v3.0
33 stars 12 forks source link

`I` gates do not update. #366

Closed Pheotis closed 5 months ago

Pheotis commented 5 months ago

Bug Description

This is probably related to #261

Reproduction Steps

  1. Make this portal on Server1:

    gate1
    gate2
    server2
    i

    This will create a disconnected sign because gate2 doesn't exist yet. image

  2. Make this portal on Server2:

    gate1
    gate2
    server2
    i

    This will create a connected gate because gate1 was just created image

  3. Return to Server1 and try to use gate1.

    This will still be disconnected. image

Desired Behaviour

Somehow, we need to inform gate1 on server1 that its destination has been created

Observed Behaviour

An incorrectly disconnected portal occurs.

Trace Logs

Latest core, latest paper, latest velocity, via mariadb on windows.

Other Information

No response

Pheotis commented 5 months ago

I still do not understand how to reliably repro this (it happens frequently, but with no apparent pattern). In any case, messing around with I gates on a velocity mariadb network of paper servers is bound to produce this problem in abundance.

Thorinwasher commented 5 months ago

Personal1 is not an interserver portal, if that were the case, you would see the text like this