Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game Crashes When Using "#goto" command in Baritone 1.20.1 Fabric Beta V1 #4142

Closed
4 tasks done
Type-32 opened this issue Oct 3, 2023 · 4 comments
Closed
4 tasks done
Labels
bug Something isn't working

Comments

@Type-32
Copy link

Type-32 commented Oct 3, 2023

Some information

Operating system: Windows 11
Java version: JDK 17
Minecraft version: 1.20.1
Baritone version: baritone-api-fabric-1.20.1-beta-v1.jar
Other mods (if used): Sodium, iris, indium, etc.

Exception, error or logs

crash-2023-10-03_15.29.50-client.txt
latest.log

How to reproduce

  1. Go on to a multiplayer server or a singleplayer world
  2. Run the "#goto" command with any parameters (I specifically did "#goto minecraft:barrel", but inputting other parameters also crashes the game)
  3. Game Crashes

Modified settings

image

Final checklist

  • I know how to properly use check boxes
  • I have included the version of Minecraft I'm running, baritone's version and forge mods (if used).
  • I have included logs, exceptions and / or steps to reproduce the issue.
  • I have not used any OwO's or UwU's in this issue.
@Type-32 Type-32 added the bug Something isn't working label Oct 3, 2023
@ZacSharp
Copy link
Collaborator

ZacSharp commented Oct 3, 2023

Probably a duplicate of #4112 (also suspected in #4071)

Can you maybe reproduce this using an unoptimized build and post the log?

@Type-32
Copy link
Author

Type-32 commented Oct 4, 2023

Stable Version: baritone-api-fabric-1.10.1.jar (From CurseForge)
Beta Version: baritone-api-fabric-1.20.1-elytra-beta-v1.jar (From Baritone Discord)

I'm not sure where to get the unoptimized build for the version of baritone I'm using... the version I used is in the discord #announcement channel and is said to be a beta test.

However I used the stable posted version of baritone for 1.20.1 and that had no issues. It happens when I use the #goto command (in beta baritone), regardless of the block I'm trying to find, but in the stable release for 1.20.1 it doesn't crash and functions normally.

I checked the crash logs myself and is able to duplicate it on a singleplayer world: This seems to happen due to an IndexOutOfBoundsException being thrown, probably related to the function "scanChunkRadius()"

This bug seems to be exclusive to the beta baritone 1.20.1. I'm going to revert to using the stable version instead...

@ZacSharp
Copy link
Collaborator

ZacSharp commented Oct 4, 2023

I'm not sure from what commit the beta on the discord is built so you'd have to ask there.

The reason I asked for an unobfuscated log is that it would not only contain some random unobfuscated name 5 calls up the stack but also the name of the erroring function itself and even a precise line number where the exception happened.
Though that's not as important anymore since I'm now confident that this is the same bug as #4112 and the author of that issue did reproduce it using an unobfuscated build and it seems like they even found the reason for the exception.

Baritone does not have official CurseForge releases.

@Type-32
Copy link
Author

Type-32 commented Oct 6, 2023

image
The image above is the version of the "beta version of baritone" I keep referring to (I am honestly not sure if I am allowed to upload the actual mod file here), which is already in discord.

Regarding the baritone version I got from curseforge, it is from this page here which I am fully aware of that it is not an official page of baritone but my diction is just incorrect.

I rechecked (checked it two times before but missed some stuff) again the issue you had mentioned and the logs that that player had gave looks similar to of what I had.

Thanks for the help. :)

@Type-32 Type-32 closed this as completed Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants