GamerNoTitle / MCDR-Mirror-Server

基于MCDR的镜像服插件
11 stars 1 forks source link

!!mirror rcon stop有可能会把survival和mirror一起关掉 #2

Open Rainiers-c opened 3 years ago

Rainiers-c commented 3 years ago
[15:14:59] [Server thread/INFO]: <LOKI_rc> !!mirror rcon stop
[15:15:02] [Server thread/INFO]: Stopping the server
[15:15:07] [Server thread/INFO]: Stopping server
[15:15:07] [Server thread/INFO]: Saving players
[15:15:07] [Server thread/INFO]: Luan_Fuzi lost connection: Internal Exception: java.lang.StackOverflowError
[15:15:07] [Server thread/INFO]: Luan_Fuzi left the game
[15:15:07] [Server thread/INFO]: LOKI_rc lost connection: Internal Exception: java.lang.StackOverflowError
[15:15:07] [Server thread/INFO]: LOKI_rc left the game
[15:15:07] [Server thread/INFO]: Saving worlds
[15:15:07] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld
[15:15:07] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
[15:15:07] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether
[15:15:07] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[15:15:07] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_end
[15:15:07] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[15:15:07] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
[15:15:07] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[15:15:07] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[15:15:07] [Server thread/INFO]: Thread RCON Listener stopped
[15:15:07] [RCON Client /127.0.0.1 #3/INFO]: Thread RCON Client /127.0.0.1 shutting down
[15:15:07] [Server thread/INFO]: Thread RCON Client /127.0.0.1 stopped

系统win10,py3.8。由于!!mirror start之后是在survival窗口里开启的mirror,所以只要mirror stop或者mirror rcon stop之后就会连survival一起关掉,但是奇怪的是这个bug(?)是概率性的

GamerNoTitle commented 3 years ago

我自己刚开始写的时候就发现有这个,所以我是采取了开多个powershell来承载镜像服的,不过看样子可能不太行? 等我寒假的时候迁移到MCDR1.0的时候再连着一起修了吧 如果是这个问题的话推荐在镜像服关服,用我改过的那个SimpleOP打!!stop或者直接/stop吧(暂时)

BTW你的MC版本是多少?是不是Vanilla?如果不是的话服务端核心类型是什么?

On Sun, 24 Jan 2021 15:39:31 +0800, wrote:


[15:14:59] [Server thread/INFO]: <LOKI_rc> !!mirror rcon stop

[15:15:02] [Server thread/INFO]: Stopping the server

[15:15:07] [Server thread/INFO]: Stopping server

[15:15:07] [Server thread/INFO]: Saving players

[15:15:07] [Server thread/INFO]: Luan_Fuzi lost connection: Internal Exception: java.lang.StackOverflowError

[15:15:07] [Server thread/INFO]: Luan_Fuzi left the game

[15:15:07] [Server thread/INFO]: LOKI_rc lost connection: Internal Exception: java.lang.StackOverflowError

[15:15:07] [Server thread/INFO]: LOKI_rc left the game

[15:15:07] [Server thread/INFO]: Saving worlds

[15:15:07] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld

[15:15:07] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved

[15:15:07] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether

[15:15:07] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved

[15:15:07] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_end

[15:15:07] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved

[15:15:07] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved

[15:15:07] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved

[15:15:07] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved

[15:15:07] [Server thread/INFO]: Thread RCON Listener stopped

[15:15:07] [RCON Client /127.0.0.1 #3/INFO]: Thread RCON Client /127.0.0.1 shutting down

[15:15:07] [Server thread/INFO]: Thread RCON Client /127.0.0.1 stopped

系统win10,py3.8。由于!!mirror start之后是在survival窗口里开启的mirror,所以只要mirror stop或者mirror rcon stop之后就会连survival一起关掉,但是奇怪的是这个bug(?)是概率性的

--

You are receiving this because you are subscribed to this thread.

Reply to this email directly or view it on GitHub:

https://github.com/GamerNoTitle/MCDR-Mirror-Server/issues/2 -- GamerNoTitle (\^3^/) Sent by using BlackBerry 9720 LogicMail

GamerNoTitle commented 3 years ago

讲真,我自己1.14.4 Vanilla在我自己电脑上测试的时候采用开多一个powershell进程的方式是莫得问题的(手动笑哭)

GamerNoTitle commented 3 years ago

另:还有MCDR版本是多少

Rainiers-c commented 3 years ago

BTW你的MC版本是多少?是不是Vanilla?如果不是的话服务端核心类型是什么?

MC版本1.16.1;waterfall+fabric+carpet 因为太lazy了所以就不改了qwq

另:还有MCDR版本是多少

MCDR版本0.9.6,也是因为太lazy了所以一直没升awa

GamerNoTitle commented 3 years ago

啊居然是水龙头(我还真没测过) 回去再看吧 明天还有两科选考

Rainiers-c commented 3 years ago

啊居然是水龙头(我还真没测过)

啊,不是,waterfall是跨服端,子服(survival、mirror、creative)都是fabric+carpet

回去再看吧 明天还有两科选考

好的,祝你考试顺利!

GamerNoTitle commented 3 years ago

我肥来了 BTW你的waterfall不会被kill吧

Rainiers-c commented 3 years ago

我肥来了 BTW你的waterfall不会被kill吧

不会,就只会把生存服和镜像服在的那个窗口给stop掉

GamerNoTitle commented 3 years ago

刚推了个更新你要不试一下?

Rainiers-c commented 3 years ago

刚推了个更新你要不试一下?

好的!这就去试!感谢!

Rainiers-c commented 3 years ago

请问下这个新构的mirror是适配MCDR1.0+的吗

GamerNoTitle commented 3 years ago

请问下这个新构的mirror是适配MCDR1.0+的吗

还没 只是解决了一下那个kill的问题

Rainiers-c commented 3 years ago
[Server] [22:44:09] [Server thread/INFO]: <Rainiers> ! !mirror start
MCDReforged 0. 9. 3-a1pha is starting up
MCDReforged is open source, u can find it here: https://gi thub. com/Fallen-Breath/ MCDReforged 
MICDReforged is still in development, it may not work well
Fail to initialize MCDR
Traceback (most recent call last) :
File" MCDReforged.py ,line 40,in <module>
main()
File" MCDReforged. py", line 13,in main
server = Server()
File "D: \MCDR1.16. 1MCDR survival \utils\server. py",line 41, in __ init__
self.1ogger. set_ file (constant. LOGGING FILE)
File "D: \MCDR1.16.1 \MCDR survival \utils\logger.py", 1ine 90, in set_ file
os. remove(file_ name)
PermissionError: [winError 32] 另一个程序正在使用此文件,进程无法访问。: ' 1og\MCDR. 1og'
Exception occurred, press Enter to exit.

好的,MCDR0.9.3(?),也许是我该换版本了,但是这个新mirror看起来也像换了个问题(也许是我的问题?),我不是很了解 这个报错之后,如果生存服手动stop或者qb back会遇到打不开的情况 显示 PermissionError: [winError 32] 另一个程序正在使用此文件,进程无法访问。: ' 1og\MCDR. 1og' 类似这样的情况

GamerNoTitle commented 3 years ago

看样子是你的文件被占用了……但是我也不知道是什么在占用它 你的mirror是关掉了吗 关服之前

Rainiers-c commented 3 years ago

看样子是你的文件被占用了……但是我也不知道是什么在占用它 你的mirror是关掉了吗 关服之前

emm看样子应该是没有,但是我把整台服务器都重启过了,还是会显示报错

GamerNoTitle commented 3 years ago

整台服务器是指?物理机?

Rainiers-c commented 3 years ago

是的

GamerNoTitle commented 3 years ago

那我明天看看 你电脑有什么火绒之类的能解除文件占用的东西嘛 试试解除占用

Rainiers-c commented 3 years ago

好的,感谢提醒!