#AutoReconnect-Remastered

28 messages · Page 1 of 1 (latest)

high lion
#

AutoReconnect-Remastered is a plugin based on Exiled for SCP:SL. This plugin allows players who were accidentally disconnected from the server to automatically spawn as the same character they were before being disconnected.

This plugin does not break VSR. If people with DNT connect to the server, the plugin will ask if it can store data for plugin use. It supports CustomRoles and CustomItems, and has multiple configurations, allowing for extensive customization.

Source: https://github.com/XKaguya/AutoReconnect-Remastered
Release: https://github.com/XKaguya/AutoReconnect-Remastered/releases/tag/1.2.0

molten geyser
#

is it minutes or seconds

  retention_time: 0
high lion
#

sry just wake up

high lion
#

if the time expired, while the player has reconnected, it will not be restore

versed flower
#

not what it does

high lion
#

anyway

mint tinsel
#

@high lion What is the .pbd file?

high lion
mint tinsel
#

okay

fringe bay
#

any updates fixing bugs? @high lion

high lion
fringe bay
# high lion Well im not playing sl but i think i can fix, but i dont know any bugs about the...

If I tell you there are some errors, one is when the game ends and a player disconnects by mistake, what happens is that he spawns in the other game when he reconnects with his previous role that he was in at the end of the game, for example an ntf when the game just started.

Another error is when you are a guard and you disconnect there is a chance that when you reconnect you will come out as a specialist or ntf.

Also a bug with the SCPs, mostly zombies when they disconnect and reconnect they appear in the void although it also happens with 106 or 939 and some SCPs.

There is also a bug although I don't think it is because if you have a CUSTOMROLE and the person reconnects the person does not come out as a CUSTOMROLE that he was if he does not come out with the normal role and not with his custom role in other words he loses his customrole

fringe bay
#

And another bug I just found is when you have a candy and you disconnect and come back by reconnecting you have 2 candies, that is, 1 is added

high lion
fringe bay
high lion
# fringe bay If I tell you there are some errors, one is when the game ends and a player disc...

Well i dont really know how these bugs happens.

For the first ill try add a method to clear player data
For the second and other

PlayerData playerHandler = new PlayerData(player)
{
    ArtificialHealth = player.ArtificialHealth,
    Ammo = new Dictionary<ItemType, ushort>(),
    Class = player.Role.Type,
    CustomInfo = player.CustomInfo,
    CustomName = player.CustomName,
    Effects = new(),
    Health = player.Health,
    HumeShield = player.HumeShield,
    Inventory = new HashSet<Item>(),
    IsUsingStamina = player.IsUsingStamina,
    MaxArtificialHealth = player.MaxArtificialHealth,
    MaxHealth = player.MaxHealth,
    Name = player.Nickname,
    Player = player,
    Position = player.Position,
    Scale = player.Scale,
    Stamina = player.Stamina,
    Time = DateTime.Now,
};

I dont know what happened, but can you give me more information that ill might know what happened.

And are you saying when a player have CustomRole and reconnects, it will lose its CustomRole, Are you using the Exiled Official CustomRole module or ?

Anyway, Thankyou for your information.

fringe bay
#

I use complicated-custom-roles but that happens, it loses its custom role or it usually bugs and becomes the same class but with nothing.

I was also seeing that there is an error of duplicating elements when reconnecting sometimes

fringe bay
high lion
fringe bay
high lion
#

Which is weird, any debug logs or errors ?

fringe bay
#

It doesn't show in the console, only in the game. Maybe I can replicate them and send them to you as an image