Giter Site home page Giter Site logo

advancedchatbox's Introduction

advancedchatbox's People

Contributors

darkkronicle avatar tanguygab avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

advancedchatbox's Issues

[BUG] Crashes after pressing tab

Describe the bug
Using autocomplete features will crash the game instantly.

Minecraft Info

  • AdvancedChatCore: 1.19.1-1.5.6
  • AdvancedChatBox: 1.19-1.1.5
  • Minecraft: 1.19.2
  • Quilt: 0.17.3
  • QFAPI: 4.0.0-beta.8+0.59.0-1.19.2
  • MaLiLib: 0.13.0

To Reproduce

  • Type something wrong and press tab
  • Type mathematical equation in brackets [] and press tab
  • Use any shortcut

Checked only those, probably crashes on all other features.

Additional context
Crash report (Again says Fabric, but it is Quilt): https://crashy.net/7YOyZFQUFQqXS6Kkvnps I believe this one is after using math.
And again - using only Core and Box and all modules doesn't change anything, it still crashes.

[FEATURE] 1.19.4

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
A 1.19.4 version
Describe the solution you'd like
A clear and concise description of what you want to happen.
If the current version supports 1.19.4, please update it on modrinth
Additional context
Add any other context or screenshots about the feature request here.

[FEATURE] 1.19

Is your feature request related to a problem? Please describe.
No work on 1.19.x

Describe the solution you'd like
pls make ez commit that updates dep versions

Additional context
N/A

[FEATURE] Turn off Spell Checking

Is your feature request related to a problem? Please describe.
You can't turn off spell checking

Describe the solution you'd like
An option to turn off Spell checking

[BUG] Crash on command formatting when deleting a character

Describe the bug
Minecraft crashes when deleting the first character in a/aaa in chat

Minecraft Info
Minecraft information:

---- Minecraft Crash Report ----
// My bad.

Time: 8/11/21 1:40
Description: Rendering screen

java.lang.StringIndexOutOfBoundsException: begin 4, end 6, length 5
    at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3751)
    at java.base/java.lang.String.substring(String.java:1907)
    at java.base/java.lang.String.subSequence(String.java:1945)
    at io.github.darkkronicle.advancedchatbox.chat.ChatFormatter.format(ChatFormatter.java:61)
    at io.github.darkkronicle.advancedchatbox.chat.ChatFormatter.apply(ChatFormatter.java:117)
    at io.github.darkkronicle.advancedchatbox.chat.ChatSuggestorGui.provideRenderText(ChatSuggestorGui.java:333)
    at net.minecraft.class_342.method_25359(class_342.java:426)
    at net.minecraft.class_339.method_25394(class_339.java:67)
    at io.github.darkkronicle.advancedchatcore.chat.AdvancedChatScreen.method_25394(AdvancedChatScreen.java:290)
    at net.minecraft.class_757.method_3192(class_757.java:874)
    at net.minecraft.class_310.method_1523(class_310.java:1112)
    at net.minecraft.class_310.method_1514(class_310.java:728)
    at net.minecraft.client.main.Main.main(Main.java:217)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:567)
    at net.fabricmc.loader.game.MinecraftGameProvider.launch(MinecraftGameProvider.java:234)
    at net.fabricmc.loader.launch.knot.Knot.launch(Knot.java:153)
    at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28)

To Reproduce
Steps to reproduce the behavior:

  1. Open chat
  2. type a/aaaa or really any letter followed by a command
  3. put your cursor at the very start of the message
  4. press delete, which removes the first character

Expected behavior
Minecraft not to crash

[BUG] Tabcomplete after `/` crashes client

Describe the bug
Game crashes when trying to tab-complete commands

Minecraft Info

  • Minecraft version: 1.19.2
  • AdvancedChatBox 1.19-1.1.5
  • AdvancedChatCore 1.19.1-1.5.6

To Reproduce
type /
try to tabcomplete any command
game crashes

Expected behavior
tabcomplete would complete the command into chat, and not crash

Additional context
Crash Log 1
Crash Log 2
ModPack
Originally happened on a 1.19.2 purpur server, reproduced the issue on a single-player creative world

[BUG] ChatBox colors don't change

Describe the bug
Setting Chatbox color doesn't work. (the color doesn't change and stays the default one)

Minecraft Info
Minecraft information:

  • AdvancedChat version 1.3.2-1.18
  • AdvancedChatBox,Filters,HUD,Log version 1.1.1

To Reproduce
Steps to reproduce the behavior:
See the attachment video. (neither of the colors work, not just border)

Expected behavior
Expected chat box color to be changed.

Screenshots
See the attachment video.

Additional context
Added a screenshot with the list of all my mods.

2021-12-22.08-38-30.mp4

explorer_UoZBMD0PrJ

[BUG] Crashes when closing a string or an object with " or } while typing a chat component

Describe the bug

AdvancedChatBox crashes when you try to close a string with " or ' , also closing an object with } crashes the game. This problem only occurs when typing a chat component; like /tellraw and /title commands are affected, but not /summon or /data command.
Looks like it's struggling trying to colorize a completed string or an object.

Also the problem does not occur when typing in a command block. You can only reproduce this bug in chat.

Minecraft Info

Minecraft information:

  • Minecraft 1.18.2
  • fabric loader 0.13.3
  • fabric API 0.48.0
  • AdvancedChatBox 1.1.3
  • AdvancedChatCore 1.4.4
  • Mallilib 0.12.1
  • ModMenu 3.1.0

Config

  • In AdvancedChat Config -> Box -> Configure Formatters -> Custom Command Highlighting is turned ON.
  • No other settings affected this problem.

The problem also occurs on Minecraft 1.18**.1**

To Reproduce

Steps to reproduce the behavior:

  1. Join any (local/server) game.
  2. Make sure the formatter is ON.
  3. Open chat.
  4. Type any chat-related command and close a string with " or an object with }
  5. The game crashes!

For step 4, easy examples are

/tellraw @s ""
/title @s title {"text":"title"}

You can either type manually or copy-paste the text to reproduce the bug.

( I don't think it's because of blackout occurred in some parts of Japan yesterday - I'm pretty sure no data is corrupted. )

Expected behavior

/tellraw @s "Hello!"

"Hello!" should be colored and the game continues running.

Screenshots

This is a screenshot of the moment before crashing:

Crash-ACB-1182 (1)

Additional context

This is a crash report when typing ```/tellraw @s ""`` (length is 14, " is at 13th and 14th char)

crash-2022-03-17_13.40.04-client.txt

This is another crash report when typing /summon zombie ~ ~ ~ {}

crash-2022-03-17_13.42.39-client.txt

[BUG] Two spaces in a row makes messages not send - version 1.1.5

Describe the bug
When sending a message to chat, I found it sometimes didn't send. I was taught to double space after a period and it's so engrained that it took me 3 days to figure out why messages weren't sending.

Minecraft Info
Minecraft information:

  • AdvancedChat version 1.5.4

To Reproduce
Steps to reproduce the behavior:

  1. Type a word followed by two spaces followed by another word and press Enter

Expected behavior
message gets sent to chat

Actual behavior
Message doesn't send. It is still in the history, however, so I can hit 't' and then press UP and the message appears in the chat box.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.