MiraiCP icon indicating copy to clipboard operation
MiraiCP copied to clipboard

c++ SDK of Mirai

Results 7 MiraiCP issues
Sort by recently updated
recently updated
newest added

### 功能描述 libloader异常处理,现在出现异常了还是会继续执行下去 ### 原因 。 ### 组件选择 loader

t:enhancement
p:secondary
f:structure design
s:finish but need test

### 功能描述 libloader功能还没有测试完,想到什么就直接编辑加条目吧 - [ ] 测试在事件中和onexit抛出异常 - [x] 测试在各种情况下结束kt进程时libloader能否正常卸载并且不报sigsegv - [ ] 测试修改后的loader api功能是否正常 其他可以在单元测试做的就在单元测试做 ### 原因 测试,测试不做就会有一堆issue,比如119和121(

t:enhancement
p:high
s:finish but need test

### Code of Conduct - [X] I conform ### 问题描述 输出日志和配置文件(账号配置没截图,确认正确) ![image](https://user-images.githubusercontent.com/54207582/179382289-39a7ba47-f9e9-4976-a0d2-15f75dbe2267.png) ![image](https://user-images.githubusercontent.com/54207582/179382305-71504ded-f47f-42f7-bc34-df409108915c.png) 目录确定没错,但总是无法加载 ### 日志 _No response_ ### 版本 2.12.0-RC ### 组件 Loader, LibLoader

t:bug
p:high
t:dependencies

目前还缺少一个覆盖大部分操作和事件的单元测试 需要等Mirai的mock框架merge (https://github.com/mamoe/mirai/pull/1521)

t:enhancement
f:events
p:high

### 功能描述 按优先级排序: 1. 修复新报告的 issue - [ ] 2. 重构CPP到下一个大版本3.*, 同时这个2.*版本也会继续维护(修复一些提交的问题), 但是不会更新其他功能(会尽量不写太多API change, 但是为了优化使用, API change是必要的), 大概包含以下几点: - 统一命名规范 - 减少复制 - 优化继承结构 - [ ] 3. kotlin 引入...

t:enhancement
f:API
p:high
f:structure design

### Code of Conduct - [x] I conform ### 问题描述 利用该指令进行MiraiCP-Plugin插件安装后再次运行mcl报错 `mcl --update-package io.github.nambers:MiraiCP-plugin --channel nightly --type plugin` 报错内容: ![image](https://user-images.githubusercontent.com/49605891/189937204-cac6252c-7cf7-46c7-914e-ba55e8259e30.png) ### 日志 _No response_ ### 版本 Latest ### 组件 Plugin

t:bug
p:high

### Code of Conduct - [X] I conform ### 问题描述 插件在被调用libOpen()时,初始化所有全局变量。如果存在MiraiCP提供的部分类的对象(如Member),构造函数调用时会尝试call一次ktOperation,此时loader api未设置,在进行checkApi时会出现段错误。 ```plaintext LibLoader::LoaderApi::pluginOperation loaderApi.cpp:56

t:bug
f:API
p:high