Skip to content

Swords and Souls: game is broken after defeating the first enemy #11319

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
MartySVK opened this issue May 31, 2023 · 2 comments
Closed

Swords and Souls: game is broken after defeating the first enemy #11319

MartySVK opened this issue May 31, 2023 · 2 comments
Labels
A-avm2 Area: AVM2 (ActionScript 3) bug Something isn't working

Comments

@MartySVK
Copy link
Contributor

MartySVK commented May 31, 2023

Describe the bug

I got this error:
Error dispatching event EventObject(EventObject { type: "charHeroAttack", class: flash.events::Event, ptr: 0x4c00aa4 }) to handler FunctionObject(FunctionObject { ptr: 0x720ca64 }) : TypeError: Error #1009: Cannot access a property or method of a null object reference. (accessing field: gotoAndStop) at interfaces::Loot() at interfaces::Loot$/loot() at game::FightManager$/handleDeath() at characters::Character/_die() at characters::Enemy/_die() at characters::Character/getHit() at game::FightManager$/_handleHit() at flash.events::EventDispatcher/flash::events::EventDispatcher::dispatchEvent() at characters::Hero/_manageAttack()
Problem is @Aaron1011 's PR - #11084

SWF - https://data.gameflare.com/games/6579/luK5epRvoY99b2.swf
Game - https://www.gameflare.com/online-game/swords-and-souls/

Expected behavior

show second enemy

Affected platform

Desktop app

Operating system

Windows 10

Browser

No response

Additional information

No response

@MartySVK MartySVK added the bug Something isn't working label May 31, 2023
@MartySVK
Copy link
Contributor Author

Should be fixed by upcoming PR - #11308

@Lord-McSweeney Lord-McSweeney added the A-avm2 Area: AVM2 (ActionScript 3) label May 31, 2023
@Lord-McSweeney
Copy link
Collaborator

Fixed by #11308.

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

2 participants