LegacyScriptEngine icon indicating copy to clipboard operation
LegacyScriptEngine copied to clipboard

A plugin engine for running LLSE plugins on LeviLamina

Results 57 LegacyScriptEngine issues
Sort by recently updated
recently updated
newest added

### 异常模块 ScriptEngine(脚本引擎) ### 操作系统 Windows Server 2016 ### LiteLoader版本 2.5.1 ### BDS版本 1.19.20 ### 发生了什么? llse的wsclient无法接收到大数据量的文本消息,我想知道这是bug吗,或者wsclient能接收到的最大数据量是多少 ### 复现此问题的步骤 读取一个719kb的文件作为文本内容,然后通过wsclient发送给wsserver,wsserver收到消息后转发给其他wsclient,其他wsclient收不到消息,之后再也不能发送或接收消息,但没有断开与wsserver的连接,也没有任何报错 读取一个8kb的文件作为文本内容可以正常发送并被接收 ### 有关的日志/输出 _No response_ ### 插件列表 ```shell 14:46:32 INFO...

bug

### 异常模块 ScriptEngine(脚本引擎) ### 操作系统 Windows 11 ### LiteLoader版本 2.5.1 ### BDS版本 1.19.20 ### 发生了什么? RT,这是个编写nodejs插件时发现的问题。 此问题在quickjs中没有发现。 ### 复现此问题的步骤 将这串代码输入到您的nodejs插件中,您会发现mc.listen中的回调函数不会执行: async function abc(a) { if (a == 0) { a...

bug

### 异常模块 ScriptEngine (脚本引擎) ### 操作系统 Windows 10 ### LiteLoader 版本 LiteLoaderBDS 2.8.0+ae408ea ### BDS 版本 1.19.40.02(ProtocolVersion 557) ### 发生了什么? 在nodejs插件中引用sqlite3这一npm包,在插件执行到`require("sqlite3")`语句时发生崩溃。 未测试其他含有二进制.node文件的nodejs包 ### 复现此问题的步骤 1. 创建一个nodejs插件 2. 在插件中引入sqlite3 3. 您应该可以看到崩溃...

bug

### 异常模块 ScriptEngine (脚本引擎) ### 操作系统 Windows 10 ### LiteLoader 版本 2.16.2+d07a9ca ### BDS 版本 1.20.30.02 ### 发生了什么? 调用NativeFunction的时候,有一定几率成功,一定几率服务器爆炸 ### 复现此问题的步骤 代码附上: ![image](https://github.com/LiteLDev/LiteLoaderBDS/assets/70333491/81bc47b7-3502-4b13-b89f-518a759db85b) ### 有关的日志/输出 ```raw 15:22:24 INFO [Server] IPv4...

bug

### Describe the bug https://github.com/GroupMountain/GMLIB-LegacyRemoteCallApi/issues/35 mc.deletePlayerNbt(uuid) 删除玩家nbtAPI删除到了空指针导致崩服 ### To Reproduce https://github.com/GroupMountain/GMLIB-LegacyRemoteCallApi/issues/35 mc.deletePlayerNbt(uuid) 删除玩家nbtAPI删除到了空指针导致崩服 ### Expected behavior 不崩服 ### Screenshots https://github.com/GroupMountain/GMLIB-LegacyRemoteCallApi/issues/35 mc.deletePlayerNbt(uuid) 删除玩家nbtAPI删除到了空指针导致崩服 ### Platform Win10 ### Version BDS1.21.3 LL0.13.5 LSE0.8.19...

bug

### Describe the bug player.clearItem(item, count) clears [count] items from each slots, instead of clearing [count] items from whole inventory. ### To Reproduce 1. Use player.clearItem(item, count) 2. Have a...

bug

### Is your feature request related to a problem? Please describe. 玩家对象的pl.runcmd()无法在玩家没有管理员权限的时候执行管理员命令,而通过execute命令代为执行却又无法识别通过mc.newCommand注册的命令(曲线救国也不行👀) ![msedge_8RE6AjwcYK](https://github.com/user-attachments/assets/824d4d33-9a75-4cbf-82f2-cf28ffef8f43) ### Describe the solution you'd like 可否为玩家对象添加一个以管理员身份执行一条命令的函数? ### Describe alternatives you've considered _No response_ ### Additional context...

enhancement

### Describe the bug 玩家不動時speed為0.1,移動時無論多快都是0.13 ### To Reproduce 設pl為玩家對象 log(pl.speed) ### Expected behavior 應正確輸出玩家的速度(可能是以米/秒?) ### Screenshots _No response_ ### Platform Windows 11 ### BDS Version 1.20.3.01 ### LeviLamina Version 0.13.5...

bug

### Describe the bug 如果服务器内有插件监听到了`onRedStoneUpdate`事件,比如iland,那么玩家将一直卡在进服界面无法进服,同时服务端日志只有`Player connected:`而不出现`Player Spawned:`。此时再尝试关服,服务器中将出现死循环(假死),占用满一个CPU核心 ### To Reproduce 服务器安装lse和任意会监听onRedStoneUpdate的lse插件,存档中摆放任意红石高频装置使其保持开启,然后从高频旁边下线,再重新进服 一个足以触发此问题的nodejs插件代码如下: ``` mc.listen("onRedStoneUpdate",()=>{}); ``` ### Expected behavior 在一台性能足够的服务器上,存档不大、插件也不多时,玩家连接服务器后应该在几秒至十几秒内就能成功进入服务器正常游戏 ### Screenshots _No response_ ### Platform Windows 11 23H2 ### BDS...

bug

### Describe the bug lse-nodejs脚本中,当Object类型变量以数字字符串作为键时,lse api可能会无法读取到该键值对 ### To Reproduce ```js const bug = { "22903518": 10689975, "22949482": "bug", "a114513": "not bug", } logger.error(bug); ``` 结果打印 `{a114513:not bug}` ### Expected behavior...

bug