Issue with Habbo 2016 SWF
Describe the bug
I'm trying to run a version of Habbo 2016 SWF and I encounter some errors before it even starts loading. The loading bar stops at 0% or 56% (there is no standard), the SWF quality is always low, even when setting quality to high.
There is no initial connection with the emulator, so I believe the error is still occurring during the initial process. The SWF is loaded normally from Ruffle but have errors.
PS: The same SWF works in Flash browsers. (as Basilisk)
Example of bug:
Error complete description:
ERROR core/src/avm2/events.rs:428 Error dispatching event EventObject(EventObject { type: "progress", class: flash.events::ProgressEvent, ptr: 0x9f5990 }) to handler FunctionObject(FunctionObject { ptr: 0x6edea20, name: Ok("_-ue::LibraryLoader/loadEventHandler()") }) : TypeError: Error #1009: Cannot access a property or method of a null object reference.
ruffle_web-wasm_extensions.js:932
ERROR core/src/avm2/events.rs:428 Error dispatching event EventObject(EventObject { type: "progress", class: flash.events::ProgressEvent, ptr: 0xa05610 }) to handler FunctionObject(FunctionObject { ptr: 0x6edea20, name: Ok("_-ue::LibraryLoader/loadEventHandler()") }) : TypeError: Error #1009: Cannot access a property or method of a null object reference.
ruffle_web-wasm_extensions.js:932
ERROR core/src/avm2/events.rs:428 Error dispatching event EventObject(EventObject { type: "progress", class: flash.events::ProgressEvent, ptr: 0xa722b0 }) to handler FunctionObject(FunctionObject { ptr: 0x6edea20, name: Ok("_-ue::LibraryLoader/loadEventHandler()") }) : TypeError: Error #1009: Cannot access a property or method of a null object reference.
ruffle_web-wasm_extensions.js:932
ERROR core/src/avm2/events.rs:428 Error dispatching event EventObject(EventObject { type: "complete", class: flash.events::Event, ptr: 0x9d73c80 }) to handler FunctionObject(FunctionObject { ptr: 0x6edea20, name: Ok("_-ue::LibraryLoader/loadEventHandler()") }) : TypeError: Error #1009: Cannot access a property or method of a null object reference.
Expected behavior
Ideally, the game would communicate with the emulator and load 100%.
Example of a successful login:
Content Location
The configuration process is a bit laborious, as it requires assets + emulator + base swf.
But if just the base SWF is enough, I'll leave the link below:
Affected platform
Self-hosted version
Operating system
Windows 10
Browser
Google Chrome 122.0.6261.113 (Official Build) (64 Bits)
Additional information
No response
When I try opening the SWF, first it redirects me to
?is_fatal=true&error_desc=Login+without+an+SSO+ticket+is+not+supported&[...]
Then, I get errors like:
Error during movie loading of "file:///home/kamil/Downloads/hh_human_body.swf": FetchError("No such file or directory (os error 2)")
Error during movie loading of "file:///home/kamil/Downloads/hh_human_item.swf?&counterparameter=0": FetchError("No such file or directory (os error 2)")
So unfortunately, it seems that the provided SWF:
- possibly requires some kind of an authorization token,
- is missing other required files.
@kjarosh You will need some extra assets that I cannot send here (due to their size). Call me on discord if you want. I can help you test this.
DC: inicollas