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

关于OriginType的反馈 #301

Closed
harry-xi opened this issue Mar 6, 2022 · 1 comment
Closed

关于OriginType的反馈 #301

harry-xi opened this issue Mar 6, 2022 · 1 comment
Labels
bug Related to software malfunction

Comments

@harry-xi
Copy link
Contributor

harry-xi commented Mar 6, 2022

Exceptions module 异常模块

ScriptEngine 脚本引擎

Operating System 操作系统

Windows 10

LiteLoader version LiteLoader版本

LiteLoaderBDS 2.1.3

BDS version BDS版本

1.18.11.01(ProtocolVersion 486)

What happened? 发生了什么问题?

直接将OriginType对象转换为文本会输出一段数字,如

对应的实际执行命令对象类型
-642117369 控制台
-642116864 玩家
经多次试验验证存在稳定对应关系

或是实际上不应如此处理这一对象?但是我没有在文档内找到任何信息。

Steps to reproduce? 复现此问题的步骤

注册一条真命令
使用log()输出回调函数中origin参数的type属性

  • 得到上面输出时的回调函数代码
cmd.setCallback((_cmd,origin,_output,_results)=>{
    log(origin.type)
})

观察控制台输出

Relevant log output 有关的日志/输出

仅有的相关信息见描述

Plugin list 插件列表

19:57:12 INFO [Server] Plugin Lists [21]
19:57:12 INFO [Server] - LLAntiCheat_pr23_fix4.dll [v1.0.0] (LLAntiCheat_pr23_fix4.dll)
19:57:12 INFO [Server] LLAntiCheat_pr23_fix4.dll
19:57:12 INFO [Server] - LLMoney [v2.1.1] (LLMoney.dll)
19:57:12 INFO [Server] EconomyCore for LiteLoaderBDS
19:57:12 INFO [Server] - BetterStop [v2.0.1] (BetterStop.dll)
19:57:12 INFO [Server] Have a better and safer "stop" command.
19:57:12 INFO [Server] - ScriptEngine-Lua [v2.1.3] (LiteLoader.Lua.dll)
19:57:12 INFO [Server] Lua ScriptEngine for LiteLoaderBDS
19:57:12 INFO [Server] - ScheduleCmd [v1.1.0] (ScheduleCmd.dll)
19:57:12 INFO [Server] Schedule your command execute in language of crontab
19:57:12 INFO [Server] - ScriptEngine-Js [v2.1.3] (LiteLoader.Js.dll)
19:57:12 INFO [Server] Javascript ScriptEngine for LiteLoaderBDS
19:57:12 INFO [Server] - BackupHelper [v2.0.5] (BackupHelper.dll)
19:57:12 INFO [Server] One command to backup your level
19:57:12 INFO [Server] - iLand [v2.8.2] (iland-core.lua)
19:57:12 INFO [Server] Powerful land plugin.
19:57:12 INFO [Server] - bags.lxl.js [v1.0.0] (bags.lxl.js)
19:57:12 INFO [Server] bags.lxl.js
19:57:12 INFO [Server] - BehaviorLog [v2.1.4] (BehaviorLog.lxl.js)
19:57:12 INFO [Server] Behavior Log for LiteLoaderBDS
19:57:12 INFO [Server] - DeathPenalty.js [v1.0.0] (DeathPenalty.js)
19:57:12 INFO [Server] DeathPenalty.js
19:57:12 INFO [Server] - EconomicSync.lxl.js [v1.0.0] (EconomicSync.lxl.js)
19:57:12 INFO [Server] EconomicSync.lxl.js
19:57:12 INFO [Server] - EnchantUtil [v1.0.0] (EnchantUtil.ll.js)
19:57:12 INFO [Server] LLSE 真指令示例插件
19:57:12 INFO [Server] - lang.lxl.js [v1.0.0] (lang.lxl.js)
19:57:12 INFO [Server] lang.lxl.js
19:57:12 INFO [Server] - LxlCheckBag.lxl.js [v1.0.0] (LxlCheckBag.lxl.js)
19:57:12 INFO [Server] LxlCheckBag.lxl.js
19:57:12 INFO [Server] - LXLETAutoUpdate.js [v1.0.0] (LXLETAutoUpdate.js)
19:57:12 INFO [Server] LXLETAutoUpdate.js
19:57:12 INFO [Server] - LXLEssential.js [v1.0.0] (LXLEssential.js)
19:57:12 INFO [Server] LXLEssential.js
19:57:12 INFO [Server] - manage.lxl.js [v1.0.0] (manage.lxl.js)
19:57:12 INFO [Server] manage.lxl.js
19:57:12 INFO [Server] - money_gui.ll.js [v1.0.0] (money_gui.ll.js)
19:57:12 INFO [Server] money_gui.ll.js
19:57:12 INFO [Server] - timesystem.lxl.js [v1.0.0] (timesystem.lxl.js)
19:57:12 INFO [Server] timesystem.lxl.js
19:57:12 INFO [Server] - uimanage.lxl.js [v1.0.0] (uimanage.lxl.js)
19:57:12 INFO [Server] uimanage.lxl.js

@harry-xi harry-xi added the bug Related to software malfunction label Mar 6, 2022
@github-actions github-actions bot added the status: review needed Requires assessment or evaluation label Mar 6, 2022
@Jasonzyt Jasonzyt added the LLSE label Mar 7, 2022
xiaoqch added a commit that referenced this issue Mar 7, 2022
@ShrBox ShrBox closed this as completed Mar 7, 2022
@github-actions github-actions bot removed the status: review needed Requires assessment or evaluation label Mar 7, 2022
@harry-xi
Copy link
Contributor Author

一些描述错误:“OriginType对象转换为文本会输出一段数字”的数字对于关系使会每次变化的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Related to software malfunction
Development

No branches or pull requests

3 participants