Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Problem with creating a launcher for my forge server


jobob
 Share

Recommended Posts

Hi guys,

I come here because i think no one in the french community can help me .. ><.

 

I've a MinecraftForge Server and i try to make a launcher for my serveur, i actually did it but i got a problem,

i need to change in something in the client :

 

In minecraft.java :

 

public static File getMinecraftDir()

    {

        if (minecraftDir == null)

        {

            minecraftDir = getAppDir("minecraft");

        }

 

Everyone say i need to change "minecraft" with "name_of_the_server" so i take eclipse, MCP and forge source.

But i got these error when i add a mods after doing the modification even if i'm changing nothing i got the same error. The mod who i tried to add is NotEnoughItem and i control it i've no problem of versions or bad install of forge i just got all the time this error :

 

 
2013-01-10 00:34:16 [iNFO] [ForgeModLoader] Forge Mod Loader version 4.7.4.520 for Minecraft 1.4.7 loading
2013-01-10 00:34:16 [iNFO] [sTDOUT] Adding Accesstransformer map: codechickencore_at.cfg
2013-01-10 00:34:17 [iNFO] [sTDOUT] FMLRelauncher.relaunchApplet
2013-01-10 00:34:17 [iNFO] [sTDERR] java.lang.reflect.InvocationTargetException
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Method.java:601)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at cpw.mods.fml.relauncher.FMLRelauncher.relaunchApplet(FMLRelauncher.java:230)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at cpw.mods.fml.relauncher.FMLRelauncher.appletEntry(FMLRelauncher.java:212)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at net.minecraft.client.MinecraftApplet.init(MinecraftApplet.java:25)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.fmlReentry(Minecraft.java:2326)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Method.java:601)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at cpw.mods.fml.relauncher.FMLRelauncher.relaunchClient(FMLRelauncher.java:111)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at cpw.mods.fml.relauncher.FMLRelauncher.handleClientRelaunch(FMLRelauncher.java:26)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.main(Minecraft.java:2235)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at Start.main(Start.java:29)
2013-01-10 00:34:17 [iNFO] [sTDERR] Caused by: java.lang.NoClassDefFoundError: cpw/mods/fml/common/registry/GameData
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at net.minecraft.item.Item.<init>(Item.java:250)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at net.minecraft.item.ItemTool.<init>(ItemTool.java:26)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at net.minecraft.item.ItemSpade.<init>(ItemSpade.java:12)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at net.minecraft.item.Item.<clinit>(Item.java:38)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at net.minecraft.block.Block.<clinit>(Block.java:1319)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at net.minecraft.client.renderer.texturefx.TextureWaterFX.<init>(TextureWaterFX.java:26)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.<init>(Minecraft.java:248)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at net.minecraft.client.MinecraftAppletImpl.<init>(MinecraftAppletImpl.java:19)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at net.minecraft.client.MinecraftApplet.fmlInitReentry(MinecraftApplet.java:32)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	... 16 more
2013-01-10 00:34:17 [iNFO] [sTDERR] Caused by: java.lang.ClassNotFoundException: cpw.mods.fml.common.registry.GameData
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:185)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	... 25 more
2013-01-10 00:34:17 [iNFO] [sTDERR] Caused by: java.lang.NullPointerException
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at codechicken.core.asm.FeatureHackTransformer.transform001(FeatureHackTransformer.java:39)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at codechicken.core.asm.FeatureHackTransformer.transform(FeatureHackTransformer.java:50)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at cpw.mods.fml.relauncher.RelaunchClassLoader.runTransformers(RelaunchClassLoader.java:228)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:173)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	... 27 more
2013-01-10 00:34:17 [iNFO] [sTDERR] java.lang.reflect.InvocationTargetException
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Method.java:601)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at cpw.mods.fml.relauncher.FMLRelauncher.relaunchClient(FMLRelauncher.java:111)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at cpw.mods.fml.relauncher.FMLRelauncher.handleClientRelaunch(FMLRelauncher.java:26)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.main(Minecraft.java:2235)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at Start.main(Start.java:29)
2013-01-10 00:34:17 [iNFO] [sTDERR] Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at cpw.mods.fml.relauncher.FMLRelauncher.relaunchApplet(FMLRelauncher.java:237)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at cpw.mods.fml.relauncher.FMLRelauncher.appletEntry(FMLRelauncher.java:212)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at net.minecraft.client.MinecraftApplet.init(MinecraftApplet.java:25)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.fmlReentry(Minecraft.java:2326)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	... 8 more
2013-01-10 00:34:17 [iNFO] [sTDERR] Caused by: java.lang.reflect.InvocationTargetException
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at java.lang.reflect.Method.invoke(Method.java:601)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at cpw.mods.fml.relauncher.FMLRelauncher.relaunchApplet(FMLRelauncher.java:230)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	... 11 more
2013-01-10 00:34:17 [iNFO] [sTDERR] Caused by: java.lang.NoClassDefFoundError: cpw/mods/fml/common/registry/GameData
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at net.minecraft.item.Item.<init>(Item.java:250)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at net.minecraft.item.ItemTool.<init>(ItemTool.java:26)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at net.minecraft.item.ItemSpade.<init>(ItemSpade.java:12)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at net.minecraft.item.Item.<clinit>(Item.java:38)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at net.minecraft.block.Block.<clinit>(Block.java:1319)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at net.minecraft.client.renderer.texturefx.TextureWaterFX.<init>(TextureWaterFX.java:26)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at net.minecraft.client.Minecraft.<init>(Minecraft.java:248)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at net.minecraft.client.MinecraftAppletImpl.<init>(MinecraftAppletImpl.java:19)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at net.minecraft.client.MinecraftApplet.fmlInitReentry(MinecraftApplet.java:32)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	... 16 more
2013-01-10 00:34:17 [iNFO] [sTDERR] Caused by: java.lang.ClassNotFoundException: cpw.mods.fml.common.registry.GameData
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:185)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	... 25 more
2013-01-10 00:34:17 [iNFO] [sTDERR] Caused by: java.lang.NullPointerException
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at codechicken.core.asm.FeatureHackTransformer.transform001(FeatureHackTransformer.java:39)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at codechicken.core.asm.FeatureHackTransformer.transform(FeatureHackTransformer.java:50)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at cpw.mods.fml.relauncher.RelaunchClassLoader.runTransformers(RelaunchClassLoader.java:228)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:173)
2013-01-10 00:34:17 [iNFO] [sTDERR] 	... 27 more

 

 

So what i'm suppose to do for change the .minecraft in .name_of_my_server whit forge ?

 

Thanks for answers

Link to comment
Share on other sites

And how i'm suppose to do whit launcher like MutliMc, to make a launcher who download the same mod I have on my server. That is not for playing minecraft forge lonely i need to make a launcher for the the server and I actually do it but i can't change where mods take place, i want them user the config file in the .name_of_my_server not in the .minecraft

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.