Nova-Committee / McBot

A mod allowed you to connect minecraft and QQ
Other
131 stars 17 forks source link

错误的TPS #9

Closed wangwang-code closed 2 years ago

wangwang-code commented 2 years ago

服务器端:fabric-server-mc.1.18.1-loader.0.12.12-launcher.0.10.2

Bot-Connec版本:Bot-Connect-fabric-1.18.1-1.5.4

Java版本:Alibaba_Dragonwell_jdk-17.0.1.0.1+12

操作系统:Windows Server 2019 数据中心版

其他mod:

tps

现象:

image

spark给出的TPS

image

推测是c2me MOD造成

以下是c2me MOD 的配置文件

version = 2
# (Default: 1) Configures the parallelism of global executor
globalExecutorParallelism = "default"

# Configuration for io system
[ioSystem]
    # (Default: true) Whether to use async chunk loading & unloading
    async = "default"
    # (Default: 1536) Soft limit for io worker nbt cache
    chunkDataCacheSoftLimit = "default"
    # (Default: 6144) Hard limit for io worker nbt cache
    chunkDataCacheLimit = "default"

# Configuration for threaded world generation
[threadedWorldGen]
    # (Default: true) Whether to allow feature generation (world decorations like trees, ores and etc.) run in parallel 
    # (may cause incompatibility with other mods)
    allowThreadedFeatures = "default"
    # (Default: true) Whether to allow reducing lock radius 
    # (may cause incompatibility with other mods)
    reduceLockRadius = "default"
    # (Default: false) Whether to enable this feature
    enabled = true

# Configuration for async scheduling system
[asyncScheduling]
    # (Default: false) (Experimental) Whether to enable this feature 
    # (may cause incompatibility with other mods)
    enabled = true

# Configuration for vanilla worldgen optimizations
[vanillaWorldGenOptimizations]
    # (Default: true) Whether to enable this feature 
    # (may cause incompatibility with other mods)
    enabled = "default"
    # (Default: true) Whether to enable End Biome Cache to accelerate The End worldgen 
    # This is included in lithium-fabric 
    # (may cause incompatibility with other mods)  
    # INCOMPATIBILITY: Set to false forcefully by: lithium
    useEndBiomeCache = "default"

# Configuration for general optimizations
[generalOptimizations]
    # (Default: -1) Defines which chunk compression should be used 
    # -1 for Vanilla default (also prevents mixin modifying vanilla default  
    # from being applied) 
    # 1  for GZip (RFC1952) (Vanilla compatible) 
    # 2  for Zlib (RFC1950) (Vanilla default) (Vanilla compatible) 
    # 3  for Uncompressed (Fastest, but higher disk usage) (Vanilla compatible) 
    #  
    # Original chunk data will still readable after modifying this option  
    # as this option only affects newly stored chunks 
    # Other values can result in crashes when starting minecraft  
    # to prevent further damage
    #
    chunkStreamVersion = "default"
    # (Default: true) Whether to enable mid-tick chunk tasks  
    # Mid-tick chunk tasks is to execute chunk tasks during server tick loop  
    # to speed up chunk loading and generation  
    # This helps chunks loading and generating under high MSPT but may raise  
    # MSPT when chunks are loading or generating  
    #  
    # Incompatible with Dimensional Threading (dimthread)
    #
    doMidTickChunkTasks = "default"
    # (Default: true) Whether to let async chunk request no longer block server thread 
    # (may cause incompatibility with other mods) 
    optimizeAsyncChunkRequest = "default"

# Configuration for no-tick view distance
[noTickViewDistance]
    # (Default: false) Whether to use compatibility mode to send chunks 
    # This may fix some mod compatibility issues
    compatibilityMode = "default"
    # (Default: false) Whether to ensure correct chunks within normal render distance 
    # This will send chunks twice increasing network load
    ensureChunkCorrectness = "default"
    # (Default: 6) No-tick view distance updates per tick 
    # Lower this for a better latency and higher this for a faster loading
    updatesPerTick = "default"
    # (Default: true) Weather to enable no-tick view distance
    enabled = "default"

# Configuration for clientside functions
[clientSide]

    # Configuration for modifying clientside max view distance
    [clientSide.modifyMaxVDConfig]
        # (Default: true) Weather to enable c2me clientside features
        enabled = "default"
        # (Default: 128) Max render distance allowed in game options
        maxViewDistance = "default"
cnlimiter commented 2 years ago

已经更新了1.5.5版本

cnlimiter commented 2 years ago

有需求的话,也可以做成5m,10m,30m的类型,目前显示的只有5m的tps

wangwang-code commented 2 years ago

测试结果:发生循环

wangwang-code commented 2 years ago
---- Minecraft Crash Report ----
// You should try our sister game, Minceraft!

Time: 2022/1/27 下午1:39
Description: Exception in server tick loop

java.lang.ArithmeticException: BigInteger divide by zero
    at java.base/java.math.MutableBigInteger.divide(MutableBigInteger.java:1445)
    at java.base/java.math.BigDecimal.divideAndRound(BigDecimal.java:4776)
    at java.base/java.math.BigDecimal.divide(BigDecimal.java:5723)
    at java.base/java.math.BigDecimal.divide(BigDecimal.java:1636)
    at java.base/java.math.BigDecimal.divide(BigDecimal.java:1666)
    at net.minecraft.server.MinecraftServer.handler$bkp001$injectTick(MinecraftServer.java:6799)
    at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:861)
    at net.minecraft.server.MinecraftServer.handler$zim000$modifiedRunLoop(MinecraftServer.java:3856)
    at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:663)
    at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:270)
    at java.base/java.lang.Thread.run(Thread.java:833)

完整日志:

[13:40:22] [main/INFO]: Loading Minecraft 1.18.1 with Fabric Loader 0.12.12
[13:40:23] [main/WARN]: Warnings were found!
 - Mod 'Fabric Rendering Fluids (v1)' (fabric-rendering-fluids-v1) 0.1.18+3ac43d9565 recommends any version of fabric-textures-v0, which is disabled for this environment (client/server only)!
     - You should install any version of fabric-textures-v0 for the optimal experience.
 - Mod 'Textile Backup' (textile_backup) 2.3.0-1.18 recommends any version of modmenu, which is missing!
     - You should install any version of modmenu for the optimal experience.
[13:40:23] [main/INFO]: Loading 83 mods:
    - adventure-platform-fabric 5.0.0 via tabtps-fabric
    - architectury 3.4.9
    - blue_endless_jankson 1.2.1 via kyrptconfig
    - botapi 1.5.5
    - c2me 0.2.0+alpha.6.25
    - carpet 1.4.57
    - cloth-basic-math 0.6.0 via cloth-config
    - cloth-config 6.1.48
    - cloud 1.6.0 via tabtps-fabric
    - cloud_commandframework_cloud-brigadier_ 1.6.0 via cloud
    - cloud_commandframework_cloud-core_ 1.6.0 via cloud
    - cloud_commandframework_cloud-minecraft-extras 1.6.0 via tabtps-fabric
    - cloud_commandframework_cloud-services_ 1.6.0 via cloud
    - com_github_shevek_parallelgzip af5f5c297e735f3f2df7aa4eb0e19a5810b8aff6 via textile_backup
    - com_typesafe_config 1.4.1 via tabtps-fabric
    - com_velocitypowered_velocity-native 1.1.0-SNAPSHOT via krypton
    - diggusmaximus 1.5.2-1.18
    - elativitymc_c2me-fabric_ver_1_18_libs_ 0.2.0+alpha.6.25 via c2me
    - fabric 0.46.1+1.18
    - fabric-api-base 0.4.1+b4f4f6cd65 via fabric
    - fabric-api-lookup-api-v1 1.5.0+17be577f65 via fabric
    - fabric-biome-api-v1 6.0.1+ded849a965 via fabric
    - fabric-command-api-v1 1.1.6+3ac43d9565 via fabric
    - fabric-commands-v0 0.2.5+b4f4f6cd65 via fabric
    - fabric-containers-v0 0.1.18+d154e2c665 via fabric
    - fabric-content-registries-v0 0.4.5+6f53a73d65 via fabric
    - fabric-crash-report-info-v1 0.1.8+3ac43d9565 via fabric
    - fabric-dimensions-v1 2.1.9+a1d9bbf565 via fabric
    - fabric-entity-events-v1 1.4.5+6b21378a65 via fabric
    - fabric-events-interaction-v0 0.4.16+bfa23f1765 via fabric
    - fabric-events-lifecycle-v0 0.2.6+b4f4f6cd65 via fabric
    - fabric-game-rule-api-v1 1.0.10+3ac43d9565 via fabric
    - fabric-item-api-v1 1.3.0+691a79b565 via fabric
    - fabric-item-groups-v0 0.3.3+3ac43d9565 via fabric
    - fabric-lifecycle-events-v1 1.4.10+c15ca33565 via fabric
    - fabric-loot-tables-v1 1.0.8+3ac43d9565 via fabric
    - fabric-mining-level-api-v1 1.0.3+3ac43d9565 via fabric
    - fabric-mining-levels-v0 0.1.8+b4f4f6cd65 via fabric
    - fabric-networking-api-v1 1.0.18+3ac43d9565 via fabric
    - fabric-networking-v0 0.3.5+b4f4f6cd65 via fabric
    - fabric-object-builder-api-v1 1.11.1+3b82842e65 via fabric
    - fabric-object-builders-v0 0.7.9+3ac43d9565 via fabric
    - fabric-particles-v1 0.2.9+526dc1ac65 via fabric
    - fabric-permissions-api-v0 0.1-SNAPSHOT via spark
    - fabric-registry-sync-v0 0.9.0+befed49e65 via fabric
    - fabric-rendering-data-attachment-v1 0.3.4+7242e9d765 via fabric
    - fabric-rendering-fluids-v1 0.1.18+3ac43d9565 via fabric
    - fabric-resource-conditions-api-v1 1.0.1+13eda06565 via fabric
    - fabric-resource-loader-v0 0.4.11+3ac43d9565 via fabric
    - fabric-screen-handler-api-v1 1.1.11+3ac43d9565 via fabric
    - fabric-structure-api-v1 2.1.0+0a73a6c265 via fabric
    - fabric-tag-extensions-v0 1.2.5+3ac43d9565 via fabric
    - fabric-tool-attribute-api-v1 1.3.5+fb3b57b465 via fabric
    - fabric-transfer-api-v1 1.5.6+b4f4f6cd65 via fabric
    - fabricloader 0.12.12
    - ferritecore 4.0.0
    - io_leangen_geantyref_geantyref 1.3.13 via cloud
    - java 17
    - krypton 0.1.6
    - kyrptconfig 1.2.4-1.18 via diggusmaximus
    - lithium 0.7.7
    - minecraft 1.18.1
    - net_kyori_adventure-api 4.9.3 via adventure-platform-fabric
    - net_kyori_adventure-key 4.9.3 via adventure-platform-fabric
    - net_kyori_adventure-platform-api 4.0.0 via adventure-platform-fabric
    - net_kyori_adventure-serializer-configurate4 4.9.3 via tabtps-fabric
    - net_kyori_adventure-text-feature-pagination 4.0.0-SNAPSHOT via tabtps-fabric
    - net_kyori_adventure-text-minimessage 4.2.0-SNAPSHOT via tabtps-fabric
    - net_kyori_adventure-text-serializer-gson 4.9.3 via adventure-platform-fabric
    - net_kyori_adventure-text-serializer-legacy 4.9.3 via tabtps-fabric
    - net_kyori_adventure-text-serializer-plain 4.9.3 via adventure-platform-fabric
    - net_kyori_examination-api 1.3.0 via adventure-platform-fabric
    - net_kyori_examination-string 1.3.0 via adventure-platform-fabric
    - org_apache_commons_commons-compress 1.19 via textile_backup
    - org_spongepowered_configurate-core 4.1.2 via tabtps-fabric
    - org_spongepowered_configurate-hocon 4.1.2 via tabtps-fabric
    - org_tukaani_xz 1.9 via textile_backup
    - roughlyenoughitems 7.1.390
    - spark 1.7.2
    - starlight 1.0.0+fabric.d0a3220
    - tabtps-fabric 1.3.11
    - textile_backup 2.3.0-1.18
    - zyfdroid-myessentialx 1.0.4
[13:40:23] [main/WARN]: Mod `com_github_shevek_parallelgzip` (af5f5c297e735f3f2df7aa4eb0e19a5810b8aff6) does not respect SemVer - comparison support is limited.
[13:40:23] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.4 Source=file:/D:/1.18.1/libraries/net/fabricmc/sponge-mixin/0.10.7+mixin.0.8.4/sponge-mixin-0.10.7+mixin.0.8.4.jar Service=Knot/Fabric Env=SERVER
[13:40:24] [main/INFO]: Compatibility level set to JAVA_16
[13:40:24] [main/INFO]: Compatibility level set to JAVA_17
[13:40:25] [main/INFO]: Configuration loaded successfully after 870.1934ms
[13:40:25] [main/INFO]: Successfully loaded configuration for C2ME
[13:40:25] [main/INFO]: Initializing C2ME Compatibility Module
[13:40:25] [main/INFO]: Loaded configuration file for Lithium: 88 options available, 1 override(s) found
[13:40:25] [main/WARN]: Reference map 'zyfdroid-myessentialx-refmap.json' for myessentialx.mixins.json could not be read. If this is a development environment you can ignore this message
[13:40:26] [main/WARN]: Force-disabling mixin 'world.player_chunk_tick.ThreadedAnvilChunkStorageMixin' as rule 'mixin.world.player_chunk_tick' (added by mods [c2me, krypton]) disables it and children
[13:40:27] [main/INFO]: Adding mixins: [None]
[13:40:43] [main/WARN]: @Inject(@At("INVOKE")) Shift.BY=3 on fabric-lifecycle-events-v1.mixins.json:server.WorldChunkMixin::handler$bcg000$onLoadBlockEntity exceeds the maximum allowed value: 0. Increase the value of maxShiftBy to suppress this warning.
[13:40:50] [main/WARN]: Discarding @Unique public method recentTps in tabtps-fabric.mixins.json:MinecraftServerMixin because it already exists in net.minecraft.server.MinecraftServer
[13:40:51] [main/INFO]: Compression will use Java 11, encryption will use Java
[13:40:52] [main/INFO]: Registered plugin provider DefaultPlugin [roughlyenoughitems] for REIPlugin
[13:40:52] [main/INFO]: Registered plugin provider DefaultRuntimePlugin [roughlyenoughitems] for REIPlugin
[13:40:52] [main/INFO]: Registered plugin provider DefaultPlugin [roughlyenoughitems] for REIServerPlugin
[13:40:52] [main/INFO]: Registered plugin provider DefaultRuntimePlugin [roughlyenoughitems] for REIServerPlugin
[13:40:52] [main/INFO]: Registered plugin provider FabricFluidAPISupportPlugin for REIServerPlugin
[13:40:52] [main/INFO]: Registered plugin provider FabricFluidAPISupportPlugin for REIPlugin
[13:40:54] [main/INFO]: Done initializing TabTPS.
[13:40:54] [main/INFO]: [Textile Backup] Starting Textile Backup by Szum123321
[13:40:55] [main/INFO]: Krypton is now accelerating your Minecraft server's networking stack ?
[13:40:57] [main/INFO]: Environment: authHost='https://www.xiaogoumc.xyz/api/yggdrasil/authserver', accountsHost='http://127.0.0.1:50883/https/api.mojang.com', sessionHost='http://127.0.0.1:50883/https/sessionserver.mojang.com', servicesHost='http://127.0.0.1:50883/https/api.minecraftservices.com', name='PROD'
[13:40:59] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[13:40:59] [main/WARN]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0]
[13:40:59] [main/WARN]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498]
[13:41:00] [main/WARN]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498]
[13:41:00] [main/WARN]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0]
[13:41:00] [main/INFO]: Reloading ResourceManager: Default, Fabric Mods (Fabric Tool Attribute API (v1))
[13:41:01] [Worker-Main-6/INFO]: Loaded 7 recipes
[13:41:02] [Worker-Main-6/INFO]: Loaded 1141 advancements
[13:41:03] [Worker-Main-6/INFO]: Reloading Plugin Manager [REIPlugin] stage [START], registered 3 plugins: DefaultRuntimePlugin [roughlyenoughitems], FabricFluidAPISupportPlugin, DefaultPlugin [roughlyenoughitems]
[13:41:03] [Worker-Main-6/INFO]: Reloaded Plugin Manager [REIPlugin] with 2 entry types, 5 item comparators, 0 fluid comparators and 2 fluid support providers in 64ms.
[13:41:03] [Worker-Main-6/INFO]: Reloading Plugin Manager [REIServerPlugin] stage [START], registered 3 plugins: DefaultRuntimePlugin [roughlyenoughitems], FabricFluidAPISupportPlugin, DefaultPlugin [roughlyenoughitems]
[13:41:03] [Worker-Main-6/INFO]: Reloaded Plugin Manager [REIServerPlugin] with 0 menu infos in 15ms.
[13:41:03] [Worker-Main-6/INFO]: Reloading Plugin Manager [REIPlugin] stage [END], registered 3 plugins: DefaultRuntimePlugin [roughlyenoughitems], FabricFluidAPISupportPlugin, DefaultPlugin [roughlyenoughitems]
[13:41:03] [Worker-Main-6/INFO]: Reloaded Plugin Manager [REIPlugin] with 2 entry types, 5 item comparators, 0 fluid comparators and 2 fluid support providers in 204ms.
[13:41:03] [Worker-Main-6/INFO]: Reloading Plugin Manager [REIServerPlugin] stage [END], registered 3 plugins: DefaultRuntimePlugin [roughlyenoughitems], FabricFluidAPISupportPlugin, DefaultPlugin [roughlyenoughitems]
[13:41:03] [Worker-Main-6/INFO]: Reloaded Plugin Manager [REIServerPlugin] with 4 menu infos in 48ms.
[13:41:06] [main/INFO]: Applied 0 biome modifications to 0 of 61 new biomes in 6.552 ms
[13:41:08] [Server thread/INFO]: Starting minecraft server version 1.18.1
[13:41:08] [Server thread/INFO]: Loading properties
[13:41:08] [Server thread/INFO]: Default game type: SURVIVAL
[13:41:08] [Server thread/INFO]: Generating keypair
[13:41:08] [Server thread/INFO]: Starting Minecraft server on *:25577
[13:41:08] [Server thread/INFO]: Using default channel type
[13:41:09] [Server thread/INFO]: Preparing level "world"
[13:41:09] [Server thread/INFO]: [CM]: loaded setting language as zh_cn from carpet.conf
[13:41:09] [Server thread/INFO]: [CM]: loaded setting lagFreeSpawning as true from carpet.conf
[13:41:10] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[13:41:10] [C2ME worker #1/INFO]: [STDOUT]: Initializing stronghold positions, this may take a while
[13:41:25] [C2ME worker #1/INFO]: [STDOUT]: Stronghold positions initialized
[13:41:29] [Worker-Main-4/INFO]: Preparing spawn area: 0%
[13:41:29] [Worker-Main-4/INFO]: Preparing spawn area: 0%
[13:41:29] [Worker-Main-4/INFO]: Preparing spawn area: 0%
[13:41:29] [Worker-Main-5/INFO]: Preparing spawn area: 0%
[13:41:29] [Worker-Main-4/INFO]: Preparing spawn area: 0%
[13:41:29] [Worker-Main-5/INFO]: Preparing spawn area: 0%
[13:41:30] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[13:41:30] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[13:41:30] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[13:41:30] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[13:41:30] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[13:41:30] [Worker-Main-4/INFO]: Preparing spawn area: 0%
[13:41:30] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[13:41:30] [Worker-Main-4/INFO]: Preparing spawn area: 0%
[13:41:30] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[13:41:31] [Worker-Main-4/INFO]: Preparing spawn area: 0%
[13:41:31] [Worker-Main-4/INFO]: Preparing spawn area: 0%
[13:41:31] [Worker-Main-4/INFO]: Preparing spawn area: 0%
[13:41:31] [Worker-Main-4/INFO]: Preparing spawn area: 0%
[13:41:31] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[13:41:31] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[13:41:31] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[13:41:31] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[13:41:31] [Worker-Main-5/INFO]: Preparing spawn area: 0%
[13:41:31] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[13:41:31] [Worker-Main-5/INFO]: Preparing spawn area: 0%
[13:41:31] [Worker-Main-5/INFO]: Preparing spawn area: 0%
[13:41:31] [Worker-Main-4/INFO]: Preparing spawn area: 0%
[13:41:31] [Worker-Main-4/INFO]: Preparing spawn area: 0%
[13:41:31] [Worker-Main-4/INFO]: Preparing spawn area: 0%
[13:41:31] [Worker-Main-4/INFO]: Preparing spawn area: 0%
[13:41:31] [Worker-Main-4/INFO]: Preparing spawn area: 0%
[13:41:31] [Worker-Main-4/INFO]: Preparing spawn area: 0%
[13:41:31] [Worker-Main-4/INFO]: Preparing spawn area: 0%
[13:41:31] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[13:41:31] [Worker-Main-4/INFO]: Preparing spawn area: 0%
[13:41:31] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[13:41:31] [Worker-Main-4/INFO]: Preparing spawn area: 0%
[13:41:32] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[13:41:32] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[13:41:32] [Worker-Main-4/INFO]: Preparing spawn area: 0%
[13:41:32] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[13:41:32] [Worker-Main-4/INFO]: Preparing spawn area: 0%
[13:41:32] [Worker-Main-6/INFO]: Preparing spawn area: 0%
[13:41:32] [Worker-Main-4/INFO]: Preparing spawn area: 0%
[13:41:33] [Worker-Main-4/INFO]: Preparing spawn area: 0%
[13:41:33] [Worker-Main-5/INFO]: Preparing spawn area: 1%
[13:41:34] [Worker-Main-4/INFO]: Preparing spawn area: 1%
[13:41:34] [Worker-Main-4/INFO]: Preparing spawn area: 1%
[13:41:35] [Worker-Main-4/INFO]: Preparing spawn area: 2%
[13:41:35] [Worker-Main-5/INFO]: Preparing spawn area: 2%
[13:41:36] [Worker-Main-6/INFO]: Preparing spawn area: 2%
[13:41:36] [Worker-Main-4/INFO]: Preparing spawn area: 3%
[13:41:37] [Worker-Main-4/INFO]: Preparing spawn area: 3%
[13:41:37] [Worker-Main-4/INFO]: Preparing spawn area: 4%
[13:41:38] [Worker-Main-5/INFO]: Preparing spawn area: 5%
[13:41:38] [Worker-Main-4/INFO]: Preparing spawn area: 6%
[13:41:39] [Worker-Main-5/INFO]: Preparing spawn area: 7%
[13:41:39] [Worker-Main-4/INFO]: Preparing spawn area: 11%
[13:41:40] [Worker-Main-5/INFO]: Preparing spawn area: 14%
[13:41:40] [Worker-Main-5/INFO]: Preparing spawn area: 20%
[13:41:41] [Worker-Main-6/INFO]: Preparing spawn area: 24%
[13:41:41] [Worker-Main-5/INFO]: Preparing spawn area: 26%
[13:41:42] [Worker-Main-5/INFO]: Preparing spawn area: 30%
[13:41:42] [Worker-Main-5/INFO]: Preparing spawn area: 30%
[13:41:43] [Worker-Main-4/INFO]: Preparing spawn area: 30%
[13:41:43] [Worker-Main-4/INFO]: Preparing spawn area: 30%
[13:41:44] [Worker-Main-4/INFO]: Preparing spawn area: 39%
[13:41:44] [Worker-Main-4/INFO]: Preparing spawn area: 47%
[13:41:45] [Worker-Main-5/INFO]: Preparing spawn area: 54%
[13:41:46] [Worker-Main-4/INFO]: Preparing spawn area: 70%
[13:41:46] [Worker-Main-5/INFO]: Preparing spawn area: 72%
[13:41:46] [Worker-Main-4/INFO]: Preparing spawn area: 77%
[13:41:47] [Worker-Main-6/INFO]: Preparing spawn area: 82%
[13:41:47] [Worker-Main-6/INFO]: Preparing spawn area: 90%
[13:41:48] [Worker-Main-4/INFO]: Preparing spawn area: 91%
[13:41:48] [Worker-Main-4/INFO]: Preparing spawn area: 93%
[13:41:49] [Worker-Main-5/INFO]: Preparing spawn area: 94%
[13:41:49] [Worker-Main-4/INFO]: Preparing spawn area: 95%
[13:41:50] [Worker-Main-4/INFO]: Preparing spawn area: 95%
[13:41:50] [Worker-Main-4/INFO]: Preparing spawn area: 97%
[13:41:51] [Worker-Main-5/INFO]: Preparing spawn area: 97%
[13:41:51] [Worker-Main-4/INFO]: Preparing spawn area: 98%
[13:41:52] [Worker-Main-4/INFO]: Preparing spawn area: 99%
[13:41:52] [Worker-Main-6/INFO]: Preparing spawn area: 99%
[13:41:52] [Server thread/INFO]: Time elapsed: 42098 ms
[13:41:52] [Server thread/INFO]: Done (43.327s)! For help, type "help"
[13:41:52] [Server thread/INFO]: [STDERR]: java.io.FileNotFoundException: myessentialx_pois.json (系统找不到指定的文件。)
[13:41:52] [Server thread/INFO]: [STDERR]:  at java.base/java.io.FileInputStream.open0(Native Method)
[13:41:52] [Server thread/INFO]: [STDERR]:  at java.base/java.io.FileInputStream.open(FileInputStream.java:216)
[13:41:52] [Server thread/INFO]: [STDERR]:  at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
[13:41:52] [Server thread/INFO]: [STDERR]:  at java.base/java.io.FileInputStream.<init>(FileInputStream.java:111)
[13:41:52] [Thread-4/INFO]: 尝试连接webSocket服务器: ws://127.0.0.1:6700
[13:41:52] [Server thread/INFO]: [STDERR]:  at com.zyfdroid.myessentialx.MyMod.loadFromStringFile(MyMod.java:186)
[13:41:52] [Server thread/INFO]: [STDERR]:  at com.zyfdroid.myessentialx.MyMod.loadPois(MyMod.java:506)
[13:41:52] [Server thread/INFO]: [STDERR]:  at com.zyfdroid.myessentialx.MyMod.lambda$onInitialize$1(MyMod.java:98)
[13:41:52] [Server thread/INFO]: [STDERR]:  at net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents.lambda$static$2(ServerLifecycleEvents.java:48)
[13:41:52] [Server thread/INFO]: [STDERR]:  at net.minecraft.server.MinecraftServer.handler$bcb000$afterSetupServer(MinecraftServer.java:5273)
[13:41:52] [Server thread/INFO]: [STDERR]:  at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:663)
[13:41:52] [Server thread/INFO]: [STDERR]:  at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:270)
[13:41:52] [Server thread/INFO]: [STDERR]:  at java.base/java.lang.Thread.run(Thread.java:833)
[13:41:52] [Server thread/INFO]: [STDOUT]: MyEssentialX mod Made by
.------..------..------..------..------..------..------..------.
|Z.--. ||Y.--. ||F.--. ||D.--. ||R.--. ||O.--. ||I.--. ||D.--. |
| :(): || (\/) || :(): || :/\: || :(): || :/\: || (\/) || :/\: |
| ()() || :\/: || ()() || (__) || ()() || :\/: || :\/: || (__) |
| '--'Z|| '--'Y|| '--'F|| '--'D|| '--'R|| '--'O|| '--'I|| '--'D|
`------'`------'`------'`------'`------'`------'`------'`------'
[13:41:53] [nioEventLoopGroup-2-1/INFO]: 连接webSocket服务器: ws://127.0.0.1:6700 isSuccess=true
[13:41:53] [nioEventLoopGroup-2-1/INFO]: Go-cqhttp connected!
[13:41:55] [Server thread/ERROR]: Encountered an unexpected exception
java.lang.ArithmeticException: BigInteger divide by zero
    at java.math.MutableBigInteger.divide(MutableBigInteger.java:1445) ~[?:?]
    at java.math.BigDecimal.divideAndRound(BigDecimal.java:4776) ~[?:?]
    at java.math.BigDecimal.divide(BigDecimal.java:5723) ~[?:?]
    at java.math.BigDecimal.divide(BigDecimal.java:1636) ~[?:?]
    at java.math.BigDecimal.divide(BigDecimal.java:1666) ~[?:?]
    at net.minecraft.server.MinecraftServer.handler$bkp001$injectTick(MinecraftServer.java:6799) ~[server-intermediary.jar:?]
    at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:861) ~[server-intermediary.jar:?]
    at net.minecraft.server.MinecraftServer.handler$zim000$modifiedRunLoop(MinecraftServer.java:3856) ~[server-intermediary.jar:?]
    at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:663) ~[server-intermediary.jar:?]
    at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:270) ~[server-intermediary.jar:?]
    at java.lang.Thread.run(Thread.java:833) [?:?]
[13:41:56] [Server thread/ERROR]: This crash report has been saved to: D:\1.18.1\.\crash-reports\crash-2022-01-27_13.41.56-server.txt
[13:41:56] [Thread-4/INFO]: webSocketClient线程中断
[13:41:56] [Server thread/INFO]: Stopping server
[13:41:56] [Server thread/INFO]: Saving players
[13:41:56] [Server thread/INFO]: Saving worlds
[13:41:56] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld
[13:42:01] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether
[13:42:01] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_end
[13:42:01] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
[13:42:01] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[13:42:01] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[13:42:01] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved
[13:42:01] [Server thread/INFO]: [Textile Backup] Warning! Server backup will begin shortly. You may experience some lag.
[13:42:01] [Server thread/INFO]: [Textile Backup] Backup started by: Server Shutdown on: 2022.01.27_13-42-01
[13:42:01] [Server thread/INFO]: [Textile Backup] Starting backup
[13:42:08] [Server thread/INFO]: [Textile Backup] Compression took: 07.251 seconds.
[13:42:08] [Server thread/INFO]: [Textile Backup] Deleting: 2022.01.26_20-42-56.zip
[13:42:08] [Server thread/INFO]: [Textile Backup] Done!
cnlimiter commented 2 years ago

能发一下崩溃报告么,我自己测试时是没有问题的

wangwang-code commented 2 years ago

能发一下崩溃报告么,我自己测试时是没有问题的

https://github.com/Nova-Committee/Bot-Connect/issues/9#issuecomment-1022868822

cnlimiter commented 2 years ago

我更改了一下,试一下是否还会报错,

wangwang-code commented 2 years ago

我更改了一下,试一下是否还会报错,

好的

wangwang-code commented 2 years ago

我更改了一下,试一下是否还会报错,

mcmod上的最新版仍然报错

wangwang-code commented 2 years ago

我更改了一下,试一下是否还会报错,

@cnlimiter

[17:22:50] [Server thread/ERROR]: Encountered an unexpected exception
java.lang.ArithmeticException: BigInteger divide by zero
        at java.math.MutableBigInteger.divide(MutableBigInteger.java:1445) ~[?:?]
        at java.math.BigDecimal.divideAndRound(BigDecimal.java:4776) ~[?:?]
        at java.math.BigDecimal.divide(BigDecimal.java:5723) ~[?:?]
        at java.math.BigDecimal.divide(BigDecimal.java:1636) ~[?:?]
        at java.math.BigDecimal.divide(BigDecimal.java:1666) ~[?:?]
        at net.minecraft.server.MinecraftServer.handler$bkp001$injectTick(MinecraftServer.java:6799) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:861) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.handler$zim000$modifiedRunLoop(MinecraftServer.java:3856) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:663) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:270) ~[server-intermediary.jar:?]
        at java.lang.Thread.run(Thread.java:833) [?:?]

会不是因为这个mixin world.player_chunk_tick.ThreadedAnvilChunkStorageMixin 被禁用导致的

[17:21:23] [main/WARN]: Force-disabling mixin 'world.player_chunk_tick.ThreadedAnvilChunkStorageMixin' as rule 'mixin.world.player_chunk_tick' (added by mods [c2me, krypton]) disables it and children
cnlimiter commented 2 years ago

我再看看有没有不通过mixin获取tps的方法吧

wangwang-code commented 2 years ago

我再看看有没有不通过mixin获取tps的方法吧

加油,我先去剪我视频去了

wangwang-code commented 2 years ago

@cnlimiter 有解决方法了吗,现在又发现俩BUG了https://github.com/Nova-Committee/Bot-Connect/issues/11 https://github.com/Nova-Committee/Bot-Connect/issues/12

cnlimiter commented 2 years ago

已经添加tps和mspt计算方式,经测试未发生任何问题,语言文件问题也已经解决

wangwang-code commented 2 years ago

已经添加tps和mspt计算方式,经测试未发生任何问题,语言文件问题也已经解决

好的,有空我测试下

wangwang-code commented 2 years ago

@cnlimiter

[20:25:38] [Server thread/ERROR]: Encountered an unexpected exception
java.lang.ArithmeticException: BigInteger divide by zero
        at java.math.MutableBigInteger.divide(MutableBigInteger.java:1445) ~[?:?]
        at java.math.BigDecimal.divideAndRound(BigDecimal.java:4776) ~[?:?]
        at java.math.BigDecimal.divide(BigDecimal.java:5723) ~[?:?]
        at java.math.BigDecimal.divide(BigDecimal.java:1636) ~[?:?]
        at java.math.BigDecimal.divide(BigDecimal.java:1666) ~[?:?]
        at net.minecraft.server.MinecraftServer.handler$bla001$injectTick(MinecraftServer.java:6799) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:861) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.handler$zin000$modifiedRunLoop(MinecraftServer.java:3856) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:663) ~[server-intermediary.jar:?]
        at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:270) ~[server-intermediary.jar:?]
        at java.lang.Thread.run(Thread.java:833) [?:?]

在删除了tabtps mod 后正常

cnlimiter commented 2 years ago

我自行测试确实没有问题,而且其他人也没有反应有此类问题,我想可能是有模组冲突了

wangwang-code commented 2 years ago

反正现在删除了tabtps后一切正常,包括!tps

我自行测试确实没有问题,而且其他人也没有反应有此类问题,我想可能是有模组冲突了

cnlimiter commented 2 years ago

那应该是mixin冲突了

wangwang-code commented 2 years ago

那应该是mixin冲突了

mixin冲突难搞