MultiMC / Launcher

A custom launcher for Minecraft that allows you to easily manage multiple installations of Minecraft at once
https://multimc.org/
Other
4.32k stars 883 forks source link

Custom jar launching another custom jar? #1996

Closed filip3712 closed 7 years ago

filip3712 commented 7 years ago

System Information

MultiMC version: Latest Develop-1068 Operating System: W10 Summary of the issue or suggestion: What if add custom jar to instance and this customjar trying run custom minecraft client? Something like "loader" a Minecraft Client(?) I'm trying something like this but i get this error:

java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:193) at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:254) at org.multimc.EntryPoint.listen(EntryPoint.java:162) at org.multimc.EntryPoint.main(EntryPoint.java:53) Caused by: java.lang.ClassNotFoundException: net.minecraft.client.main.Main at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at xxx.test.launcher.xxxLauncher.main(xxxLauncher.java:27) ... 8 more

I don't know where to put my custom minecraft client... i don't know where this searching (lol)

Sorry for my english.

Chew commented 7 years ago

Like a different client (e.g. hacked client)? In the versions tab, you have to Add Jar Mod (in Advanced, bottom right of the version tab). Then add the extracted client.jar there. That's how I got it, if that doesn't work, it might be a problem with the client.jar

filip3712 commented 7 years ago

Most player and servers in Poland using Custom Minecraft Client from group "BlazingPack" this client is protected from hack/xray txt/cheat engine/xray, something like anty cheat and we can't edit this minecraft client .jar because he automatically download newest. Ckecking MD5 when starting or something. This client have 2 jars, starter/loader(?) and client. I can upload here if you want check this.

QuImUfu commented 7 years ago

i am not able to get this running as it is pretty different to a normal minecraft installation. If it is possible to start this BlazingPack client over MultiMC, it is not easy. Additionally this "BlazingPack" clearly violates the minecraft EULA, by redistributing a complete minecraft client and by offering a launcher you can play minecaft with, without an account.

peterix commented 7 years ago

Probably not, but I'll look into it.

peterix commented 7 years ago

It definitely is not following the EULA.

peterix commented 7 years ago

It seems heavily obfuscated. Do not use this, do not trust this. It does really shady things no application should.