Amazing, don't let this project die. The R35/36 BETA is my favorite version and always will be!
Keep going dude :)
Amazing, don't let this project die. The R35/36 BETA is my favorite version and always will be!
Keep going dude :)
'Cause I promised:
(the 'Not used AT ALL' isn't a joke; they really aren't used in the SWF...)PHP Code:class ObjectsMessageComposer : MessageComposer
{
public ObjectsMessageComposer(ConcurrentBag<Item> floorItems)
: base (32)
{
AppendVL64(floorItems.Count);
foreach (Item floorItem in floorItems)
{
SerializeItem(floorItem);
}
}
private void SerializeItem(Item item)
{
AppendVL64(item.Id);
AppendVL64(item.Definition.SpriteId);
AppendVL64(item.X);
AppendVL64(item.Y);
AppendVL64(item.Rotation);
AppendString(item.Z.ToString());
AppendVL64(0); // Not used AT ALL
AppendString(item.Data);
AppendVL64(-1); // Not used AT ALL
}
}
PHP Code:client.SendComposer(new ObjectsMessageComposer(client.CurrentRoom.GetFloorItems()));
When are you going to start with the pathfinder?
Looks good.
Nice to see this progressing well, keep it up
(Also: do you want to be a part of a super secret developer discord? PM me)
Wall items work correctly now too:
All is from database too, nothing is hard-coded! (thought it'd be worth mentioning...)PHP Code:class ItemsMessageComposer : MessageComposer
{
public ItemsMessageComposer(ConcurrentBag<Item> wallItems)
: base(45)
{
AppendVL64(wallItems.Count);
foreach (Item wallItem in wallItems)
{
SerializeItem(wallItem);
}
}
private void SerializeItem(Item item)
{
AppendString(item.Id.ToString());
AppendVL64(item.Definition.SpriteId);
AppendString(item.Wallposition);
AppendString(item.Data);
}
}
Cool you got past entering rooms :p
Last edited by Taiga; 10-06-17 at 04:43 PM. Reason: Just edit your post next time? :D
I forgot to add the one with one throne after first purchase to imgur... but you get the deal; it works.
If there are any SWF "hijackers" who are willing to modify the Habbo.swf for me for some stuff contact me.
I pretty like how the far the development it's going.
I'm pretty anxious for new updates and feature for this emulator.
It's been, what? 3 weeks? or 4 weeks? And we just have basics catalogue yet? xD
I'm too much anxious..