Open OscarFan26 opened 1 year ago
It seems that you didn't include the hypixel api mod listed in the readme.
I've also been looking for a development environment where I can use mixins, that'll help a lot in making this mod easier to maintain and extend. If you can help me with that, please do!
Thank you for responding me so fast. In fact, I've put HypixelPublicAPIMod in the MOD Directory. But it still crashes.
I saw the crash log just now. It did said it cant found the HypixelAPIMod. But i did put it. Really Weird.
Just to be sure, did you put it in mod
or mods
?
I put them in mods
both in direactory mods
I have the same problem, it crashes, pls fix it
@GrizzlT @Everyone This issue is still not fixed. Thank you for answering though.
To everyone who see this: I have a replace plan: https://github.com/sbplat/Stats-Overlay/releases/tag/v1.1.0 But if you don't like this plan, you can use bing.com to search "hypixel overlay" and choose a random github.com link, and follow their steps (don't click this link lol) and everything is ok.
To GrizzlT: Hope you can fix this bug or whatever. Thanks.
@OscarFan26 Well, I dont wanna use external overlay, i just need a mod that shows other players' bedwars stats
@ItzKerry It seems that there isn't an option if you want to have a MOD tho. Can you send me your crash log of minecraft so I can see if you encountered the same problem?
@ItzKerry You're experiencing the exact same problem. @GrizzlT I suggest you should look at the HYPIXEL-API-Mod's class def. I'm sure that minecraft loads this mod while launching, tho it can't find it. So sure that something's wrong with your Class Definination.
@OscarFan26 @ItzKerry I'm currently quite busy for the next couple of weeks. I don't wanna forget this issue though.
One more thing I could suggest: in the crash log, you both seemed to be using version 2.0.2
, have you tested 2.0.3
already?
yes, I did, still crash
Whatever, I will study your code. Very Interesting. Maybe i can help you...
Im a noob at minecraft mod, but it seems that at /src/main/java/com/github/hypixelstatsoverlay/HypixelStatsOverlay.java Line 1
You use:
import com.github.grizzlt.hypixelpublicapi.HypixelPublicAPIModApi;
But in fact, the correct path is:
com.github.grizzlt.hypixelapimod.api
I don't know why you do this. Maybe im a noob, or you make a mistake.
Note that my path i mentioned may not be correct. Please check your repo's path.
@GrizzlT
correction: Code line 3
@OscarFan26 so thats the error?
im going to try it
Seems like you spotted a mistake! I remember gradle being a pain so that might be why. I think you located the error! :)
@GrizzlT pls fix it if you can
Im trying to fix it... But it's kinda complicated tho
I fix t, but maybe not completely. I try to build it using GRADLE, but due to my bad network, it failed. SO IM NOT SURE IF MY VERSION IS COMPLETELY CORRECT. And im in CHINA, when i visit github, there's no css and js :(
check this out:
cant access @OscarFan26
the fix version working?
i said idk because of my bad network. and like it's going to download forever. and it never finishes because it stop downloading at 4 minutes saying timeout. note> after building it, it will generate JAR mod so i can test it.
@OscarFan26 bro you have to set it to public or something, i cant access it
sure. plz wait a sec. my vpn worked now, sry
test and build at own risk. :)
@GrizzlT Do you know where to put the GRADLE dependencies? The BAT file can't download it, and i download it manually, but idk where to put. I thought it should be /gradle/wrapper/dists, but it didnt work.
'https://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/2.1-SNAPSHOT/ForgeGradle-2.1-20211118.174922-42.jar'
@GrizzlT BTW Your Gradle version is too old. Consider upgrade to 3.x versions? May that affect the bug?
have you build and test it yet? @OscarFan26
btw, in "src/main/java/com/github/grizzlt/hypixelstatsoverlay/HypixelStatsOverlayMod.java" line 3 is incorrect, not "apii"
And there are many error inside it, i tried to fix it but build failed, idk why
thx.
could you describe what build errors you encountered?
My Problem is:
Download https://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/2.1-SNAPSHOT/ForgeGradle-2.1-20211118.174922-42.jar
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'HypixelStatsOverlayMod'.
> Could not resolve all dependencies for configuration ':classpath'.
> Could not download ForgeGradle.jar (net.minecraftforge.gradle:ForgeGradle:2.1-SNAPSHOT)
> Could not close resource 'https://files.minecraftforge.net/maven/net/minecraftforge/gradle/ForgeGradle/2.1-SNAPSHOT/ForgeGradle-2.1-20211118.174922-42.jar'.
> Premature end of Content-Length delimited message body (expected: 14510354; received: 9299384
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
@GrizzlT Please fix your gradle, i believe that one or more of those classpath 's urls has out-of-date.
btw that im using mac so i cant really build it
NOTE: @GrizzlT Your new version of 2.0.3 still doesn't work to me tho. Still the same error. Plz check all your imports ' path with the HypixelPublicApi.If you still can't fix it, i recommend you to combine it.
@GrizzlT Are you still there? Can you fix this bug, or you got something?
@OscarFan26 I haven't forgotten this project. I am quite packed with work so I don't have the time to revisit this project and set up the testing environment anymore. If you are willing to, you could try to understand how this project work and fix the wrong imports (that's the issue rn as I see it).
I hope you find something soon!
I put this mod with the HypixelAPI mod into directory
mod
and it crashed then.crash-2022-12-23_09.46.57-client.txt