Closed wsxarcher closed 4 months ago
Game actually works fine on Desktop and Ruffle demo website. Only on 4399.com, after the loading bar finishes, you just see a black screen and you need to click to proceed to play. It could be a problem of interop with the website to show ads.
Works for me, no black screen
Describe the bug
Black screen
Expected behavior
Load the game
Content Location
https://www.4399.com/flash/45046_2.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:
--disable-web-security
or use https://chromewebstore.google.com/detail/allow-cors-access-control/lhobafahddgcelffkeicbaginigeejlf--referer "https://www.4399.com"
, the correct--spoof-url
(usually the page link) and--base
which is the relative URL where other resources are fetched.