Skip to content

[Bug] 同样是真命令注册在控制台直接执行正常但是通过mc.runcmdEx执行会报错 #384

Description

@zmsgsb

Describe the bug

真命令注册后,控制台直接执行不会报错,正常执行,通过mc.runcmdEx 执行后,控制台报错:
21:17:19.581 ERROR [LeviLamina] Error in command videodirector:
21:17:19.581 ERROR [LeviLamina] Raw Seh Exception:
21:17:19.581 ERROR [LeviLamina] [0xC0000005:ntstatus] 0x%p 指令引用了 0x%p 内存。该内存不能为 %s。
21:17:19.581 ERROR [LeviLamina] Parameter 0: 0x8
21:17:19.581 ERROR [LeviLamina] Parameter 1: 0x14cfffffe6a

To Reproduce

1

Expected behavior

同样是真命令注册在控制台直接执行正常但是通过mc.runcmdEx执行不会报错

Screenshots

Image

Platform

win10

BDS Version

BDS 1.26.10

LeviLamina Version

LeviLamina-26.10.13.

LegacyScriptEngine Version

LSE 0.18.2

Additional context

1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions