Packeterror:Bug during user login: System.NullReferenceException: Object reference not set to an instance of an object.
at Plus.Communication.Packets.Outgoing.Moderation.ModeratorInitComposer..ctor(ICollection`1 UserPresets, ICollection`1 RoomPresets, Dictionary`2 UserActionPresets, ICollection`1 Tickets) in C:\inetpub\wwwroot\PlusEMU - Copy\Communication\Packets\Outgoing\Moderation\ModeratorInitComposer.cs:line 25
at Plus.HabboHotel.GameClients.GameClient.TryAuthenticate(String AuthTicket) in C:\inetpub\wwwroot\PlusEMU - Copy\HabboHotel\GameClients\GameClient.cs:line 213
Error in packet [2901] BODY: [0]:smute abcd[0][0][0][0][0][0][0]?:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Plus.HabboHotel.Rooms.Chat.Commands.Moderator.MuteCommand.Execute(GameClient Session, Room Room, String[] Params) in C:\inetpub\wwwroot\PlusEMU - Copy\HabboHotel\Rooms\Chat\Commands\Moderator\MuteCommand.cs:line 53
at Plus.HabboHotel.Rooms.Chat.Commands.CommandManager.Parse(GameClient Session, String Message) in C:\inetpub\wwwroot\PlusEMU - Copy\HabboHotel\Rooms\Chat\Commands\CommandManager.cs:line 105
at Plus.Communication.Packets.Incoming.Rooms.Chat.ChatEvent.Parse(GameClient Session, ClientPacket Packet) in C:\inetpub\wwwroot\PlusEMU - Copy\Communication\Packets\Incoming\Rooms\Chat\ChatEvent.cs:line 72
at Plus.Communication.Packets.PacketManager.TryExecutePacket(GameClient Session, ClientPacket Packet) in C:\inetpub\wwwroot\PlusEMU - Copy\Communication\Packets\PacketManager.cs:line 153
at Plus.HabboHotel.GameClients.GameClient.parser_onNewPacket(ClientPacket Message) in C:\inetpub\wwwroot\PlusEMU - Copy\HabboHotel\GameClients\GameClient.cs:line 73
A little more information would go a long way. Using the default emulator and CMS? Are you sending the composer straight away on authentication? I think it's called something like ModeratorInitComposercriticalexceptions:
Packeterror:
if (userData.user.GetPermissions().HasRight("mod_tickets"))
{
if (!PlusEnvironment.GetGame().GetPlusManager().TryGetStaffProfile
(this._habbo.Id, out var Profile))
{
PlusEnvironment.GetGame().GetPlusManager().TryAddStaffProfile(this._habbo.Id);
}
SendPacket(new ModeratorInitComposer(
PlusEnvironment.GetGame().GetModerationManager().UserMessagePresets,
PlusEnvironment.GetGame().GetModerationManager().RoomMessagePresets,
PlusEnvironment.GetGame().GetModerationManager().UserActionPresets,
PlusEnvironment.GetGame().GetModerationTool().GetTickets));
}