Jump to content

Recommended Posts

Posted

hey guys i have somekind problem idk what to do, when i play singleplayer with my mod ,proxy doesn't error and all renders and etc works fine but when i try to play multiplayer , server just crashes says something is wrong with proxy

i don't get it

 

---- Minecraft Crash Report ----

// Uh... Did I do that?

 

Time: 14.6.13 21.23

Description: Exception in server tick loop

 

cpw.mods.fml.common.LoaderException: java.lang.ClassNotFoundException: net.HogansCraft.mod.proxy.CommonProxy

at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:76)

at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:492)

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 com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

at com.google.common.eventbus.EventBus.post(EventBus.java:267)

at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)

at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)

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 com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)

at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:47)

at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)

at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)

at com.google.common.eventbus.EventBus.post(EventBus.java:267)

at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)

at cpw.mods.fml.common.Loader.loadMods(Loader.java:491)

at cpw.mods.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:87)

at cpw.mods.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:313)

at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:114)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)

at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:669)

Caused by: java.lang.ClassNotFoundException: net.HogansCraft.mod.proxy.CommonProxy

at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:188)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at cpw.mods.fml.common.ModClassLoader.loadClass(ModClassLoader.java:58)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at cpw.mods.fml.common.ProxyInjector.inject(ProxyInjector.java:59)

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

Operating System: Windows 7 (amd64) version 6.1

Java Version: 1.7.0_60, Oracle Corporation

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 157428976 bytes (150 MB) / 258473984 bytes (246 MB) up to 1424490496 bytes (1358 MB)

JVM Flags: 0 total;

AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

FML: MCP v9.03 FML v7.2.205.1101 Minecraft Forge 10.12.1.1101 4 mods loaded, 4 mods active

mcp{9.03} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed

FML{7.2.205.1101} [Forge Mod Loader] (forge-1.7.2-10.12.1.1101-universal.jar) Unloaded->Constructed

Forge{10.12.1.1101} [Minecraft Forge] (forge-1.7.2-10.12.1.1101-universal.jar) Unloaded->Constructed

HogansCraft{Alpha 0.8} [HogansCraft] (Hoganscraft-1.7.2-1.0.jar) Unloaded->Errored

Pr

 

 

 

 

tell me how to fix this please :3

 

Proud mod developer of:

 

Mob Armor mod

Block monster mod

Clay Living Dolls mod

Much More Spiders mod

Elemental cows reborn

Mr gorilla mod

Posted

Looks like you need a common(server) proxy called CommonProxy in net.HogansCraft.mod.proxy.

Here is some example code:

package net.HogansCraft.mod.proxy;

public class CommonProxy {
}

Developer of the WIP Rubies mod.

Posted

i arleady have it setup and ready but nothing

Proud mod developer of:

 

Mob Armor mod

Block monster mod

Clay Living Dolls mod

Much More Spiders mod

Elemental cows reborn

Mr gorilla mod

Posted

Client Proxy:

package net.Hoganscraft.mod.proxy;

 

import hoganscraft.renders.RenderArcher;

import hoganscraft.renders.RenderFighter;

 

import com.hogans.craft.entities.EntityArcher;

import com.hogans.craft.entities.EntityFighter;

import com.hogans.craft.model.ModelArcher;

import com.hogans.craft.model.ModelFighter;

 

import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;

import net.minecraft.item.Item;

import net.minecraftforge.client.MinecraftForgeClient;

import cpw.mods.fml.client.registry.ClientRegistry;

import cpw.mods.fml.client.registry.RenderingRegistry;

 

public class ClientProxy extends CommonProxy {

 

public void registerRenderThings() {

//ObsidianTable

 

 

//Entities

RenderingRegistry.registerEntityRenderingHandler(EntityFighter.class, new RenderFighter(new ModelFighter(), 3F));

RenderingRegistry.registerEntityRenderingHandler(EntityArcher.class, new RenderArcher(new ModelArcher(), 3F));

}

 

public void registerTileEntitySpecialRenderer() {

 

}

}

 

 

 

CommonProxy:

package net.Hoganscraft.mod.proxy;

 

public class CommonProxy {

 

 

public void registerRenderThings() {

 

      }

 

}

 

 

Main:

 

@SidedProxy(clientSide = "net.Hoganscraft.mod.proxy.ClientProxy", serverSide = "net.HogansCraft.mod.proxy.CommonProxy" )

public static CommonProxy Proxy;

Proud mod developer of:

 

Mob Armor mod

Block monster mod

Clay Living Dolls mod

Much More Spiders mod

Elemental cows reborn

Mr gorilla mod

Posted

Client Proxy:

package net.Hoganscraft.mod.proxy;

---------------------------------------------------------

Main:

@SidedProxy(clientSide = "net.Hoganscraft.mod.proxy.ClientProxy", serverSide = "net.HogansCraft.mod.proxy.CommonProxy" )

See anything wrong?

Posted

idk, didn't see anything wrong :o

Proud mod developer of:

 

Mob Armor mod

Block monster mod

Clay Living Dolls mod

Much More Spiders mod

Elemental cows reborn

Mr gorilla mod

Posted

idk, didn't see anything wrong :o

 

Seriously? You don't see it? -.-

Add me on Skype: AblazeTheBest. Send a message saying "#HeyAblaze"

 

Currently: Making a mod!

Posted

oh i noticed it! thanks . problem solved

Proud mod developer of:

 

Mob Armor mod

Block monster mod

Clay Living Dolls mod

Much More Spiders mod

Elemental cows reborn

Mr gorilla mod

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



×
×
  • Create New...

Important Information

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