Skip to content

Astro Teemo stuck on blue screen #2072

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
soyantouwu opened this issue Dec 23, 2020 · 10 comments
Closed

Astro Teemo stuck on blue screen #2072

soyantouwu opened this issue Dec 23, 2020 · 10 comments
Labels
A-avm2 Area: AVM2 (ActionScript 3) bug Something isn't working

Comments

@soyantouwu
Copy link

Astro Teemo doesn't work at all (fails to show main menu, can't get in-game, no audio, just the blue background appears).

I'm hosting the game here, you can get the swf here (also attached here).

Teemo.zip

@n0samu n0samu added the A-avm2 Area: AVM2 (ActionScript 3) label Sep 23, 2022
@Lord-McSweeney Lord-McSweeney added bug Something isn't working xml labels Feb 25, 2023
@Lord-McSweeney
Copy link
Collaborator

Needs XML:

WARN ruffle_core::stub: Encountered stub: AVM2 flash.utils.describeType()
ERROR ruffle_core::avm2::events: Error dispatching event EventObject(EventObject { type: "complete", class: flash.events::Event, ptr: 0x55978c722800 }) to handler FunctionObject(FunctionObject { ptr: 0x55978c722160 }) : RustError("Cannot call null or undefined method ::child of class XML")

@Lord-McSweeney
Copy link
Collaborator

Next needs XML.nodeKind(): RustError("Cannot call null or undefined method nodeKind of class XML").

@tsunamistate
Copy link
Contributor

Here are the errors after XML.nodeKind() was implemented (#10104):

2023-03-16T10:01:09.948517Z ERROR ruffle_core::avm2::activation: AVM2 error: Object(ErrorObject(ErrorObject { class: ReferenceError, ptr: 0x251b2c9e380 }))
2023-03-16T10:01:09.948739Z ERROR ruffle_core::avm2::activation: ReferenceError: Error #1069: Property namespace not found on String and there is no default value.
2023-03-16T10:01:09.948833Z ERROR ruffle_core::avm2::activation: AVM2 error: Object(ErrorObject(ErrorObject { class: ReferenceError, ptr: 0x251b2c9e380 }))
2023-03-16T10:01:09.948920Z ERROR ruffle_core::avm2::activation: ReferenceError: Error #1069: Property namespace not found on String and there is no default value.
2023-03-16T10:01:09.949000Z ERROR ruffle_core::avm2::activation: AVM2 error: Object(ErrorObject(ErrorObject { class: ReferenceError, ptr: 0x251b2c9e380 }))
2023-03-16T10:01:09.949079Z ERROR ruffle_core::avm2::activation: ReferenceError: Error #1069: Property namespace not found on String and there is no default value.
2023-03-16T10:01:09.949156Z ERROR ruffle_core::avm2::activation: AVM2 error: Object(ErrorObject(ErrorObject { class: ReferenceError, ptr: 0x251b2c9e380 }))
2023-03-16T10:01:09.949235Z ERROR ruffle_core::avm2::activation: ReferenceError: Error #1069: Property namespace not found on String and there is no default value.
2023-03-16T10:01:09.949312Z ERROR ruffle_core::avm2::activation: AVM2 error: Object(ErrorObject(ErrorObject { class: ReferenceError, ptr: 0x251b2c9e380 }))
2023-03-16T10:01:09.949392Z ERROR ruffle_core::avm2::activation: ReferenceError: Error #1069: Property namespace not found on String and there is no default value.
2023-03-16T10:01:09.949469Z ERROR ruffle_core::avm2::activation: AVM2 error: Object(ErrorObject(ErrorObject { class: ReferenceError, ptr: 0x251b2c9e380 }))
2023-03-16T10:01:09.949549Z ERROR ruffle_core::avm2::activation: ReferenceError: Error #1069: Property namespace not found on String and there is no default value.
2023-03-16T10:01:09.949626Z ERROR ruffle_core::avm2::activation: AVM2 error: Object(ErrorObject(ErrorObject { class: ReferenceError, ptr: 0x251b2c9e380 }))
2023-03-16T10:01:09.949706Z ERROR ruffle_core::avm2::activation: ReferenceError: Error #1069: Property namespace not found on String and there is no default value.
2023-03-16T10:01:09.949800Z ERROR ruffle_core::avm2::events: Error dispatching event EventObject(EventObject { type: "complete", class: flash.events::Event, ptr: 0x251af0b7590 }) to handler FunctionObject(FunctionObject { ptr: 0x251f165c020 }) : AvmError(Object(ErrorObject(ErrorObject { class: ReferenceError, ptr: 0x251b2c9e380 })))

@evilpie
Copy link
Collaborator

evilpie commented Mar 17, 2023

After XML.namespace() was implemented (#10129) there is a new error now:

2023-03-17T11:32:02.022812Z ERROR ruffle_core::avm2::activation: TypeError: Error #1009: Cannot access a property or method of a null object reference. (accessing field: http://adobe.com/AS3/2006/builtin::split)
	at com.purebang.puretech.managers::TextManager$/getUIText()
	at com.purebang.teemo.objectives::BuyAndUseItem/getItemName()
	at com.purebang.teemo.objectives::BuyAndUseItem()
	at com.purebang.teemo.managers.gameplay.objectives::TeemoObjectiveManager$/getInitialMissions()
	at com.purebang.teemo.managers::SaveDataManager$/pullMissions()
	at com.purebang.teemo.managers::SaveDataManager$/setUpInfo()
	at com.purebang.teemo::Main$/initializeManagers()
	at com.purebang.teemo::Main$/main()
	at Function/apply()
	at ApplicationMain$/begin()
	at ApplicationMain$/preloader_onComplete()
	at flash.events::EventDispatcher/flash::events::EventDispatcher::dispatchEvent()
	at NMEPreloader/onLoaded()
	at ApplicationMain$/onEnter()

@tsunamistate
Copy link
Contributor

On ab263b8 commit, game progresses into the main menu!
image

Music and sound effect buttons on upper right work
However, clicking to go into the game, it still displays blue screen

Error log:

2023-03-26T11:42:51.254055Z ERROR ruffle_core::avm2::events: Error dispatching event EventObject(EventObject { type: "click", class: flash.events::MouseEvent, ptr: 0x1bea4e790e0 }) to handler FunctionObject(FunctionObject { ptr: 0x1bea5789400 }) : AvmError(String("behavior is missing attribute loop"))

@Lord-McSweeney
Copy link
Collaborator

This gets into the game now, thanks to #10864, but no obstacles appear. The game prints these messages on the screen: There is no BitmapData asset with an ID of "assets/flash/...".

@tsunamistate
Copy link
Contributor

tsunamistate commented Apr 30, 2023

Player character appears as rainbow square instead of Teemo and UI is in plain text

Ruffle
2023-04-30_20-09-21

Flash
2023-04-30_20-13-41

Probably related to ingame errors

@Lord-McSweeney
Copy link
Collaborator

#11084 doesn't fix this.

@Lord-McSweeney
Copy link
Collaborator

Still happening, though glow and drop shadow show up correctly now.

@tsunamistate
Copy link
Contributor

As of f2b02ac, Astro Teemo is fully playable!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-avm2 Area: AVM2 (ActionScript 3) bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants