Re: PlusEMU PRODUCTION-201607262204-86871104
I have tried to packetlog the ID for AvatarAspect, but I can't find it.
@INCOLENZEN Maybe Twan can find it for you.
Re: PlusEMU PRODUCTION-201607262204-86871104
Post the fix for sitting and laying, please? I have already edited lots of stuff that I don't wanna redo.
Re: PlusEMU PRODUCTION-201607262204-86871104
@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?
Re: PlusEMU PRODUCTION-201607262204-86871104
Quote:
Originally Posted by
INCOLENZEN
@
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?
Re: PlusEMU PRODUCTION-201607262204-86871104
Quote:
Originally Posted by
Berttos
Group badges works
Added rules in IIS/xampp?
Yeah, already fixed - thanks. Only need packet id for instant avatarchange in menubar now..
Re: PlusEMU PRODUCTION-201607262204-86871104
Quote:
Originally Posted by
Dominic
Post the fix for sitting and laying, please? I have already edited lots of stuff that I don't wanna redo.
In UserUpdateComposer i changed the , to .
Quote:
Originally Posted by
Mackors
Look fix instantly in menu bar:
ServerPacketHeader.cs
PHP Code:
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 Code:
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 Code:
PlusEnvironment.GetGame().GetAchievementManager().ProgressAchievement(Session, "ACH_AvatarLooks", 1);
Below it, you need to add this:
PHP Code:
Session.SendMessage(new AvatarAspectUpdateMessageComposer(Look, Gender));
I'm not really sure or the packet ID 3823 is the right one.
Where did you got the packet from?
Re: PlusEMU PRODUCTION-201607262204-86871104
@Twan Probably someone packetlogged it before. Because that ID was on a older SWF version.
Re: PlusEMU PRODUCTION-201607262204-86871104
Quote:
Originally Posted by
Twan
In UserUpdateComposer i changed the , to .
Where did you got the packet from?
Thats the wrong packet id, so we ask you - maybe you got the right packet id?
Re: PlusEMU PRODUCTION-201607262204-86871104
Quote:
Originally Posted by
Mackors
@
Twan Probably someone packetlogged it before. Because that ID was on a older SWF version.
I'll try to find it. Will get back to you soon.
Re: PlusEMU PRODUCTION-201607262204-86871104
Quote:
Originally Posted by
Twan
In UserUpdateComposer i changed the , to .
Where did you got the packet from?
Got a fix for this?
http://i.grab.la/06b17-ab42435e-c3d8...6c82973add.png
Also when clicking one of the furni's, it disconnects.
Re: PlusEMU PRODUCTION-201607262204-86871104
Quote:
Originally Posted by
Dominic
And clicking on an item is disconnecting you, too.
Re: PlusEMU PRODUCTION-201607262204-86871104
Quote:
Originally Posted by
Dominic
For me it works without disconnecting.
Make sure to see the browser console for any errors. (maybe something missing?)
Re: PlusEMU PRODUCTION-201607262204-86871104
Quote:
Originally Posted by
Mackors
Look fix instantly in menu bar:
ServerPacketHeader.cs
PHP Code:
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 Code:
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 Code:
PlusEnvironment.GetGame().GetAchievementManager().ProgressAchievement(Session, "ACH_AvatarLooks", 1);
Below it, you need to add this:
PHP Code:
Session.SendMessage(new AvatarAspectUpdateMessageComposer(Look, Gender));
I'm not really sure or the packet ID 3823 is the right one.
----------------------------------------------------------------------------------------------------------------------------------------------------------------
In you cannot find AvatarAspectUpdateMessageComposer in ServerPacketHeader, search it with the name: FigureUpdateMessageComposer because this packet there is but it is called with other name.
Re: PlusEMU PRODUCTION-201607262204-86871104
@Sicily94 Did not know that, haha. Thanks!
Looks update now good.
Re: PlusEMU PRODUCTION-201607262204-86871104
Quote:
Originally Posted by
Mackors
For me it works without disconnecting.
Make sure to see the browser console for any errors. (maybe something missing?)
https://sc-cdn.scaleengine.net/i/4d9...4ca61a1edd.png
Uhm, can you tell me how to fix? This error is coming, if I click on a searched item.