Afk Time

Bran

habcrush.pw
Mar 13, 2017
1,789
1,609
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

habcrush.pw
Mar 13, 2017
1,789
1,609
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