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
then in Plus.Communication.Packets.Outgoing.Rooms.Engine create a new file called AvatarAspectUpdateMessageComposer and add this.PHP:public const int AvatarAspectUpdateMessageComposer = 1208;
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
belowPHP:Session.SendMessage(new AvatarAspectUpdateMessageComposer(Look, Gender));
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
Last edited: