Rejoin++ by CactusPuppy#11321
This code is over 6 months old. The code may have expired and might no longer function.
A better system for handling disconnects
Sometimes during a scrim, a player will disconnect due to bad internet, their dog/cat pulling their power cord, etc. When they rejoin, they don't have any ult charge and they're all the way back in spawn. This Workshop aims to fix that.
This Workshop is intended for use in lobbies that are running scrims or similar. When a player disconnects, as long as they rejoin into the same slot, they will be forced to select the hero they were last playing. Once said player spawns in, they will have the same ult charge they left with, and if they were alive when they disconnected, be in the same position with the same* health as when they disconnected.
* See next section for caveat
- Due to the limitations of the Workshop, it is not possible to return the player to precisely their previous health if the hero possesses natural armor, but the damage will never kill the player, and the result should be fairly close regardless.
- If a player fills in for the disconnected player, the Workshop will not distinguish the two and perform all of the aforementioned actions on the new player.
- Currently, it does not seem possible to skip the step where the player must manually spawn in.
This post was originally hosted on workshop.elohell.gg, a site which is no longer online. If this was originally your post, you may click the button below to transfer this post to your Workshop.codes account or delete this post entirely.Archive Actions