ruffle-rs / ruffle

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

Error on https://s1.4399hxjy.com/game.php - https://news.4399.com/hxjy/ #16476

Open wsxarcher opened 1 month ago

wsxarcher commented 1 month ago

Describe the bug

ERROR web\src\navigator.rs:361 Asynchronous error occurred: Invalid sound: Couldn't decode MP3

Expected behavior

Run the game

Content Location

https://s1.4399hxjy.com/game.php Server selection: https://news.4399.com/hxjy/

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:

Dinnerbone commented 1 month ago

It's trying to load https://cdn.4399hxjy2.com/fpsbak_2203290920/assets/ui/assets/gameLoaderUI.swf?v=56c4e18e_60819_1 over and over, but it never works because https is incorrectly configured for that server