Post subject: Custom Minecraft Launcher Posted: Fri Dec 09, 2011 12:06 am
Amateur Beta Collector
Joined Thu Nov 10, 2011 11:52 pm
Posts 144
Favourite OS Longhorn 4083
EDIT: I'm still working on the launcher, but I found a launcher called Magic Launcher, that supports plugins. I made a new version of my launcher that supported plugins, but you still need to delete META-INF - if that is alright with everyone, I'll post that version. Otherwise I'll keep working on it privately.
I am working on a custom Minecraft launcher. Download it and test it and tell me if there's any bugs!! Any suggestions for features would be appreciated.
Post subject: Re: Custom Minecraft Launcher Posted: Fri Dec 09, 2011 12:35 am
Pro Beta Collector
Joined Sat May 15, 2010 1:59 am
Posts 455
Location Virginia, North America
Favourite OS Longhorn 4074
what the heck. then why am I getting this?
Exception in thread "main" java.lang.UnsupportedClassVersionError: net/minecraft /MinecraftLauncher : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) Could not find the main class: net.minecraft.MinecraftLauncher. Program will exit.
Post subject: Re: Custom Minecraft Launcher Posted: Fri Dec 09, 2011 1:52 am
Site Administrator
Joined Tue Feb 12, 2008 5:28 pm
Posts 3085
Can I ask what the main purpose of this launcher is? If it's just an app to launch it with the proper java options then I can understand it, but if it's used to circumvent the online mode of Mojangs servers then I am afraid we can't allow it here. Could you perhaps detail out the functions of the launcher?
Post subject: Re: Custom Minecraft Launcher Posted: Fri Dec 09, 2011 1:56 am
Amateur Beta Collector
Joined Thu Nov 10, 2011 11:52 pm
Posts 144
Favourite OS Longhorn 4083
I am writing it because I am not connected to the internet most of the time I play MineCraft, and I like to play on my own bukkit server on LAN. But it just says I'm called 'Player', so I fixed that.
If it does allow you to play while connected to the internet, but with wrong account details, please tell me!!
Also, I am trying to make it load in additional jar files before minecraft.jar, so that I can for example load SinglePlayerCommands, without having to place the files inside minecraft.jar, but I haven't implemented this yet.
Post subject: Re: Custom Minecraft Launcher Posted: Fri Dec 09, 2011 3:46 pm
Site Moderator
Joined Thu Oct 23, 2008 3:25 am
Posts 2623
Location Earth.
Favourite OS Real Life
betaluva wrote:
dumb question ,is there a "offline" version of Minecraft? ( keep in mind,i know NOTHING about Minecraft ), my brother asked me to find out. thx
The official Minecraft client does not support offline mode, as it would be possible to abuse it and play on 'offline mode' servers (like mine) That is why the OP is creating this client, so that they can play without internet. There are other launchers that can do this already, but this one is designed for offline SinglePlayer only, and the other launchers are designed with piracy in mind.
Post subject: Re: Custom Minecraft Launcher Posted: Sat Dec 10, 2011 12:36 am
Amateur Beta Collector
Joined Thu Nov 10, 2011 11:52 pm
Posts 144
Favourite OS Longhorn 4083
Jecag wrote:
Turns out Java 7 in fact *is* needed. q3hardcore, it does attempt to validate when there is an internet connection present so I say that it works.
I also don't think that daisychaining code like that is a good idea...
I have done extensive testing of "daisychaining code" and have encountered no problems. The only thing is that if you have "mods for mods", such as a mod that requires ModLoader, but must be placed in minecraft.jar to work, then you need to place the mod inside the same zip as ModLoader.
I use a batch file that puts the mods in the classpath, before minecraft.jar and lwjgl, then I directly launch the MineCraft applet. This however provides no opportunity to login, however you can still specify a name. So I am trying to implement this functionality in a launcher.
Post subject: Re: Custom Minecraft Launcher Posted: Mon Dec 12, 2011 7:40 am
Site Moderator
Joined Thu Oct 23, 2008 3:25 am
Posts 2623
Location Earth.
Favourite OS Real Life
Just an FYI, I discovered that the Windows copy of Minecraft has an offline launcher. It's as simple as trying to log in and then hitting "play offline" I don't know if the Mac or Linux versions have this, but if they do, then this thread would not be needed.
Post subject: Re: Custom Minecraft Launcher Posted: Mon Dec 12, 2011 11:38 pm
Amateur Beta Collector
Joined Thu Nov 10, 2011 11:52 pm
Posts 144
Favourite OS Longhorn 4083
I know that there already is an "offline launcher" built into the official MineCraft launcher. But it ignores the name that you type in and just calls you "Player". So when I join the bukkit server I run on my LAN, it says I'm Player, not q3hardcore. I made my launcher so that it will use the name that you typed in.
Try running it like this: "java -Xmx1024M -Xms1024M -jar q3h_minecraft.jar" And tell me if you see any errors.
Users browsing this forum: No registered users and 3 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum
All views expressed in these forums are those of the author and do not necessarily represent the views of the BetaArchive site owner.