Afk Time

Bran

mediocre graphics artist
Mar 13, 2017
1,727
1,530
does anyone know where in the emu i edit how long it takes the avatar to go idle? because i want to remove/extend the time so you never see the Zzz's
 

Hypothesis

Programmer
Jan 6, 2019
524
361
Look for this in RoomUserManager.cs
C#:
if (!User.IsBot && !User.IsAsleep && User.IdleTime >= 600)
                    {
                        User.IsAsleep = true;
                        _room.SendMessage(new SleepComposer(User, true));
                    }
You can either remove this entire function or change the 600 to a higher amount of milliseconds.
 

Bran

mediocre graphics artist
Mar 13, 2017
1,727
1,530
Look for this in RoomUserManager.cs
C#:
if (!User.IsBot && !User.IsAsleep && User.IdleTime >= 600)
                    {
                        User.IsAsleep = true;
                        _room.SendMessage(new SleepComposer(User, true));
                    }
You can either remove this entire function or change the 600 to a higher amount of milliseconds.
thank you so much!!
 

Users who are viewing this thread

Top