Jump to content

[1.8] iv been trying all day! please tell me what im doing wrong!


Recommended Posts

Posted

iv been trying to do a simple command and make it work multiplayer but i just cant figure it!

and i dont know if iv set proxies right

 

when i launch the client its fine but when i join a world minecraft is not responding

when i launch the server i get an error, here is the log:

---- Minecraft Crash Report ----
// On the bright side, I bought you a teddy bear!

Time: 20:49 08/01/15
Description: Exception in server tick loop

net.minecraftforge.fml.common.LoaderException: java.lang.ClassNotFoundException: com.shaharcoolmen.randcommands.proxy.CommonProxy
at net.minecraftforge.fml.common.ProxyInjector.inject(ProxyInjector.java:77)
at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:494)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:493)
at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:87)
at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:322)
at net.minecraft.server.dedicated.DedicatedServer.startServer(DedicatedServer.java:117)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:438)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: com.shaharcoolmen.randcommands.proxy.CommonProxy
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at net.minecraftforge.fml.common.ModClassLoader.loadClass(ModClassLoader.java:58)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:270)
at net.minecraftforge.fml.common.ProxyInjector.inject(ProxyInjector.java:60)
... 28 more
Caused by: java.lang.NullPointerException


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- System Details --
Details:
Minecraft Version: 1.8
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_67, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 66514712 bytes (63 MB) / 165175296 bytes (157 MB) up to 2097938432 bytes (2000 MB)
JVM Flags: 1 total; -Xincgc
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.10 FML v8.0.14.1281 Minecraft Forge 11.14.0.1281 4 mods loaded, 4 mods active
mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed
FML{8.0.14.1281} [Forge Mod Loader] (forgeBin-1.8-11.14.0.1281-1.8.jar) Unloaded->Constructed
Forge{11.14.0.1281} [Minecraft Forge] (forgeBin-1.8-11.14.0.1281-1.8.jar) Unloaded->Constructed
randcommands{1.8-1.0} [RandomCommands Mod] (1.8 random commands mod) Unloaded->Errored
Profiler Position: N/A (disabled)
Is Modded: Definitely; Server brand changed to 'fml,forge'
Type: Dedicated Server (map_server.txt)

i mean at least minecraft bought me a teddy bear

 

if you need to see the files so here you go:

soon im uploading now

[EDIT]

uploaded

http://www.mediafire.com/download/918u55uo30yycjg/random+commands+mod.zip

Doing stuff n' things

Posted

Can't find class: com.shaharcoolmen.randcommands.proxy.CommonProxy

 

I don't think you set up your proxy right and I'm not downloading you're entire mod off Mediafire just to look at it.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

i cant really understand the proxy deal and why the forge mod template dosent come with it

 

btw if some one can send me a mod work space that has proxies already in it it will help very much

Doing stuff n' things

Posted

Yes that may help but did you check that com.shaharcoolmen.randcommands.proxy.CommonProxy is correct?

 

i found that the com.shaharcoolmen.randcommands.proxy.CommonProxy

should be com.shaharcoolmen.randcommands.proxy.CommonProxy.CommonProxy

aswell as the client

 

but still i get a crash

 

and i was wandering if acutualy my code to load a command was wrong

 

inside of the main class i have under the

@Mod(modid="randcommands", name="RandomCommands", version="1.8-1.0")

public class randcommands

{

some other loading codes...

and the thing to load the command is

 

@Mod.EventHandler

    public void serverLoad(FMLServerStartingEvent event)

    {

        event.registerServerCommand(new RandHelp());

    }

}

 

im uploading now to github

Doing stuff n' things

Posted

Show your

@SidedProxy

line, the CommonProxy field below the

@SidedProxy

, and the proxy classes (ClientProxy and CommonProxy).

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Posted

Show your

@SidedProxy

line, the CommonProxy field below the

@SidedProxy

, and the proxy classes (ClientProxy and CommonProxy).

ill show you the whole main class

package com.shaharcoolmen.randcommands;

import com.shaharcoolmen.randcommands.commands.RandHelp;
import com.shaharcoolmen.randcommands.proxy.CommonProxy.CommonProxy;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.common.SidedProxy;
import net.minecraftforge.fml.common.event.FMLInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPostInitializationEvent;
import net.minecraftforge.fml.common.event.FMLPreInitializationEvent;
import net.minecraftforge.fml.common.event.FMLServerStartingEvent;
import net.minecraftforge.fml.relauncher.SideOnly;

@Mod(modid="randcommands", name="RandomCommands", version="1.8-1.0")
public class randcommands
{
    //instance
    @Mod.Instance("randcommands")
    public static randcommands instance;

    //proxies
    @SidedProxy(clientSide="com.shaharcoolmen.randcommands.proxy.ClientProxy.ClientProxy", serverSide="com.shaharcoolmen.randcommands.proxy.CommonProxy.CommonProxy")
    public static CommonProxy proxy;

    //load
    @Mod.EventHandler
    public void preInit(FMLPreInitializationEvent event)
    {

    }

    @Mod.EventHandler
    public void init(FMLInitializationEvent event)
    {
        proxy.serverRegister();
    }

    @Mod.EventHandler
    public void postInit(FMLPostInitializationEvent event)
    {

    }

    @Mod.EventHandler
    public void serverLoad(FMLServerStartingEvent event)
    {
        event.registerServerCommand(new RandHelp());
    }

}
//icommandsender.addChatMessage(new ChatComponentText("§d§k||§r§cRandom Commands Help§d§k||§r"));

 

 

and i still cant get to git hub

can someone check this url for me and tell me if its working for him plz

https://github.com/

this is the url im using and on my old pc it worked but now it wont for some reason

Doing stuff n' things

Posted

That is GitHub's URL, it is not a link to YOUR git repository.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Posted

@SidedProxy(clientSide="com.shaharcoolmen.randcommands.proxy.ClientProxy.ClientProxy", serverSide="com.shaharcoolmen.randcommands.proxy.CommonProxy.CommonProxy")

WTF???  :o

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • When I first heard about Bitcoin back in 2018, I was skeptical. The idea of a decentralized, digital currency seemed too good to be true. But I was intrigued as I learned more about the technology behind it and its potential. I started small, investing just a few hundred dollars, dipping my toes into the cryptocurrency waters. At first, it was exhilarating to watch the value of my investment grow exponentially. I felt like I was part of the future, an early adopter of this revolutionary new asset. But that euphoria was short-lived. One day, I logged into my digital wallet only to find it empty - my Bitcoin had vanished without a trace. It turned out that the online exchange I had trusted had been hacked, and my funds were stolen. I was devastated, both financially and emotionally. All the potential I had seen in Bitcoin was tainted by the harsh reality that with decentralization came a lack of regulation and oversight. My hard-earned money was gone, lost to the ether of the digital world. This experience taught me a painful lesson about the price of trust in the uncharted territory of cryptocurrency. While the technology holds incredible promise, the risks can be catastrophic if you don't approach it with extreme caution. My Bitcoin investment gamble had failed, and I was left to pick up the pieces, wiser but poorer for having placed my faith in the wrong hands. My sincere appreciation goes to MUYERN TRUST HACKER. You are my hero in recovering my lost funds. Send a direct m a i l ( muyerntrusted ( @ ) mail-me ( . )c o m ) or message on whats app : + 1 ( 4-4-0 ) ( 3 -3 -5 ) ( 0-2-0-5 )
    • You could try posting a log (if there is no log at all, it may be the launcher you are using, the FAQ may have info on how to enable the log) as described in the FAQ, however this will probably need to be reported to/remedied by the mod author.
    • So me and a couple of friends are playing with a shitpost mod pack and one of the mods in the pack is corail tombstone and for some reason there is a problem with it, where on death to fire the player will get kicked out of the server and the tombstone will not spawn basically deleting an entire inventory, it doesn't matter what type of fire it is, whether it's from vanilla fire/lava, or from modded fire like ice&fire/lycanites and it's common enough to where everyone on the server has experienced at least once or twice and it doesn't give any crash log. a solution to this would be much appreciated thank you!
    • It is 1.12.2 - I have no idea if there is a 1.12 pack
  • Topics

  • Who's Online (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.