Skip to content

[Bug]: ll.getPluginInfo()不能用 #72

Closed
@licheng1117

Description

@licheng1117

Describe the bug

17:47:54.080 ERROR [legacy-script-engine-quickjs] Fail in LLAPI
17:47:54.081 ERROR [legacy-script-engine-quickjs] Raw Seh Exception:
17:47:54.081 ERROR [legacy-script-engine-quickjs] [0xC0000005:ntstatus] 0x%p 指令引用了 0x%p 内存。该内存不能为 %s。
17:47:54.082 ERROR [legacy-script-engine-quickjs] Parameter 0: 0x0
17:47:54.082 ERROR [legacy-script-engine-quickjs] Parameter 1: 0x0
17:47:54.083 ERROR [legacy-script-engine-quickjs] [failed to obtain stacktrace]
17:47:54.083 ERROR [legacy-script-engine-quickjs] In API: LlClass::getPluginInfo
17:47:54.083 ERROR [legacy-script-engine-quickjs] In Plugin: test.llse
17:47:54.084 INFO [test.llse]

To Reproduce

mc.listen("onServerStarted", () => {
log(ll.getPluginInfo("PSign.llse"))
})

Expected behavior

输出这个插件的属性参数
{name:PTitle,desc:PTitle System,version:[2,0,5],versionStr:2.0.5 - Release,filePath:plugins\nodejs\PTitle,others:{Author:Planet工作室-
星辰开发组-苏苏,Docs:https://docs.mcmap.top/#/plugins/LLSE/PTitle,Fix Version:Beta 24.03.1601A 开发版,Names:称号系统,PluginFilePath:plugins\nodejs\PTitle,PluginType:Script Plugin}}

Screenshots

No response

Platform

Windows 11

BDS Version

1.20.62.03

LeviLamina Version

0.9.4

LegacyScriptEngine Version

0.4.133

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions