ruffle-rs / ruffle

A Flash Player emulator written in Rust
https://ruffle.rs
Other
15.47k stars 801 forks source link

Error on https://www.minijuegos.com/helpers/game/sandbox.php #17764

Closed jeimypaez08 closed 6 days ago

jeimypaez08 commented 1 week ago

Error Info

Error name: Error Error message: panicked at core/src/avm2/amf.rs:156:18: called Result::unwrap() on an Err value: ReferenceError: Error #1069: Property copyFrom not found on flash.geom.Point and there is no default value. Error stack:

Error: panicked at core/src/avm2/amf.rs:156:18:
called `Result::unwrap()` on an `Err` value: ReferenceError: Error #1069: Property copyFrom not found on flash.geom.Point and there is no default value.
    at n.wbg.__wbg_new_796382978dfd4fb0 (https://unpkg.com/@ruffle-rs/ruffle/core.ruffle.4671712971e43bf4475e.js:1:83857)
    at ruffle_web.wasm.js_sys::Error::new::ha4990c08e4b8c418 (wasm://wasm/ruffle_web.wasm-031ca7b6:wasm-function[12686]:0x978d49)
    at ruffle_web.wasm.core::ops::function::FnOnce::call_once{{vtable.shim}}::h9398b7d48db47bc6 (wasm://wasm/ruffle_web.wasm-031ca7b6:wasm-function[9761]:0x909672)
    at ruffle_web.wasm.std::panicking::rust_panic_with_hook::h47bd3d747ed79dc3 (wasm://wasm/ruffle_web.wasm-031ca7b6:wasm-function[6255]:0x7e9ff0)
    at ruffle_web.wasm.core::panicking::panic_fmt::hb859252f4b513814 (wasm://wasm/ruffle_web.wasm-031ca7b6:wasm-function[10169]:0x924088)
    at ruffle_web.wasm.core::result::unwrap_failed::h9c8291f73d3ee71a (wasm://wasm/ruffle_web.wasm-031ca7b6:wasm-function[7962]:0x8912f3)
    at ruffle_web.wasm.ruffle_core::avm2::amf::serialize_value::h6119f5b891e4307b (wasm://wasm/ruffle_web.wasm-031ca7b6:wasm-function[1111]:0x2fb92f)
    at ruffle_web.wasm.ruffle_core::avm2::amf::get_or_create_element::hd6ae7a775c9aa882 (wasm://wasm/ruffle_web.wasm-031ca7b6:wasm-function[2525]:0x59f9f3)
    at ruffle_web.wasm.ruffle_core::avm2::amf::recursive_serialize::h168205084c5febd2 (wasm://wasm/ruffle_web.wasm-031ca7b6:wasm-function[1462]:0x402ff8)
    at ruffle_web.wasm.ruffle_core::avm2::amf::serialize_value::h6119f5b891e4307b (wasm://wasm/ruffle_web.wasm-031ca7b6:wasm-function[1111]:0x2fb813)

AVM2 stack:

    at flash.utils::ByteArray/flash::utils::ByteArray::writeObject()
    at pack::co$/cloning()
    at Application/NeedToGameRecord()
    at Application/autoSaved()
    at Application/autoSavedDataCalling()
    at Application/closingStatFunction()
    at ResortEmpire_fla::statD_734/clickFunction()

Player Info

Allows script access: false Renderer: wgpu Adapter Backend: Gl Adapter Name: "ANGLE (Intel, Intel(R) UHD Graphics (0x00009B41) Direct3D11 vs_5_0 ps_5_0, D3D11)" Adapter Device Type: IntegratedGpu Adapter Driver Name: "" Adapter Driver Info: "WebGL 2.0 (OpenGL ES 3.0 Chromium)" Enabled features: Features(TEXTURE_COMPRESSION_BC | FLOAT32_FILTERABLE | TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES) Available features: Features(DEPTH32FLOAT_STENCIL8 | PUSH_CONSTANTS | CLEAR_TEXTURE | MULTIVIEW) Current limits: Limits { max_texture_dimension_1d: 16384, max_texture_dimension_2d: 16384, max_texture_dimension_3d: 2048, max_texture_array_layers: 256, max_bind_groups: 4, max_bindings_per_bind_group: 1000, max_dynamic_uniform_buffers_per_pipeline_layout: 8, max_dynamic_storage_buffers_per_pipeline_layout: 0, max_sampled_textures_per_shader_stage: 16, max_samplers_per_shader_stage: 16, max_storage_buffers_per_shader_stage: 0, max_storage_textures_per_shader_stage: 0, max_uniform_buffers_per_shader_stage: 11, max_uniform_buffer_binding_size: 65536, max_storage_buffer_binding_size: 0, max_vertex_buffers: 8, max_buffer_size: 268435456, max_vertex_attributes: 16, max_vertex_buffer_array_stride: 255, min_uniform_buffer_offset_alignment: 256, min_storage_buffer_offset_alignment: 256, max_inter_stage_shader_components: 120, max_color_attachments: 8, max_color_attachment_bytes_per_sample: 32, max_compute_workgroup_storage_size: 0, max_compute_invocations_per_workgroup: 0, max_compute_workgroup_size_x: 0, max_compute_workgroup_size_y: 0, max_compute_workgroup_size_z: 0, max_compute_workgroups_per_dimension: 0, min_subgroup_size: 0, max_subgroup_size: 0, max_push_constant_size: 0, max_non_sampler_bindings: 1000000 } Surface quality: high Surface samples: 4 Surface size: (640, 480, 1)

Page Info

Page URL: https://www.minijuegos.com/helpers/game/sandbox.php?mp_assets=https%3A%2F%2Fs2.minijuegosgratis.com%2F&mp_embed=0&mp_game_id=24147&mp_game_uid=resort-empire&mp_game_url=https%3A%2F%2Fwww.minijuegos.com%2Fembed%2Fresort-empire&mp_int=1&mp_locale=es_ES&mp_player_type=FLASH&mp_player_url=aHR0cHM6Ly93d3cubWluaWp1ZWdvc2dyYXRpcy5jb20vZmxhc2gxMjM0L25vX2hvdGxpbmsvcmVzb3J0ZW1waXJlLnN3Zg%3D%3D&mp_site_https_url=https%3A%2F%2Fwww.minijuegos.com%2F&mp_site_name=minijuegos.com&mp_site_url=https%3A%2F%2Fwww.minijuegos.com%2F&mp_timezone=America%2FBogota&mp_view_type= SWF URL: https://www.minijuegosgratis.com/flash1234/no_hotlink/resortempire.swf

Browser Info

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 OPR/112.0.0.0 Platform: Win32 Has touch support: false

Ruffle Info

Version: 0.1.0 Name: nightly 2024-09-04 Channel: nightly Built: 2024-09-04T00:05:40.294Z Commit: 48afad257f70f905a01c73868235850ddee4df20 Is extension: false

Metadata

width: 640 height: 480 frameRate: 23 numFrames: 13 swfVersion: 9 backgroundColor: #CCCCCC isActionScript3: true uncompressedLength: 3839261

adrian17 commented 6 days ago

This error should be fixed by https://github.com/ruffle-rs/ruffle/pull/17787 .