Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

PlusEMU - Habboon Edit - PRODUCTION-201601012205-226667486

Status
Not open for further replies.
Newbie Spellweaver
Joined
Dec 21, 2015
Messages
16
Reaction score
1
Ok so, I've seen many asking how to fix the Avatar look update on the UI bar. So here it is.
add this to ServerPacketHeader.cs
PHP:
public const int AvatarAspectUpdateMessageComposer = 1208;
then in Plus.Communication.Packets.Outgoing.Rooms.Engine create a new file called AvatarAspectUpdateMessageComposer and add this.
PHP:
using System;
using System.Linq;
using System.Text;


using Plus.HabboHotel.Rooms;
using Plus.HabboHotel.GameClients;


namespace Plus.Communication.Packets.Outgoing.Rooms.Engine
{
    class AvatarAspectUpdateMessageComposer : ServerPacket
    {
        public AvatarAspectUpdateMessageComposer(string Figure, string Gender)
            : base(ServerPacketHeader.AvatarAspectUpdateMessageComposer)
        {
            base.WriteString(Figure);
            base.WriteString(Gender);


        }
    }
}

then goto UpdateFigureDataEvent and add this
PHP:
 Session.SendMessage(new AvatarAspectUpdateMessageComposer(Look, Gender));
below
PHP:
PlusEnvironment.GetGame().GetAchievementManager().ProgressAchievement(Session, "ACH_AvatarLooks", 1);


NOTE: Use AvatarAspectUpdateMessageComposer = 3283; for PRODUCTION-201605102204-92524753

Thanks man it works. You are one legend :thumbup1:
 
Last edited:
Newbie Spellweaver
Joined
Dec 21, 2015
Messages
16
Reaction score
1
Ok so, I've seen many asking how to fix the Avatar look update on the UI bar. So here it is.
add this to ServerPacketHeader.cs
PHP:
public const int AvatarAspectUpdateMessageComposer = 1208;
then in Plus.Communication.Packets.Outgoing.Rooms.Engine create a new file called AvatarAspectUpdateMessageComposer and add this.
PHP:
using System;
using System.Linq;
using System.Text;


using Plus.HabboHotel.Rooms;
using Plus.HabboHotel.GameClients;


namespace Plus.Communication.Packets.Outgoing.Rooms.Engine
{
    class AvatarAspectUpdateMessageComposer : ServerPacket
    {
        public AvatarAspectUpdateMessageComposer(string Figure, string Gender)
            : base(ServerPacketHeader.AvatarAspectUpdateMessageComposer)
        {
            base.WriteString(Figure);
            base.WriteString(Gender);


        }
    }
}

then goto UpdateFigureDataEvent and add this
PHP:
 Session.SendMessage(new AvatarAspectUpdateMessageComposer(Look, Gender));
below
PHP:
PlusEnvironment.GetGame().GetAchievementManager().ProgressAchievement(Session, "ACH_AvatarLooks", 1);


NOTE: Use AvatarAspectUpdateMessageComposer = 3283; for PRODUCTION-201605102204-92524753

Hmm. When I try mimicing a user. It doesn't update. Any fixes for this?
 
Junior Spellweaver
Joined
Jul 31, 2012
Messages
188
Reaction score
5
Try to add
Code:
Session.SendMessage(new AvatarAspectUpdateMessageComposer(Look, Gender));
into mimic command
 
Newbie Spellweaver
Joined
Dec 21, 2015
Messages
16
Reaction score
1
Try to add
Code:
Session.SendMessage(new AvatarAspectUpdateMessageComposer(Look, Gender));
into mimic command

Which part?? I tried adding it and showed errors >< Any ideas bud
 
Junior Spellweaver
Joined
Jul 31, 2012
Messages
188
Reaction score
5
try this:
Code:
   if (User != null)
            {
                Session.SendMessage(new UserChangeComposer(User, true));
                Room.SendMessage(new UserChangeComposer(User, false));
                Session.SendMessage(new AvatarAspectUpdateMessageComposer(Session.GetHabbo().Look, Session.GetHabbo().Gender));
            }
in mimic
 
Newbie Spellweaver
Joined
Dec 21, 2015
Messages
16
Reaction score
1
Which part?? I tried adding it and showed errors >< Any ideas bud

Works now bud :) Thanks



try this:
Code:
   if (User != null)
            {
                Session.SendMessage(new UserChangeComposer(User, true));
                Room.SendMessage(new UserChangeComposer(User, false));
                Session.SendMessage(new AvatarAspectUpdateMessageComposer(Session.GetHabbo().Look, Session.GetHabbo().Gender));
            }
in mimic

Works now thanks :)
 
Newbie Spellweaver
Joined
May 13, 2016
Messages
94
Reaction score
24
How to fix
PS : I was already disabled in the settings
TL279Cr - PlusEMU - Habboon Edit - PRODUCTION-201601012205-226667486 - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Dec 21, 2015
Messages
16
Reaction score
1
Any ideas? Chat bubbles wont work. Reply asap thanks.

19egN8Y - PlusEMU - Habboon Edit - PRODUCTION-201601012205-226667486 - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Status
Not open for further replies.
Back
Top