飞机速度太快导致玩家被中途甩下
本帖最后由 ☭雷光兽☭ 于 2024-5-3 12:06 编辑在服务器里搞客机线路,多是一件美事啊
我大概知道为什么坐飞机会崩端了。根据控制台输出的信息和GPT的解析。一种可能的解释······飞机移动速度非常快,在低高度会因为地形加载跟不上而踢出玩家,而在高空1024以上没有区块压力可以撑到终点。但是,到达终点后玩家周围并没有地形生成,飞机也不会再次起飞,玩家不能进行移动身体外的任何操作。此时查看网页地图,发现玩家的定位在路途中,没有在终点站,这可能是由于MTR的运载机理——高频调用TP指令。在高速状态下实际TP位置与MTR认为的位置错开,渐行渐远《真·错位时空》。越来越多的滞后叠加最后会在控制台输出一个错误信息,这可被视为MTR放弃执行任务。
Error executing task on Server java.lang.IllegalStateException: !ASYNC: s=OPEN,api=BLOCKING,sc=true,e=null at mtr.libraries.org.eclipse.jetty.server.HttpOutput.setWriteListener(HttpOutput.java:1478) ~[%5B我的世界铁路%5D%20MTR-forge-1.19.4-3.2.2-hotfix-1.jar%23169!/:?] at mtr.servlet.IServletHandler.sendResponse(IServletHandler.java:23) ~[%5B我的世界铁路%5D%20MTR-forge-1.19.4-3.2.2-hotfix-1.jar%23169!/:?] at mtr.servlet.DataServletHandler.lambda$doGet$3(DataServletHandler.java:150) ~[%5B我的世界铁路%5D%20MTR-forge-1.19.4-3.2.2-hotfix-1.jar%23169!/:?] at net.minecraft.server.TickTask.run(TickTask.java:18) ~ at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:156) ~ at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~ at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:1128) ~ at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:188) ~ at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:130) ~ at net.minecraft.server.MinecraftServer.m_129961_(MinecraftServer.java:1111) ~ at net.minecraft.server.MinecraftServer.m_7245_(MinecraftServer.java:1105) ~ at net.minecraft.util.thread.BlockableEventLoop.m_18699_(BlockableEventLoop.java:115) ~ at net.minecraft.server.MinecraftServer.m_130012_(MinecraftServer.java:1090) ~ at net.minecraft.server.MinecraftSe
玩家视角就是飞机以及物品栏上方的到站信息,和我之前反馈过的BUG类似(车船均有)
实际上(重连服务器后发现自己被丢到海里)
后续:现在已经没有遇见这种情况了,自从我们服更换为高性能I9处理器
地球村EarthVillage 经测试,120km/h以上的速度就会出现问题,尤其是过大弯道 : Can't keep up! Is the server overloaded? Running 2056ms or 41 ticks behind
: A single server tick took 60.20 seconds (should be max 0.05)
: Considering it to be crashed, server will forcibly shutdown.
Crash report:
---- Minecraft Crash Report ----
// You should try our sister game, Minceraft!
Time: 2023-12-24 08:52:24
Description: Watching Server
java.lang.Error: Watchdog
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Server Watchdog
Stacktrace:
-- Thread Dump --
Details:
Threads: "Reference Handler" daemon prio=10 Id=8 RUNNABLE
"Finalizer" daemon prio=8 Id=9 WAITING on java.lang.ref.NativeReferenceQueue$Lock@4a5539fb
-waiting on java.lang.ref.NativeReferenceQueue$Lock@4a5539fb
"Signal Dispatcher" daemon prio=9 Id=10 RUNNABLE
"Attach Listener" daemon prio=5 Id=11 RUNNABLE
"Notification Thread" daemon prio=9 Id=18 RUNNABLE
"Common-Cleaner" daemon prio=8 Id=20 TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@43975fb1
-waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@43975fb1
...
"WorldEdit Session Manager" prio=5 Id=40 TIMED_WAITING on java.util.TaskQueue@3a7f5315
-waiting on java.util.TaskQueue@3a7f5315
"Timer hack thread" daemon prio=5 Id=41 TIMED_WAITING
"Worker-Main-1" daemon prio=5 Id=42 RUNNABLE
...
"Worker-Main-2" daemon prio=5 Id=43 RUNNABLE
...
"Worker-Main-3" daemon prio=5 Id=44 RUNNABLE
...
"Server thread" prio=8 Id=47 TIMED_WAITING on java.lang.String@6f09d361
-waiting on java.lang.String@6f09d361
...
"DestroyJavaVM" prio=5 Id=49 RUNNABLE
"qtp1039008102-50" prio=5 Id=50 RUNNABLE (in native)
-locked sun.nio.ch.Util$2@767d0020
-locked sun.nio.ch.WEPollSelectorImpl@f6ea389
...
"qtp1039008102-51" prio=5 Id=51 RUNNABLE (in native)
-locked sun.nio.ch.Util$2@4fc9ae8a
-locked sun.nio.ch.WEPollSelectorImpl@6efafec9
...
"qtp1039008102-52" prio=5 Id=52 RUNNABLE (in native)
-locked sun.nio.ch.Util$2@70988f36
-locked sun.nio.ch.WEPollSelectorImpl@a101847
...
"qtp1039008102-53-acceptor-0@2e5831d9-ServerConnector@4e6aa695{HTTP/1.1, (http/1.1)}{0.0.0.0:8888}" prio=3 Id=53 RUNNABLE (in native)
Number of locked synchronizers = 1
- java.util.concurrent.locks.ReentrantLock$NonfairSync@82f4a71
"qtp1039008102-54" prio=5 Id=54 TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@319af10b
-waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@319af10b
"qtp1039008102-55" prio=5 Id=55 TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@319af10b
-waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@319af10b
"qtp1039008102-56" prio=5 Id=56 TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@319af10b
-waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@319af10b
"qtp1039008102-57" prio=5 Id=57 TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@319af10b
-waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@319af10b
"qtp1039008102-58" prio=5 Id=58 TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@319af10b
-waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@319af10b
"qtp1039008102-59" prio=5 Id=59 TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@319af10b
-waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@319af10b
"Server console handler" daemon prio=8 Id=60 RUNNABLE (in native)
...
Number of locked synchronizers = 3
- java.util.concurrent.locks.ReentrantLock$NonfairSync@5cf3931
- java.util.concurrent.locks.ReentrantLock$NonfairSync@f17cbef
- java.util.concurrent.locks.ReentrantLock$NonfairSync@7d1974be
"Netty Server IO #0" daemon prio=5 Id=61 RUNNABLE (in native)
-locked io.netty.channel.nio.SelectedSelectionKeySet@1b6dc0bf
-locked sun.nio.ch.WEPollSelectorImpl@67177452
...
"Server Watchdog" daemon prio=8 Id=69 RUNNABLE
"Worker-Main-12" daemon prio=5 Id=72 RUNNABLE
...
"Worker-Main-18" daemon prio=5 Id=78 RUNNABLE
...
"Netty Server IO #1" daemon prio=5 Id=79 RUNNABLE
-locked io.netty.channel.nio.SelectedSelectionKeySet@56ee83ec
-locked sun.nio.ch.WEPollSelectorImpl@60e4a10b
...
"IO-Worker-26" prio=8 Id=90 TIMED_WAITING on java.util.concurrent.SynchronousQueue$TransferStack@15f9fd90
-waiting on java.util.concurrent.SynchronousQueue$TransferStack@15f9fd90
"IO-Worker-25" prio=8 Id=91 TIMED_WAITING on java.util.concurrent.SynchronousQueue$TransferStack@15f9fd90
-waiting on java.util.concurrent.SynchronousQueue$TransferStack@15f9fd90
"IO-Worker-27" prio=8 Id=92 TIMED_WAITING on java.util.concurrent.SynchronousQueue$TransferStack@15f9fd90
-waiting on java.util.concurrent.SynchronousQueue$TransferStack@15f9fd90
"IO-Worker-28" prio=8 Id=93 TIMED_WAITING on java.util.concurrent.SynchronousQueue$TransferStack@15f9fd90
-waiting on java.util.concurrent.SynchronousQueue$TransferStack@15f9fd90
"ForkJoinPool.commonPool-worker-1" daemon prio=8 Id=94 WAITING on java.util.concurrent.ForkJoinPool@4990ae99
-waiting on java.util.concurrent.ForkJoinPool@4990ae99
"ForkJoinPool.commonPool-worker-2" daemon prio=8 Id=95 TIMED_WAITING on java.util.concurrent.ForkJoinPool@4990ae99
-waiting on java.util.concurrent.ForkJoinPool@4990ae99
"IO-Worker-29" prio=8 Id=96 TIMED_WAITING on java.util.concurrent.SynchronousQueue$TransferStack@15f9fd90
-waiting on java.util.concurrent.SynchronousQueue$TransferStack@15f9fd90
Stacktrace:
-- Performance stats --
Details:
Random tick rate: 3
Level stats: ResourceKey: players: 1, entities: 47,13,419,1771,606,0,1165 , block_entities: 81 , block_ticks: 2480, fluid_ticks: 6988, chunk_source: Chunks W: 3774 E: 47,13,419,1772,607,0,1165,
ResourceKey: players: 0, entities: 0,0,0,0,0,0,0 [], block_entities: 0 [], block_ticks: 0, fluid_ticks: 0, chunk_source: Chunks W: 0 E: 0,0,0,0,0,0,0,
ResourceKey: players: 0, entities: 0,0,0,0,0,0,0 [], block_entities: 0 [], block_ticks: 0, fluid_ticks: 0, chunk_source: Chunks W: 0 E: 0,0,0,0,0,0,0
-- System Details --
Details:
Minecraft Version: 1.19.2
Minecraft Version ID: 1.19.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 19, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode, sharing), Oracle Corporation
Memory: 401537312 bytes (382 MiB) / 1988100096 bytes (1896 MiB) up to 1988100096 bytes (1896 MiB)
CPUs: 6
Processor Vendor: AuthenticAMD
Processor Name: AMD Ryzen 5 4500U with Radeon Graphics
Identifier: AuthenticAMD Family 23 Model 96 Stepping 1
Microarchitecture: unknown
Frequency (GHz): 2.37
Number of physical packages: 1
Number of physical CPUs: 6
Number of logical CPUs: 6
Graphics card #0 name: AMD Radeon(TM) Graphics
Graphics card #0 vendor: Advanced Micro Devices, Inc. (0x1002)
Graphics card #0 VRAM (MB): 512.00
Graphics card #0 deviceId: 0x1636
Graphics card #0 versionInfo: DriverVersion=31.0.12016.3004
Memory slot #0 capacity (MB): 4096.00
Memory slot #0 clockSpeed (GHz): 3.20
Memory slot #0 type: DDR4
Memory slot #1 capacity (MB): 4096.00
Memory slot #1 clockSpeed (GHz): 3.20
Memory slot #1 type: DDR4
Virtual memory max (MB): 20652.07
Virtual memory used (MB): 16474.22
Swap memory total (MB): 13070.77
Swap memory used (MB): 7236.80
JVM Flags: 0 total;
Fabric Mods:
aft_fabroads: Aftersans53228's fabric roads 1.0.2
libgui: LibGui 6.4.0+1.19
jankson: Jankson 4.1.1+j1.2.1
blue_endless_jankson: jankson 1.2.1
libninepatch: LibNinePatch 1.1.0
allstackable: AllStackable v1.6.0-1.19.2
architectury: Architectury 6.5.85
fabric-api: Fabric API 0.77.0+1.19.2
fabric-api-base: Fabric API Base 0.4.15+8f4e8eb390
fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.14+93d8cb8290
fabric-biome-api-v1: Fabric Biome API (v1) 9.1.1+16f1e31390
fabric-block-api-v1: Fabric Block API (v1) 1.0.2+e415d50e90
fabric-command-api-v1: Fabric Command API (v1) 1.2.16+f71b366f90
fabric-command-api-v2: Fabric Command API (v2) 2.2.1+413cbbc790
fabric-commands-v0: Fabric Commands (v0) 0.2.33+df3654b390
fabric-containers-v0: Fabric Containers (v0) 0.1.42+df3654b390
fabric-content-registries-v0: Fabric Content Registries (v0) 3.5.2+7c6cd14d90
fabric-convention-tags-v1: Fabric Convention Tags 1.3.0+4bc6e26290
fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.8+aeb40ebe90
fabric-data-generation-api-v1: Fabric Data Generation API (v1) 5.3.9+413cbbc790
fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.35+0d0f210290
fabric-entity-events-v1: Fabric Entity Events (v1) 1.5.4+9244241690
fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.34+562bff6e90
fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.36+df3654b390
fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.24+b6b6abb490
fabric-item-api-v1: Fabric Item API (v1) 1.6.6+b7d1888890
fabric-item-groups-v0: Fabric Item Groups (v0) 0.3.39+9244241690
fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.2.4+1b46dc7890
fabric-loot-api-v2: Fabric Loot API (v2) 1.1.13+83a8659290
fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.1.16+9e7660c690
fabric-message-api-v1: Fabric Message API (v1) 5.0.7+93d8cb8290
fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.1.24+33fbc73890
fabric-networking-api-v1: Fabric Networking API (v1) 1.2.12+def3f86d90
fabric-networking-v0: Fabric Networking (v0) 0.3.29+df3654b390
fabric-object-builder-api-v1: Fabric Object Builder API (v1) 4.2.2+d8ef690890
fabric-particles-v1: Fabric Particles (v1) 1.1.0+ee641e7390
fabric-recipe-api-v1: Fabric Recipe API (v1) 1.0.2+413cbbc790
fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.9.33+9244241690
fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.19+6e0787e690
fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.0.11+4d0d570390
fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 2.1.2+aae9039d90
fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.8.4+edbdcddb90
fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.8+1cc24b1b90
fabric-transfer-api-v1: Fabric Transfer API (v1) 2.1.6+413cbbc790
fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 1.3.3+08b73de490
fabric-language-kotlin: Fabric Language Kotlin 1.8.5+kotlin.1.7.20
org_jetbrains_kotlin_kotlin-reflect: kotlin-reflect 1.7.20
org_jetbrains_kotlin_kotlin-stdlib: kotlin-stdlib 1.7.20
org_jetbrains_kotlin_kotlin-stdlib-jdk7: kotlin-stdlib-jdk7 1.7.20
org_jetbrains_kotlin_kotlin-stdlib-jdk8: kotlin-stdlib-jdk8 1.7.20
org_jetbrains_kotlinx_atomicfu-jvm: atomicfu-jvm 0.18.4
org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm: kotlinx-coroutines-core-jvm 1.6.4
org_jetbrains_kotlinx_kotlinx-coroutines-jdk8: kotlinx-coroutines-jdk8 1.6.4
org_jetbrains_kotlinx_kotlinx-datetime-jvm: kotlinx-datetime-jvm 0.4.0
org_jetbrains_kotlinx_kotlinx-serialization-cbor-jvm: kotlinx-serialization-cbor-jvm 1.4.1
org_jetbrains_kotlinx_kotlinx-serialization-core-jvm: kotlinx-serialization-core-jvm 1.4.1
org_jetbrains_kotlinx_kotlinx-serialization-json-jvm: kotlinx-serialization-json-jvm 1.4.1
fabricloader: Fabric Loader 0.14.23
globaldataandresourcepacks: Global Data- Resourcepacks 1.14.5_fabric
com_electronwill_night-config_core: core 3.6.5
com_electronwill_night-config_toml: toml 3.6.5
highrails: MTR Utilitys Addon 1.19.2-1.0.0
ibeeditor: IBE Editor 2.2.2
java: Java HotSpot(TM) 64-Bit Server VM 19
jsblock: Joban Client Mod 1.2.2+mc1.19.2
lazydfu: LazyDFU 0.1.3
lithium: Lithium 0.10.1
londonunderground: MTR London Underground Addon 1.19.2-3.2.0-2.0.7
minecraft: Minecraft 1.19.2
msd: MTR Station Decoration Addon 1.19.2-3.2.2-1.3.4-enhancement-1
mtr: Minecraft Transit Railway 1.19.2-3.2.2-hotfix-1
mtr_addon_sign_fabric_: MTR addon sign_fabric_1.19.2 1.0.0
mtrsteamloco: Nemo's Transit Expansion 0.4.1+1.19.2
notenoughcrashes: Not Enough Crashes 4.1.8+1.19.2
russianmetro: MTR Russian Metro Addon 1.19.2-3.2.2-1.1.0
slide_show: Slideshow 1.19.2-1.0.2
worldedit: WorldEdit 7.2.12+6240-87f4ae1
yuushya: Yuushya 2.1.1
yuushya_modelling: Yuushya Modelling 2.0.0
Server Running: true
Player Count: 1 / 20; ', x=-228.72, y=257.00, z=-226.54]]
Data Packs: vanilla, Fabric Mods
World Generation: Stable
Is Modded: Definitely; Server brand changed to 'fabric'
Type: Dedicated Server (map_server.txt)
Suspected Mods: Lithium (lithium)
: This crash report has been saved to: E:\mtr\.\crash-reports\crash-2023-12-24_08.52.27-server.txt
2023-12-24 08:52:31,019 qtp1039008102-52 WARN Unable to register Log4j shutdown hook because JVM is shutting down. Using SimpleLogger
我也是崩了好吧
经测试 大概在飞机减速时出现 拒载(迫真) 你服的飞坤在那个车站,想坐 这完全颠覆了我对mtr机制的猜想(高频tp指令,联想到我的老爷机想想都后怕 经典synchornized,快进到狂暴绕线程锁 jiaqi 发表于 2024-1-22 07:45
你服的飞坤在那个车站,想坐
哎呀XXS又来丢人现眼啊
页:
[1]