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

crash on playing hypixel bedwars with the mods stuff on #114

Open
Cuteistfox opened this issue Nov 10, 2023 · 31 comments
Open

crash on playing hypixel bedwars with the mods stuff on #114

Cuteistfox opened this issue Nov 10, 2023 · 31 comments

Comments

@Cuteistfox
Copy link
Contributor

Cuteistfox commented Nov 10, 2023

it seems like io.github.axolotlclient.modules.hypixel.bedwars.BedwarsGame.getSelf() returns null

log

[12:06:38] [Render thread/ERROR]:
 Unreported exception thrown!
java.lang.NullPointerException: Cannot invoke "io.github.axolotlclient.modules.hypixel.bedwars.BedwarsPlayer.isBed()" because the return value of "io.github.axolotlclient.modules.hypixel.bedwars.BedwarsGame.getSelf()" is null
	at net.minecraft.class_329.localvar$zgb000$axolotlclient$displayHardcoreHearts(class_329.java:3057) ~[transformed-mod-minecraft.i0:0/:?]
	at net.minecraft.class_329.method_37298(class_329.java:946) ~[transformed-mod-minecraft.i0:0/:?]
	at net.minecraft.class_329.method_1760(class_329.java:830) ~[transformed-mod-minecraft.i0:0/:?]
	at net.minecraft.class_329.method_1753(class_329.java:214) ~[transformed-mod-minecraft.i0:0/:?]
	at net.minecraft.class_757.method_3192(class_757.java:926) ~[transformed-mod-minecraft.i0:0/:?]
	at net.minecraft.class_310.method_1523(class_310.java:1219) ~[transformed-mod-minecraft.i0:0/:?]
	at net.minecraft.class_310.method_1514(class_310.java:802) ~[transformed-mod-minecraft.i0:0/:?]
	at net.minecraft.client.main.Main.main(Main.java:250) ~[1.20.1-0.21.2.jar:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
	at org.quiltmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:551) ~[quilt-loader-0.21.2.jar:?]
	at org.quiltmc.loader.impl.launch.knot.Knot.launch(Knot.java:84) ~[quilt-loader-0.21.2.jar:?]
	at org.quiltmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:28) ~[quilt-loader-0.21.2.jar:?]
[12:06:39] [Render thread/INFO]:
 Stopping worker threads

mods

3d skin layers
chat heads
betterf3
axolotil client
cosmetica
ferritecore
lithium
mod menue
no chat reports
QKL
QSL and QFAPI
indium plus sudium
wavey capes
replay mod

@moehreag
Copy link
Member

Could you please attach the full crash log (f.e. uploaded to https://mclo.gs)? And are you using Hypixel's nick feature by any chance?

@Cuteistfox
Copy link
Contributor Author

mclo.gs/knqfQgO (no crash report was made)

@Cuteistfox
Copy link
Contributor Author

and what is the nick fature?

@moehreag
Copy link
Member

and what is the nick fature?

It's a feature mainly for content creators to nick themselves (to not get targeted)

@Cuteistfox
Copy link
Contributor Author

i dont use the nick feature

@moehreag
Copy link
Member

i dont use the nick feature

I figured and unfortunately I have no idea what caused this error.

@Cuteistfox
Copy link
Contributor Author

im cheking the codee for io.github.axolotlclient.modules.hypixel.bedwars.BedwarsGame

@Cuteistfox
Copy link
Contributor Author

theres also deprecated arrays all over the dpendecias part of the quilt.mod.json

12:11:20] [main/WARN]: Warnings for quilt.mod.json at: '<mods>/AxolotlClient-3.0.5+1.20.1.jar!/META-INF/jars/networking-6.0.3+1.20.1.jar!/quilt.mod.json'
[12:11:20] [main/WARN]: - Deprecated array format for dependencies: see https://github.com/QuiltMC/rfcs/pull/56 for more information.
[12:11:20] [main/WARN]: - Unnecessary dependency range 1.20.1 at line 31 column 7 path $.quilt_loader.depends[1].versions[0] (resolves as [1.20.1, 2)), since it doesn't affect the result [1.20, 2)
[12:11:20] [main/WARN]: Warnings for quilt.mod.json at: '<mods>/AxolotlClient-3.0.5+1.20.1.jar!/META-INF/jars/AxolotlClient-config-2.1.13+1.20.1.jar!/META-INF/jars/qsl_base-6.0.3+1.20.1.jar!/quilt.mod.json'
[12:11:20] [main/WARN]: - Deprecated array format for dependencies: see https://github.com/QuiltMC/rfcs/pull/56 for more information.
[12:11:20] [main/WARN]: - Unnecessary dependency range 1.20.1 at line 31 column 7 path $.quilt_loader.depends[1].versions[0] (resolves as [1.20.1, 2)), since it doesn't affect the result [1.20, 2)
[12:11:20] [main/WARN]: Warnings for quilt.mod.json at: '<mods>/AxolotlClient-3.0.5+1.20.1.jar!/META-INF/jars/AxolotlClient-config-2.1.13+1.20.1.jar!/META-INF/jars/lifecycle_events-6.0.3+1.20.1.jar!/quilt.mod.json'
[12:11:20] [main/WARN]: - Deprecated array format for dependencies: see https://github.com/QuiltMC/rfcs/pull/56 for more information.
[12:11:20] [main/WARN]: - Unnecessary dependency range 1.20.1 at line 31 column 7 path $.quilt_loader.depends[1].versions[0] (resolves as [1.20.1, 2)), since it doesn't affect the result [1.20, 2)
[12:11:20] [main/WARN]: Warnings for quilt.mod.json at: '<mods>/AxolotlClient-3.0.5+1.20.1.jar!/META-INF/jars/AxolotlClient-config-2.1.13+1.20.1.jar!/META-INF/jars/resource_loader-6.0.3+1.20.1.jar!/quilt.mod.json'
[12:11:20] [main/WARN]: - Deprecated array format for dependencies: see https://github.com/QuiltMC/rfcs/pull/56 for more information.

@Cuteistfox
Copy link
Contributor Author

but i doud thats causing the bug

@moehreag
Copy link
Member

theres also deprecated arrays all over the dpendecias part of the quilt.mod.json

12:11:20] [main/WARN]: Warnings for quilt.mod.json at: '<mods>/AxolotlClient-3.0.5+1.20.1.jar!/META-INF/jars/networking-6.0.3+1.20.1.jar!/quilt.mod.json'
[12:11:20] [main/WARN]: - Deprecated array format for dependencies: see https://github.com/QuiltMC/rfcs/pull/56 for more information.
[12:11:20] [main/WARN]: - Unnecessary dependency range 1.20.1 at line 31 column 7 path $.quilt_loader.depends[1].versions[0] (resolves as [1.20.1, 2)), since it doesn't affect the result [1.20, 2)
[12:11:20] [main/WARN]: Warnings for quilt.mod.json at: '<mods>/AxolotlClient-3.0.5+1.20.1.jar!/META-INF/jars/AxolotlClient-config-2.1.13+1.20.1.jar!/META-INF/jars/qsl_base-6.0.3+1.20.1.jar!/quilt.mod.json'
[12:11:20] [main/WARN]: - Deprecated array format for dependencies: see https://github.com/QuiltMC/rfcs/pull/56 for more information.
[12:11:20] [main/WARN]: - Unnecessary dependency range 1.20.1 at line 31 column 7 path $.quilt_loader.depends[1].versions[0] (resolves as [1.20.1, 2)), since it doesn't affect the result [1.20, 2)
[12:11:20] [main/WARN]: Warnings for quilt.mod.json at: '<mods>/AxolotlClient-3.0.5+1.20.1.jar!/META-INF/jars/AxolotlClient-config-2.1.13+1.20.1.jar!/META-INF/jars/lifecycle_events-6.0.3+1.20.1.jar!/quilt.mod.json'
[12:11:20] [main/WARN]: - Deprecated array format for dependencies: see https://github.com/QuiltMC/rfcs/pull/56 for more information.
[12:11:20] [main/WARN]: - Unnecessary dependency range 1.20.1 at line 31 column 7 path $.quilt_loader.depends[1].versions[0] (resolves as [1.20.1, 2)), since it doesn't affect the result [1.20, 2)
[12:11:20] [main/WARN]: Warnings for quilt.mod.json at: '<mods>/AxolotlClient-3.0.5+1.20.1.jar!/META-INF/jars/AxolotlClient-config-2.1.13+1.20.1.jar!/META-INF/jars/resource_loader-6.0.3+1.20.1.jar!/quilt.mod.json'
[12:11:20] [main/WARN]: - Deprecated array format for dependencies: see https://github.com/QuiltMC/rfcs/pull/56 for more information.

This is caused by the qsl modules (embedded in the mod, will be left out in the future) being old and still using this now deprecated format

@Cuteistfox
Copy link
Contributor Author

and it seems like hypixels sending bad packets

[12:11:54] [Render thread/WARN]: Received packet for unknown team a818536d2b44: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team NPCListShow: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team |||||||||||||||: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team a289-27a5b1b8: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team a818-1f73a47e: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team a309-1caf72fb: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team a828-57a839e6: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team a999-76d80d5f: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team qg61174o1o: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team a828-238b2c3a: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team a908-b2fb9fd: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team a409490ea5b6: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team a908163bf9aa: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team a2691ed5b53b: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team a6296385b82a: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team team_1: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team 053q1o43w6: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team a239-7788c508: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team a23931cee4f7: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team a60966d6cb33: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team a90816408351: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team a679-79569b33: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team a6794e8b797a: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team a679-278d515b: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team a818-5aed9749: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team a808-7e9f192f: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team team_15: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team a5697e536498: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team team_13: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team team_14: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team team_11: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team a908203421f7: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team team_12: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team NPCListHide: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team team_10: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team team_9: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team a828-7c93305b: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team team_8: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team team_7: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team team_6: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team team_5: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team team_4: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team team_3: team action: REMOVE, player action: null
[12:11:54] [Render thread/WARN]: Received packet for unknown team team_2: team action: REMOVE, player action: null

@moehreag
Copy link
Member

it always does that, the only thing you can do about that is ignore the logspam it causes

@Cuteistfox
Copy link
Contributor Author

hypixel i dont use badlion!

[12:12:15] [Render thread/WARN]: Unknown custom packed identifier: badlion:timers
[12:12:15] [Render thread/WARN]: Unknown custom packed identifier: badlion:timers
[12:12:15] [Render thread/WARN]: Unknown custom packed identifier: badlion:timers
[12:12:15] [Render thread/WARN]: Unknown custom packed identifier: badlion:timers
[12:12:15] [Render thread/WARN]: Unknown custom packed identifier: badlion:timers
[12:12:15] [Render thread/WARN]: Unknown custom packed identifier: badlion:timers
[12:12:15] [Render thread/WARN]: Unknown custom packed identifier: badlion:timers
[12:12:15] [Render thread/WARN]: Unknown custom packed identifier: badlion:timers
[12:12:15] [Render thread/WARN]: Unknown custom packed identifier: badlion:timers

why does hypixel always clutter my logs with stuff for badlion

@moehreag
Copy link
Member

hypixel i dont use badlion!

[12:12:15] [Render thread/WARN]: Unknown custom packed identifier: badlion:timers
[12:12:15] [Render thread/WARN]: Unknown custom packed identifier: badlion:timers
[12:12:15] [Render thread/WARN]: Unknown custom packed identifier: badlion:timers
[12:12:15] [Render thread/WARN]: Unknown custom packed identifier: badlion:timers
[12:12:15] [Render thread/WARN]: Unknown custom packed identifier: badlion:timers
[12:12:15] [Render thread/WARN]: Unknown custom packed identifier: badlion:timers
[12:12:15] [Render thread/WARN]: Unknown custom packed identifier: badlion:timers
[12:12:15] [Render thread/WARN]: Unknown custom packed identifier: badlion:timers
[12:12:15] [Render thread/WARN]: Unknown custom packed identifier: badlion:timers

why does hypixel always clutter my logs with stuff for badlion

They seem to offer integration with one of badlion's modules and this is how it looks if you don't use it

@Cuteistfox
Copy link
Contributor Author

it turns out theres a mod to dissable hypixel badlion logspam

@Cuteistfox
Copy link
Contributor Author

Cuteistfox commented Nov 11, 2023

what is transformed-mod-minecraft? (is it part of the QSL or what)

@moehreag
Copy link
Member

it's minecraft's game jar, the "transformed-mod-" part is made by quilt loader and its TransformCache (for allowing a little faster startups etc)

@Cuteistfox
Copy link
Contributor Author

why does quilt care so much about io.github.axolotlclient.modules.hypixel.bedwars.BedwarsGame.getSelf() not being null

@moehreag
Copy link
Member

Quilt doesn't at all, it just appears in the stacktrace since it wraps the game

@moehreag
Copy link
Member

You can definitely work around this possible bug by disabling hardcore hearts in the bedwars module, I'm not sure why this error happened in the first place.

@Cuteistfox
Copy link
Contributor Author

i wish i could get a backtrace

@Cuteistfox
Copy link
Contributor Author

i cant even find io.github.axolotlclient.modules.hypixel.bedwars.BedwarsPlayer.isBed()

@moehreag
Copy link
Member

(it has a lombok gettter attached to it from the @Data annotation)

@Cuteistfox
Copy link
Contributor Author

@Cuteistfox
Copy link
Contributor Author

im not great at using java BTW so im mainly debuging this as a learning exersise

@moehreag
Copy link
Member

for (Map.Entry<BedwarsTeam, List<PlayerListEntry>> teamPlayerList : teamPlayers.entrySet()) {
teamPlayerList.getValue().sort(Comparator.comparing(p -> p.getProfile().getName()));
List<PlayerListEntry> value = teamPlayerList.getValue();
for (int i = 0; i < value.size(); i++) {
PlayerListEntry e = value.get(i);
BedwarsPlayer p = new BedwarsPlayer(teamPlayerList.getKey(), e, i + 1);
if (mc.player.getGameProfile().getName().equals(e.getProfile().getName())) {
me = p;
}
players.put(e.getProfile().getName(), p);
playersById.put(e.getProfile().getId(), p);
}
}
this.started = true;
}

The inherent flaw likely is somewhere in here since the self player isn't set in both instances

@Cuteistfox
Copy link
Contributor Author

useing not enoth crashes when this crashes somehow makes the mc screen go to the dirt backround without saying (back to playing"

@Cuteistfox
Copy link
Contributor Author

now "io.github.axolotlclient.modules.hypixel.bedwars.BedwarsPlayer.getStats()" is cuasing th breaking log

@Cuteistfox
Copy link
Contributor Author

porlby due to my changed config

@Cuteistfox
Copy link
Contributor Author

if u want to isolate variables dont hire me

@Cuteistfox
Copy link
Contributor Author

java Cannot invoke "io.github.axolotlclient.modules.hypixel.bedwars.BedwarsPlayer.getStats()" because "this.me" is null

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants