Jump to content

[FML] ModLoader.addTrade() Causes a Crash


Groxkiller

Recommended Posts

As the title suggests, whenever I use ModLoader.addTrade(), regardless of what I use in it, it always crashes when I click the villager and that was the trade chosen. I think the problem is it adds the trade clientside, but not on the integrated server, and when it goes to grab the item from the server it isn't there and it crashes.

 

My Code:


@ServerStarted
public void onServerStarted(FMLServerStartedEvent evt) //used this because I assumed it was not setting it when the server started up, 
// and thus had it clientside but not serverside, but this appears not to be the issue.
{
    	     for(int i = 0; i < 20; i++) //done 20 times for it to appear more often. It still happens even with only one call.
    	     {
    	     	     ModLoader.addTrade(0, new TradeEntry(Item.stick.shiftedIndex, 0.9F, true, 12, 14));
    	     }
}

        @Init
        public void init(FMLInitializationEvent evt) 
{
    	     for(int i = 0; i < 20; i++) //done 20 times for it to appear more often. It still happens even with only one call.
    	     {
    		     ModLoader.addTrade(0, new TradeEntry(Item.stick.shiftedIndex, 0.9F, true, 12, 14));
    	     }
        }

 

The actual crash:

 

 

2012-11-12 16:30:31 [iNFO] [ForgeModLoader] Forge Mod Loader version 4.2.4.420 for Minecraft 1.4.2 loading

2012-11-12 16:30:31 [FINEST] [ForgeModLoader] All core mods are successfully located

2012-11-12 16:30:31 [FINEST] [ForgeModLoader] Discovering coremods

2012-11-12 16:30:31 [FINEST] [ForgeModLoader] Found library file argo-2.25.jar present and correct in lib dir

 

2012-11-12 16:30:31 [FINEST] [ForgeModLoader] Found library file guava-12.0.1.jar present and correct in lib dir

 

2012-11-12 16:30:31 [FINEST] [ForgeModLoader] Found library file asm-all-4.0.jar present and correct in lib dir

 

2012-11-12 16:30:31 [FINEST] [ForgeModLoader] Running coremod plugins

2012-11-12 16:30:31 [FINEST] [ForgeModLoader] Running coremod plugin FMLCorePlugin

2012-11-12 16:30:31 [FINEST] [ForgeModLoader] Coremod plugin FMLCorePlugin run successfully

2012-11-12 16:30:31 [FINEST] [ForgeModLoader] Running coremod plugin FMLForgePlugin

2012-11-12 16:30:31 [FINEST] [ForgeModLoader] Coremod plugin FMLForgePlugin run successfully

2012-11-12 16:30:31 [FINEST] [ForgeModLoader] Validating minecraft

2012-11-12 16:30:32 [FINEST] [ForgeModLoader] Minecraft validated, launching...

2012-11-12 16:30:34 [iNFO] [sTDOUT] 27 achievements

2012-11-12 16:30:34 [iNFO] [sTDOUT] 208 recipes

2012-11-12 16:30:34 [iNFO] [sTDOUT] Setting user: Player980, -

2012-11-12 16:30:34 [iNFO] [sTDERR] Client asked for parameter: server

2012-11-12 16:30:34 [iNFO] [sTDOUT] LWJGL Version: 2.4.2

2012-11-12 16:30:36 [iNFO] [ForgeModLoader] Attempting early MinecraftForge initialization

2012-11-12 16:30:36 [iNFO] [sTDOUT] MinecraftForge v6.0.1.337 Initialized

2012-11-12 16:30:36 [iNFO] [ForgeModLoader] MinecraftForge v6.0.1.337 Initialized

2012-11-12 16:30:36 [iNFO] [ForgeModLoader] Completed early MinecraftForge initialization

2012-11-12 16:30:37 [FINE] [ForgeModLoader] Building injected Mod Containers [cpw.mods.fml.common.FMLDummyContainer, net.minecraftforge.common.ForgeDummyContainer]

2012-11-12 16:30:37 [FINE] [ForgeModLoader] Attempting to load mods contained in the minecraft jar file and associated classes

2012-11-12 16:30:37 [FINE] [ForgeModLoader] Found a minecraft related directory at C:\Users\Charles\Desktop\Minecraft\MCP mc 1.4.2_Forge\eclipse\Minecraft\bin, examining for mod candidates

2012-11-12 16:30:37 [FINE] [ForgeModLoader] Skipping known library file C:\Users\Charles\Desktop\Minecraft\MCP mc 1.4.2_Forge\jars\bin\jinput.jar

2012-11-12 16:30:37 [FINE] [ForgeModLoader] Skipping known library file C:\Users\Charles\Desktop\Minecraft\MCP mc 1.4.2_Forge\jars\bin\lwjgl_util.jar

2012-11-12 16:30:37 [FINE] [ForgeModLoader] Skipping known library file C:\Users\Charles\Desktop\Minecraft\MCP mc 1.4.2_Forge\jars\bin\lwjgl.jar

2012-11-12 16:30:37 [FINE] [ForgeModLoader] Found a minecraft related file at C:\Users\Charles\Desktop\Minecraft\MCP mc 1.4.2_Forge\jars\bin\minecraft.jar, examining for mod candidates

2012-11-12 16:30:37 [FINE] [ForgeModLoader] Skipping known library file C:\Users\Charles\Desktop\Minecraft\MCP mc 1.4.2_Forge\lib\argo-2.25.jar

2012-11-12 16:30:37 [FINE] [ForgeModLoader] Skipping known library file C:\Users\Charles\Desktop\Minecraft\MCP mc 1.4.2_Forge\lib\asm-all-4.0.jar

2012-11-12 16:30:37 [FINE] [ForgeModLoader] Skipping known library file C:\Users\Charles\Desktop\Minecraft\MCP mc 1.4.2_Forge\lib\guava-12.0.1.jar

2012-11-12 16:30:37 [FINE] [ForgeModLoader] Skipping known library file C:\Users\Charles\Desktop\Minecraft\MCP mc 1.4.2_Forge\jars\lib\argo-2.25.jar

2012-11-12 16:30:37 [FINE] [ForgeModLoader] Skipping known library file C:\Users\Charles\Desktop\Minecraft\MCP mc 1.4.2_Forge\jars\lib\guava-12.0.1.jar

2012-11-12 16:30:37 [FINE] [ForgeModLoader] Skipping known library file C:\Users\Charles\Desktop\Minecraft\MCP mc 1.4.2_Forge\jars\lib\asm-all-4.0.jar

2012-11-12 16:30:37 [FINE] [ForgeModLoader] Minecraft jar mods loaded successfully

2012-11-12 16:30:37 [iNFO] [ForgeModLoader] Searching C:\Users\Charles\Desktop\Minecraft\MCP mc 1.4.2_Forge\jars\mods for mods

2012-11-12 16:30:37 [FINE] [ForgeModLoader] Examining directory bin for potential mods

2012-11-12 16:30:37 [FINE] [ForgeModLoader] No mcmod.info file found in directory bin

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package cpw

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package cpw.mods

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.client

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.client.modloader

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.client.registry

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.asm

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.asm.transformers

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.discovery

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.discovery.asm

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.event

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.functions

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.modloader

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.network

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.registry

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.toposort

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.common.versioning

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.relauncher

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package cpw.mods.fml.server

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package groxmods

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package groxmods.modhelper

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package groxmods.modhelper.client

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package groxmods.modhelper.common

2012-11-12 16:30:37 [FINE] [ForgeModLoader] Identified an FMLMod type mod groxmods.modhelper.common.ModHelperBaseMod

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Parsed dependency info : [] [] []

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package groxmods.modhelperexample

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package groxmods.modhelperexample.client

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package groxmods.modhelperexample.common

2012-11-12 16:30:37 [FINE] [ForgeModLoader] Identified an FMLMod type mod groxmods.modhelperexample.common.ModHelperExampleBaseMod

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Parsed dependency info : [] [ModHelper] []

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package groxmods.mvm

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package groxmods.mvm.client

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package groxmods.mvm.common

2012-11-12 16:30:37 [FINE] [ForgeModLoader] Identified an FMLMod type mod groxmods.mvm.common.MobVsMachineBaseMod

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Parsed dependency info : [] [ModHelper] []

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package groxmods.netherbetter

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package groxmods.netherbetter.client

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package groxmods.netherbetter.common

2012-11-12 16:30:37 [FINE] [ForgeModLoader] Identified an FMLMod type mod groxmods.netherbetter.common.NetherBetterBaseMod

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Parsed dependency info : [] [ModHelper] []

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package ibxm

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package net

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package net.minecraft

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.client

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.server

2012-11-12 16:30:37 [FINEST] [ForgeModLoader] Recursing into package net.minecraft.src

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.classloading

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.client

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.client.event

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.client.event.sound

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.common

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity.item

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity.living

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity.minecart

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.entity.player

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.event.world

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.oredict

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package net.minecraftforge.transformers

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package org

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.asn1

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.asn1.bc

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.asn1.pkcs

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.crypto

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.crypto.engines

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.crypto.io

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.crypto.modes

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.crypto.params

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.jcajce

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.jcajce.provider

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.jcajce.provider.config

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.jcajce.provider.util

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.jce

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.jce.provider

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package org.bouncycastle.util

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package paulscode

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package paulscode.sound

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package paulscode.sound.codecs

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package temp

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package temp.groxmods

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Recursing into package temp.groxmods.mvm

2012-11-12 16:30:38 [FINE] [ForgeModLoader] Examining file minecraft.jar for potential mods

2012-11-12 16:30:38 [FINE] [ForgeModLoader] The mod container minecraft.jar appears to be missing an mcmod.info file

2012-11-12 16:30:38 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 7 mods to load

2012-11-12 16:30:38 [FINE] [ForgeModLoader] Received a system property request ''

2012-11-12 16:30:38 [FINE] [ForgeModLoader] System property request managing the state of 0 mods

2012-11-12 16:30:38 [FINE] [ForgeModLoader] After merging, found state information for 0 mods

2012-11-12 16:30:38 [FINE] [ForgeModLoader] Activating mod mcp

2012-11-12 16:30:38 [FINE] [ForgeModLoader] Activating mod FML

2012-11-12 16:30:38 [FINE] [ForgeModLoader] Activating mod Forge

2012-11-12 16:30:38 [FINE] [ForgeModLoader] Enabling mod ModHelper

2012-11-12 16:30:38 [FINE] [ForgeModLoader] Activating mod ModHelper

2012-11-12 16:30:38 [FINE] [ForgeModLoader] Enabling mod ModHelperExample

2012-11-12 16:30:38 [FINE] [ForgeModLoader] Activating mod ModHelperExample

2012-11-12 16:30:38 [FINE] [ForgeModLoader] Enabling mod MobVsMachine

2012-11-12 16:30:38 [FINE] [ForgeModLoader] Activating mod MobVsMachine

2012-11-12 16:30:38 [FINE] [ForgeModLoader] Enabling mod NetherBetter

2012-11-12 16:30:38 [FINE] [ForgeModLoader] Activating mod NetherBetter

2012-11-12 16:30:38 [FINE] [ForgeModLoader] Verifying mod requirements are satisfied

2012-11-12 16:30:38 [FINE] [ForgeModLoader] All mod requirements are satisfied

2012-11-12 16:30:38 [FINE] [ForgeModLoader] Sorting mods into an ordered list

2012-11-12 16:30:38 [FINE] [ForgeModLoader] Mod sorting completed successfully

2012-11-12 16:30:38 [FINE] [ForgeModLoader] Mod sorting data:

2012-11-12 16:30:38 [FINE] [ForgeModLoader] ModHelper(Mod Helper API:1.0): bin ()

2012-11-12 16:30:38 [FINE] [ForgeModLoader] ModHelperExample(ModHelper Example:1.0.0): bin (after:ModHelper)

2012-11-12 16:30:38 [FINE] [ForgeModLoader] MobVsMachine(Mob Vs Machine:1.0): bin (after:ModHelper)

2012-11-12 16:30:38 [FINE] [ForgeModLoader] NetherBetter(Nether Better:1.4): bin (after:ModHelper)

2012-11-12 16:30:38 [FINER] [ForgeModLoader] Sending event FMLConstructionEvent to mod mcp

2012-11-12 16:30:38 [FINER] [ForgeModLoader] Sent event FMLConstructionEvent to mod mcp

2012-11-12 16:30:38 [FINER] [ForgeModLoader] Sending event FMLConstructionEvent to mod FML

2012-11-12 16:30:38 [FINER] [ForgeModLoader] Sent event FMLConstructionEvent to mod FML

2012-11-12 16:30:38 [FINER] [ForgeModLoader] Sending event FMLConstructionEvent to mod Forge

2012-11-12 16:30:38 [FINER] [ForgeModLoader] Sent event FMLConstructionEvent to mod Forge

2012-11-12 16:30:38 [FINER] [ForgeModLoader] Sending event FMLConstructionEvent to mod ModHelper

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Testing mod ModHelper to verify it accepts its own version in a remote connection

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] The mod ModHelper accepts its own version (1.0)

2012-11-12 16:30:38 [FINE] [ForgeModLoader] Attempting to inject @SidedProxy classes into ModHelper

2012-11-12 16:30:38 [FINER] [ForgeModLoader] Sent event FMLConstructionEvent to mod ModHelper

2012-11-12 16:30:38 [FINER] [ForgeModLoader] Sending event FMLConstructionEvent to mod ModHelperExample

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Testing mod ModHelperExample to verify it accepts its own version in a remote connection

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] The mod ModHelperExample accepts its own version (1.0.0)

2012-11-12 16:30:38 [FINE] [ForgeModLoader] Attempting to inject @SidedProxy classes into ModHelperExample

2012-11-12 16:30:38 [FINER] [ForgeModLoader] Sent event FMLConstructionEvent to mod ModHelperExample

2012-11-12 16:30:38 [FINER] [ForgeModLoader] Sending event FMLConstructionEvent to mod MobVsMachine

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Testing mod MobVsMachine to verify it accepts its own version in a remote connection

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] The mod MobVsMachine accepts its own version (1.0)

2012-11-12 16:30:38 [FINE] [ForgeModLoader] Attempting to inject @SidedProxy classes into MobVsMachine

2012-11-12 16:30:38 [FINER] [ForgeModLoader] Sent event FMLConstructionEvent to mod MobVsMachine

2012-11-12 16:30:38 [FINER] [ForgeModLoader] Sending event FMLConstructionEvent to mod NetherBetter

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] Testing mod NetherBetter to verify it accepts its own version in a remote connection

2012-11-12 16:30:38 [FINEST] [ForgeModLoader] The mod NetherBetter accepts its own version (1.4)

2012-11-12 16:30:38 [FINE] [ForgeModLoader] Attempting to inject @SidedProxy classes into NetherBetter

2012-11-12 16:30:38 [FINER] [ForgeModLoader] Sent event FMLConstructionEvent to mod NetherBetter

2012-11-12 16:30:38 [FINER] [ForgeModLoader] Sending event FMLPreInitializationEvent to mod mcp

2012-11-12 16:30:38 [FINER] [ForgeModLoader] Sent event FMLPreInitializationEvent to mod mcp

2012-11-12 16:30:38 [FINER] [ForgeModLoader] Sending event FMLPreInitializationEvent to mod FML

2012-11-12 16:30:38 [FINER] [ForgeModLoader] Sent event FMLPreInitializationEvent to mod FML

2012-11-12 16:30:38 [FINER] [ForgeModLoader] Sending event FMLPreInitializationEvent to mod Forge

2012-11-12 16:30:39 [iNFO] [ForgeModLoader] Configured a dormant chunk cache size of 0

2012-11-12 16:30:39 [FINER] [ForgeModLoader] Sent event FMLPreInitializationEvent to mod Forge

2012-11-12 16:30:39 [FINER] [ForgeModLoader] Sending event FMLPreInitializationEvent to mod ModHelper

2012-11-12 16:30:39 [FINER] [ForgeModLoader] Sent event FMLPreInitializationEvent to mod ModHelper

2012-11-12 16:30:39 [FINER] [ForgeModLoader] Sending event FMLPreInitializationEvent to mod ModHelperExample

2012-11-12 16:30:39 [FINER] [ForgeModLoader] Sent event FMLPreInitializationEvent to mod ModHelperExample

2012-11-12 16:30:39 [FINER] [ForgeModLoader] Sending event FMLPreInitializationEvent to mod MobVsMachine

2012-11-12 16:30:39 [FINER] [ForgeModLoader] Sent event FMLPreInitializationEvent to mod MobVsMachine

2012-11-12 16:30:39 [FINER] [ForgeModLoader] Sending event FMLPreInitializationEvent to mod NetherBetter

2012-11-12 16:30:39 [FINER] [ForgeModLoader] Sent event FMLPreInitializationEvent to mod NetherBetter

2012-11-12 16:30:39 [iNFO] [sTDOUT] Starting up SoundSystem...

2012-11-12 16:30:39 [iNFO] [sTDOUT] Initializing LWJGL OpenAL

2012-11-12 16:30:39 [iNFO] [sTDOUT]    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

2012-11-12 16:30:39 [iNFO] [sTDOUT] OpenAL initialized.

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sending event FMLInitializationEvent to mod mcp

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sent event FMLInitializationEvent to mod mcp

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sending event FMLInitializationEvent to mod FML

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sent event FMLInitializationEvent to mod FML

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sending event FMLInitializationEvent to mod Forge

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sent event FMLInitializationEvent to mod Forge

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sending event FMLInitializationEvent to mod ModHelper

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sent event FMLInitializationEvent to mod ModHelper

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sending event FMLInitializationEvent to mod ModHelperExample

2012-11-12 16:30:40 [iNFO] [sTDOUT] **ModHelper API** Registered Armor! Total Armor spaces used: 1

2012-11-12 16:30:40 [iNFO] [sTDOUT] **ModHelper API** Registered Armor! Total Armor spaces used: 2

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sent event FMLInitializationEvent to mod ModHelperExample

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sending event FMLInitializationEvent to mod MobVsMachine

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sent event FMLInitializationEvent to mod MobVsMachine

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sending event FMLInitializationEvent to mod NetherBetter

2012-11-12 16:30:40 [iNFO] [sTDOUT] **ModHelper API** Registered Armor! Total Armor spaces used: 3

2012-11-12 16:30:40 [iNFO] [sTDOUT] **ModHelper API** Registered Armor! Total Armor spaces used: 4

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sent event FMLInitializationEvent to mod NetherBetter

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sending event IMCEvent to mod mcp

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sent event IMCEvent to mod mcp

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sending event IMCEvent to mod FML

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sent event IMCEvent to mod FML

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sending event IMCEvent to mod Forge

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sent event IMCEvent to mod Forge

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sending event IMCEvent to mod ModHelper

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sent event IMCEvent to mod ModHelper

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sending event IMCEvent to mod ModHelperExample

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sent event IMCEvent to mod ModHelperExample

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sending event IMCEvent to mod MobVsMachine

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sent event IMCEvent to mod MobVsMachine

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sending event IMCEvent to mod NetherBetter

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sent event IMCEvent to mod NetherBetter

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sending event FMLPostInitializationEvent to mod mcp

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sent event FMLPostInitializationEvent to mod mcp

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sending event FMLPostInitializationEvent to mod FML

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sent event FMLPostInitializationEvent to mod FML

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sending event FMLPostInitializationEvent to mod Forge

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sent event FMLPostInitializationEvent to mod Forge

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sending event FMLPostInitializationEvent to mod ModHelper

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sent event FMLPostInitializationEvent to mod ModHelper

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sending event FMLPostInitializationEvent to mod ModHelperExample

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sent event FMLPostInitializationEvent to mod ModHelperExample

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sending event FMLPostInitializationEvent to mod MobVsMachine

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sent event FMLPostInitializationEvent to mod MobVsMachine

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sending event FMLPostInitializationEvent to mod NetherBetter

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sent event FMLPostInitializationEvent to mod NetherBetter

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sending event FMLLoadCompleteEvent to mod mcp

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sent event FMLLoadCompleteEvent to mod mcp

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sending event FMLLoadCompleteEvent to mod FML

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sent event FMLLoadCompleteEvent to mod FML

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sending event FMLLoadCompleteEvent to mod Forge

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sent event FMLLoadCompleteEvent to mod Forge

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sending event FMLLoadCompleteEvent to mod ModHelper

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sent event FMLLoadCompleteEvent to mod ModHelper

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sending event FMLLoadCompleteEvent to mod ModHelperExample

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sent event FMLLoadCompleteEvent to mod ModHelperExample

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sending event FMLLoadCompleteEvent to mod MobVsMachine

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sent event FMLLoadCompleteEvent to mod MobVsMachine

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sending event FMLLoadCompleteEvent to mod NetherBetter

2012-11-12 16:30:40 [FINER] [ForgeModLoader] Sent event FMLLoadCompleteEvent to mod NetherBetter

2012-11-12 16:30:40 [iNFO] [ForgeModLoader] Forge Mod Loader has successfully loaded 7 mods

2012-11-12 16:30:41 [FINER] [ForgeModLoader] Registered texture override 0 (0) on TextureOverlayFXBase (0)

2012-11-12 16:30:41 [FINER] [ForgeModLoader] Registered texture override 238 (238) on TextureNBLavaFlowFX (0)

2012-11-12 16:30:41 [FINER] [ForgeModLoader] Registered texture override 1 (1) on TextureOverlayFXBase (0)

2012-11-12 16:30:41 [FINER] [ForgeModLoader] Registered texture override 237 (237) on TextureNBLavaFX (0)

2012-11-12 16:30:45 [iNFO] [ForgeModLoader] Loading dimension 0 (test 2) (net.minecraft.src.IntegratedServer@52cf284b)

2012-11-12 16:30:45 [iNFO] [ForgeModLoader] Loading dimension 1 (test 2) (net.minecraft.src.IntegratedServer@52cf284b)

2012-11-12 16:30:45 [iNFO] [ForgeModLoader] Loading dimension -1 (test 2) (net.minecraft.src.IntegratedServer@52cf284b)

2012-11-12 16:30:46 [FINER] [ForgeModLoader] Sending event FMLServerStartingEvent to mod mcp

2012-11-12 16:30:46 [FINER] [ForgeModLoader] Sent event FMLServerStartingEvent to mod mcp

2012-11-12 16:30:46 [FINER] [ForgeModLoader] Sending event FMLServerStartingEvent to mod FML

2012-11-12 16:30:46 [FINER] [ForgeModLoader] Sent event FMLServerStartingEvent to mod FML

2012-11-12 16:30:46 [FINER] [ForgeModLoader] Sending event FMLServerStartingEvent to mod Forge

2012-11-12 16:30:46 [FINER] [ForgeModLoader] Sent event FMLServerStartingEvent to mod Forge

2012-11-12 16:30:46 [FINER] [ForgeModLoader] Sending event FMLServerStartingEvent to mod ModHelper

2012-11-12 16:30:46 [FINER] [ForgeModLoader] Sent event FMLServerStartingEvent to mod ModHelper

2012-11-12 16:30:46 [FINER] [ForgeModLoader] Sending event FMLServerStartingEvent to mod ModHelperExample

2012-11-12 16:30:46 [FINER] [ForgeModLoader] Sent event FMLServerStartingEvent to mod ModHelperExample

2012-11-12 16:30:46 [FINER] [ForgeModLoader] Sending event FMLServerStartingEvent to mod MobVsMachine

2012-11-12 16:30:46 [FINER] [ForgeModLoader] Sent event FMLServerStartingEvent to mod MobVsMachine

2012-11-12 16:30:46 [FINER] [ForgeModLoader] Sending event FMLServerStartingEvent to mod NetherBetter

2012-11-12 16:30:46 [FINER] [ForgeModLoader] Sent event FMLServerStartingEvent to mod NetherBetter

2012-11-12 16:30:46 [FINER] [ForgeModLoader] Sending event FMLServerStartedEvent to mod mcp

2012-11-12 16:30:46 [FINER] [ForgeModLoader] Sent event FMLServerStartedEvent to mod mcp

2012-11-12 16:30:46 [FINER] [ForgeModLoader] Sending event FMLServerStartedEvent to mod FML

2012-11-12 16:30:46 [FINER] [ForgeModLoader] Sent event FMLServerStartedEvent to mod FML

2012-11-12 16:30:46 [FINER] [ForgeModLoader] Sending event FMLServerStartedEvent to mod Forge

2012-11-12 16:30:46 [FINER] [ForgeModLoader] Sent event FMLServerStartedEvent to mod Forge

2012-11-12 16:30:46 [FINER] [ForgeModLoader] Sending event FMLServerStartedEvent to mod ModHelper

2012-11-12 16:30:46 [FINER] [ForgeModLoader] Sent event FMLServerStartedEvent to mod ModHelper

2012-11-12 16:30:46 [FINER] [ForgeModLoader] Sending event FMLServerStartedEvent to mod ModHelperExample

2012-11-12 16:30:46 [FINER] [ForgeModLoader] Sent event FMLServerStartedEvent to mod ModHelperExample

2012-11-12 16:30:46 [FINER] [ForgeModLoader] Sending event FMLServerStartedEvent to mod MobVsMachine

2012-11-12 16:30:46 [FINER] [ForgeModLoader] Sent event FMLServerStartedEvent to mod MobVsMachine

2012-11-12 16:30:46 [FINER] [ForgeModLoader] Sending event FMLServerStartedEvent to mod NetherBetter

2012-11-12 16:30:46 [FINER] [ForgeModLoader] Sent event FMLServerStartedEvent to mod NetherBetter

2012-11-12 16:30:50 [iNFO] [sTDOUT] PACKET FOUND! PACKET ID == 1

2012-11-12 16:30:50 [iNFO] [sTDOUT] PACKET FOUND! PACKET ID == 1

2012-11-12 16:30:51 [iNFO] [sTDOUT] PACKET FOUND! PACKET ID == 1

2012-11-12 16:30:51 [iNFO] [sTDOUT] PACKET FOUND! PACKET ID == 1

2012-11-12 16:30:52 [iNFO] [sTDOUT] PACKET FOUND! PACKET ID == 1

2012-11-12 16:30:52 [iNFO] [sTDOUT] PACKET FOUND! PACKET ID == 1

2012-11-12 16:30:53 [iNFO] [sTDOUT] PACKET FOUND! PACKET ID == 1

2012-11-12 16:30:53 [iNFO] [sTDOUT] PACKET FOUND! PACKET ID == 1

2012-11-12 16:30:57 [iNFO] [sTDOUT] PACKET FOUND! PACKET ID == 1

2012-11-12 16:30:57 [iNFO] [sTDOUT] PACKET FOUND! PACKET ID == 1

2012-11-12 16:30:58 [iNFO] [sTDOUT] PACKET FOUND! PACKET ID == 1

2012-11-12 16:30:58 [iNFO] [sTDOUT] PACKET FOUND! PACKET ID == 1

2012-11-12 16:30:58 [iNFO] [sTDOUT] PACKET FOUND! PACKET ID == 1

2012-11-12 16:30:59 [iNFO] [sTDOUT] PACKET FOUND! PACKET ID == 1

2012-11-12 16:30:59 [iNFO] [sTDOUT] PACKET FOUND! PACKET ID == 1

2012-11-12 16:30:59 [iNFO] [sTDOUT] PACKET FOUND! PACKET ID == 1

2012-11-12 16:31:01 [sEVERE] [ForgeModLoader] A critical server error occured handling a packet, kicking net.minecraft.src.NetServerHandler@577bd150

java.lang.NullPointerException

at net.minecraft.src.Packet.writeItemStack(Packet.java:320)

at net.minecraft.src.MerchantRecipeList.writeRecipiesToStream(MerchantRecipeList.java:75)

at net.minecraft.src.EntityPlayerMP.displayGUIMerchant(EntityPlayerMP.java:547)

at net.minecraft.src.EntityVillager.interact(EntityVillager.java:166)

at net.minecraft.src.EntityPlayer.interactWith(EntityPlayer.java:1094)

at net.minecraft.src.NetServerHandler.handleUseEntity(NetServerHandler.java:791)

at net.minecraft.src.Packet7UseEntity.processPacket(Packet7UseEntity.java:57)

at net.minecraft.src.MemoryConnection.processReadPackets(MemoryConnection.java:78)

at net.minecraft.src.NetServerHandler.networkTick(NetServerHandler.java:80)

at net.minecraft.src.NetworkListenThread.networkTick(NetworkListenThread.java:55)

at net.minecraft.src.IntegratedServerListenThread.networkTick(IntegratedServerListenThread.java:111)

at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:664)

at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:585)

at net.minecraft.src.IntegratedServer.tick(IntegratedServer.java:110)

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

at net.minecraft.src.ThreadMinecraftServer.run(ThreadMinecraftServer.java:17)

2012-11-12 16:31:01 [FINER] [ForgeModLoader] Sending event FMLServerStoppingEvent to mod mcp

2012-11-12 16:31:01 [FINER] [ForgeModLoader] Sent event FMLServerStoppingEvent to mod mcp

2012-11-12 16:31:01 [FINER] [ForgeModLoader] Sending event FMLServerStoppingEvent to mod FML

2012-11-12 16:31:01 [FINER] [ForgeModLoader] Sent event FMLServerStoppingEvent to mod FML

2012-11-12 16:31:01 [FINER] [ForgeModLoader] Sending event FMLServerStoppingEvent to mod Forge

2012-11-12 16:31:01 [FINER] [ForgeModLoader] Sent event FMLServerStoppingEvent to mod Forge

2012-11-12 16:31:01 [FINER] [ForgeModLoader] Sending event FMLServerStoppingEvent to mod ModHelper

2012-11-12 16:31:01 [FINER] [ForgeModLoader] Sent event FMLServerStoppingEvent to mod ModHelper

2012-11-12 16:31:01 [FINER] [ForgeModLoader] Sending event FMLServerStoppingEvent to mod ModHelperExample

2012-11-12 16:31:01 [FINER] [ForgeModLoader] Sent event FMLServerStoppingEvent to mod ModHelperExample

2012-11-12 16:31:01 [FINER] [ForgeModLoader] Sending event FMLServerStoppingEvent to mod MobVsMachine

2012-11-12 16:31:01 [FINER] [ForgeModLoader] Sent event FMLServerStoppingEvent to mod MobVsMachine

2012-11-12 16:31:01 [FINER] [ForgeModLoader] Sending event FMLServerStoppingEvent to mod NetherBetter

2012-11-12 16:31:01 [FINER] [ForgeModLoader] Sent event FMLServerStoppingEvent to mod NetherBetter

2012-11-12 16:31:01 [iNFO] [sTDERR] java.lang.NullPointerException

2012-11-12 16:31:01 [iNFO] [sTDERR] at net.minecraft.src.MerchantRecipe.writeToTags(MerchantRecipe.java:145)

2012-11-12 16:31:01 [iNFO] [sTDERR] at net.minecraft.src.MerchantRecipeList.getRecipiesAsTags(MerchantRecipeList.java:139)

2012-11-12 16:31:01 [iNFO] [sTDERR] at net.minecraft.src.EntityVillager.writeEntityToNBT(EntityVillager.java:199)

2012-11-12 16:31:01 [iNFO] [sTDERR] at net.minecraft.src.Entity.writeToNBT(Entity.java:1482)

2012-11-12 16:31:01 [iNFO] [sTDERR] at net.minecraft.src.Entity.addEntityID(Entity.java:1414)

2012-11-12 16:31:01 [iNFO] [sTDERR] at net.minecraft.src.AnvilChunkLoader.writeChunkToNBT(AnvilChunkLoader.java:261)

2012-11-12 16:31:01 [iNFO] [sTDERR] at net.minecraft.src.AnvilChunkLoader.saveChunk(AnvilChunkLoader.java:114)

2012-11-12 16:31:01 [iNFO] [sTDERR] at net.minecraft.src.ChunkProviderServer.safeSaveChunk(ChunkProviderServer.java:204)

2012-11-12 16:31:01 [iNFO] [sTDERR] at net.minecraft.src.ChunkProviderServer.saveChunks(ChunkProviderServer.java:257)

2012-11-12 16:31:01 [iNFO] [sTDERR] at net.minecraft.src.WorldServer.saveAllChunks(WorldServer.java:768)

2012-11-12 16:31:01 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.saveAllWorlds(MinecraftServer.java:372)

2012-11-12 16:31:01 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:405)

2012-11-12 16:31:01 [iNFO] [sTDERR] at net.minecraft.src.IntegratedServer.stopServer(IntegratedServer.java:218)

2012-11-12 16:31:01 [iNFO] [sTDERR] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:537)

2012-11-12 16:31:01 [iNFO] [sTDERR] at net.minecraft.src.ThreadMinecraftServer.run(ThreadMinecraftServer.java:17)

2012-11-12 16:31:02 [iNFO] [ForgeModLoader] Unloading dimension 0

2012-11-12 16:31:02 [iNFO] [ForgeModLoader] Unloading dimension -1

2012-11-12 16:31:02 [iNFO] [ForgeModLoader] Unloading dimension 1

2012-11-12 16:31:03 [iNFO] [sTDOUT] Stopping!

2012-11-12 16:31:03 [iNFO] [sTDOUT] SoundSystem shutting down...

2012-11-12 16:31:03 [iNFO] [sTDOUT]    Author: Paul Lamb, www.paulscode.com

 

 

Link to comment
Share on other sites

Hi,

First of all, why are you using modloader compatibility functions, this is FORGE.

Second, I know somewhere something is passing a null reference that does have to do with the trading. Have not looked into it and don't have the time.

 

Hope that points you in the right (not left) direction.

 

-Green0Yoshi

Thanks for your time... Hopefully I can reply soon after you reply, but I'm busy, anyways.

I can't wait to start working on my mod. I haven't worked on it in a while but it is on

Github. It needs much more organization and work, I have lots of plans. :)

Link to comment
Share on other sites

Because there is no Forge version of the addTrade function that I know of, without making a handler. FML ModLoader simply set up all the stuff, so I decided to try using it first before I made my own trade handler just to see if it worked.

Since it didn't I just tried with a custom handler and the results are the same.

 

Thanks for responding!

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