ruffle-rs / ruffle

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

Candy Cafe: Cannot swap candies #10526

Closed n0samu closed 1 year ago

n0samu commented 1 year ago

Describe the bug

Link to SWF file: https://www.spiele-umsonst.de/azad/downloads/flashgames/candycafe2.swf

In Candy Cafe, Ruffle softlocks on this screen: image

Expected behavior

It should be possible to click the candies to swap them.

Affected platform

Desktop app

Operating system

Windows 10

Browser

No response

Additional information

No response

Lord-McSweeney commented 1 year ago

On web, an XML error shows up, but no error appears on the desktop version. It's probable that the error is unrelated to the problem.

n0samu commented 1 year ago

I'm seeing 2 errors:

ERROR run_frame:run_all_phases_avm2: ruffle_core::display_object::movie_clip: Error occured when running AVM2 frame script: ReferenceError: Error #1069: Property objectEncoding not found on flash.net.SharedObject and there is no default value.
        at save_fla::MainTimeline/frame1()
ERROR run_frame:run_all_phases_avm2: ruffle_core::avm2::events: Error dispatching event EventObject(EventObject { type: "complete", class: flash.events::Event, ptr: 0x271ce3ab1f8 }) to handler FunctionObject(FunctionObject { ptr: 0x271e5ba3fe8 }) : TypeError: Error #1009: Cannot access a property or method of a null object reference. (accessing field: data)
        at save_fla::MainTimeline/getLogPair()
        at IDNET/onCookieLoad()
desertking commented 1 year ago

Error still happening - can't swipe the candies

desertking commented 1 year ago

something with the last updates patched it :)

ghost commented 1 year ago

Close this issue

desertking commented 1 year ago

I can't just wondered if anyone wanted to add the code number which caused it to work :D Nosmau posted it.

n0samu commented 1 year ago

Fixed by #12553