Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
PRODUCTION-201607262204-86871104 Help
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="JayC" data-source="post: 388815" data-attributes="member: 36373"><p>Hi [USER=66193]@JynX[/USER]</p><p></p><p>I do not have Group Forums yet, however I heard that [USER=591]@Sledmore[/USER] 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:</p><p></p><p>[CODE]using System;</p><p>using System.Linq;</p><p>using System.Text;</p><p>using System.Collections.Generic;</p><p></p><p>using Plus.HabboHotel.Rooms;</p><p>using Plus.HabboHotel.Users;</p><p>using Plus.HabboHotel.Support;</p><p></p><p>namespace Plus.Communication.Packets.Outgoing.Moderation</p><p>{</p><p> class ModeratorTicketChatlogComposer : ServerPacket</p><p> {</p><p> public ModeratorTicketChatlogComposer(SupportTicket Ticket, RoomData RoomData, double Timestamp)</p><p> : base(ServerPacketHeader.ModeratorTicketChatlogMessageComposer)</p><p> {</p><p> base.WriteInteger(Ticket.TicketId);</p><p> base.WriteInteger(Ticket.SenderId);</p><p> base.WriteInteger(Ticket.ReportedId);</p><p> base.WriteInteger(RoomData.Id);</p><p></p><p> base.WriteByte(1);</p><p> base.WriteShort(2);//Count</p><p> base.WriteString("roomName");</p><p> base.WriteByte(2);</p><p> base.WriteString(RoomData.Name);</p><p> base.WriteString("roomId");</p><p> base.WriteByte(1);</p><p> base.WriteInteger(RoomData.Id);</p><p></p><p> base.WriteShort(Ticket.ReportedChats.Count);</p><p> foreach (string Chat in Ticket.ReportedChats)</p><p> {</p><p> Habbo Habbo = PlusEnvironment.GetHabboById(Ticket.ReportedId);</p><p></p><p> base.WriteString((((int)PlusEnvironment.GetUnixTimestamp() - Convert.ToInt32(Timestamp)) * 1000).ToString()); //Converted to String</p><p> base.WriteInteger(Ticket.ReportedId);</p><p> base.WriteString(Habbo != null ? Habbo.Username : "No username");</p><p> base.WriteString(Chat);</p><p> base.WriteBoolean(false);</p><p> }</p><p> }</p><p> }</p><p>}</p><p>[/CODE]</p><p></p><p>They now take the timestamp for the chatlog as a string.</p></blockquote><p></p>
[QUOTE="JayC, post: 388815, member: 36373"] Hi [USER=66193]@JynX[/USER] I do not have Group Forums yet, however I heard that [USER=591]@Sledmore[/USER] 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); } } } } [/CODE] They now take the timestamp for the chatlog as a string. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
PRODUCTION-201607262204-86871104 Help
Top