ruffle-rs / ruffle

A Flash Player emulator written in Rust
https://ruffle.rs
Other
15.63k stars 808 forks source link

Many UI elements in Habbo.swf are displayed incorrectly #13927

Open stz33a opened 11 months ago

stz33a commented 11 months ago

Describe the bug

Many parts of the interface, mostly windows and buttons, aren't displayed as they should be. The affected elements are also unresponsive, so you can't do things like change your looks, trade with someone, place furniture, etc.

Steps to reproduce:

  1. Create an account here
  2. Enter the Flash client
  3. Click on any icon in the sidebar on the left.

wrong

Expected behavior

This is what it looks like in Flash:

good

Content Location

https://habbolegacy.com/flash_client

Here's the files from the base location: r38.zip Here's the deobfuscated Habbo.swf: Link

Affected platform

Self-hosted version

Operating system

Windows 10

Browser

Google Chrome 119

Additional information

Dinnerbone commented 11 months ago

It seems that everywhere the graphics is missing, is supposed to be a solid flood fill colour.

It looks like all the UI is controlled by xml but I don't see anything obvious yet of how it actually specifies that colour, and how it draws that out aftwerwards.