Skip to content
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

AS2-AS3 maxExecutionDuration having to be set to 120 to load.. #16948

Open
outrageddevil opened this issue Jul 1, 2024 · 0 comments
Open

AS2-AS3 maxExecutionDuration having to be set to 120 to load.. #16948

outrageddevil opened this issue Jul 1, 2024 · 0 comments
Labels
T-perf Type: Performance Improvements

Comments

@outrageddevil
Copy link

outrageddevil commented Jul 1, 2024

Describe the bug

I'm having an issue with an AS2-AS3 based game. For it to load properly on startup, the maxExecutionDuration has to be set all the way up to 120, and it takes that full 120 time to load.

When set below 120:
ERROR core/src/avm2/events.rs:428 Error dispatching event EventObject(EventObject { type: "complete", class: flash.events::Event, ptr: 0x4ec7198 }) to handler FunctionObject(FunctionObject { ptr: 0x50c8698, name: Ok("com.clubpenguin.main.service.webservice::WebServiceZipLoader/onLoad()") }) : RustError("A script in this movie has taken too long to execute and has been terminated.")

Expected behavior

Load normally like on the AS1-AS2 version of it known as legacy.

Content Location

AS1-AS2 SWF Versions:
https://git.solero.me/solero/legacy-media
AS2-AS3 SWF Versions:
https://git.solero.me/solero/vanilla-media
Game Client:
https://github.com/solero/houdini
AS1-AS2 Demo (Legacy Media) :
https://play.cporiginal.net
AS3 Demo (Vanilla Media) :
https://beta.cporiginal.net
^^^^^^^^^^^^^^^^^
For testing you can use these login details:
Username: TestAccount
Password: TestAccount32

Affected platform

Browser's extension

Operating system

Windows 11

Browser

Google Chrome Version 126.0.6478.127 (Official Build) (64-bit)

Additional information

The client runs off of TCP connection, so to solve that issue there is a Websockify Proxy setup to connect Websockets to the TCP connection that has to be established to communicate to the game client.

@outrageddevil outrageddevil added the bug Something isn't working label Jul 1, 2024
@n0samu n0samu added T-perf Type: Performance Improvements and removed bug Something isn't working labels Jul 1, 2024
@outrageddevil outrageddevil changed the title AS2-AS3 maxExecutionDuration having to be set to 120 to load.. AS2-AS3 maxExecutionDuration having to be set to 60 to load.. Jul 1, 2024
@outrageddevil outrageddevil changed the title AS2-AS3 maxExecutionDuration having to be set to 60 to load.. AS2-AS3 maxExecutionDuration having to be set to 120 to load.. Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-perf Type: Performance Improvements
Projects
None yet
Development

No branches or pull requests

2 participants