Closed Crash: "/help 3" on multiplayer client

S

Sorbe

Guest
Summary of the problem Crash: "/help 3" on multiplayer client

Pack Version 2.5.4

What is the bug? Connect to a server (LAN server in this case) and go through /help screens.

When you get to "/help 3", client will crash.

---- Minecraft Crash Report ----
// Don't do that.

Time: 8/31/16 7:28 PM
Description: Unexpected error

java.lang.StringIndexOutOfBoundsException: String index out of range: -2
at java.lang.String.substring(String.java:1954)
at vazkii.chatflow.MessageMeddler.onMessageReceived(MessageMeddler.java:20)
at cpw.mods.fml.common.eventhandler.ASMEventHandler_178_MessageMeddler_onMessageReceived_ClientChatReceivedEvent.invoke(.dynamic)
at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140)
at net.minecraft.client.network.NetHandlerPlayClient.func_147251_a(NetHandlerPlayClient.java:694)
at net.minecraft.network.play.server.S02PacketChat.func_148833_a(SourceFile:38)
at net.minecraft.network.play.server.S02PacketChat.func_148833_a(SourceFile:9)
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)
at net.minecraft.client.multiplayer.PlayerControllerMP.func_78765_e(PlayerControllerMP.java:273)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1602)
at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:973)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:898)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Stacktrace:
at java.lang.String.substring(String.java:1954)
at vazkii.chatflow.MessageMeddler.onMessageReceived(MessageMeddler.java:20)
at cpw.mods.fml.common.eventhandler.ASMEventHandler_178_MessageMeddler_onMessageReceived_ClientChatReceivedEvent.invoke(.dynamic)
at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54)
at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140)
at net.minecraft.client.network.NetHandlerPlayClient.func_147251_a(NetHandlerPlayClient.java:694)
at net.minecraft.network.play.server.S02PacketChat.func_148833_a(SourceFile:38)
at net.minecraft.network.play.server.S02PacketChat.func_148833_a(SourceFile:9)
at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:212)
at net.minecraft.client.multiplayer.PlayerControllerMP.func_78765_e(PlayerControllerMP.java:273)
at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1602)

-- Affected level --
Details:
Level name: MpServer
All players: 2 total; [EntityClientPlayerMP['LordAralan'/846780, l='MpServer', x=-152.46, y=97.62, z=789.94], EntityOtherPlayerMP['LordMalik'/432, l='MpServer', x=-152.34, y=90.00, z=793.31]]
Chunk stats: MultiplayerChunkCache: 289, 298
Level seed: 0
Level generator: ID 04 - botania-skyblock, ver 0. Features enabled: false
Level generator options:
Level spawn location: World: (-160,86,252), Chunk: (at 0,5,12 in -10,15; contains blocks -160,0,240 to -145,255,255), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
Level time: 84044287 game time, 91688157 day time
Level dimension: 0
Level storage version: 0x00000 - Unknown?
Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false

Mod & Version vazkii.chatflow ?

Link to log file

Is it repeatable? Yes.

Known Fix Don't ask for help. :) At least not "/help 3"
 
S

Sorbe

Guest
Note, "/help 7" will cause the the client to disconnect with an in-game exception screen, but not crash.
 
Last edited:

Darkosto

New Member
Jul 29, 2019
411
0
0
Fixed in 2.5.5, this will be out in the next couple of days. I'm finished the last few tweaks.