RukkitDev / Rukkit

一个基于Netty框架的铁锈战争第三方服务器。A custom RustedWarfare Server based on Netty framework
GNU Affero General Public License v3.0
29 stars 7 forks source link

(房主不能转让) #18

Closed byzp closed 1 year ago

byzp commented 2 years ago

ubuntu server 20.04 openjdk-17-jre-headless 启动命令是java -cp libs/*:Rukkit.jar cn.rukkit.RukkitLauncher 程序是刚刚编译的

………… 2022-07-29 21:12:40.082 [Thread-1] INFO cn.rukkit.network.GameServer - Done! (481ms) 2022-07-29 21:12:40.160 [nioEventLoopGroup-2-1] ERROR cn.rukkit.network.GameServer - [id: 0x9731226e] REGISTERED 2022-07-29 21:12:40.162 [nioEventLoopGroup-2-1] ERROR cn.rukkit.network.GameServer - [id: 0x9731226e] BIND(0.0.0.0/0.0.0.0:65535) 2022-07-29 21:12:40.167 [nioEventLoopGroup-2-1] ERROR cn.rukkit.network.GameServer - [id: 0x9731226e, L:/[0:0:0:0:0:0:0:0]:65535] ACTIVE 2022-07-29 21:12:47.776 [nioEventLoopGroup-2-1] ERROR cn.rukkit.network.GameServer - [id: 0x9731226e, L:/[0:0:0:0:0:0:0:0]:65535] READ: [id: 0xa5146738, L:/xxx.xxx.xxx.xxx:65535 - R:/xxx.xxx.xxx.xxx:1616] 2022-07-29 21:12:47.781 [nioEventLoopGroup-2-1] ERROR cn.rukkit.network.GameServer - [id: 0x9731226e, L:/[0:0:0:0:0:0:0:0]:65535] READ COMPLETE 2022-07-29 21:12:47.804 [nioEventLoopGroup-3-1] INFO cn.rukkit.network.ConnectionHandler - New connection established:/xxx.xxx.xxx.xxx:1616 2022-07-29 21:12:47.828 [nioEventLoopGroup-3-1] INFO cn.rukkit.network.ConnectionHandler - Got Player(package=com.corrodinggames.rtt, version=151, name=xxx, uuid=239C36A3507CB2051486FA4A734B375CF9139FF85B1FB82401BCD578B9606B53, verify=c:114514m:99627420:7436487041:1145142:14886820003:1425144:-13845925:2745146:-1447347808t1:743648704d:572570 2022-07-29 21:12:49.828 [nioEventLoopGroup-3-1] WARN cn.rukkit.network.ConnectionHandler - Exception happened java.lang.ArrayIndexOutOfBoundsException: Index -1 out of bounds for length 20 at cn.rukkit.game.PlayerManager.remove(PlayerManager.java:82) at cn.rukkit.game.PlayerManager.remove(PlayerManager.java:67) at cn.rukkit.network.ConnectionManager.discard(ConnectionManager.java:87) at cn.rukkit.network.ConnectionHandler.channelInactive(ConnectionHandler.java:63) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:240) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:226) at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:219) at io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:379) at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:344) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:240) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:226) at io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:219) at io.netty.channel.DefaultChannelPipeline$HeadContext.channelInactive(DefaultChannelPipeline.java:1299) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:240) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:226) at io.netty.channel.DefaultChannelPipeline.fireChannelInactive(DefaultChannelPipeline.java:903) at io.netty.channel.AbstractChannel$AbstractUnsafe$8.run(AbstractChannel.java:768) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:399) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:464) at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:131) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:833) 2022-07-29 21:12:57.092 [nioEventLoopGroup-2-1] ERROR cn.rukkit.network.GameServer - [id: 0x9731226e, L:/[0:0:0:0:0:0:0:0]:65535] READ: [id: 0x89d12c1c, L:/xxx.xxx.xxx.xxx:65535 - R:/xxx.xxx.xxx.xxx:1652] 2022-07-29 21:12:57.096 [nioEventLoopGroup-2-1] ERROR cn.rukkit.network.GameServer - [id: 0x9731226e, L:/[0:0:0:0:0:0:0:0]:65535] READ COMPLETE 2022-07-29 21:12:57.113 [nioEventLoopGroup-3-2] INFO cn.rukkit.network.ConnectionHandler - New connection established:/xxx.xxx.xxx.xxx:1652 2022-07-29 21:12:57.134 [nioEventLoopGroup-3-2] INFO cn.rukkit.network.ConnectionHandler - Got Player(package=com.corrodinggames.rtu, version=151, name=Unnamed583, uuid=F2B2D4F147D4CED6A55AAF199C33B4053B09A414C16B5083ED0B17045E48B05E, verify=c:114514m:99627420:7436487041:1145142:14886820003:1425144:-13845925:2745146:-1447347808t1:743648704d:572570 2022-07-29 21:13:01.939 [nioEventLoopGroup-2-1] ERROR cn.rukkit.network.GameServer - [id: 0x9731226e, L:/[0:0:0:0:0:0:0:0]:65535] READ: [id: 0x2a99e7ea, L:/xxx.xxx.xxx.xxx:65535 - R:/xxx.xxx.xxx.xxx:1677] 2022-07-29 21:13:01.939 [nioEventLoopGroup-2-1] ERROR cn.rukkit.network.GameServer - [id: 0x9731226e, L:/[0:0:0:0:0:0:0:0]:65535] READ COMPLETE 2022-07-29 21:13:01.949 [nioEventLoopGroup-3-1] INFO cn.rukkit.network.ConnectionHandler - New connection established:/xxx.xxx.xxx.xxx:1677 2022-07-29 21:13:01.974 [nioEventLoopGroup-3-1] INFO cn.rukkit.network.ConnectionHandler - Got Player(package=com.corrodinggames.rtt, version=151, name=abc, uuid=239C36A3507CB2051486FA4A734B375CF9139FF85B1FB82401BCD578B9606B53, verify=c:114514m:99627420:7436487041:1145142:14886820003:1425144:-13845925:2745146:-1447347808t1:743648704d:572570 2022-07-29 21:13:09.153 [nioEventLoopGroup-3-2] WARN cn.rukkit.network.ConnectionHandler - Exception happened java.net.SocketException: Connection reset at java.base/sun.nio.ch.SocketChannelImpl.throwConnectionReset(SocketChannelImpl.java:394) at java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:426) at io.netty.buffer.UnpooledUnsafeDirectByteBuf.setBytes(UnpooledUnsafeDirectByteBuf.java:368) at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:892) at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:243) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:119) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:646) at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:546) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:500) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:460) at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:131) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:833)

wtbdev commented 2 years ago

疑似这个数组越界的问题还没有解决掉,我可能还要回去清查一下

wtbdev commented 2 years ago

具体是什么情况,请再提供详细信息,我这边没法复现出来 另外,房主没办法转让是.give指令没有实现所导致的(说白了就是忘了做),房主离开时权限可以切换到下一个玩家上(至少目前我测试没问题)

byzp commented 2 years ago

(以下都是在arm架构设备上取得的数据) java8环境下(在程序userland中编译并运行): a@localhost:~/m$ java -cp libs/*:Rukkit.jar cn.rukkit.RukkitLauncher 2022-09-29 17:30:20.728 [main] INFO cn.rukkit.Rukkit - Loading server config... 2022-09-29 17:30:20.803 [main] INFO cn.rukkit.Rukkit - Loading default round config... 2022-09-29 17:30:20.810 [main] INFO cn.rukkit.Rukkit - setting up language... 2022-09-29 17:30:20.810 [main] INFO cn.rukkit.Rukkit - Current Language: en_US 2022-09-29 17:30:20.812 [main] INFO cn.rukkit.Rukkit - init::ThreadManager 2022-09-29 17:30:20.813 [main] INFO cn.rukkit.Rukkit - init::ModManager 2022-09-29 17:30:20.879 [main] INFO cn.rukkit.game.mod.ModLoader - /home/a/m/mods 2022-09-29 17:30:20.880 [main] INFO cn.rukkit.Rukkit - init::CommandManager 2022-09-29 17:30:20.881 [main] INFO cn.rukkit.Rukkit - init::GameServer 2022-09-29 17:30:20.883 [main] INFO cn.rukkit.Rukkit - init::ConnectionManager 2022-09-29 17:30:20.924 [main] INFO cn.rukkit.Rukkit - init::PluginManager 2022-09-29 17:30:20.925 [main] INFO cn.rukkit.plugin.PluginManager - Loading plugin: base-plugin v1.0.0 2022-09-29 17:30:20.926 [main] INFO cn.rukkit.plugin.internal.BasePlugin - BasePlugin::Load 2022-09-29 17:30:20.932 [main] INFO cn.rukkit.plugin.PluginManager - Loading plugin: command-plugin v1.0.0 2022-09-29 17:30:20.932 [main] INFO cn.rukkit.plugin.internal.CommandPlugin - CommandPlugin::onLoad() 2022-09-29 17:30:20.945 [main] INFO cn.rukkit.plugin.PluginManager - Loading plugin: ???? v1.0.0 2022-09-29 17:30:20.945 [main] INFO cn.rukkit.plugin.internal.TestPlugin - TestPlugin is loading... 2022-09-29 17:30:20.950 [main] INFO cn.rukkit.plugin.PluginManager - Loading plugin: server-command-plugin v1.0.0 2022-09-29 17:30:20.950 [main] INFO cn.rukkit.plugin.internal.ServerCommandPlugin - ServerCommandPlugin::onLoad... 2022-09-29 17:30:20.954 [main] INFO cn.rukkit.plugin.PluginManager - Plugin loader started 2022-09-29 17:30:20.955 [main] INFO cn.rukkit.plugin.PluginManager - Load complete! 2022-09-29 17:30:20.956 [main] INFO cn.rukkit.game.SaveManager - SaveManager::init 2022-09-29 17:30:20.957 [main] INFO cn.rukkit.Rukkit - start::game server on port:55555 2022-09-29 17:30:20.999 [Thread-2] INFO cn.rukkit.network.GameServer - Done! (272ms) 2022-09-29 17:30:21.058 [nioEventLoopGroup-2-1] ERROR cn.rukkit.network.GameServer - [id: 0x95980032] REGISTERED 2022-09-29 17:30:21.060 [nioEventLoopGroup-2-1] ERROR cn.rukkit.network.GameServer - [id: 0x95980032] BIND(0.0.0.0/0.0.0.0:55555) 2022-09-29 17:30:21.064 [nioEventLoopGroup-2-1] ERROR cn.rukkit.network.GameServer - [id: 0x95980032, L:/0.0.0.0:55555] ACTIVE --------------------第一个玩家加入 2022-09-29 17:30:51.264 [nioEventLoopGroup-2-1] ERROR cn.rukkit.network.GameServer - [id: 0x95980032, L:/0.0.0.0:55555] READ: [id: 0x2951742d, L:/192.168.1.102:55555 - R:/192.168.1.102:37326] 2022-09-29 17:30:51.266 [nioEventLoopGroup-2-1] ERROR cn.rukkit.network.GameServer - [id: 0x95980032, L:/0.0.0.0:55555] READ COMPLETE 2022-09-29 17:30:51.345 [nioEventLoopGroup-3-1] INFO cn.rukkit.network.ConnectionHandler - New connection established:/192.168.1.102:37326 2022-09-29 17:30:51.379 [nioEventLoopGroup-3-1] INFO cn.rukkit.network.ConnectionHandler - Got Player(package=com.corrodinggames.rtt, version=151, name=abc, uuid=44C2E9F317D8D5ABA36FB0C0E5231CCC206CEFCFE116631373F85742F69FE836, verify=c:114514m:99627420:7436487041:1145142:14886820003:1425144:-13845925:2745146:-1447347808t1:743648704d:572570 --------------------第二个玩家加入 2022-09-29 17:30:54.592 [nioEventLoopGroup-2-1] ERROR cn.rukkit.network.GameServer - [id: 0x95980032, L:/0.0.0.0:55555] READ: [id: 0x902500d1, L:/192.168.1.102:55555 - R:/192.168.1.101:50120] 2022-09-29 17:30:54.594 [nioEventLoopGroup-2-1] ERROR cn.rukkit.network.GameServer - [id: 0x95980032, L:/0.0.0.0:55555] READ COMPLETE 2022-09-29 17:30:54.602 [nioEventLoopGroup-3-2] INFO cn.rukkit.network.ConnectionHandler - New connection established:/192.168.1.101:50120 2022-09-29 17:30:54.623 [nioEventLoopGroup-3-2] INFO cn.rukkit.network.ConnectionHandler - Got Player(package=com.corrodinggames.rtv, version=151, name=Unnamed731, uuid=5B81C84C274D4373C37169FA7C828EFBA266FDEB814D7335F3111648667C4198, verify=c:114514m:99627420:7436487041:1145142:14886820003:1425144:-13845925:2745146:-1447347808t1:743648704d:572570 --------------------第一个玩家离开 2022-09-29 17:31:01.398 [nioEventLoopGroup-3-1] WARN cn.rukkit.network.ConnectionHandler - Exception happened java.io.IOException: Connection reset by peer at sun.nio.ch.FileDispatcherImpl.read0(Native Method) at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) at sun.nio.ch.IOUtil.read(IOUtil.java:192) at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:379) at io.netty.buffer.UnpooledUnsafeDirectByteBuf.setBytes(UnpooledUnsafeDirectByteBuf.java:368) at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:892) at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:243) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:119) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:646) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:581) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:498) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:460) at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:131) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.lang.Thread.run(Thread.java:750) 这时第二个玩家有房主特有的中括号,但没有权限

java17环境下(releases下载的0.8.2版本,在程序termux中运行): /sdcard/zzx $ java -cp libs/*:Rukkit-0.8.2-dev.jar cn.rukkit.RukkitLauncher 2022-09-29 17:42:44.671 [main] INFO cn.rukkit.Rukkit - Loading server config... 2022-09-29 17:42:44.729 [main] DEBUG cn.rukkit.Rukkit - Found Config file.Reading... 2022-09-29 17:42:44.790 [main] INFO cn.rukkit.Rukkit - Loading default round config... 2022-09-29 17:42:44.790 [main] DEBUG cn.rukkit.Rukkit - Found Config file.Reading... 2022-09-29 17:42:44.797 [main] INFO cn.rukkit.Rukkit - setting up language... 2022-09-29 17:42:44.798 [main] INFO cn.rukkit.Rukkit - Current Language: en 2022-09-29 17:42:44.800 [main] INFO cn.rukkit.Rukkit - init::ThreadManager 2022-09-29 17:42:44.802 [main] INFO cn.rukkit.Rukkit - init::ModManager 2022-09-29 17:42:44.880 [main] INFO cn.rukkit.game.mod.ModLoader - /storage/emulated/0/zzx/mods 2022-09-29 17:42:44.882 [main] INFO cn.rukkit.Rukkit - init::CommandManager 2022-09-29 17:42:44.883 [main] INFO cn.rukkit.Rukkit - init::GameServer 2022-09-29 17:42:44.885 [main] INFO cn.rukkit.Rukkit - init::ConnectionManager 2022-09-29 17:42:44.915 [main] DEBUG io.netty.util.internal.PlatformDependent0 - -Dio.netty.noUnsafe: false 2022-09-29 17:42:44.916 [main] DEBUG io.netty.util.internal.PlatformDependent0 - Java version: 17 2022-09-29 17:42:44.918 [main] DEBUG io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.theUnsafe: available 2022-09-29 17:42:44.918 [main] DEBUG io.netty.util.internal.PlatformDependent0 - sun.misc.Unsafe.copyMemory: available 2022-09-29 17:42:44.919 [main] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.Buffer.address: available 2022-09-29 17:42:44.922 [main] DEBUG io.netty.util.internal.PlatformDependent0 - direct buffer constructor: unavailable java.lang.UnsupportedOperationException: Reflective setAccessible(true) disabled at io.netty.util.internal.ReflectionUtil.trySetAccessible(ReflectionUtil.java:31) at io.netty.util.internal.PlatformDependent0$4.run(PlatformDependent0.java:220) at java.base/java.security.AccessController.doPrivileged(AccessController.java:318) at io.netty.util.internal.PlatformDependent0.(PlatformDependent0.java:214) at io.netty.util.internal.PlatformDependent.isAndroid(PlatformDependent.java:203) at io.netty.util.internal.PlatformDependent.(PlatformDependent.java:74) at io.netty.util.Signal.(Signal.java:31) at io.netty.util.concurrent.DefaultPromise.(DefaultPromise.java:43) at io.netty.util.concurrent.GlobalEventExecutor.(GlobalEventExecutor.java:46) at io.netty.util.concurrent.GlobalEventExecutor.(GlobalEventExecutor.java:43) at cn.rukkit.network.ConnectionManager.(ConnectionManager.java:27) at cn.rukkit.Rukkit.startServer(Rukkit.java:207) at cn.rukkit.RukkitLauncher.main(RukkitLauncher.java:20) 2022-09-29 17:42:44.924 [main] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.Bits.unaligned: unavailable false java.lang.UnsupportedOperationException: Reflective setAccessible(true) disabled at io.netty.util.internal.ReflectionUtil.trySetAccessible(ReflectionUtil.java:31) at io.netty.util.internal.PlatformDependent0$5.run(PlatformDependent0.java:268) at java.base/java.security.AccessController.doPrivileged(AccessController.java:318) at io.netty.util.internal.PlatformDependent0.(PlatformDependent0.java:261) at io.netty.util.internal.PlatformDependent.isAndroid(PlatformDependent.java:203) at io.netty.util.internal.PlatformDependent.(PlatformDependent.java:74) at io.netty.util.Signal.(Signal.java:31) at io.netty.util.concurrent.DefaultPromise.(DefaultPromise.java:43) at io.netty.util.concurrent.GlobalEventExecutor.(GlobalEventExecutor.java:46) at io.netty.util.concurrent.GlobalEventExecutor.(GlobalEventExecutor.java:43) at cn.rukkit.network.ConnectionManager.(ConnectionManager.java:27) at cn.rukkit.Rukkit.startServer(Rukkit.java:207) at cn.rukkit.RukkitLauncher.main(RukkitLauncher.java:20) 2022-09-29 17:42:44.926 [main] DEBUG io.netty.util.internal.PlatformDependent0 - jdk.internal.misc.Unsafe.allocateUninitializedArray(int): unavailable java.lang.IllegalAccessException: class io.netty.util.internal.PlatformDependent0$6 cannot access class jdk.internal.misc.Unsafe (in module java.base) because module java.base does not export jdk.internal.misc to unnamed module @58cbafc2 at java.base/jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:392) at java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:674) at java.base/java.lang.reflect.Method.invoke(Method.java:560) at io.netty.util.internal.PlatformDependent0$6.run(PlatformDependent0.java:311) at java.base/java.security.AccessController.doPrivileged(AccessController.java:318) at io.netty.util.internal.PlatformDependent0.(PlatformDependent0.java:302) at io.netty.util.internal.PlatformDependent.isAndroid(PlatformDependent.java:203) at io.netty.util.internal.PlatformDependent.(PlatformDependent.java:74) at io.netty.util.Signal.(Signal.java:31) at io.netty.util.concurrent.DefaultPromise.(DefaultPromise.java:43) at io.netty.util.concurrent.GlobalEventExecutor.(GlobalEventExecutor.java:46) at io.netty.util.concurrent.GlobalEventExecutor.(GlobalEventExecutor.java:43) at cn.rukkit.network.ConnectionManager.(ConnectionManager.java:27) at cn.rukkit.Rukkit.startServer(Rukkit.java:207) at cn.rukkit.RukkitLauncher.main(RukkitLauncher.java:20) 2022-09-29 17:42:44.926 [main] DEBUG io.netty.util.internal.PlatformDependent0 - java.nio.DirectByteBuffer.(long, int): unavailable 2022-09-29 17:42:44.926 [main] DEBUG io.netty.util.internal.PlatformDependent - sun.misc.Unsafe: available 2022-09-29 17:42:44.946 [main] DEBUG io.netty.util.internal.PlatformDependent - maxDirectMemory: 2984247296 bytes (maybe) 2022-09-29 17:42:44.946 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.tmpdir: /data/data/com.termux/files/usr/tmp (java.io.tmpdir) 2022-09-29 17:42:44.946 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.bitMode: 64 (sun.arch.data.model) 2022-09-29 17:42:44.948 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.noPreferDirect: false 2022-09-29 17:42:44.948 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.maxDirectMemory: -1 bytes 2022-09-29 17:42:44.948 [main] DEBUG io.netty.util.internal.PlatformDependent - -Dio.netty.uninitializedArrayAllocationThreshold: -1 2022-09-29 17:42:44.949 [main] DEBUG io.netty.util.internal.CleanerJava9 - java.nio.ByteBuffer.cleaner(): available 2022-09-29 17:42:44.955 [main] INFO cn.rukkit.Rukkit - init::PluginManager 2022-09-29 17:42:44.957 [main] INFO cn.rukkit.plugin.PluginManager - Loading plugin: base-plugin v1.0.0 2022-09-29 17:42:44.959 [main] INFO cn.rukkit.plugin.internal.BasePlugin - BasePlugin::Load 2022-09-29 17:42:44.960 [main] DEBUG cn.rukkit.plugin.PluginManager - 2022-09-29 17:42:44.961 [main] DEBUG cn.rukkit.plugin.PluginManager - get:onLoad 2022-09-29 17:42:44.961 [main] DEBUG cn.rukkit.plugin.PluginManager - get:onDone 2022-09-29 17:42:44.961 [main] DEBUG cn.rukkit.plugin.PluginManager - get:onDisable 2022-09-29 17:42:44.961 [main] DEBUG cn.rukkit.plugin.PluginManager - get:onStart 2022-09-29 17:42:44.961 [main] DEBUG cn.rukkit.plugin.PluginManager - get:onEnable 2022-09-29 17:42:44.961 [main] DEBUG cn.rukkit.plugin.PluginManager - get:loadConfig 2022-09-29 17:42:44.961 [main] DEBUG cn.rukkit.plugin.PluginManager - get:onPlayerLeaveTip 2022-09-29 17:42:44.964 [main] DEBUG cn.rukkit.plugin.PluginManager - Got Event was: class cn.rukkit.event.player.PlayerLeftEvent 2022-09-29 17:42:44.964 [main] DEBUG cn.rukkit.plugin.PluginManager - got called 2022-09-29 17:42:44.965 [main] DEBUG cn.rukkit.plugin.PluginManager - get:onPlayerJoinTip 2022-09-29 17:42:44.965 [main] DEBUG cn.rukkit.plugin.PluginManager - Got Event was: class cn.rukkit.event.player.PlayerJoinEvent 2022-09-29 17:42:44.965 [main] DEBUG cn.rukkit.plugin.PluginManager - got called 2022-09-29 17:42:44.966 [main] DEBUG cn.rukkit.plugin.PluginManager - get:isEnabled 2022-09-29 17:42:44.966 [main] DEBUG cn.rukkit.plugin.PluginManager - get:getConfig 2022-09-29 17:42:44.966 [main] DEBUG cn.rukkit.plugin.PluginManager - get:setEnabled 2022-09-29 17:42:44.966 [main] DEBUG cn.rukkit.plugin.PluginManager - get:getPluginManager 2022-09-29 17:42:44.966 [main] DEBUG cn.rukkit.plugin.PluginManager - get:getConfigFile 2022-09-29 17:42:44.966 [main] DEBUG cn.rukkit.plugin.PluginManager - get:getLogger 2022-09-29 17:42:44.966 [main] DEBUG cn.rukkit.plugin.PluginManager - get:wait 2022-09-29 17:42:44.966 [main] DEBUG cn.rukkit.plugin.PluginManager - get:wait 2022-09-29 17:42:44.966 [main] DEBUG cn.rukkit.plugin.PluginManager - get:wait 2022-09-29 17:42:44.966 [main] DEBUG cn.rukkit.plugin.PluginManager - get:equals 2022-09-29 17:42:44.966 [main] DEBUG cn.rukkit.plugin.PluginManager - get:toString 2022-09-29 17:42:44.966 [main] DEBUG cn.rukkit.plugin.PluginManager - get:hashCode 2022-09-29 17:42:44.966 [main] DEBUG cn.rukkit.plugin.PluginManager - get:getClass 2022-09-29 17:42:44.966 [main] DEBUG cn.rukkit.plugin.PluginManager - get:notify 2022-09-29 17:42:44.967 [main] DEBUG cn.rukkit.plugin.PluginManager - get:notifyAll 2022-09-29 17:42:44.967 [main] INFO cn.rukkit.plugin.PluginManager - Loading plugin: command-plugin v1.0.0 2022-09-29 17:42:44.967 [main] INFO cn.rukkit.plugin.internal.CommandPlugin - CommandPlugin::onLoad() 2022-09-29 17:42:44.976 [main] DEBUG cn.rukkit.command.CommandManager - Registering Command 'help' from plugin 'command-plugin'... 2022-09-29 17:42:44.977 [main] DEBUG cn.rukkit.command.CommandManager - Registering Command 'state' from plugin 'command-plugin'... 2022-09-29 17:42:44.977 [main] DEBUG cn.rukkit.command.CommandManager - Registering Command 'version' from plugin 'command-plugin'... 2022-09-29 17:42:44.978 [main] DEBUG cn.rukkit.command.CommandManager - Registering Command 't' from plugin 'command-plugin'... 2022-09-29 17:42:44.979 [main] DEBUG cn.rukkit.command.CommandManager - Registering Command 'maps' from plugin 'command-plugin'... 2022-09-29 17:42:44.979 [main] DEBUG cn.rukkit.command.CommandManager - Registering Command 'map' from plugin 'command-plugin'... 2022-09-29 17:42:44.980 [main] DEBUG cn.rukkit.command.CommandManager - Registering Command 'cmaps' from plugin 'command-plugin'... 2022-09-29 17:42:44.980 [main] DEBUG cn.rukkit.command.CommandManager - Registering Command 'cmap' from plugin 'command-plugin'... 2022-09-29 17:42:44.981 [main] DEBUG cn.rukkit.command.CommandManager - Registering Command 'kick' from plugin 'command-plugin'... 2022-09-29 17:42:44.981 [main] DEBUG cn.rukkit.command.CommandManager - Registering Command 'team' from plugin 'command-plugin'... 2022-09-29 17:42:44.981 [main] DEBUG cn.rukkit.command.CommandManager - Registering Command 'self_team' from plugin 'command-plugin'... 2022-09-29 17:42:44.982 [main] DEBUG cn.rukkit.command.CommandManager - Registering Command 'move' from plugin 'command-plugin'... 2022-09-29 17:42:44.982 [main] DEBUG cn.rukkit.command.CommandManager - Registering Command 'self_move' from plugin 'command-plugin'... 2022-09-29 17:42:44.982 [main] DEBUG cn.rukkit.command.CommandManager - Registering Command 'qc' from plugin 'command-plugin'... 2022-09-29 17:42:44.983 [main] DEBUG cn.rukkit.command.CommandManager - Registering Command 'fog' from plugin 'command-plugin'... 2022-09-29 17:42:44.983 [main] DEBUG cn.rukkit.command.CommandManager - Registering Command 'nukes' from plugin 'command-plugin'... 2022-09-29 17:42:44.984 [main] DEBUG cn.rukkit.command.CommandManager - Registering Command 'startingunits' from plugin 'command-plugin'... 2022-09-29 17:42:44.985 [main] DEBUG cn.rukkit.command.CommandManager - Registering Command 'income' from plugin 'command-plugin'...2022-09-29 17:42:44.985 [main] DEBUG cn.rukkit.command.CommandManager - Registering Command 'share' from plugin 'command-plugin'... 2022-09-29 17:42:44.986 [main] DEBUG cn.rukkit.command.CommandManager - Registering Command 'credits' from plugin 'command-plugin'... 2022-09-29 17:42:44.986 [main] DEBUG cn.rukkit.command.CommandManager - Registering Command 'start' from plugin 'command-plugin'... 2022-09-29 17:42:44.987 [main] DEBUG cn.rukkit.command.CommandManager - Registering Command 'sync' from plugin 'command-plugin'... 2022-09-29 17:42:44.988 [main] DEBUG cn.rukkit.command.CommandManager - Registering Command 'i' from plugin 'command-plugin'... 2022-09-29 17:42:44.989 [main] DEBUG cn.rukkit.command.CommandManager - Registering Command 'chksum' from plugin 'command-plugin'... 2022-09-29 17:42:44.989 [main] DEBUG cn.rukkit.command.CommandManager - Registering Command 'maping' from plugin 'command-plugin'... 2022-09-29 17:42:44.990 [main] DEBUG cn.rukkit.command.CommandManager - Registering Command 'list' from plugin 'command-plugin'... 2022-09-29 17:42:44.990 [main] DEBUG cn.rukkit.command.CommandManager - Registering Command 'surrender' from plugin 'command-plugin'... 2022-09-29 17:42:44.990 [main] INFO cn.rukkit.plugin.PluginManager - Loading plugin: 公屏聊天 v1.0.0 2022-09-29 17:42:44.991 [main] INFO cn.rukkit.plugin.internal.TestPlugin - TestPlugin is loading... 2022-09-29 17:42:44.992 [main] DEBUG cn.rukkit.plugin.PluginManager - 2022-09-29 17:42:44.992 [main] DEBUG cn.rukkit.plugin.PluginManager - get:onLoad 2022-09-29 17:42:44.993 [main] DEBUG cn.rukkit.plugin.PluginManager - get:onDone 2022-09-29 17:42:44.993 [main] DEBUG cn.rukkit.plugin.PluginManager - get:onDisable 2022-09-29 17:42:44.993 [main] DEBUG cn.rukkit.plugin.PluginManager - get:onStart 2022-09-29 17:42:44.993 [main] DEBUG cn.rukkit.plugin.PluginManager - get:onEnable 2022-09-29 17:42:44.993 [main] DEBUG cn.rukkit.plugin.PluginManager - get:loadConfig 2022-09-29 17:42:44.993 [main] DEBUG cn.rukkit.plugin.PluginManager - get:onMove 2022-09-29 17:42:44.993 [main] DEBUG cn.rukkit.plugin.PluginManager - Got Event was: class cn.rukkit.event.action.MoveEvent 2022-09-29 17:42:44.993 [main] DEBUG cn.rukkit.plugin.PluginManager - got called 2022-09-29 17:42:44.993 [main] DEBUG cn.rukkit.plugin.PluginManager - get:onPing 2022-09-29 17:42:44.994 [main] DEBUG cn.rukkit.plugin.PluginManager - Got Event was: class cn.rukkit.event.action.PingEvent 2022-09-29 17:42:44.994 [main] DEBUG cn.rukkit.plugin.PluginManager - got called 2022-09-29 17:42:44.994 [main] DEBUG cn.rukkit.plugin.PluginManager - get:onChat 2022-09-29 17:42:44.994 [main] DEBUG cn.rukkit.plugin.PluginManager - Got Event was: class cn.rukkit.event.player.PlayerChatEvent 2022-09-29 17:42:44.994 [main] DEBUG cn.rukkit.plugin.PluginManager - got called 2022-09-29 17:42:44.994 [main] DEBUG cn.rukkit.plugin.PluginManager - get:onTask 2022-09-29 17:42:44.994 [main] DEBUG cn.rukkit.plugin.PluginManager - Got Event was: class cn.rukkit.event.action.TaskEvent 2022-09-29 17:42:44.994 [main] DEBUG cn.rukkit.plugin.PluginManager - got called 2022-09-29 17:42:44.995 [main] DEBUG cn.rukkit.plugin.PluginManager - get:onBuild 2022-09-29 17:42:44.995 [main] DEBUG cn.rukkit.plugin.PluginManager - Got Event was: class cn.rukkit.event.action.BuildEvent 2022-09-29 17:42:44.995 [main] DEBUG cn.rukkit.plugin.PluginManager - got called 2022-09-29 17:42:44.996 [main] DEBUG cn.rukkit.plugin.PluginManager - get:isEnabled 2022-09-29 17:42:44.996 [main] DEBUG cn.rukkit.plugin.PluginManager - get:getConfig 2022-09-29 17:42:44.996 [main] DEBUG cn.rukkit.plugin.PluginManager - get:setEnabled 2022-09-29 17:42:44.996 [main] DEBUG cn.rukkit.plugin.PluginManager - get:getPluginManager 2022-09-29 17:42:44.996 [main] DEBUG cn.rukkit.plugin.PluginManager - get:getConfigFile 2022-09-29 17:42:44.996 [main] DEBUG cn.rukkit.plugin.PluginManager - get:getLogger 2022-09-29 17:42:44.996 [main] DEBUG cn.rukkit.plugin.PluginManager - get:wait 2022-09-29 17:42:44.996 [main] DEBUG cn.rukkit.plugin.PluginManager - get:wait 2022-09-29 17:42:44.996 [main] DEBUG cn.rukkit.plugin.PluginManager - get:wait 2022-09-29 17:42:44.996 [main] DEBUG cn.rukkit.plugin.PluginManager - get:equals 2022-09-29 17:42:44.996 [main] DEBUG cn.rukkit.plugin.PluginManager - get:toString 2022-09-29 17:42:44.996 [main] DEBUG cn.rukkit.plugin.PluginManager - get:hashCode 2022-09-29 17:42:44.997 [main] DEBUG cn.rukkit.plugin.PluginManager - get:getClass 2022-09-29 17:42:44.997 [main] DEBUG cn.rukkit.plugin.PluginManager - get:notify 2022-09-29 17:42:44.997 [main] DEBUG cn.rukkit.plugin.PluginManager - get:notifyAll 2022-09-29 17:42:44.997 [main] DEBUG cn.rukkit.command.CommandManager - Registering Command 'summon' from plugin '公屏聊天'... 2022-09-29 17:42:44.998 [main] DEBUG cn.rukkit.command.CommandManager - Registering Command 'dumpsave' from plugin '公屏聊天'... 2022-09-29 17:42:44.998 [main] INFO cn.rukkit.plugin.PluginManager - Plugin loader started 2022-09-29 17:42:44.999 [main] INFO cn.rukkit.plugin.PluginManager - Load complete! 2022-09-29 17:42:45.000 [main] INFO cn.rukkit.game.SaveManager - SaveManager::init 2022-09-29 17:42:45.001 [main] INFO cn.rukkit.Rukkit - start::game server on port:55555 2022-09-29 17:42:45.004 [main] DEBUG io.netty.channel.MultithreadEventLoopGroup - -Dio.netty.eventLoopThreads: 16 2022-09-29 17:42:45.014 [main] DEBUG io.netty.channel.nio.NioEventLoop - -Dio.netty.noKeySetOptimization: false 2022-09-29 17:42:45.014 [main] DEBUG io.netty.channel.nio.NioEventLoop - -Dio.netty.selectorAutoRebuildThreshold: 512 2022-09-29 17:42:45.021 [main] DEBUG io.netty.util.internal.PlatformDependent - org.jctools-core.MpscChunkedArrayQueue: available 2022-09-29 17:42:45.038 [Thread-0] INFO cn.rukkit.network.GameServer - Done! (367ms) 2022-09-29 17:42:45.055 [main] DEBUG io.netty.util.internal.InternalThreadLocalMap - -Dio.netty.threadLocalMap.stringBuilder.initialSize: 1024 2022-09-29 17:42:45.055 [main] DEBUG io.netty.util.internal.InternalThreadLocalMap - -Dio.netty.threadLocalMap.stringBuilder.maxSize: 4096 2022-09-29 17:42:45.077 [main] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.level: simple 2022-09-29 17:42:45.078 [main] DEBUG io.netty.util.ResourceLeakDetector - -Dio.netty.leakDetection.targetRecords: 4 2022-09-29 17:42:45.082 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.allocator.type: unpooled 2022-09-29 17:42:45.082 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.threadLocalDirectBufferSize: 65536 2022-09-29 17:42:45.082 [main] DEBUG io.netty.buffer.ByteBufUtil - -Dio.netty.maxThreadLocalCharBufferSize: 16384 2022-09-29 17:42:45.086 [main] DEBUG io.netty.util.NetUtil - Loopback interface: lo (lo, 127.0.0.1) 2022-09-29 17:42:45.087 [main] DEBUG io.netty.util.NetUtil - /proc/sys/net/core/somaxconn: 128 (non-existent) 2022-09-29 17:42:45.100 [nioEventLoopGroup-2-1] ERROR cn.rukkit.network.GameServer - [id: 0x7b8569cc] REGISTERED 2022-09-29 17:42:45.101 [nioEventLoopGroup-2-1] ERROR cn.rukkit.network.GameServer - [id: 0x7b8569cc] BIND(0.0.0.0/0.0.0.0:55555) 2022-09-29 17:42:45.105 [nioEventLoopGroup-2-1] ERROR cn.rukkit.network.GameServer - [id: 0x7b8569cc, L:/0.0.0.0:55555] ACTIVE --------------------第一个玩家加入 2022-09-29 17:43:55.437 [nioEventLoopGroup-2-1] ERROR cn.rukkit.network.GameServer - [id: 0x7b8569cc, L:/0.0.0.0:55555] READ: [id: 0x13fccc91, L:/192.168.1.102:55555 - R:/192.168.1.102:37662] 2022-09-29 17:43:55.440 [nioEventLoopGroup-2-1] ERROR cn.rukkit.network.GameServer - [id: 0x7b8569cc, L:/0.0.0.0:55555] READ COMPLETE 2022-09-29 17:43:55.459 [nioEventLoopGroup-3-1] DEBUG io.netty.buffer.AbstractByteBuf - -Dio.netty.buffer.bytebuf.checkAccessible: true 2022-09-29 17:43:55.461 [nioEventLoopGroup-3-1] DEBUG io.netty.util.ResourceLeakDetectorFactory - Loaded default ResourceLeakDetector: io.netty.util.ResourceLeakDetector@416bc383 2022-09-29 17:43:55.467 [nioEventLoopGroup-3-1] DEBUG cn.rukkit.network.packet.PacketDecoder - Got the packet. (type=160 size=42) 2022-09-29 17:43:55.468 [nioEventLoopGroup-3-1] INFO cn.rukkit.network.ConnectionHandler - New connection established:/192.168.1.102:37662 2022-09-29 17:43:55.470 [nioEventLoopGroup-3-1] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=161 size=76) 2022-09-29 17:43:55.475 [nioEventLoopGroup-3-1] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.maxCapacity.default: 32768 2022-09-29 17:43:55.476 [nioEventLoopGroup-3-1] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.maxSharedCapacityFactor: 2 2022-09-29 17:43:55.476 [nioEventLoopGroup-3-1] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.linkCapacity: 16 2022-09-29 17:43:55.476 [nioEventLoopGroup-3-1] DEBUG io.netty.util.Recycler - -Dio.netty.recycler.ratio: 8 2022-09-29 17:43:55.478 [nioEventLoopGroup-3-1] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=141 size=46) 2022-09-29 17:43:55.485 [nioEventLoopGroup-3-1] DEBUG cn.rukkit.network.packet.PacketDecoder - Got the packet. (type=110 size=245) 2022-09-29 17:43:55.487 [nioEventLoopGroup-3-1] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=106 size=4641) 2022-09-29 17:43:55.488 [nioEventLoopGroup-3-1] DEBUG cn.rukkit.network.ConnectionHandler - Ints:4 2022-09-29 17:43:55.489 [nioEventLoopGroup-3-1] INFO cn.rukkit.network.ConnectionHandler - Got Player(package=com.corrodinggames.rtt, version=151, name=abc, uuid=DA2AFF03401E3057D9ADC284711B47E85BFC292F62F19118FDD90EF7157E3AA6, verify=c:114514m:99627420:7436487041:1145142:14886820003:1425144:-13845925:2745146:-1447347808t1:743648704d:572570 2022-09-29 17:43:55.490 [nioEventLoopGroup-3-1] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=141 size=53) 2022-09-29 17:43:55.493 [nioEventLoopGroup-3-1] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=106 size=4641) 2022-09-29 17:43:55.528 [nioEventLoopGroup-3-1] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=115 size=117) 2022-09-29 17:43:55.535 [nioEventLoopGroup-3-1] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=141 size=49) 2022-09-29 17:43:55.543 [nioEventLoopGroup-3-1] DEBUG Listclass cn.rukkit.event.action.BuildEvent - isCanceled: false 2022-09-29 17:43:55.595 [nioEventLoopGroup-3-1] DEBUG cn.rukkit.network.packet.PacketDecoder - Got the packet. (type=140 size=34) 2022-09-29 17:43:55.596 [nioEventLoopGroup-3-1] DEBUG cn.rukkit.command.CommandManager - cmd is:qc 2022-09-29 17:43:55.596 [nioEventLoopGroup-3-1] DEBUG cn.rukkit.plugin.internal.CommandPlugin - -map 'Crossing Large (10p)' 2022-09-29 17:43:55.596 [nioEventLoopGroup-3-1] DEBUG cn.rukkit.command.CommandManager - cmd is:map 2022-09-29 17:43:55.598 [nioEventLoopGroup-3-1] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=106 size=4641) 2022-09-29 17:43:55.601 [nioEventLoopGroup-3-1] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=106 size=4641) 2022-09-29 17:43:56.515 [nioEventLoopGroup-3-1] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=115 size=117) 2022-09-29 17:43:57.501 [nioEventLoopGroup-3-1] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=108 size=9) 2022-09-29 17:43:57.504 [nioEventLoopGroup-3-1] DEBUG cn.rukkit.network.packet.PacketDecoder - Got the packet. (type=109 size=10) 2022-09-29 17:43:57.517 [nioEventLoopGroup-3-1] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=115 size=117) 2022-09-29 17:43:58.522 [nioEventLoopGroup-3-1] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=115 size=117) --------------------第二个玩家加入 2022-09-29 17:43:58.728 [nioEventLoopGroup-2-1] ERROR cn.rukkit.network.GameServer - [id: 0x7b8569cc, L:/0.0.0.0:55555] READ: [id: 0xb320dcbc, L:/192.168.1.102:55555 - R:/192.168.1.101:50140] 2022-09-29 17:43:58.733 [nioEventLoopGroup-2-1] ERROR cn.rukkit.network.GameServer - [id: 0x7b8569cc, L:/0.0.0.0:55555] READ COMPLETE 2022-09-29 17:43:58.740 [nioEventLoopGroup-3-2] DEBUG cn.rukkit.network.packet.PacketDecoder - Got the packet. (type=160 size=49) 2022-09-29 17:43:58.741 [nioEventLoopGroup-3-2] INFO cn.rukkit.network.ConnectionHandler - New connection established:/192.168.1.101:50140 2022-09-29 17:43:58.742 [nioEventLoopGroup-3-2] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=161 size=76) 2022-09-29 17:43:58.744 [nioEventLoopGroup-3-2] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=141 size=46)2022-09-29 17:43:58.752 [nioEventLoopGroup-3-2] DEBUG cn.rukkit.network.packet.PacketDecoder - Got the packet. (type=110 size=252) 2022-09-29 17:43:58.753 [nioEventLoopGroup-3-2] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=106 size=4641) 2022-09-29 17:43:58.754 [nioEventLoopGroup-3-2] DEBUG cn.rukkit.network.ConnectionHandler - Ints:4 2022-09-29 17:43:58.756 [nioEventLoopGroup-3-2] INFO cn.rukkit.network.ConnectionHandler - Got Player(package=com.corrodinggames.rtw, version=151, name=Unnamed915, uuid=3573DB5941BE83C268FB5BBFA0932C925B760371DA865F436E7575626185ACFC, verify=c:114514m:99627420:7436487041:1145142:14886820003:1425144:-13845925:2745146:-1447347808t1:743648704d:572570 2022-09-29 17:43:58.757 [nioEventLoopGroup-3-2] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=106 size=4641) 2022-09-29 17:43:58.759 [nioEventLoopGroup-3-2] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=115 size=147) 2022-09-29 17:43:58.760 [nioEventLoopGroup-3-2] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=141 size=56) 2022-09-29 17:43:58.761 [nioEventLoopGroup-3-1] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=141 size=56) 2022-09-29 17:43:58.762 [nioEventLoopGroup-3-2] DEBUG Listclass cn.rukkit.event.action.BuildEvent - isCanceled: false 2022-09-29 17:43:59.503 [nioEventLoopGroup-3-1] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=108 size=9) 2022-09-29 17:43:59.508 [nioEventLoopGroup-3-1] DEBUG cn.rukkit.network.packet.PacketDecoder - Got the packet. (type=109 size=10) 2022-09-29 17:43:59.525 [nioEventLoopGroup-3-1] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=115 size=147) 2022-09-29 17:43:59.762 [nioEventLoopGroup-3-2] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=115 size=147) 2022-09-29 17:44:00.529 [nioEventLoopGroup-3-1] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=115 size=147) 2022-09-29 17:44:00.764 [nioEventLoopGroup-3-2] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=108 size=9) 2022-09-29 17:44:00.768 [nioEventLoopGroup-3-2] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=115 size=147) 2022-09-29 17:44:00.786 [nioEventLoopGroup-3-2] DEBUG cn.rukkit.network.packet.PacketDecoder - Got the packet. (type=109 size=10) 2022-09-29 17:44:01.504 [nioEventLoopGroup-3-1] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=108 size=9) 2022-09-29 17:44:01.508 [nioEventLoopGroup-3-1] DEBUG cn.rukkit.network.packet.PacketDecoder - Got the packet. (type=109 size=10) 2022-09-29 17:44:01.530 [nioEventLoopGroup-3-1] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=115 size=149) 2022-09-29 17:44:01.767 [nioEventLoopGroup-3-2] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=115 size=146) 2022-09-29 17:44:02.271 [nioEventLoopGroup-3-1] DEBUG cn.rukkit.network.packet.PacketDecoder - Got the packet. (type=111 size=8) 2022-09-29 17:44:02.531 [nioEventLoopGroup-3-1] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=115 size=146) 第一个玩家离开 2022-09-29 17:44:02.533 [nioEventLoopGroup-3-1] WARN cn.rukkit.network.ConnectionHandler - Exception happened java.net.SocketException: Connection reset at java.base/sun.nio.ch.SocketChannelImpl.throwConnectionReset(SocketChannelImpl.java:394) at java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:426) at io.netty.buffer.UnpooledUnsafeDirectByteBuf.setBytes(UnpooledUnsafeDirectByteBuf.java:368) at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:892) at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:243) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:119) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:646) at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:546) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:500) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:460) at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:131) at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) at java.base/java.lang.Thread.run(Thread.java:833) 2022-09-29 17:44:02.540 [nioEventLoopGroup-3-1] DEBUG Listclass cn.rukkit.event.action.BuildEvent - isCanceled: false 2022-09-29 17:44:02.541 [nioEventLoopGroup-3-2] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=141 size=47) 2022-09-29 17:44:02.764 [nioEventLoopGroup-3-2] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=108 size=9) 2022-09-29 17:44:02.768 [nioEventLoopGroup-3-2] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=115 size=121) 2022-09-29 17:44:02.788 [nioEventLoopGroup-3-2] DEBUG cn.rukkit.network.packet.PacketDecoder - Got the packet. (type=109 size=10) 2022-09-29 17:44:03.771 [nioEventLoopGroup-3-2] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=115 size=121) 2022-09-29 17:44:04.767 [nioEventLoopGroup-3-2] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=108 size=9) 2022-09-29 17:44:04.774 [nioEventLoopGroup-3-2] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=115 size=121) 2022-09-29 17:44:04.797 [nioEventLoopGroup-3-2] DEBUG cn.rukkit.network.packet.PacketDecoder - Got the packet. (type=109 size=10) 2022-09-29 17:44:05.778 [nioEventLoopGroup-3-2] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=115 size=121) 2022-09-29 17:44:06.769 [nioEventLoopGroup-3-2] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=108 size=9) 2022-09-29 17:44:06.780 [nioEventLoopGroup-3-2] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=115 size=121) 2022-09-29 17:44:06.811 [nioEventLoopGroup-3-2] DEBUG cn.rukkit.network.packet.PacketDecoder - Got the packet. (type=109 size=10) 2022-09-29 17:44:07.780 [nioEventLoopGroup-3-2] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=115 size=121) 2022-09-29 17:44:08.770 [nioEventLoopGroup-3-2] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=108 size=9) 2022-09-29 17:44:08.781 [nioEventLoopGroup-3-2] DEBUG cn.rukkit.network.packet.PacketEncoder - Sending packets... (type=115 size=121)

termux中用gradle7.5.1,java17编译,运行后: .../zzx/m $ java -cp libs/*:Rukkit.jar cn.rukkit.RukkitLauncher 2022-09-29 17:57:05.845 [main] INFO cn.rukkit.Rukkit - Loading server config... 2022-09-29 17:57:05.943 [main] INFO cn.rukkit.Rukkit - Loading default round config... 2022-09-29 17:57:05.951 [main] INFO cn.rukkit.Rukkit - setting up language... Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1 at cn.rukkit.Rukkit.startServer(Rukkit.java:231) at cn.rukkit.RukkitLauncher.main(RukkitLauncher.java:54)

wtbdev commented 1 year ago

这个问题应该是没有调整serverInfo导致的问题,此时玩家2是有权限的,但是只能通过指令操作,这个bug已经在新版本里面修复了