ruffle-rs / ruffle

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

Does not load - https://my.4399.com/yxmsdzls/tpl-sid-649-site-3_1-channel-my-randsj-0.40017364299090175 #15014

Open wsxarcher opened 6 months ago

wsxarcher commented 6 months ago

Describe the bug

Game stops loading at 100%

ERROR core/src/avm2/events.rs:428 Error dispatching event EventObject(EventObject { type: "getSuccess", class: a_4714::AssetsManagerEvent, ptr: 0x5a244d0 }) to handler FunctionObject(FunctionObject { ptr: 0xb46f28, name: Ok("a_4714::AssetsLoader/onGetSuccess()") }) : RustError("A script in this movie has taken too long to execute and has been terminated.")

Expected behavior

Load the game

Content Location

https://my.4399.com/yxmsdzls/tpl-sid-649-site-3_1-channel-my-randsj-0.40017364299090175 (found in iframe) Select server on https://my.4399.com/yxmsdzls/ (subject to flash detection race condition)

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 6 months ago

TDLoaderUI.zip Open Advanced:

Custom base URL https://q.ms.huanlecdn.com/4399/cdn.123u.com/ Spoof swf URL https://q.ms.huanlecdn.com/4399/cdn.123u.com/TDLoaderUI.swf?v=201712282881&TotalVersion=1.01012316