mcslteam / mcsl2 Goto Github PK
View Code? Open in Web Editor NEWMCSL2 | 一个简洁全能的Minecraft开服器
Home Page: https://mcsl.com.cn
License: GNU General Public License v3.0
MCSL2 | 一个简洁全能的Minecraft开服器
Home Page: https://mcsl.com.cn
License: GNU General Public License v3.0
MCSL2启动服务器
无法正常启动服务器
Traceback (most recent call last):
File "E:\software\MCSL2-2.2.5.1-Windows-x64\MCSL2Lib\Pages\serverManagerPage.py", line 696, in scrollAreaProcessor
File "E:\software\MCSL2-2.2.5.1-Windows-x64\MCSL2Lib\Pages\serverManagerPage.py", line 1411, in startServer
File "E:\software\MCSL2-2.2.5.1-Windows-x64\MCSL2Lib\ServerControllers\windowCreator.py", line 303, in __init__
File "E:\software\MCSL2-2.2.5.1-Windows-x64\MCSL2Lib\ServerControllers\windowCreator.py", line 441, in initSafelyQuitController
AttributeError: 'NoneType' object has no attribute 'serverProcess'
嗨嗨又来了
Release版仍然无法打开
但是从GitHub直接git的可以在VS中正常运行
下载2023-03-25 14:54到18:21任意版本运行即可
问题可能存在于AutoRelease 2023-03-25 14:54:02中,并且在接下来的版本中并没有修复。认为可以对AutoRelease 2023-03-25 14:54:02中的更改进行逐步排查。
Originally posted by LiuJiewenTT January 15, 2024
Traceback (most recent call last):
File "D:\Unzipped Software\mc\MCSL2\MCSL2-~1.1-W\MCSL2Lib\Pages\consolePage.py", line 355, in colorConsoleText
File "D:\Unzipped Software\mc\MCSL2\MCSL2-~1.1-W\MCSL2Lib\Controllers\serverController.py", line 395, in readServerProperties
UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 656: illegal multibyte sequence
MCSL2启动服务器
server.properties不能包含中文吗?我想设置中文的motd
在使用xorg时因为在MCSL2.py中QT_QPA_PLATFORM环境变量被设为“wayland”而导致启动时报错
Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
使用xorg为显示服务器的Linux运行MCSL2.py
加入显示服务器的判断后更改QT_QPA_PLATFORM环境变量
如将MCSL2.py的第1486行到1487行改为:
from os import environ, system
...
if system().lower() == 'linux':
if environ["XDG_SESSION_TYPE"].lower() != 'x11':
environ["QT_QPA_PLATFORM"] = "wayland"
...
Log:
jk-arch at ~/Рабочий стол/mc/MCSL2-2.2.3.5-Linux-x64 ❯ ./MCSL2.bin
📢 Tips: QFluentWidgets Pro is now released. Click https://qfluentwidgets.com/pages/pro to learn more about it.
2024-01-23 12:04:06.856 | INFO | MCSL2Lib.ProgramControllers.logController:info:73 - logController.__init__, at line 55 |
MCSL2 - 日志
本次启动时刻:2024-01-23 12:04:06
MCSL2版本:2.2.3.5 Beta Channel 24122
Python版本:3.8.18
Qt版本:5.15.2
QFluentWidgets版本:1.4.6
操作系统:Linux 6.6.8-arch1-1
CPU:
架构:64bit
内存占用:96.62MB
QEventLoop: Cannot be used without QApplication
2024-01-23 12:04:06.867 | INFO | MCSL2Lib.ProgramControllers.logController:info:73 - aria2ClientController.read, at line 842 | 读取下载记录: 0条
2024-01-23 12:04:06.867 | INFO | MCSL2Lib.ProgramControllers.logController:info:73 - aria2ClientController.read, at line 842 | 读取下载记录: 0条
glx: failed to create dri3 screen
failed to load driver: nouveau
which: no aria2c in (/home/jkearnsl/.local/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
2024-01-23 12:04:07.824 | INFO | MCSL2Lib.ProgramControllers.logController:info:73 - aria2ClientController.run, at line 470 | 启动Aria2耗时: 0.01622秒
My screen's original resolution is 4k, set to 2k. Aspect ratio 16x9. Scaling 150%. KDE 5.27.10, X11 server
MCSL2: Run or close MCSL2
I just downloaded the latest release of MCSL2 v2.2.3.5 ran the run command and failed (see screenshot). The UI looks horribly stretched and unresponsive to any input
启动/关闭MCSL2
启动时出现图片所示页面后闪退,任务栏有图标,点击显示隐藏的图标就会消失
MCSL2系统报告:
生成时间:2024-03-22 19:58:02
Python版本:3.8.10
控件库版本:1.4.0
操作系统:Windows 11 10.0.22631
架构:64bit
内存占用:155.21MB
MCSL2更新
如标题,在更新时失败,且右上角的 正在下载更新下载结束后将自动重启
也未自动消失
Traceback (most recent call last):
File "D:\hai_ge_shi\Game\33C33\FU_WU-qi\MCSL2-2.2.3.1-Windows-x86\MCSL2Lib\Controllers\updateController.py", line 82, in renameUpdate
File "D:\hai_ge_shi\Game\33C33\FU_WU-qi\MCSL2-2.2.3.1-Windows-x86\qfluentwidgets\common\config.py", line 277, in get
AttributeError: 'str' object has no attribute 'value'
打开一个2.2.3.1的版本
点击更新
确认更新
稍作等待
Traceback (most recent call last):
File "E:\360MoveData\Users\cy\Desktop\MCSL2-2.2.4.1-Windows-x64\MCSL2Lib\Pages\configurePage.py", line 1926, in postNewServerDispatcher
File "E:\360MoveData\Users\cy\Desktop\MCSL2-2.2.4.1-Windows-x64\MCSL2Lib\ServerControllers\serverInstaller.py", line 259, in init
File "E:\360MoveData\Users\cy\Desktop\MCSL2-2.2.4.1-Windows-x64\MCSL2Lib\ServerControllers\serverInstaller.py", line 289, in getInstallerData
MCSL2Lib.ServerControllers.serverInstaller.InstallerError: Invalid Forge installer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "E:\360MoveData\Users\cy\Desktop\MCSL2-2.2.4.1-Windows-x64\MCSL2Lib\Pages\configurePage.py", line 1910, in preNewServerDispatcher
File "E:\360MoveData\Users\cy\Desktop\MCSL2-2.2.4.1-Windows-x64\MCSL2Lib\Pages\configurePage.py", line 2106, in saveNewServer
File "E:\360MoveData\Users\cy\Desktop\MCSL2-2.2.4.1-Windows-x64\MCSL2Lib\Pages\configurePage.py", line 1967, in postNewServerDispatcher
File "E:\360MoveData\Users\cy\Desktop\MCSL2-2.2.4.1-Windows-x64\MCSL2Lib\Pages\configurePage.py", line 2162, in afterInstallingForge
AttributeError: 'ConfigurePage' object has no attribute 'installerLogViewer'
MCSL2新建服务器
mc版本是1.7.10,Java是8,forge版本是1614
其他的forge版本我没试过
No response
生成时间:2024-01-24 13:03:32
MCSL2版本:2.2.3.5 Beta Channel 24122
Python版本:3.8.10
Qt版本:5.15.2
QFluentWidgets版本:1.4.6
操作系统:Windows 11 10.0.22621
CPU:AMD64 Family 25 Model 116 Stepping 1, AuthenticAMD
架构:64bit
内存占用:200.29MB
MCSL2终端
配置文件修改后无法保存
MCSL2系统报告:
生成时间:2023-10-12 22:19:05
Python版本:3.8.10
控件库版本:1.2.2
操作系统:Windows 10 10.0.19045
架构:64bit
内存占用:94.24MB
MCSL2新建服务器
新建服务器中的“自动查找Java”功能和“手动导入”功能不完善
具体表现为:无法搜索到第三方的Java,譬如Zulu和dragonwell的Java,均无法被搜索到。
且手动导入该类Java后,Java列表中的该Java选项会在新建另一个服务器时消失。
生成时间:2024-01-21 19:32:12
MCSL2版本:2.2.3.4
Python版本:3.8.10
Qt版本:5.15.2
QFluentWidgets版本:1.4.6
操作系统:Windows 11 10.0.22621
CPU:AMD64 Family 25 Model 116 Stepping 1, AuthenticAMD
架构:64bit
内存占用:237.13MB
MCSL2终端
在线玩家列表显示有误
在MCSL2_Libs/MCSL2_Aria2Controller.py中的CheckAria2
中self.LinuxCheckPackageExists('aria2')
应改为self.LinuxCheckPackageExists('aria2c')
Linux端的aria2在命令行中叫aria2c
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/ploki/Program/MCSL2/MCSL2Lib/windowInterface.py", line 303, in catchExceptions
box = MessageBox("程序出现异常", tracebackString, parent=self)
File "/home/ploki/.pyenv/versions/3.8.17/lib/python3.8/site-packages/qfluentwidgets/components/dialog_box/dialog.py", line 133, in init
super().init(parent=parent)
File "/home/ploki/.pyenv/versions/3.8.17/lib/python3.8/site-packages/qfluentwidgets/components/dialog_box/mask_dialog_base.py", line 15, in init
self._hBoxLayout = QHBoxLayout(self)
SystemError: <class 'PyQt5.QtWidgets.QHBoxLayout'> returned a result with an error set
Original exception was:
Traceback (most recent call last):
File "/home/ploki/Program/MCSL2/MCSL2Lib/windowInterface.py", line 579, in eventFilter
if a0 == self.consoleInterface and a1.type() == QEvent.KeyPress:
AttributeError: 'Window' object has no attribute 'consoleInterface'
Error in sys.excepthook:
Traceback (most recent call last):
File "/home/ploki/Program/MCSL2/MCSL2Lib/windowInterface.py", line 579, in eventFilter
if a0 == self.consoleInterface and a1.type() == QEvent.KeyPress:
AttributeError: 'Window' object has no attribute 'consoleInterface'
启动/关闭MCSL2
系统:Arch Linux x86_64 6.4.10-zen2-1-zen
架构:x86_64
MCSL 2 版本:2.2.0.1
上面的报错会一直循环
在MCSL2Lib/windowInterface.py,在174行给self.consoleInterface赋值之前就出现错误并调用eventFilter,导致循环报错
No response
2023 3 15
生成时间:2024-02-23 17:33:05
MCSL2版本:2.2.4.2 Stable Channel 24208
Python版本:3.11.4
Qt版本:5.15.2
QFluentWidgets版本:1.5.1
操作系统:Windows 10 10.0.19044
CPU:Intel64 Family 6 Model 166 Stepping 0, GenuineIntel
架构:64bit
内存占用:243.49MB
MCSL2终端
在使用BungeeCord服务端时,启动后无法正常输入命令,按回车或按钮无反应。
在输出端口时,似乎少了一位?
如说明
No response
生成时间:2024-02-12 17:29:12
MCSL2版本:2.2.4.0 Stable Channel 24208
Python版本:3.8.10
Qt版本:5.15.2
QFluentWidgets版本:1.5.0
操作系统:Windows 10 10.0.20348
CPU:Intel64 Family 6 Model 156 Stepping 0, GenuineIntel
架构:64bit
内存占用:184.22MB
MCSL2终端
我是正版玩家,朋友的帐号没问题(盗版账号)
还是没修复 :(
进一下游戏再退出(做两遍),在终端窗口看在线人数列表就可以了。
在MCSL2_Libs/MCSL2_JavaDetector.py中
在Linux平台导入subprocess中的SW_HIDE常量时会抛出异常
直接运行即可
加入系统判断后导入SW_HIDE常量
生成时间:2024-01-22 23:29:58
MCSL2版本:2.2.3.4
Python版本:3.8.10
Qt版本:5.15.2
QFluentWidgets版本:1.4.6
操作系统:Windows 10 10.0.19045
CPU:AMD64 Family 23 Model 96 Stepping 1, AuthenticAMD
架构:64bit
内存占用:108.46MB
MCSL2终端
应绑定themeChanged之类的信号槽
No response
MCSL2系统报告:
生成时间:2024-01-17 09:43:54
Python版本:3.8.10
控件库版本:1.4.0
操作系统:Windows 11 10.0.22631
架构:64bit
内存占用:164.48MB
MCSL2主页, MCSL2更改/删除服务器
如题,在进入“管理”后点击左边进入其他界面再切回来就会在“管理”界面额外出现一个相同的服务器
我有两个服务器但只有上面那个出现了拷贝自身的问题
edit:
重开MCSL会清除拷贝出来的服务器,但相同操作仍会继续拷贝
MCSL2系统报告:
生成时间:2023-12-22 16:32:29
Python版本:3.8.10
控件库版本:1.4.0
操作系统:Windows 10 10.0.19045
架构:64bit
内存占用:214.39MB
MCSL2主页, MCSL2启动服务器, MCSL2新建服务器, MCSL2下载, MCSL2终端, MCSL2插件, MCSL2设置, 启动/关闭MCSL2, MCSL2更新
如题
No response
没有
MCSL2更改/删除服务器
如标题,并且我试了无论哪个版本都有这个问题
生成启动脚本
在加载界面点击打开下载文件夹软件崩溃
MCSL2下载
在加载界面点击打开下载文件夹软件崩溃
macOS没一个能用的版本
每个都不行。
不知道,需要测试,大众协助解决
在打开菜单 ‘更多’ 时会直接崩溃
在打开菜单 ‘更多’ 时会直接崩溃
看报错原因是ValueError: 8 is not in list
上个版本并未出现这个情况
$ ./MCSL2.bin 1| wl-copy
Traceback (most recent call last):
File "/home/mraodragon/.local/share/MCSL2/MCSL2.py", line 20, in
File "/home/mraodragon/.local/share/MCSL2/MCSL2Lib/utils.py", line 34, in
File "/home/mraodragon/.local/share/MCSL2/MCSL2Lib/Controllers/logController.py", line 23, in init
File "/home/mraodragon/.local/share/MCSL2/loguru/_logger.py", line 988, in add
File "/home/mraodragon/.local/share/MCSL2/loguru/_handler.py", line 93, in init
File "/home/mraodragon/.local/share/MCSL2/multiprocessing/context.py", line 112, in SimpleQueue
File "/home/mraodragon/.local/share/MCSL2/multiprocessing/queues.py", line 22, in
ImportError: /home/mraodragon/.local/share/MCSL2/_multiprocessing.so: cannot open shared object file: No such file or directory
启动/关闭MCSL2
直接下载,解压
生成时间:2024-01-22 22:00:15
MCSL2版本:2.2.3.4
Python版本:3.8.10
Qt版本:5.15.2
QFluentWidgets版本:1.4.6
操作系统:Windows 11 10.0.22621
CPU:AMD64 Family 25 Model 116 Stepping 1, AuthenticAMD
架构:64bit
内存占用:178.09MB
MCSL2终端
当重启终端时会出现重复
建议新建一个分支,放这个项目 需要用到的文件 用户可以不手动安装额外软件、库
该项目 现在用Ubuntu和Ubuntu上的python解释器 建议测试稳定后把python解释器放在这个分支
以一个目录的形式发布,方便调试单个文件
当按住一个控件拖动时会报错并退出
Traceback (most recent call last):
File "/home/fecwaqw/Code/Python/MCSL2/MCSL2.py", line 391, in mouseMoveEvent
diff = globalPos - self.__mouseMovePos
AttributeError: 'MCSL2MainWindow' object has no attribute '_MCSL2MainWindow__mouseMovePos'
按住一个控件拖动
Traceback (most recent call last):
File "D:\MCSL 2\MCSL2-2.2.3.1-Windows-x64\MCSL2Lib\Pages\consolePage.py", line 355, in colorConsoleText
File "D:\MCSL 2\MCSL2-2.2.3.1-Windows-x64\MCSL2Lib\Controllers\serverController.py", line 395, in readServerProperties
UnicodeDecodeError: 'gbk' codec can't decode byte 0xa8 in position 812: illegal multibyte sequence
MCSL2终端
我在启动服务器时出现了错误
No response
MCSL2系统报告:
生成时间:2023-08-21 11:22:14
MCSL2版本:2.2.1.0
操作系统:Windows10 10.0.22621
架构:64bit
内存占用:137.98MB
MCSL2启动服务器, MCSL2新建服务器, MCSL2下载, MCSL2终端, MCSL2插件, MCSL2设置
对象已被销毁:在Python中,当一个对象被删除或销毁后,如果尝试对其进行操作,就会出现类似的错误。可能在某个地方删除了 QPropertyAnimation 对象,然后在 __fadeOut 函数中尝试使用它。
引用失效:如果对象在作用域内被删除,但仍然持有对它的引用,尝试访问该引用时会导致错误。这通常发生在异步代码中,当一个对象被删除后,它的引用仍然存在于某个回调函数中。
线程问题:如果在多线程环境中使用了 QPropertyAnimation 对象,可能会发生线程同步问题,导致对象被删除或访问时的不一致。
触发条件:手动关闭屏幕左下角的绿色弹窗 触发概率99%
进阶:实在闲的没事可以试试,打开插件界面,启用然后立即禁用任意插件。弹窗出现后把鼠标放在"复制到剪切板"会有神奇的事情发生~
群友通过手动导入服务端核心的方式,创建服务端时导致崩溃
完善相关代码逻辑,或可以考虑改成引导式,逻辑清晰
。
跑都跑不起来
使用vs看到应当是新的pr的锅
直接在无/MCSL2/的目录或没有AutoDetectJavaHistory.txt的情况下打开
在第一次打开的时候,进行AutoDetectJavaHistory.txt文件的新建,待会看看要不要给改了(
生成时间:2024-01-21 14:32:32
MCSL2版本:2.2.3.3
Python版本:3.8.10
控件库版本:1.4.5
操作系统:Windows 11 10.0.22621
CPU:AMD64 Family 25 Model 116 Stepping 1, AuthenticAMD
架构:64bit
内存占用:226.54MB
MCSL2终端
我在测试版2.2.3.3出现终端弹窗
错误:TypeError: invalid argument to sipBadCatcherResult()
No response
null
MCSL2主页
启动后长时间不操作启动器界面然后去操作操作直接卡爆。或许是兼容性极差
启动软件然后不管,丢个几个小时。然后再去操作软件的界面元素
No response
可以Linux平台上运行吗?(我用的Archlinux)
如果可以,需要什么编译环境?(Python+Qt?)
可以打包至Archlinux的AUR上吗?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.