PRODUCTION-201607262204-86871104 Help

JynX

Posting Freak
Feb 6, 2016
710
438
Hello DevBest,
I was recently upgrading to PRODUCTION-201607262204-86871104 from PRODUCTION-201602082203-712976078. I got it most of it working including the catalog, rooms, and whatnot. But, what I cannot seem to fix is the MOD tool disconnecting me upon clicking "pick" on a help report. Also, if anyone has somewhere to look for adding GroupForums can you PM me or comment below, I'd greatly appreciate it. Thanks in advance!
:)

People that may know
@Sledmore @JayCustom @Meap @Leader @DaSavage
 
Last edited:

JayC

Always Learning
Aug 8, 2013
5,493
1,398
Hi @JynX

I do not have Group Forums yet, however I heard that @Sledmore was working on something along those lines and he was going to release another Plus EMU edit at the end of the month. Not sure where he is on that , but with the mod tools try this:

Code:
using System;
using System.Linq;
using System.Text;
using System.Collections.Generic;

using Plus.HabboHotel.Rooms;
using Plus.HabboHotel.Users;
using Plus.HabboHotel.Support;

namespace Plus.Communication.Packets.Outgoing.Moderation
{
    class ModeratorTicketChatlogComposer : ServerPacket
    {
        public ModeratorTicketChatlogComposer(SupportTicket Ticket, RoomData RoomData, double Timestamp)
            : base(ServerPacketHeader.ModeratorTicketChatlogMessageComposer)
        {
            base.WriteInteger(Ticket.TicketId);
            base.WriteInteger(Ticket.SenderId);
            base.WriteInteger(Ticket.ReportedId);
            base.WriteInteger(RoomData.Id);

            base.WriteByte(1);
            base.WriteShort(2);//Count
           base.WriteString("roomName");
            base.WriteByte(2);
           base.WriteString(RoomData.Name);
           base.WriteString("roomId");
            base.WriteByte(1);
            base.WriteInteger(RoomData.Id);

            base.WriteShort(Ticket.ReportedChats.Count);
            foreach (string Chat in Ticket.ReportedChats)
            {
                Habbo Habbo = PlusEnvironment.GetHabboById(Ticket.ReportedId);

                base.WriteString((((int)PlusEnvironment.GetUnixTimestamp() - Convert.ToInt32(Timestamp)) * 1000).ToString()); //Converted to String
                base.WriteInteger(Ticket.ReportedId);
               base.WriteString(Habbo != null ? Habbo.Username : "No username");
               base.WriteString(Chat);
                base.WriteBoolean(false);
            }
        }
    }
}

They now take the timestamp for the chatlog as a string.
 

JynX

Posting Freak
Feb 6, 2016
710
438
Hi @JynX

I do not have Group Forums yet, however I heard that @Sledmore was working on something along those lines and he was going to release another Plus EMU edit at the end of the month. Not sure where he is on that , but with the mod tools try this:

Code:
using System;
using System.Linq;
using System.Text;
using System.Collections.Generic;

using Plus.HabboHotel.Rooms;
using Plus.HabboHotel.Users;
using Plus.HabboHotel.Support;

namespace Plus.Communication.Packets.Outgoing.Moderation
{
    class ModeratorTicketChatlogComposer : ServerPacket
    {
        public ModeratorTicketChatlogComposer(SupportTicket Ticket, RoomData RoomData, double Timestamp)
            : base(ServerPacketHeader.ModeratorTicketChatlogMessageComposer)
        {
            base.WriteInteger(Ticket.TicketId);
            base.WriteInteger(Ticket.SenderId);
            base.WriteInteger(Ticket.ReportedId);
            base.WriteInteger(RoomData.Id);

            base.WriteByte(1);
            base.WriteShort(2);//Count
           base.WriteString("roomName");
            base.WriteByte(2);
           base.WriteString(RoomData.Name);
           base.WriteString("roomId");
            base.WriteByte(1);
            base.WriteInteger(RoomData.Id);

            base.WriteShort(Ticket.ReportedChats.Count);
            foreach (string Chat in Ticket.ReportedChats)
            {
                Habbo Habbo = PlusEnvironment.GetHabboById(Ticket.ReportedId);

                base.WriteString((((int)PlusEnvironment.GetUnixTimestamp() - Convert.ToInt32(Timestamp)) * 1000).ToString()); //Converted to String
                base.WriteInteger(Ticket.ReportedId);
               base.WriteString(Habbo != null ? Habbo.Username : "No username");
               base.WriteString(Chat);
                base.WriteBoolean(false);
            }
        }
    }
}

They now take the timestamp for the chatlog as a string.
Thanks for this Jay, it fixed my issues. Yea I know Sledmore is releasing his edit, but then if I use that. Did I learn anything? Nope, I just wanted to learn about updating revisions for future use. :)
 

Users who are viewing this thread

Top