Open wsxarcher opened 7 months ago
Increasing the execution time reveals a more useful stack trace
ERROR core\src\avm2\events.rs:428 Error dispatching event EventObject(EventObject { type: "complete", class: br.com.stimuli.loading::BulkProgressEvent, ptr: 0x3173bb0 }) to handler FunctionObject(FunctionObject { ptr: 0x17bf690, name: Ok("com.youjia.ball::BallLoader/onLoadComplete()") }) : TypeError: Error #1010: A term is undefined and has no properties. (accessing field: createWorker) at com.youjia.garden.frame.worker::WorkerManager$/createWorker() at com.youjia.ball.worker::WorkerGateway$/init() at com.youjia.ball::MyMain/startApplication() at com.youjia.garden.frame::MainLoader/initMainApp() at com.youjia.ball::BallLoader/onLoadComplete() at flash.events::EventDispatcher/flash::events::EventDispatcher::dispatchEvent() at br.com.stimuli.loading::BulkLoader/_onAllLoaded() at com.youjia.common.components.loader.bulkLoader::MyBulkLoader/_onItemComplete() at flash.events::EventDispatcher/flash::events::EventDispatcher::dispatchEvent() at br.com.stimuli.loading.loadingtypes::LoadingItem/onCompleteHandler() at br.com.stimuli.loading.loadingtypes::BinaryItem/onCompleteHandler()
Describe the bug
Blue screen after game title shows
Expected behavior
Load the game
Content Location
https://news.4399.com/qiu/
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:
--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.