ruffle-rs / ruffle

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

Stuck loading 3% - https://www.4399.com/flash/84533_1.htm #16491

Open wsxarcher opened 2 months ago

wsxarcher commented 2 months ago

Describe the bug

Stuck when loading at 3%

ERROR core\src\avm2\events.rs:428 Error dispatching event EventObject(EventObject { type: "complete", class: flash.events::Event, ptr: 0x60f5d8 }) to handler FunctionObject(FunctionObject { ptr: 0x25a6000, name: Ok("com.sbs.mole3d.core::Resource/completeHandler()") }) : Error: Wrong password.   at deng.fzip::FZipFile/parseContent()   at deng.fzip::FZipFile/parseFileContent()   at deng.fzip::FZipFile/parse()  at deng.fzip::FZip/parseLocalfile() at deng.fzip::FZip/parse()  at deng.fzip::FZip/loadBytes()  at com.sbs.mole3d.file::Pack/loadImpl() at com.sbs.mole3d.core::Resource/completeHandler()  at flash.events::EventDispatcher/flash::events::EventDispatcher::dispatchEvent()    at MethodInfo-2250()

Expected behavior

Load the game

Content Location

https://www.4399.com/flash/84533_1.htm

Affected platform

Browser's extension

Operating system

Window 11

Browser

Edge/Chrome 125

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

Desktop params

GAS-1.swf --referer "https://www.4399.com/" --spoof-url "https://www.4399.com/flash/84533_1.htm" --base "https://sda.4399.com/4399swf/upload_swf/ftp18/linjun/20160225/2/en/"

GAS-1.zip