Gamealition / Survival-Skripts

Scripts for the Gamealition Minecraft Survival server that are powered by Skript, including the DERPI punishment system
http://njol.ch/projects/skript/
MIT License
7 stars 2 forks source link

`/ride`: Passengers disappear client-side for those being ridden on #4

Closed RoyCurtis closed 7 years ago

RoyCurtis commented 8 years ago

Example code

command /ride <player> <player>:
    description: Allows the riding of a player
    permission: gamealition.mod-high
    executable by: players
    trigger:
        if arg 1 is the player:
            arg 2 is the player
            message "&c*** You cannot ride yourself!"
            exit trigger

        make arg 1 ride arg 2

Reproduction

  1. With volunteer, do /ride <yourname> <theirname>
  2. Observe that you attach on volunteer
  3. Volunteer observes that you have attached on them
  4. Ask volunteer to move/fly around. Both observe that movement is updating fine for both
  5. Dismount from volunteer. Observe you can successfully dismount, but volunteer still sees you attached

    Notes

Most likely a Minecraft/Spigot bug than Skript; ride itself is working. The dismount mechanism is the server's responsibility (unless Skript is using wrong kind of mount?)

RoyCurtis commented 8 years ago

Appears to be partially resolved. The original problem has been fixed, but now a new problem is present.

When riding on another player, the rider sees the passenger disappear after moving a block away. Everyone else can see both the rider and passenger just fine.

RoyCurtis commented 7 years ago

This was fixed in a Minecraft/Spigot update