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

[Bug]: Prometheus integration doesn't work #64

Open
5 tasks done
marlester-dev opened this issue Dec 2, 2024 · 6 comments
Open
5 tasks done

[Bug]: Prometheus integration doesn't work #64

marlester-dev opened this issue Dec 2, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@marlester-dev
Copy link

Bug Description

I downloaded Prometheus v1.2.5 and Cadmus v1.0.8.
I typed in "/roles open"
I created a new role with 9999 max chunk claims
I gave myself the role with "/member nick addrole 317bd691-2fd9-4aa8-b0db-d8284256d7ed"
I opened the claim map. I still had 1089 max claims

How to Reproduce?

Download Prometheus v1.2.5 and Cadmus v1.0.8.
Type in "/roles open"
Create a new role with 9999 max chunk claims
Give yourself the role with "/member nick addrole roleid"
Open the claim map. It still has 1089 max claims

Expected Behavior

I have 9999 max chunks in claim map

Version

v1.0.8

Mod Loader Version

1.20.1 - 0.16.9

Mod Loader

Fabric

Logs or additional context

No response

Code of Conduct

  • I have searched the issue tracker and confirmed that the issue has not been reported
  • I have checked the FAQ (if one is present) and my issue is not listed
  • I have verified that I am using the latest version of the mod
  • I have verified that I have installed all the required dependencies for the mod
  • I have verified that I do not have Optifine installed. We will close issues if we detect Optifine is in your pack. We cannot fix Optifine issues. Please do not report issues with Optifine present.
@marlester-dev marlester-dev added the bug Something isn't working label Dec 2, 2024
@marlester-dev
Copy link
Author

my mods: https://pastebin.com/wjA9it6w

@marlester-dev
Copy link
Author

on a dedicated server

@marlester-dev
Copy link
Author

[17:10:27] [Server thread/ERROR]: Error loading saved data: scoreboard
java.lang.NullPointerException: Cannot read the array length because the return value of "com.mojang.authlib.yggdrasil.response.ProfileSearchResultsResponse.getProfiles()" is null
at com.mojang.authlib.yggdrasil.YggdrasilGameProfileRepository.findProfilesByNames(YggdrasilGameProfileRepository.java:58) ~[authlib-4.0.43.jar:?]
at net.minecraft.class_3312.method_14509(class_3312.java:98) ~[server-intermediary.jar:?]
at net.minecraft.class_3312.method_14515(class_3312.java:150) ~[server-intermediary.jar:?]
at earth.terrarium.cadmus.common.teams.VanillaTeamProvider.lambda$getTeamMembers$0(VanillaTeamProvider.java:30) ~[cadmus-fabric-1.20.1-1.0.8.jar:?]
at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?]
at earth.terrarium.cadmus.common.teams.VanillaTeamProvider.getTeamMembers(VanillaTeamProvider.java:30) ~[cadmus-fabric-1.20.1-1.0.8.jar:?]
at earth.terrarium.cadmus.common.teams.TeamHelper.getTeamMembers(TeamHelper.java:34) ~[cadmus-fabric-1.20.1-1.0.8.jar:?]
at earth.terrarium.cadmus.common.compat.prometheus.PrometheusMaxClaimProvider.calculate(PrometheusMaxClaimProvider.java:20) ~[cadmus-fabric-1.20.1-1.0.8.jar:?]
at earth.terrarium.cadmus.api.teams.TeamProvider.onTeamChanged(TeamProvider.java:145) ~[cadmus-fabric-1.20.1-1.0.8.jar:?]
at earth.terrarium.cadmus.common.teams.VanillaTeamProvider.onTeamChanged(VanillaTeamProvider.java:97) ~[cadmus-fabric-1.20.1-1.0.8.jar:?]
at net.minecraft.class_2995.handler$cem000$cadmus$addPlayerToTeam(class_2995.java:526) ~[server-intermediary.jar:?]
at net.minecraft.class_2995.method_1172(class_2995.java:89) ~[server-intermediary.jar:?]
at net.minecraft.class_273.method_1215(class_273.java:93) ~[server-intermediary.jar:?]
at net.minecraft.class_273.method_1219(class_273.java:87) ~[server-intermediary.jar:?]
at net.minecraft.class_273.method_32481(class_273.java:32) ~[server-intermediary.jar:?]
at net.minecraft.class_2995.method_32704(class_2995.java:242) ~[server-intermediary.jar:?]
at net.minecraft.class_26.method_120(class_26.java:71) ~[server-intermediary.jar:?]
at net.minecraft.class_26.method_20786(class_26.java:58) ~[server-intermediary.jar:?]
at net.minecraft.class_26.method_17924(class_26.java:42) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_17976(MinecraftServer.java:308) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_3786(MinecraftServer.java:362) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_3735(MinecraftServer.java:324) ~[server-intermediary.jar:?]
at net.minecraft.class_3176.method_3823(class_3176.java:169) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:646) ~[server-intermediary.jar:?]
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:265) ~[server-intermediary.jar:?]
at java.lang.Thread.run(Thread.java:840) ~[?:?]

@marlester-dev
Copy link
Author

seems like the teams are corrupt

@marlester-dev
Copy link
Author

seems like some of my mods are modifying standard teams so that cadmus throws an error

@marlester-dev
Copy link
Author

installed agronauts and deleted cadmus data file but didnt work

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

1 participant