- Баллы
- 173
- Имя в Minecraft
- Blayzer
Ого.. что-то новенькое. А как реализовано?Не те новые без мобов.
Последнее редактирование:
Следуйте инструкциям в видео ниже, чтобы узнать, как установить наш сайт как веб-приложение на главный экран вашего устройства.
Примечание: Эта функция может быть недоступна в некоторых браузерах.
Ого.. что-то новенькое. А как реализовано?Не те новые без мобов.
Ларчик просто открывался...Я сам еще не изучал.
Почитал маны, там тот же суммон только теперь стойка для брони.
/summon ArmorStand ~ ~5 ~ {NoGravity:1, Invisible:1, CustomName:"Your HoloText here", CustomNameVisible:1, DisabledSlots:2039583}
Wat?Ларчик просто открывался...
Наоборот в 1.5 раз будет производиться больше операций и будет сильнее лагать. И для этого клиент надо переписыватьэто почему же?
Лаги будут ещё сильнее, так как нагрузка будет сильнее.это почему же?
слепой рассудок о том как работает Bukkit сервер (живой пример)ты их только увеличишь. за тик выполняеться тысячи просчетов.
расмотрим:
- 20 тиков = 1 340 действи за тик = 26 800 действий за секунду.
- 30 тиков = 1 340 действий за тик = 40 200 действий в секунду.
Результат:
Убиваем диск.
Повышаем нагрузку на сервер.
а когда случиться такое = что человек сломает сундук у тебя будет фризиться сервер. т.к он и так был загружен на 70%
This server is running CraftBukkit version git-Spigot-13716d9-0899683 (MC: 1.8) (Implementing API version 1.8-R0.1-SNAPSHOT)
[Server thread/INFO]: [ProtocolSupport] Loading ProtocolSupport v4.5
[13:40:55] [Netty Server IO #2/INFO]: /46.158.92.51:62416 connected with protocol version MINECRAFT_1_7_5
[13:41:29] [Netty Server IO #0/INFO]: /46.158.92.51:62519 connected with protocol version MINECRAFT_1_7_5
[13:41:31] [Netty Server IO #1/WARN]: java.lang.IndexOutOfBoundsException
[13:41:31] [Netty Server IO #1/WARN]: at io.netty.buffer.EmptyByteBuf.readByte(EmptyByteBuf.java:440)
[13:41:31] [Netty Server IO #1/WARN]: at protocolsupport.protocol.InitialPacketDecoder.readVarInt(InitialPacketDecoder.java:151)
[13:41:31] [Netty Server IO #1/WARN]: at protocolsupport.protocol.InitialPacketDecoder.read1_7_1_8Handshake(InitialPacketDecoder.java:140)
[13:41:31] [Netty Server IO #1/WARN]: at protocolsupport.protocol.InitialPacketDecoder.channelRead(InitialPacketDecoder.java:75)
[13:41:31] [Netty Server IO #1/WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:332)
[13:41:31] [Netty Server IO #1/WARN]: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:318)
[13:41:31] [Netty Server IO #1/WARN]: at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:150)
[13:41:31] [Netty Server IO #1/WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:332)
[13:41:31] [Netty Server IO #1/WARN]: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:318)
[13:41:31] [Netty Server IO #1/WARN]: at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787)
[13:41:31] [Netty Server IO #1/WARN]: at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:125)
[13:41:31] [Netty Server IO #1/WARN]: at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:507)
[13:41:31] [Netty Server IO #1/WARN]: at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:464)
[13:41:31] [Netty Server IO #1/WARN]: at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:378)
[13:41:31] [Netty Server IO #1/WARN]: at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:350)
[13:41:31] [Netty Server IO #1/WARN]: at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
[13:41:31] [Netty Server IO #1/WARN]: at java.lang.Thread.run(Unknown Source)
[13:41:38] [Netty Server IO #2/WARN]: java.lang.IndexOutOfBoundsException: readerIndex(1) + length(1) exceeds writerIndex(1): UnpooledHeapByteBuf(ridx: 1, widx: 1, cap: 1)
[13:41:38] [Netty Server IO #2/WARN]: at io.netty.buffer.AbstractByteBuf.checkReadableBytes(AbstractByteBuf.java:1168)
[13:41:38] [Netty Server IO #2/WARN]: at io.netty.buffer.AbstractByteBuf.readByte(AbstractByteBuf.java:570)
[13:41:38] [Netty Server IO #2/WARN]: at protocolsupport.protocol.InitialPacketDecoder.readVarInt(InitialPacketDecoder.java:151)
[13:41:38] [Netty Server IO #2/WARN]: at protocolsupport.protocol.InitialPacketDecoder.read1_7_1_8Handshake(InitialPacketDecoder.java:140)
[13:41:38] [Netty Server IO #2/WARN]: at protocolsupport.protocol.InitialPacketDecoder.channelRead(InitialPacketDecoder.java:75)
[13:41:38] [Netty Server IO #2/WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:332)
[13:41:38] [Netty Server IO #2/WARN]: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:318)
[13:41:38] [Netty Server IO #2/WARN]: at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:150)
[13:41:38] [Netty Server IO #2/WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:332)
[13:41:38] [Netty Server IO #2/WARN]: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:318)
[13:41:38] [Netty Server IO #2/WARN]: at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787)
[13:41:38] [Netty Server IO #2/WARN]: at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:125)
[13:41:38] [Netty Server IO #2/WARN]: at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:507)
[13:41:38] [Netty Server IO #2/WARN]: at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:464)
[13:41:38] [Netty Server IO #2/WARN]: at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:378)
[13:41:38] [Netty Server IO #2/WARN]: at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:350)
[13:41:38] [Netty Server IO #2/WARN]: at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
[13:41:38] [Netty Server IO #2/WARN]: at java.lang.Thread.run(Unknown Source)
[13:42:03] [Netty Server IO #1/INFO]: /109.200.155.83:57538 connected with protocol version MINECRAFT_1_6_4
[13:42:04] [Netty Server IO #2/WARN]: java.lang.IndexOutOfBoundsException
[13:42:04] [Netty Server IO #2/WARN]: at io.netty.buffer.EmptyByteBuf.readByte(EmptyByteBuf.java:440)
[13:42:04] [Netty Server IO #2/WARN]: at protocolsupport.protocol.InitialPacketDecoder.readVarInt(InitialPacketDecoder.java:151)
[13:42:04] [Netty Server IO #2/WARN]: at protocolsupport.protocol.InitialPacketDecoder.read1_7_1_8Handshake(InitialPacketDecoder.java:140)
[13:42:04] [Netty Server IO #2/WARN]: at protocolsupport.protocol.InitialPacketDecoder.channelRead(InitialPacketDecoder.java:75)
[13:42:04] [Netty Server IO #2/WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:332)
[13:42:04] [Netty Server IO #2/WARN]: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:318)
[13:42:04] [Netty Server IO #2/WARN]: at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:150)
[13:42:04] [Netty Server IO #2/WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:332)
[13:42:04] [Netty Server IO #2/WARN]: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:318)
[13:42:04] [Netty Server IO #2/WARN]: at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787)
[13:42:04] [Netty Server IO #2/WARN]: at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:125)
[13:42:04] [Netty Server IO #2/WARN]: at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:507)
[13:42:04] [Netty Server IO #2/WARN]: at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:464)
[13:42:04] [Netty Server IO #2/WARN]: at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:378)
[13:42:04] [Netty Server IO #2/WARN]: at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:350)
[13:42:04] [Netty Server IO #2/WARN]: at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116)
[13:42:04] [Netty Server IO #2/WARN]: at java.lang.Thread.run(Unknown Source)
[13:53] <Leymooo> git-Spigot-13716d9-0899683
- This server is running CraftBukkit version git-Spigot-13716d9-0899683 (MC: 1.8) (Implementing API version 1.8-R0.1-SNAPSHOT)
- [Server thread/INFO]: [ProtocolSupport] Loading ProtocolSupport v4.5
Это не ошибки, просто в лог сыпется в текущий момент всё эксепшены которые могут произойти и в нормальных случаях, чтобы я мог отловить некоторые моменты.@Shevchik, не мог бы ты пофиксить?
ошибок очень много в логахКод:This server is running CraftBukkit version git-Spigot-13716d9-0899683 (MC: 1.8) (Implementing API version 1.8-R0.1-SNAPSHOT) [Server thread/INFO]: [ProtocolSupport] Loading ProtocolSupport v4.5 [13:40:55] [Netty Server IO #2/INFO]: /46.158.92.51:62416 connected with protocol version MINECRAFT_1_7_5 [13:41:29] [Netty Server IO #0/INFO]: /46.158.92.51:62519 connected with protocol version MINECRAFT_1_7_5 [13:41:31] [Netty Server IO #1/WARN]: java.lang.IndexOutOfBoundsException [13:41:31] [Netty Server IO #1/WARN]: at io.netty.buffer.EmptyByteBuf.readByte(EmptyByteBuf.java:440) [13:41:31] [Netty Server IO #1/WARN]: at protocolsupport.protocol.InitialPacketDecoder.readVarInt(InitialPacketDecoder.java:151) [13:41:31] [Netty Server IO #1/WARN]: at protocolsupport.protocol.InitialPacketDecoder.read1_7_1_8Handshake(InitialPacketDecoder.java:140) [13:41:31] [Netty Server IO #1/WARN]: at protocolsupport.protocol.InitialPacketDecoder.channelRead(InitialPacketDecoder.java:75) [13:41:31] [Netty Server IO #1/WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:332) [13:41:31] [Netty Server IO #1/WARN]: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:318) [13:41:31] [Netty Server IO #1/WARN]: at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:150) [13:41:31] [Netty Server IO #1/WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:332) [13:41:31] [Netty Server IO #1/WARN]: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:318) [13:41:31] [Netty Server IO #1/WARN]: at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787) [13:41:31] [Netty Server IO #1/WARN]: at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:125) [13:41:31] [Netty Server IO #1/WARN]: at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:507) [13:41:31] [Netty Server IO #1/WARN]: at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:464) [13:41:31] [Netty Server IO #1/WARN]: at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:378) [13:41:31] [Netty Server IO #1/WARN]: at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:350) [13:41:31] [Netty Server IO #1/WARN]: at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [13:41:31] [Netty Server IO #1/WARN]: at java.lang.Thread.run(Unknown Source) [13:41:38] [Netty Server IO #2/WARN]: java.lang.IndexOutOfBoundsException: readerIndex(1) + length(1) exceeds writerIndex(1): UnpooledHeapByteBuf(ridx: 1, widx: 1, cap: 1) [13:41:38] [Netty Server IO #2/WARN]: at io.netty.buffer.AbstractByteBuf.checkReadableBytes(AbstractByteBuf.java:1168) [13:41:38] [Netty Server IO #2/WARN]: at io.netty.buffer.AbstractByteBuf.readByte(AbstractByteBuf.java:570) [13:41:38] [Netty Server IO #2/WARN]: at protocolsupport.protocol.InitialPacketDecoder.readVarInt(InitialPacketDecoder.java:151) [13:41:38] [Netty Server IO #2/WARN]: at protocolsupport.protocol.InitialPacketDecoder.read1_7_1_8Handshake(InitialPacketDecoder.java:140) [13:41:38] [Netty Server IO #2/WARN]: at protocolsupport.protocol.InitialPacketDecoder.channelRead(InitialPacketDecoder.java:75) [13:41:38] [Netty Server IO #2/WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:332) [13:41:38] [Netty Server IO #2/WARN]: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:318) [13:41:38] [Netty Server IO #2/WARN]: at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:150) [13:41:38] [Netty Server IO #2/WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:332) [13:41:38] [Netty Server IO #2/WARN]: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:318) [13:41:38] [Netty Server IO #2/WARN]: at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787) [13:41:38] [Netty Server IO #2/WARN]: at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:125) [13:41:38] [Netty Server IO #2/WARN]: at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:507) [13:41:38] [Netty Server IO #2/WARN]: at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:464) [13:41:38] [Netty Server IO #2/WARN]: at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:378) [13:41:38] [Netty Server IO #2/WARN]: at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:350) [13:41:38] [Netty Server IO #2/WARN]: at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [13:41:38] [Netty Server IO #2/WARN]: at java.lang.Thread.run(Unknown Source) [13:42:03] [Netty Server IO #1/INFO]: /109.200.155.83:57538 connected with protocol version MINECRAFT_1_6_4 [13:42:04] [Netty Server IO #2/WARN]: java.lang.IndexOutOfBoundsException [13:42:04] [Netty Server IO #2/WARN]: at io.netty.buffer.EmptyByteBuf.readByte(EmptyByteBuf.java:440) [13:42:04] [Netty Server IO #2/WARN]: at protocolsupport.protocol.InitialPacketDecoder.readVarInt(InitialPacketDecoder.java:151) [13:42:04] [Netty Server IO #2/WARN]: at protocolsupport.protocol.InitialPacketDecoder.read1_7_1_8Handshake(InitialPacketDecoder.java:140) [13:42:04] [Netty Server IO #2/WARN]: at protocolsupport.protocol.InitialPacketDecoder.channelRead(InitialPacketDecoder.java:75) [13:42:04] [Netty Server IO #2/WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:332) [13:42:04] [Netty Server IO #2/WARN]: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:318) [13:42:04] [Netty Server IO #2/WARN]: at io.netty.handler.timeout.ReadTimeoutHandler.channelRead(ReadTimeoutHandler.java:150) [13:42:04] [Netty Server IO #2/WARN]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:332) [13:42:04] [Netty Server IO #2/WARN]: at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:318) [13:42:04] [Netty Server IO #2/WARN]: at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787) [13:42:04] [Netty Server IO #2/WARN]: at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:125) [13:42:04] [Netty Server IO #2/WARN]: at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:507) [13:42:04] [Netty Server IO #2/WARN]: at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:464) [13:42:04] [Netty Server IO #2/WARN]: at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:378) [13:42:04] [Netty Server IO #2/WARN]: at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:350) [13:42:04] [Netty Server IO #2/WARN]: at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [13:42:04] [Netty Server IO #2/WARN]: at java.lang.Thread.run(Unknown Source)
