Newbie Spellweaver
- Joined
- Nov 17, 2016
- Messages
- 23
- Reaction score
- 0
How can I fix this? I know I have to change the packet id or something else, but idk?
ty if u can help
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!
How can I fix this? I know I have to change the packet id or something else, but idk?
ty if u can help
This problem is because, AvatarAspectUpdateMessageComposer is missing.
That is why it is not updating, after relog it will update your look in the menu.
public const int AvatarAspectUpdateMessageComposer = 3283;
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);
}
}
}
PlusEnvironment.GetGame().GetAchievementManager().ProgressAchievement(Session, "ACH_AvatarLooks", 1);
Session.SendMessage(new AvatarAspectUpdateMessageComposer(Look, Gender));
Look fix instantly in menu bar:
ServerPacketHeader.cs
PHP:public const int AvatarAspectUpdateMessageComposer = 3283;
Go now to Plus > Communication > Packets > Outgoing > Rooms > Engine
Create a new file, name it AvatarAspectUpdateMessageComposer.cs
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); } } }
Go to UpdateFigureDataEvent and search for this:
PHP:PlusEnvironment.GetGame().GetAchievementManager().ProgressAchievement(Session, "ACH_AvatarLooks", 1);
Below it, you need to add this:
PHP:Session.SendMessage(new AvatarAspectUpdateMessageComposer(Look, Gender));
I'm not really sure or the packet ID 3823 is the right one.
@Twan - can you help to fix avatarchange in menubar? I need packet id for this, look this posts before this here.
And other question - why group badges aren't working on this revision, can you help?
Group badges works
Added rules in IIS/xampp?
In UserUpdateComposer i changed the , to .Post the fix for sitting and laying, please? I have already edited lots of stuff that I don't wanna redo.
Look fix instantly in menu bar:
ServerPacketHeader.cs
PHP:public const int AvatarAspectUpdateMessageComposer = 3283;
Go now to Plus > Communication > Packets > Outgoing > Rooms > Engine
Create a new file, name it AvatarAspectUpdateMessageComposer.cs
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); } } }
Go to UpdateFigureDataEvent and search for this:
PHP:PlusEnvironment.GetGame().GetAchievementManager().ProgressAchievement(Session, "ACH_AvatarLooks", 1);
Below it, you need to add this:
PHP:Session.SendMessage(new AvatarAspectUpdateMessageComposer(Look, Gender));
I'm not really sure or the packet ID 3823 is the right one.
In UserUpdateComposer i changed the , to .
Where did you got the packet from?
Twan Probably someone packetlogged it before. Because that ID was on a older SWF version.
In UserUpdateComposer i changed the , to .
Where did you got the packet from?
Got a fix for this?
Also when clicking one of the furni's, it disconnects.
Got a fix for this?
Also when clicking one of the furni's, it disconnects.
Look fix instantly in menu bar:
ServerPacketHeader.cs
PHP:public const int AvatarAspectUpdateMessageComposer = 3283;
Go now to Plus > Communication > Packets > Outgoing > Rooms > Engine
Create a new file, name it AvatarAspectUpdateMessageComposer.cs
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); } } }
Go to UpdateFigureDataEvent and search for this:
PHP:PlusEnvironment.GetGame().GetAchievementManager().ProgressAchievement(Session, "ACH_AvatarLooks", 1);
Below it, you need to add this:
PHP:Session.SendMessage(new AvatarAspectUpdateMessageComposer(Look, Gender));
I'm not really sure or the packet ID 3823 is the right one.
For me it works without disconnecting.
Make sure to see the browser console for any errors. (maybe something missing?)