GrizzlT / HypixelStatsOverlayMod

DISCLAIMER - NO ACTIVE DEVELOPMENT -- A handy mod to show stats in-game whilst on the Hypixel server!
Other
3 stars 1 forks source link

My Game Crashed #2

Open OscarFan26 opened 1 year ago

OscarFan26 commented 1 year ago

I put this mod with the HypixelAPI mod into directory mod and it crashed then.

crash-2022-12-23_09.46.57-client.txt

GrizzlT commented 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!

OscarFan26 commented 1 year ago

Thank you for responding me so fast. In fact, I've put HypixelPublicAPIMod in the MOD Directory. But it still crashes.

OscarFan26 commented 1 year ago

I saw the crash log just now. It did said it cant found the HypixelAPIMod. But i did put it. Really Weird.

GrizzlT commented 1 year ago

Just to be sure, did you put it in mod or mods?

OscarFan26 commented 1 year ago

I put them in mods

OscarFan26 commented 1 year ago

both in direactory mods

ImToggle commented 1 year ago

I have the same problem, it crashes, pls fix it

OscarFan26 commented 1 year ago

@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.

ImToggle commented 1 year ago

@OscarFan26 Well, I dont wanna use external overlay, i just need a mod that shows other players' bedwars stats

OscarFan26 commented 1 year ago

@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?

ImToggle commented 1 year ago

sure crash-2022-12-30_01.49.25-client.txt

OscarFan26 commented 1 year ago

@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.

GrizzlT commented 1 year ago

@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?

ImToggle commented 1 year ago

yes, I did, still crash

OscarFan26 commented 1 year ago

Whatever, I will study your code. Very Interesting. Maybe i can help you...

OscarFan26 commented 1 year ago

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

OscarFan26 commented 1 year ago

correction: Code line 3

ImToggle commented 1 year ago

@OscarFan26 so thats the error?

ImToggle commented 1 year ago

im going to try it

GrizzlT commented 1 year ago

Seems like you spotted a mistake! I remember gradle being a pain so that might be why. I think you located the error! :)

ImToggle commented 1 year ago

@GrizzlT pls fix it if you can

OscarFan26 commented 1 year ago

Im trying to fix it... But it's kinda complicated tho

OscarFan26 commented 1 year ago

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 :(

OscarFan26 commented 1 year ago

check this out:

https://gitee.com/oscar_runrun/statsoverlay

ImToggle commented 1 year ago

cant access @OscarFan26

ImToggle commented 1 year ago

the fix version working?

OscarFan26 commented 1 year ago

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.

ImToggle commented 1 year ago

@OscarFan26 bro you have to set it to public or something, i cant access it

OscarFan26 commented 1 year ago

sure. plz wait a sec. my vpn worked now, sry

OscarFan26 commented 1 year ago

https://github.com/OscarFan26/hystats_ovrly

OscarFan26 commented 1 year ago

test and build at own risk. :)

OscarFan26 commented 1 year ago

@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'

OscarFan26 commented 1 year ago

@GrizzlT BTW Your Gradle version is too old. Consider upgrade to 3.x versions? May that affect the bug?

ImToggle commented 1 year ago

have you build and test it yet? @OscarFan26

ImToggle commented 1 year ago

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

OscarFan26 commented 1 year ago

thx.

OscarFan26 commented 1 year ago

could you describe what build errors you encountered?

OscarFan26 commented 1 year ago

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                
OscarFan26 commented 1 year ago

@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

OscarFan26 commented 1 year ago

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.

OscarFan26 commented 1 year ago

@GrizzlT Are you still there? Can you fix this bug, or you got something?

GrizzlT commented 1 year ago

@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!