ruffle-rs / ruffle

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

Does not load - https://www.4399.com/flash/205551_4.htm #15009

Closed wsxarcher closed 4 months ago

wsxarcher commented 8 months ago

Describe the bug

Game keeps loading with black screen and loading circle

VM117:1  Uncaught TypeError: Cannot read properties of null (reading 'cloneNode')
    at <anonymous>:1:552
    at <anonymous>:1:945

Expected behavior

Load the game

Content Location

https://www.4399.com/flash/205551_4.htm

Affected platform

Browser's extension

Operating system

Window 11

Browser

Edge/Chrome 120

Additional information

This game is part of a bigger effort to support 4399.com games. There might be other issues with this website, from how it handles Flash checks and many CORS issues. Unfortunately, some games cannot be easily debugged on desktop because the swf download other swf or do requests while logged in.

If Ruffle is not detected try to reload the page multiple times because of the known race condition on the Flash check. To avoid refreshing try this Tampermonkey user script 一键下载 flash 游戏 (greasyfork.org)

To solve these issues refers to previous issues such as:

wsxarcher commented 4 months ago

Exception similar to number 2 of https://github.com/ruffle-rs/ruffle/issues/15013#issuecomment-2131575826

imports.wbg.__wbg_apply_6d0b9cd50eb480c3 @ 69.js:3474
$<ruffle_web::JavascriptMethod as ruffle_core::external::ExternalInterfaceMethod>::call::h21671faf47601f6e @ ruffle_web.wasm-034ca912:0x74d2e6
$ruffle_core::avm2::globals::flash::external::external_interface::call::hbe5bfbb667c5536b @ ruffle_web.wasm-034ca912:0x63b35a
$ruffle_core::avm2::function::Executable::exec::h4550f652f1a7a21d @ ruffle_web.wasm-034ca912:0x233c02
$<ruffle_core::avm2::object::Object as ruffle_core::avm2::object::TObject>::call::h59ce98cbbedd006c @ ruffle_web.wasm-034ca912:0x3e8a6f
$ruffle_core::avm2::globals::function::apply::ha7e8468cc14f6831 @ ruffle_web.wasm-034ca912:0x67c0ef
$ruffle_core::avm2::function::Executable::exec::h4550f652f1a7a21d @ ruffle_web.wasm-034ca912:0x233c02
$ruffle_core::avm2::object::TObject::call_method::h4a751382d271edfe @ ruffle_web.wasm-034ca912:0x5dc289
$ruffle_core::avm2::object::TObject::call_property::h7a5b8d7391b3cfed @ ruffle_web.wasm-034ca912:0x582c7c
$<ruffle_core::avm2::object::Object as ruffle_core::avm2::object::TObject>::call_property::h49c5af5abd4a004d @ ruffle_web.wasm-034ca912:0x6a3ba6
$ruffle_core::avm2::activation::Activation::run_actions::he4343e608b322fb3 @ ruffle_web.wasm-034ca912:0x2bb01
$ruffle_core::avm2::function::Executable::exec::h4550f652f1a7a21d @ ruffle_web.wasm-034ca912:0x2334d4
$ruffle_core::avm2::object::TObject::call_method::hc359fe6d07b79454 @ ruffle_web.wasm-034ca912:0x5ecdbe
$ruffle_core::avm2::object::TObject::call_property::h8545c2657e6aba6d @ ruffle_web.wasm-034ca912:0x58438d
$<ruffle_core::avm2::object::Object as ruffle_core::avm2::object::TObject>::call_property::h49c5af5abd4a004d @ ruffle_web.wasm-034ca912:0x6a3c83
$ruffle_core::avm2::activation::Activation::run_actions::he4343e608b322fb3 @ ruffle_web.wasm-034ca912:0x2bb01
$ruffle_core::avm2::function::Executable::exec::h4550f652f1a7a21d @ ruffle_web.wasm-034ca912:0x2334d4
$ruffle_core::avm2::object::TObject::call_method::hc359fe6d07b79454 @ ruffle_web.wasm-034ca912:0x5ecdbe
$ruffle_core::avm2::object::TObject::call_property::h8545c2657e6aba6d @ ruffle_web.wasm-034ca912:0x58438d
$<ruffle_core::avm2::object::Object as ruffle_core::avm2::object::TObject>::call_property::h49c5af5abd4a004d @ ruffle_web.wasm-034ca912:0x6a3c83
$ruffle_core::avm2::activation::Activation::run_actions::he4343e608b322fb3 @ ruffle_web.wasm-034ca912:0x2bb01
$ruffle_core::avm2::function::Executable::exec::h4550f652f1a7a21d @ ruffle_web.wasm-034ca912:0x2334d4
$ruffle_core::avm2::object::TObject::call_method::hc359fe6d07b79454 @ ruffle_web.wasm-034ca912:0x5ecdbe
$ruffle_core::avm2::object::TObject::call_property::h8545c2657e6aba6d @ ruffle_web.wasm-034ca912:0x58438d
$<ruffle_core::avm2::object::Object as ruffle_core::avm2::object::TObject>::call_property::h49c5af5abd4a004d @ ruffle_web.wasm-034ca912:0x6a3c83