ruffle icon indicating copy to clipboard operation
ruffle copied to clipboard

Error with Mario StarCatcher

Open nagayev opened this issue 4 years ago • 10 comments

Hello. I ran Mario Starcatcher 2 from this site and saw this: изображение Ruffle version: nightly 2020-11-29

nagayev avatar Dec 04 '20 12:12 nagayev

Sorry, I coudn't just copy paste Error stack: Ruffle doesn't support it.

nagayev avatar Dec 04 '20 12:12 nagayev

Your Nightly is out of date. You should just see a black screen on current Nightly. (Also you should be able to highlight the text in the error message and Ctrl C)

The error it currently throws is related to AVM2

AVM2 error: Property does not exist: Some(AvmString { source: Owned("stage") })

parkerlreed avatar Dec 04 '20 18:12 parkerlreed

@parkerlreed Okey, thanks.

nagayev avatar Dec 04 '20 18:12 nagayev

Interestingly it works on current master on desktop

image

Might just need to wait for the next nightly update (Unless the website is maybe trying to play an advertisement?)

parkerlreed avatar Dec 04 '20 18:12 parkerlreed

Seems like it's the website trying to do something out of the ordinary. You can play it in the demo with this swf

https://ruffle.rs/demo/

http://www.igames.com.ua/swf/mario_starcatcher_2.swf

parkerlreed avatar Dec 04 '20 18:12 parkerlreed

@parkerlreed Oh, it's interesting. Okay. So should I close this issue?

nagayev avatar Dec 04 '20 18:12 nagayev

Might be good to leave it up for a little bit so the loading error on that site can be diagnosed.

parkerlreed avatar Dec 04 '20 18:12 parkerlreed

The website is no longer online (likely for geopolitical reasons...) but it is archived here: https://web.archive.org/web/20210327051259/http://www.igames.com.ua/FlashGame.aspx?name=mario_starcatcher_2 We can see that the website uses a loader (ima3_preloader_1.5.swf) that loads the actual game. This loader SWF uses ActionScript 3. Here is the error log from running the loader:

AVM2 error: VerifyError: Trait loadBytes in class SafeLoader marked as override, does not override any other trait
AVM2 error: VerifyError: Trait loadBytes in class SafeLoader marked as override, does not override any other trait
AVM2 error: VerifyError: Trait loadBytes in class SafeLoader marked as override, does not override any other trait
AVM2 error: VerifyError: Trait loadBytes in class SafeLoader marked as override, does not override any other trait
AVM2 error: VerifyError: Trait loadBytes in class SafeLoader marked as override, does not override any other trait
AVM2 error: VerifyError: Trait loadBytes in class SafeLoader marked as override, does not override any other trait
AVM2 error: VerifyError: Trait loadBytes in class SafeLoader marked as override, does not override any other trait
AVM2 error: VerifyError: Trait loadBytes in class SafeLoader marked as override, does not override any other trait
Error occured when running AVM2 frame script: VerifyError: Trait loadBytes in class SafeLoader marked as override, does not override any other trait 

loadBytes is being worked on as part of #7858, so this might start working soon!

n0samu avatar Sep 14 '22 00:09 n0samu

The IMA3 preloader still doesn't work, but the original game (accessible at http://web.archive.org/web/20210327201418/http://www.igames.com.ua/swf/mario_starcatcher_2.swf) is playable!

Lord-McSweeney avatar Feb 16 '23 03:02 Lord-McSweeney

Yes. That means nothing has changed. So the issue should not be closed.

n0samu avatar Feb 16 '23 03:02 n0samu