omk Posted November 27, 2012 Posted November 27, 2012 Hi, Ive made a mod which is meant as a customized creative mode in survival. The thought is that certain blocks are free to use and you dont run out of them. The mod works fine in single player and on lan play, but when used in smp the game crashes instantly when the player right clicks, the reason given is genericreason. I assume this is due to not being handled properly from a SMP perspective? How should I fix this? Packets? here is the mod class code: package omk.FreeItems.common; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import net.minecraft.server.MinecraftServer; import net.minecraft.src.EntityPlayer; import net.minecraft.src.InventoryPlayer; import net.minecraft.src.ItemStack; import net.minecraft.src.WorldServer; import net.minecraftforge.common.Configuration; import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.event.ForgeSubscribe; import net.minecraftforge.event.entity.player.PlayerInteractEvent; import cpw.mods.fml.common.FMLCommonHandler; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.Init; import cpw.mods.fml.common.Mod.Instance; import cpw.mods.fml.common.Mod.PostInit; import cpw.mods.fml.common.Mod.PreInit; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLInitializationEvent; import cpw.mods.fml.common.event.FMLPostInitializationEvent; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.network.NetworkMod; @Mod(modid="OMKFREEITEMS", name="FreeItems", version = "0.1") @NetworkMod(clientSideRequired = true, serverSideRequired = true) public class FreeItems { @Instance("OMKFREEITEMS") public static FreeItems instance = new FreeItems(); @SidedProxy(clientSide = "omk.FreeItems.client.ClientProxy", serverSide = "omk.FreeItems.common.CommonProxy") public static CommonProxy proxy; @PreInit public void preInit(FMLPreInitializationEvent event) { MinecraftForge.EVENT_BUS.register(new FreeItems()); Configuration config = new Configuration(event.getSuggestedConfigurationFile()); config.load(); for(int i = 0; i < 4096; ++i) { boolean tmp = config.get(config.CATEGORY_GENERAL, Integer.toString(i), false).getBoolean(false); if(tmp == true) { configItems.put(Integer.toString(i), tmp); } } config.save(); } @Init public void Init(FMLInitializationEvent event) { } @PostInit public void postInit(FMLPostInitializationEvent event) { } @ForgeSubscribe public void getBlockUse(PlayerInteractEvent event) { if(event.action == event.action.RIGHT_CLICK_BLOCK) { EntityPlayer player = event.entityPlayer; InventoryPlayer inventory = player.inventory; ItemStack item = player.getCurrentEquippedItem(); if(item.stackSize <= 1) { if(configItems.containsKey(Integer.toString(item.itemID))) { item.stackSize++; } else{ } } } } public static Map<String,Boolean> configItems = new HashMap<String,Boolean>(); public static boolean one; } Quote
keepcalm Posted November 27, 2012 Posted November 27, 2012 can you post the logs? Quote Protip: try and find answers yourself before asking on the forum. It's pretty likely that there is an answer. Was I helpful? Give me a thank you! http://bit.ly/HZ03zy[/img] Tired of waiting for mods to port to bukkit? use BukkitForge! (now with a working version of WorldEdit!)
omk Posted November 27, 2012 Author Posted November 27, 2012 Bah, sorry my mistake. here is the crash message from the client: Minecraft has crashed! ---------------------- Minecraft has stopped running because it encountered a problem; Unexpected error A full error report has been saved to C:\Users\omkohmann\AppData\Roaming\.minecraft\crash-reports\crash-2012-11-27_08.37.47-client.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash --- BEGIN ERROR REPORT d00309c4 -------- Full report at: C:\Users\omkohmann\AppData\Roaming\.minecraft\crash-reports\crash-2012-11-27_08.37.47-client.txt Please show that file to Mojang, NOT just this screen! Generated 27.11.12 08:37 -- Head -- Stacktrace: at omk.FreeItems.common.FreeItems.getBlockUse(FreeItems.java:69) at net.minecraftforge.event.ASMEventHandler_3_FreeItems_getBlockUse_PlayerInteractEvent.invoke(.dynamic) at net.minecraftforge.event.ASMEventHandler.invoke(ASMEventHandler.java:35) at net.minecraftforge.event.EventBus.post(EventBus.java:103) at net.minecraftforge.event.ForgeEventFactory.onPlayerInteract(ForgeEventFactory.java:25) at net.minecraft.client.Minecraft.c(Minecraft.java:1332) -- Affected level -- Details: Level name: MpServer All players: 1 total; [ayk['kohmann'/365, l='MpServer', x=212,25, y=65,62, z=268,46]] Chunk stats: MultiplayerChunkCache: 441 Level seed: 0 Level generator: ID 00 - default, ver 1. Features enabled: false Level generator options: Level spawn location: World: (212,64,278), Chunk: (at 4,4,6 in 13,17; contains blocks 208,0,272 to 223,255,287), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 12504 game time, 12504 day time Level dimension: 0 Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false Forced entities: 116 total; [ayk['kohmann'/365, l='MpServer', x=212,25, y=65,62, z=268,46], qn['Skeleton'/256, l='MpServer', x=288,13, y=43,00, z=275,53], pe['Sheep'/260, l='MpServer', x=288,50, y=62,00, z=275,50], px['item.item.seeds'/222, l='MpServer', x=264,66, y=68,13, z=319,22], ow['Bat'/524, l='MpServer', x=261,50, y=45,89, z=235,44], ow['Bat'/525, l='MpServer', x=258,25, y=46,01, z=237,59], ow['Bat'/526, l='MpServer', x=261,31, y=45,95, z=230,50], qn['Skeleton'/533, l='MpServer', x=292,30, y=21,00, z=206,52], ow['Bat'/290, l='MpServer', x=291,72, y=18,73, z=283,84], qc['Creeper'/534, l='MpServer', x=293,10, y=21,00, z=206,44], pe['Sheep'/63, l='MpServer', x=135,91, y=72,00, z=233,97], qr['Zombie'/536, l='MpServer', x=268,50, y=19,00, z=194,50], px['item.tile.gravel'/223, l='MpServer', x=264,44, y=44,13, z=320,16], pe['Sheep'/66, l='MpServer', x=134,38, y=73,00, z=282,53], pe['Sheep'/93, l='MpServer', x=153,03, y=68,00, z=320,06], pe['Sheep'/92, l='MpServer', x=147,19, y=68,00, z=324,50], oy['Chicken'/95, l='MpServer', x=159,50, y=68,00, z=336,50], oy['Chicken'/94, l='MpServer', x=159,50, y=68,00, z=333,50], pe['Sheep'/91, l='MpServer', x=154,66, y=69,00, z=328,47], pe['Sheep'/90, l='MpServer', x=149,22, y=68,00, z=323,38], pe['Sheep'/102, l='MpServer', x=171,47, y=65,00, z=301,81], pe['Sheep'/103, l='MpServer', x=166,31, y=69,00, z=299,75], pe['Sheep'/100, l='MpServer', x=172,78, y=65,00, z=300,22], pe['Sheep'/101, l='MpServer', x=167,53, y=69,00, z=299,63], pe['Sheep'/99, l='MpServer', x=169,13, y=70,00, z=226,91], oy['Chicken'/104, l='MpServer', x=161,50, y=68,00, z=335,50], oy['Chicken'/105, l='MpServer', x=160,50, y=68,00, z=332,50], qr['Zombie'/119, l='MpServer', x=178,50, y=16,00, z=192,50], qr['Zombie'/118, l='MpServer', x=180,50, y=16,00, z=191,50], qc['Creeper'/117, l='MpServer', x=185,56, y=21,00, z=195,06], qc['Creeper'/115, l='MpServer', x=177,50, y=17,00, z=190,50], qn['Skeleton'/126, l='MpServer', x=178,53, y=21,00, z=212,63], qn['Skeleton'/125, l='MpServer', x=179,53, y=21,00, z=218,00], qr['Zombie'/124, l='MpServer', x=178,28, y=14,28, z=210,31], qr['Zombie'/123, l='MpServer', x=183,63, y=15,00, z=196,22], qn['Skeleton'/122, l='MpServer', x=188,50, y=20,00, z=204,50], qr['Zombie'/121, l='MpServer', x=179,50, y=16,00, z=192,50], pe['Sheep'/137, l='MpServer', x=178,50, y=72,00, z=260,50], pe['Sheep'/136, l='MpServer', x=178,50, y=72,00, z=257,50], pe['Sheep'/138, l='MpServer', x=181,50, y=71,00, z=263,50], ow['Bat'/413, l='MpServer', x=283,41, y=41,82, z=268,53], qp['Spider'/129, l='MpServer', x=176,03, y=21,00, z=213,66], qr['Zombie'/128, l='MpServer', x=176,72, y=21,00, z=211,88], pe['Sheep'/131, l='MpServer', x=179,50, y=69,00, z=229,50], pe['Sheep'/130, l='MpServer', x=178,50, y=75,00, z=230,50], pe['Sheep'/133, l='MpServer', x=200,47, y=66,00, z=225,63], pe['Sheep'/132, l='MpServer', x=179,50, y=69,00, z=229,50], pe['Sheep'/135, l='MpServer', x=179,50, y=72,00, z=253,50], pe['Sheep'/134, l='MpServer', x=190,50, y=64,00, z=225,50], qr['Zombie'/152, l='MpServer', x=204,50, y=22,00, z=215,50], qr['Zombie'/153, l='MpServer', x=197,69, y=22,00, z=221,31], qr['Zombie'/154, l='MpServer', x=197,75, y=22,00, z=218,66], qr['Zombie'/155, l='MpServer', x=194,91, y=42,00, z=213,31], qp['Spider'/156, l='MpServer', x=188,72, y=42,00, z=212,97], pe['Sheep'/157, l='MpServer', x=202,72, y=67,00, z=214,94], pe['Sheep'/158, l='MpServer', x=194,50, y=69,00, z=210,50], pe['Sheep'/159, l='MpServer', x=201,78, y=68,00, z=213,47], qn['Skeleton'/387, l='MpServer', x=196,07, y=23,00, z=220,47], qc['Creeper'/145, l='MpServer', x=201,50, y=14,00, z=190,50], ow['Bat'/146, l='MpServer', x=200,75, y=16,10, z=193,44], ow['Bat'/147, l='MpServer', x=207,13, y=12,76, z=200,75], pe['Sheep'/148, l='MpServer', x=195,91, y=69,00, z=206,13], qr['Zombie'/149, l='MpServer', x=202,09, y=22,00, z=213,75], qr['Zombie'/150, l='MpServer', x=192,50, y=16,00, z=212,97], qr['Zombie'/151, l='MpServer', x=205,22, y=14,00, z=226,78], qr['Zombie'/169, l='MpServer', x=221,69, y=22,00, z=318,22], qn['Skeleton'/168, l='MpServer', x=215,44, y=24,00, z=316,06], pe['Sheep'/162, l='MpServer', x=193,47, y=64,00, z=235,44], pe['Sheep'/161, l='MpServer', x=192,50, y=64,00, z=228,50], qc['Creeper'/160, l='MpServer', x=197,69, y=20,00, z=223,41], pe['Sheep'/167, l='MpServer', x=221,03, y=67,00, z=219,03], qr['Zombie'/186, l='MpServer', x=226,13, y=22,00, z=318,44], qn['Skeleton'/187, l='MpServer', x=224,50, y=22,00, z=320,50], ow['Bat'/427, l='MpServer', x=275,34, y=16,89, z=238,59], pe['Sheep'/184, l='MpServer', x=224,34, y=67,00, z=223,50], pe['Sheep'/185, l='MpServer', x=229,50, y=65,00, z=225,50], pe['Sheep'/183, l='MpServer', x=228,53, y=66,00, z=223,47], ow['Bat'/423, l='MpServer', x=270,72, y=17,00, z=236,50], pe['Sheep'/205, l='MpServer', x=263,41, y=64,00, z=237,41], pe['Sheep'/204, l='MpServer', x=261,41, y=64,00, z=234,22], pe['Sheep'/207, l='MpServer', x=264,19, y=64,00, z=231,69], pe['Sheep'/206, l='MpServer', x=267,53, y=64,00, z=237,47], pe['Sheep'/203, l='MpServer', x=269,47, y=64,00, z=237,22], pe['Sheep'/202, l='MpServer', x=260,19, y=63,00, z=235,81], pe['Sheep'/220, l='MpServer', x=262,53, y=64,00, z=290,47], pe['Sheep'/221, l='MpServer', x=261,47, y=64,00, z=291,53], px['item.item.seeds'/222, l='MpServer', x=264,66, y=68,13, z=319,22], px['item.tile.gravel'/223, l='MpServer', x=264,44, y=44,13, z=320,16], pe['Sheep'/216, l='MpServer', x=260,53, y=63,00, z=275,63], pe['Sheep'/217, l='MpServer', x=261,50, y=64,00, z=285,50], pe['Sheep'/218, l='MpServer', x=259,50, y=64,00, z=286,50], pe['Sheep'/219, l='MpServer', x=270,28, y=64,00, z=274,81], pe['Sheep'/212, l='MpServer', x=257,47, y=63,00, z=242,47], qn['Skeleton'/213, l='MpServer', x=264,50, y=42,00, z=260,50], pe['Sheep'/214, l='MpServer', x=267,81, y=63,00, z=270,63], pe['Sheep'/215, l='MpServer', x=267,66, y=63,00, z=269,16], pe['Sheep'/208, l='MpServer', x=270,72, y=64,00, z=235,50], qd['Enderman'/209, l='MpServer', x=260,34, y=15,00, z=253,84], qc['Creeper'/210, l='MpServer', x=263,50, y=31,00, z=240,50], qn['Skeleton'/211, l='MpServer', x=268,50, y=41,00, z=252,91], pe['Sheep'/239, l='MpServer', x=289,59, y=64,00, z=269,53], qd['Enderman'/238, l='MpServer', x=278,53, y=40,00, z=258,50], qn['Skeleton'/236, l='MpServer', x=276,53, y=35,00, z=245,91], ow['Bat'/235, l='MpServer', x=271,75, y=12,00, z=248,25], ow['Bat'/234, l='MpServer', x=284,75, y=19,10, z=224,75], pe['Sheep'/227, l='MpServer', x=263,50, y=64,00, z=347,50], pe['Sheep'/226, l='MpServer', x=261,50, y=64,00, z=348,50], ow['Bat'/498, l='MpServer', x=216,54, y=38,21, z=345,24], pe['Sheep'/225, l='MpServer', x=263,50, y=74,00, z=348,50], qn['Skeleton'/253, l='MpServer', x=291,70, y=11,00, z=261,70], qn['Skeleton'/251, l='MpServer', x=292,50, y=23,00, z=243,50], pe['Sheep'/248, l='MpServer', x=292,06, y=66,00, z=216,53], ow['Bat'/490, l='MpServer', x=174,01, y=62,00, z=225,95], ow['Bat'/486, l='MpServer', x=206,47, y=15,29, z=192,49], pe['Sheep'/240, l='MpServer', x=288,13, y=64,00, z=272,53], pe['Sheep'/241, l='MpServer', x=290,78, y=64,00, z=268,56]] Retry entities: 0 total; [] Stacktrace: at ayh.a(WorldClient.java:425) at net.minecraft.client.Minecraft.b(Minecraft.java:2385) at net.minecraft.client.Minecraft.run(Minecraft.java:806) at java.lang.Thread.run(Unknown Source) -- System Details -- Details: Minecraft Version: 1.4.4 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.7.0_09, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 337085424 bytes (321 MB) / 514523136 bytes (490 MB) up to 954466304 bytes (910 MB) JVM Flags: 2 total; -Xms512m -Xmx1024m AABB Pool Size: 12515 (700840 bytes; 0 MB) allocated, 2 (112 bytes; 0 MB) used Suspicious classes: ModTextureStatic, $Proxy3, $Proxy4, ...[com.google.common.base.Preconditions, Charsets, Splitter, ...], [com.google.common.cache.CacheLoader, CacheBuilder, Cache, ...], [com.google.common.collect.Multimap, ListMultimap, AbstractMultimap, ...], [com.google.common.eventbus.EventBus, HandlerFindingStrategy, AnnotatedHandlerFinder, ...], [com.google.common.hash.Hashing, HashFunction, AbstractStreamingHashFunction, ...], [com.google.common.io.LineProcessor, Resources, InputSupplier, ...], [com.google.common.primitives.Ints, UnsignedBytes, Bytes], [com.google.common.reflect.TypeCapture, TypeToken, SimpleTypeToken, ...], [com.google.common.util.concurrent.UncheckedExecutionException, ExecutionError, MoreExecutors, ...], [cpw.mods.fml.client.ITextureFX, FMLTextureFX, TextureFXManager, ...], [cpw.mods.fml.client.modloader.ModLoaderClientHelper, ModLoaderKeyBindingHandler], [cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler, KeyHandler, RenderingRegistry, ...], [cpw.mods.fml.common.Loader, LoaderException, DuplicateModsFoundException, ...], [cpw.mods.fml.common.asm.FMLSanityChecker, MLDetectorClassVisitor, SideOnly], [cpw.mods.fml.common.asm.transformers.AccessTransformer, Modifier, MarkerTransformer, ...], [cpw.mods.fml.common.discovery.ModDiscoverer, ASMDataTable, ModCandidate, ...], [cpw.mods.fml.common.discovery.asm.ASMModParser, ModClassVisitor, ModMethodVisitor, ...], [cpw.mods.fml.common.event.FMLLoadEvent, FMLEvent, FMLStateEvent, ...], [cpw.mods.fml.common.functions.ModIdFunction], [cpw.mods.fml.common.modloader.IModLoaderSidedHelper, ModLoaderHelper, ModLoaderVillageTradeHandler, ...], [cpw.mods.fml.common.network.Player, IPacketHandler, IConnectionHandler, ...], [cpw.mods.fml.common.registry.BlockProxy, ItemProxy, LanguageRegistry, ...], [cpw.mods.fml.common.toposort.ModSortingException, ModSorter, DirectedGraph, ...], [cpw.mods.fml.common.versioning.ArtifactVersion, VersionParser, InvalidVersionSpecificationException, ...], [net.minecraftforge.client.ForgeHooksClient, ModCompatibilityClient, ItemRenderType, ...], [net.minecraftforge.client.event.TextureLoadEvent, RenderWorldLastEvent, DrawBlockHighlightEvent, ...], [net.minecraftforge.client.event.sound.SoundEvent, SoundResultEvent, PlayBackgroundMusicEvent, ...], [net.minecraftforge.common.IPlantable, IShearable, ISidedInventory, ...], [net.minecraftforge.event.Event, ListenerList, EventBus, ...], [net.minecraftforge.event.entity.EntityEvent, EntityJoinWorldEvent, PlaySoundAtEntityEvent, ...], [net.minecraftforge.event.entity.item.ItemEvent, ItemExpireEvent, ItemTossEvent], [net.minecraftforge.event.entity.living.LivingEvent, LivingDropsEvent, LivingFallEvent, ...], [net.minecraftforge.event.entity.player.PlayerEvent, ArrowNockEvent, ArrowLooseEvent, ...], [net.minecraftforge.event.world.WorldEvent, Load, Save, ...], [net.minecraftforge.oredict.OreDictionary, OreRegisterEvent, ShapedOreRecipe, ...], [net.minecraftforge.transformers.ForgeAccessTransformer, EventTransformer], [omk.FreeItems.client.ClientProxy], [omk.FreeItems.common.FreeItems, CommonProxy], [org.objectweb.asm.ClassVisitor, ClassWriter, AnnotationVisitor, ...], [org.objectweb.asm.tree.ClassNode, AnnotationNode, FieldNode, ...] IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v7.21 FML v4.4.4.442 Minecraft Forge 6.3.0.372 4 mods loaded, 4 mods active mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available OMKFREEITEMS [FreeItems] (omk.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available LWJGL: 2.4.2 OpenGL: ATI Radeon HD 5670 GL version 4.2.11733 Compatibility Profile Context, ATI Technologies Inc. Is Modded: Definitely; Client brand changed to 'forge,fml' Type: Client (map_client.txt) Texture Pack: Default Profiler Position: N/A (disabled) Vec3 Pool Size: 1820 (101920 bytes; 0 MB) allocated, 22 (1232 bytes; 0 MB) used java.lang.NullPointerException at omk.FreeItems.common.FreeItems.getBlockUse(FreeItems.java:69) at net.minecraftforge.event.ASMEventHandler_3_FreeItems_getBlockUse_PlayerInteractEvent.invoke(.dynamic) at net.minecraftforge.event.ASMEventHandler.invoke(ASMEventHandler.java:35) at net.minecraftforge.event.EventBus.post(EventBus.java:103) at net.minecraftforge.event.ForgeEventFactory.onPlayerInteract(ForgeEventFactory.java:25) at net.minecraft.client.Minecraft.c(Minecraft.java:1332) at net.minecraft.client.Minecraft.l(Minecraft.java:1814) at net.minecraft.client.Minecraft.J(Minecraft.java:858) at net.minecraft.client.Minecraft.run(Minecraft.java:783) at java.lang.Thread.run(Unknown Source) --- END ERROR REPORT 7f809499 ---------- the forgelog from the client: 2012-11-27 08:37:07 [iNFO] [ForgeModLoader] Forge Mod Loader version 4.4.4.442 for Minecraft 1.4.4 loading 2012-11-27 08:37:07 [FINEST] [ForgeModLoader] All core mods are successfully located 2012-11-27 08:37:07 [FINEST] [ForgeModLoader] Discovering coremods 2012-11-27 08:37:07 [FINEST] [ForgeModLoader] Found library file argo-2.25.jar present and correct in lib dir 2012-11-27 08:37:07 [FINEST] [ForgeModLoader] Found library file guava-12.0.1.jar present and correct in lib dir 2012-11-27 08:37:07 [FINEST] [ForgeModLoader] Found library file asm-all-4.0.jar present and correct in lib dir 2012-11-27 08:37:07 [FINEST] [ForgeModLoader] Running coremod plugins 2012-11-27 08:37:07 [FINEST] [ForgeModLoader] Running coremod plugin FMLCorePlugin 2012-11-27 08:37:07 [FINEST] [ForgeModLoader] Coremod plugin FMLCorePlugin run successfully 2012-11-27 08:37:07 [FINEST] [ForgeModLoader] Running coremod plugin FMLForgePlugin 2012-11-27 08:37:07 [FINEST] [ForgeModLoader] Coremod plugin FMLForgePlugin run successfully 2012-11-27 08:37:07 [FINEST] [ForgeModLoader] Validating minecraft 2012-11-27 08:37:08 [FINEST] [ForgeModLoader] Minecraft validated, launching... 2012-11-27 08:37:09 [iNFO] [sTDOUT] 27 achievements 2012-11-27 08:37:09 [iNFO] [sTDOUT] 208 recipes 2012-11-27 08:37:09 [iNFO] [sTDOUT] Setting user: kohmann, -7750208983490575514 2012-11-27 08:37:09 [iNFO] [sTDOUT] LWJGL Version: 2.4.2 2012-11-27 08:37:10 [iNFO] [ForgeModLoader] Attempting early MinecraftForge initialization 2012-11-27 08:37:10 [iNFO] [sTDOUT] MinecraftForge v6.3.0.372 Initialized 2012-11-27 08:37:10 [iNFO] [ForgeModLoader] MinecraftForge v6.3.0.372 Initialized 2012-11-27 08:37:10 [iNFO] [sTDOUT] Replaced 84 ore recipies 2012-11-27 08:37:10 [iNFO] [ForgeModLoader] Completed early MinecraftForge initialization 2012-11-27 08:37:10 [FINE] [ForgeModLoader] Building injected Mod Containers [cpw.mods.fml.common.FMLDummyContainer, net.minecraftforge.common.ForgeDummyContainer] 2012-11-27 08:37:10 [FINE] [ForgeModLoader] Attempting to load mods contained in the minecraft jar file and associated classes 2012-11-27 08:37:10 [FINE] [ForgeModLoader] Skipping known library file C:\Users\omkohmann\AppData\Roaming\.minecraft\bin\lwjgl.jar 2012-11-27 08:37:10 [FINE] [ForgeModLoader] Skipping known library file C:\Users\omkohmann\AppData\Roaming\.minecraft\bin\jinput.jar 2012-11-27 08:37:10 [FINE] [ForgeModLoader] Skipping known library file C:\Users\omkohmann\AppData\Roaming\.minecraft\bin\lwjgl_util.jar 2012-11-27 08:37:10 [FINE] [ForgeModLoader] Found a minecraft related file at C:\Users\omkohmann\AppData\Roaming\.minecraft\bin\minecraft.jar, examining for mod candidates 2012-11-27 08:37:10 [FINE] [ForgeModLoader] Skipping known library file C:\Users\omkohmann\AppData\Roaming\.minecraft\lib\argo-2.25.jar 2012-11-27 08:37:10 [FINE] [ForgeModLoader] Skipping known library file C:\Users\omkohmann\AppData\Roaming\.minecraft\lib\guava-12.0.1.jar 2012-11-27 08:37:10 [FINE] [ForgeModLoader] Skipping known library file C:\Users\omkohmann\AppData\Roaming\.minecraft\lib\asm-all-4.0.jar 2012-11-27 08:37:10 [FINE] [ForgeModLoader] Minecraft jar mods loaded successfully 2012-11-27 08:37:10 [iNFO] [ForgeModLoader] Searching C:\Users\omkohmann\AppData\Roaming\.minecraft\mods for mods 2012-11-27 08:37:10 [FINE] [ForgeModLoader] Found a candidate zip or jar file omk.zip 2012-11-27 08:37:10 [FINE] [ForgeModLoader] Examining file minecraft.jar for potential mods 2012-11-27 08:37:10 [FINE] [ForgeModLoader] The mod container minecraft.jar appears to be missing an mcmod.info file 2012-11-27 08:37:10 [FINE] [ForgeModLoader] Examining file omk.zip for potential mods 2012-11-27 08:37:10 [FINE] [ForgeModLoader] The mod container omk.zip appears to be missing an mcmod.info file 2012-11-27 08:37:10 [FINE] [ForgeModLoader] Identified an FMLMod type mod omk.FreeItems.common.FreeItems 2012-11-27 08:37:10 [FINEST] [ForgeModLoader] Parsed dependency info : [] [] [] 2012-11-27 08:37:10 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load 2012-11-27 08:37:10 [FINE] [ForgeModLoader] Received a system property request '' 2012-11-27 08:37:10 [FINE] [ForgeModLoader] System property request managing the state of 0 mods 2012-11-27 08:37:10 [FINE] [ForgeModLoader] After merging, found state information for 0 mods 2012-11-27 08:37:10 [FINE] [ForgeModLoader] Activating mod mcp 2012-11-27 08:37:10 [FINE] [ForgeModLoader] Activating mod FML 2012-11-27 08:37:10 [FINE] [ForgeModLoader] Activating mod Forge 2012-11-27 08:37:10 [FINE] [ForgeModLoader] Enabling mod OMKFREEITEMS 2012-11-27 08:37:10 [FINE] [ForgeModLoader] Activating mod OMKFREEITEMS 2012-11-27 08:37:10 [FINE] [ForgeModLoader] Verifying mod requirements are satisfied 2012-11-27 08:37:10 [FINE] [ForgeModLoader] All mod requirements are satisfied 2012-11-27 08:37:10 [FINE] [ForgeModLoader] Sorting mods into an ordered list 2012-11-27 08:37:10 [FINE] [ForgeModLoader] Mod sorting completed successfully 2012-11-27 08:37:10 [FINE] [ForgeModLoader] Mod sorting data: 2012-11-27 08:37:10 [FINE] [ForgeModLoader] OMKFREEITEMS(FreeItems:0.1): omk.zip () 2012-11-27 08:37:10 [FINER] [ForgeModLoader] Sending event FMLConstructionEvent to mod mcp 2012-11-27 08:37:10 [FINER] [ForgeModLoader] Sent event FMLConstructionEvent to mod mcp 2012-11-27 08:37:10 [FINER] [ForgeModLoader] Sending event FMLConstructionEvent to mod FML 2012-11-27 08:37:10 [FINER] [ForgeModLoader] Sent event FMLConstructionEvent to mod FML 2012-11-27 08:37:10 [FINER] [ForgeModLoader] Sending event FMLConstructionEvent to mod Forge 2012-11-27 08:37:10 [FINER] [ForgeModLoader] Sent event FMLConstructionEvent to mod Forge 2012-11-27 08:37:10 [FINER] [ForgeModLoader] Sending event FMLConstructionEvent to mod OMKFREEITEMS 2012-11-27 08:37:10 [FINEST] [ForgeModLoader] Testing mod OMKFREEITEMS to verify it accepts its own version in a remote connection 2012-11-27 08:37:10 [FINEST] [ForgeModLoader] The mod OMKFREEITEMS accepts its own version (0.1) 2012-11-27 08:37:10 [FINE] [ForgeModLoader] Attempting to inject @SidedProxy classes into OMKFREEITEMS 2012-11-27 08:37:10 [FINER] [ForgeModLoader] Sent event FMLConstructionEvent to mod OMKFREEITEMS 2012-11-27 08:37:10 [FINER] [ForgeModLoader] Sending event FMLPreInitializationEvent to mod mcp 2012-11-27 08:37:10 [FINER] [ForgeModLoader] Sent event FMLPreInitializationEvent to mod mcp 2012-11-27 08:37:10 [FINER] [ForgeModLoader] Sending event FMLPreInitializationEvent to mod FML 2012-11-27 08:37:10 [FINER] [ForgeModLoader] Sent event FMLPreInitializationEvent to mod FML 2012-11-27 08:37:10 [FINER] [ForgeModLoader] Sending event FMLPreInitializationEvent to mod Forge 2012-11-27 08:37:10 [iNFO] [ForgeModLoader] Configured a dormant chunk cache size of 0 2012-11-27 08:37:10 [FINER] [ForgeModLoader] Sent event FMLPreInitializationEvent to mod Forge 2012-11-27 08:37:10 [FINER] [ForgeModLoader] Sending event FMLPreInitializationEvent to mod OMKFREEITEMS 2012-11-27 08:37:10 [FINER] [ForgeModLoader] Sent event FMLPreInitializationEvent to mod OMKFREEITEMS 2012-11-27 08:37:11 [iNFO] [sTDOUT] Starting up SoundSystem... 2012-11-27 08:37:11 [iNFO] [sTDOUT] Initializing LWJGL OpenAL 2012-11-27 08:37:11 [iNFO] [sTDOUT] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) 2012-11-27 08:37:11 [iNFO] [sTDOUT] OpenAL initialized. 2012-11-27 08:37:11 [FINER] [ForgeModLoader] Sending event FMLInitializationEvent to mod mcp 2012-11-27 08:37:11 [FINER] [ForgeModLoader] Sent event FMLInitializationEvent to mod mcp 2012-11-27 08:37:11 [FINER] [ForgeModLoader] Sending event FMLInitializationEvent to mod FML 2012-11-27 08:37:11 [FINER] [ForgeModLoader] Sent event FMLInitializationEvent to mod FML 2012-11-27 08:37:11 [FINER] [ForgeModLoader] Sending event FMLInitializationEvent to mod Forge 2012-11-27 08:37:11 [FINER] [ForgeModLoader] Sent event FMLInitializationEvent to mod Forge 2012-11-27 08:37:11 [FINER] [ForgeModLoader] Sending event FMLInitializationEvent to mod OMKFREEITEMS 2012-11-27 08:37:11 [FINER] [ForgeModLoader] Sent event FMLInitializationEvent to mod OMKFREEITEMS 2012-11-27 08:37:11 [FINER] [ForgeModLoader] Sending event IMCEvent to mod mcp 2012-11-27 08:37:11 [FINER] [ForgeModLoader] Sent event IMCEvent to mod mcp 2012-11-27 08:37:11 [FINER] [ForgeModLoader] Sending event IMCEvent to mod FML 2012-11-27 08:37:11 [FINER] [ForgeModLoader] Sent event IMCEvent to mod FML 2012-11-27 08:37:11 [FINER] [ForgeModLoader] Sending event IMCEvent to mod Forge 2012-11-27 08:37:11 [FINER] [ForgeModLoader] Sent event IMCEvent to mod Forge 2012-11-27 08:37:11 [FINER] [ForgeModLoader] Sending event IMCEvent to mod OMKFREEITEMS 2012-11-27 08:37:11 [FINER] [ForgeModLoader] Sent event IMCEvent to mod OMKFREEITEMS 2012-11-27 08:37:11 [FINER] [ForgeModLoader] Sending event FMLPostInitializationEvent to mod mcp 2012-11-27 08:37:11 [FINER] [ForgeModLoader] Sent event FMLPostInitializationEvent to mod mcp 2012-11-27 08:37:11 [FINER] [ForgeModLoader] Sending event FMLPostInitializationEvent to mod FML 2012-11-27 08:37:11 [FINER] [ForgeModLoader] Sent event FMLPostInitializationEvent to mod FML 2012-11-27 08:37:11 [FINER] [ForgeModLoader] Sending event FMLPostInitializationEvent to mod Forge 2012-11-27 08:37:11 [FINER] [ForgeModLoader] Sent event FMLPostInitializationEvent to mod Forge 2012-11-27 08:37:11 [FINER] [ForgeModLoader] Sending event FMLPostInitializationEvent to mod OMKFREEITEMS 2012-11-27 08:37:11 [FINER] [ForgeModLoader] Sent event FMLPostInitializationEvent to mod OMKFREEITEMS 2012-11-27 08:37:11 [FINER] [ForgeModLoader] Sending event FMLLoadCompleteEvent to mod mcp 2012-11-27 08:37:11 [FINER] [ForgeModLoader] Sent event FMLLoadCompleteEvent to mod mcp 2012-11-27 08:37:11 [FINER] [ForgeModLoader] Sending event FMLLoadCompleteEvent to mod FML 2012-11-27 08:37:11 [FINER] [ForgeModLoader] Sent event FMLLoadCompleteEvent to mod FML 2012-11-27 08:37:11 [FINER] [ForgeModLoader] Sending event FMLLoadCompleteEvent to mod Forge 2012-11-27 08:37:11 [FINER] [ForgeModLoader] Sent event FMLLoadCompleteEvent to mod Forge 2012-11-27 08:37:11 [FINER] [ForgeModLoader] Sending event FMLLoadCompleteEvent to mod OMKFREEITEMS 2012-11-27 08:37:11 [FINER] [ForgeModLoader] Sent event FMLLoadCompleteEvent to mod OMKFREEITEMS 2012-11-27 08:37:11 [iNFO] [ForgeModLoader] Forge Mod Loader has successfully loaded 4 mods 2012-11-27 08:37:25 [iNFO] [sTDOUT] Connecting to 10.40.92.74, 25565 2012-11-27 08:37:26 [FINE] [ForgeModLoader] The server has compatibility level 1 2012-11-27 08:37:37 [iNFO] [sTDERR] java.lang.NullPointerException 2012-11-27 08:37:37 [iNFO] [sTDERR] at omk.FreeItems.common.FreeItems.getBlockUse(FreeItems.java:69) 2012-11-27 08:37:37 [iNFO] [sTDERR] at net.minecraftforge.event.ASMEventHandler_3_FreeItems_getBlockUse_PlayerInteractEvent.invoke(.dynamic) 2012-11-27 08:37:37 [iNFO] [sTDERR] at net.minecraftforge.event.ASMEventHandler.invoke(ASMEventHandler.java:35) 2012-11-27 08:37:37 [iNFO] [sTDERR] at net.minecraftforge.event.EventBus.post(EventBus.java:103) 2012-11-27 08:37:37 [iNFO] [sTDERR] at net.minecraftforge.event.ForgeEventFactory.onPlayerInteract(ForgeEventFactory.java:25) 2012-11-27 08:37:37 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.c(Minecraft.java:1332) 2012-11-27 08:37:37 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.l(Minecraft.java:1814) 2012-11-27 08:37:37 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.J(Minecraft.java:858) 2012-11-27 08:37:37 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:783) 2012-11-27 08:37:37 [iNFO] [sTDERR] at java.lang.Thread.run(Unknown Source) 2012-11-27 08:37:47 [iNFO] [sTDOUT] Stopping! 2012-11-27 08:37:47 [iNFO] [sTDOUT] SoundSystem shutting down... 2012-11-27 08:37:47 [iNFO] [sTDOUT] Author: Paul Lamb, www.paulscode.com here is the forgelog from the server(from startup to crash): 2012-11-27 08:36:08 [iNFO] [ForgeModLoader] Forge Mod Loader version 4.4.4.442 for Minecraft 1.4.4 loading 2012-11-27 08:36:09 [iNFO] [sTDOUT] 208 recipes 2012-11-27 08:36:09 [iNFO] [sTDOUT] 27 achievements 2012-11-27 08:36:10 [iNFO] [sTDERR] java.io.IOException: Ugyldig referanse 2012-11-27 08:36:10 [iNFO] [sTDERR] at java.io.FileInputStream.readBytes(Native Method) 2012-11-27 08:36:10 [iNFO] [sTDERR] at java.io.FileInputStream.read(Unknown Source) 2012-11-27 08:36:10 [iNFO] [sTDERR] at java.io.BufferedInputStream.read1(Unknown Source) 2012-11-27 08:36:10 [iNFO] [sTDERR] at java.io.BufferedInputStream.read(Unknown Source) 2012-11-27 08:36:10 [iNFO] [sTDERR] at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) 2012-11-27 08:36:10 [iNFO] [sTDERR] at sun.nio.cs.StreamDecoder.implRead(Unknown Source) 2012-11-27 08:36:10 [iNFO] [sTDERR] at sun.nio.cs.StreamDecoder.read(Unknown Source) 2012-11-27 08:36:10 [iNFO] [sTDERR] at java.io.InputStreamReader.read(Unknown Source) 2012-11-27 08:36:10 [iNFO] [sTDERR] at java.io.BufferedReader.fill(Unknown Source) 2012-11-27 08:36:10 [iNFO] [sTDERR] at java.io.BufferedReader.readLine(Unknown Source) 2012-11-27 08:36:10 [iNFO] [sTDERR] at java.io.BufferedReader.readLine(Unknown Source) 2012-11-27 08:36:10 [iNFO] [sTDERR] at hq.run(SourceFile:68) 2012-11-27 08:36:10 [iNFO] [Minecraft] Starting minecraft server version 1.4.4 2012-11-27 08:36:10 [iNFO] [ForgeModLoader] Attempting early MinecraftForge initialization 2012-11-27 08:36:10 [iNFO] [sTDOUT] MinecraftForge v6.3.0.372 Initialized 2012-11-27 08:36:10 [iNFO] [ForgeModLoader] MinecraftForge v6.3.0.372 Initialized 2012-11-27 08:36:10 [iNFO] [sTDOUT] Replaced 84 ore recipies 2012-11-27 08:36:10 [iNFO] [ForgeModLoader] Completed early MinecraftForge initialization 2012-11-27 08:36:10 [FINE] [ForgeModLoader] Building injected Mod Containers [cpw.mods.fml.common.FMLDummyContainer, net.minecraftforge.common.ForgeDummyContainer] 2012-11-27 08:36:10 [FINE] [ForgeModLoader] Attempting to load mods contained in the minecraft jar file and associated classes 2012-11-27 08:36:10 [FINE] [ForgeModLoader] Found a minecraft related file at C:\mc-server\minecraftforge-universal-6.3.0.372.jar, examining for mod candidates 2012-11-27 08:36:10 [FINE] [ForgeModLoader] Skipping known library file C:\mc-server\lib\argo-2.25.jar 2012-11-27 08:36:10 [FINE] [ForgeModLoader] Skipping known library file C:\mc-server\lib\guava-12.0.1.jar 2012-11-27 08:36:10 [FINE] [ForgeModLoader] Skipping known library file C:\mc-server\lib\asm-all-4.0.jar 2012-11-27 08:36:10 [FINE] [ForgeModLoader] Minecraft jar mods loaded successfully 2012-11-27 08:36:10 [iNFO] [ForgeModLoader] Searching C:\mc-server\mods for mods 2012-11-27 08:36:10 [FINE] [ForgeModLoader] Found a candidate zip or jar file omk.zip 2012-11-27 08:36:10 [FINE] [ForgeModLoader] Examining file minecraftforge-universal-6.3.0.372.jar for potential mods 2012-11-27 08:36:10 [FINE] [ForgeModLoader] The mod container minecraftforge-universal-6.3.0.372.jar appears to be missing an mcmod.info file 2012-11-27 08:36:10 [FINE] [ForgeModLoader] Examining file omk.zip for potential mods 2012-11-27 08:36:10 [FINE] [ForgeModLoader] The mod container omk.zip appears to be missing an mcmod.info file 2012-11-27 08:36:10 [FINE] [ForgeModLoader] Identified an FMLMod type mod omk.FreeItems.common.FreeItems 2012-11-27 08:36:10 [FINEST] [ForgeModLoader] Parsed dependency info : [] [] [] 2012-11-27 08:36:10 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load 2012-11-27 08:36:10 [FINE] [ForgeModLoader] Received a system property request '' 2012-11-27 08:36:10 [FINE] [ForgeModLoader] System property request managing the state of 0 mods 2012-11-27 08:36:10 [FINE] [ForgeModLoader] After merging, found state information for 0 mods 2012-11-27 08:36:10 [FINE] [ForgeModLoader] Activating mod mcp 2012-11-27 08:36:10 [FINE] [ForgeModLoader] Activating mod FML 2012-11-27 08:36:10 [FINE] [ForgeModLoader] Activating mod Forge 2012-11-27 08:36:10 [FINE] [ForgeModLoader] Enabling mod OMKFREEITEMS 2012-11-27 08:36:10 [FINE] [ForgeModLoader] Activating mod OMKFREEITEMS 2012-11-27 08:36:10 [FINE] [ForgeModLoader] Verifying mod requirements are satisfied 2012-11-27 08:36:10 [FINE] [ForgeModLoader] All mod requirements are satisfied 2012-11-27 08:36:10 [FINE] [ForgeModLoader] Sorting mods into an ordered list 2012-11-27 08:36:10 [FINE] [ForgeModLoader] Mod sorting completed successfully 2012-11-27 08:36:10 [FINE] [ForgeModLoader] Mod sorting data: 2012-11-27 08:36:10 [FINE] [ForgeModLoader] OMKFREEITEMS(FreeItems:0.1): omk.zip () 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sending event FMLConstructionEvent to mod mcp 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sent event FMLConstructionEvent to mod mcp 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sending event FMLConstructionEvent to mod FML 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sent event FMLConstructionEvent to mod FML 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sending event FMLConstructionEvent to mod Forge 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sent event FMLConstructionEvent to mod Forge 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sending event FMLConstructionEvent to mod OMKFREEITEMS 2012-11-27 08:36:10 [FINEST] [ForgeModLoader] Testing mod OMKFREEITEMS to verify it accepts its own version in a remote connection 2012-11-27 08:36:10 [FINEST] [ForgeModLoader] The mod OMKFREEITEMS accepts its own version (0.1) 2012-11-27 08:36:10 [FINE] [ForgeModLoader] Attempting to inject @SidedProxy classes into OMKFREEITEMS 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sent event FMLConstructionEvent to mod OMKFREEITEMS 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sending event FMLPreInitializationEvent to mod mcp 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sent event FMLPreInitializationEvent to mod mcp 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sending event FMLPreInitializationEvent to mod FML 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sent event FMLPreInitializationEvent to mod FML 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sending event FMLPreInitializationEvent to mod Forge 2012-11-27 08:36:10 [iNFO] [ForgeModLoader] Configured a dormant chunk cache size of 0 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sent event FMLPreInitializationEvent to mod Forge 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sending event FMLPreInitializationEvent to mod OMKFREEITEMS 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sent event FMLPreInitializationEvent to mod OMKFREEITEMS 2012-11-27 08:36:10 [iNFO] [Minecraft] Loading properties 2012-11-27 08:36:10 [iNFO] [Minecraft] Default game type: SURVIVAL 2012-11-27 08:36:10 [iNFO] [Minecraft] Generating keypair 2012-11-27 08:36:10 [iNFO] [Minecraft] Starting Minecraft server on *:25565 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sending event FMLInitializationEvent to mod mcp 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sent event FMLInitializationEvent to mod mcp 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sending event FMLInitializationEvent to mod FML 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sent event FMLInitializationEvent to mod FML 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sending event FMLInitializationEvent to mod Forge 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sent event FMLInitializationEvent to mod Forge 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sending event FMLInitializationEvent to mod OMKFREEITEMS 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sent event FMLInitializationEvent to mod OMKFREEITEMS 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sending event IMCEvent to mod mcp 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sent event IMCEvent to mod mcp 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sending event IMCEvent to mod FML 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sent event IMCEvent to mod FML 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sending event IMCEvent to mod Forge 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sent event IMCEvent to mod Forge 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sending event IMCEvent to mod OMKFREEITEMS 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sent event IMCEvent to mod OMKFREEITEMS 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sending event FMLPostInitializationEvent to mod mcp 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sent event FMLPostInitializationEvent to mod mcp 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sending event FMLPostInitializationEvent to mod FML 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sent event FMLPostInitializationEvent to mod FML 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sending event FMLPostInitializationEvent to mod Forge 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sent event FMLPostInitializationEvent to mod Forge 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sending event FMLPostInitializationEvent to mod OMKFREEITEMS 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sent event FMLPostInitializationEvent to mod OMKFREEITEMS 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sending event FMLLoadCompleteEvent to mod mcp 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sent event FMLLoadCompleteEvent to mod mcp 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sending event FMLLoadCompleteEvent to mod FML 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sent event FMLLoadCompleteEvent to mod FML 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sending event FMLLoadCompleteEvent to mod Forge 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sent event FMLLoadCompleteEvent to mod Forge 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sending event FMLLoadCompleteEvent to mod OMKFREEITEMS 2012-11-27 08:36:10 [FINER] [ForgeModLoader] Sent event FMLLoadCompleteEvent to mod OMKFREEITEMS 2012-11-27 08:36:10 [iNFO] [ForgeModLoader] Forge Mod Loader has successfully loaded 4 mods 2012-11-27 08:36:11 [iNFO] [Minecraft] Preparing level "world" 2012-11-27 08:36:11 [iNFO] [ForgeModLoader] Loading dimension 0 (world) (ho@544dc9ba) 2012-11-27 08:36:11 [iNFO] [ForgeModLoader] Loading dimension 1 (world) (ho@544dc9ba) 2012-11-27 08:36:11 [iNFO] [ForgeModLoader] Loading dimension -1 (world) (ho@544dc9ba) 2012-11-27 08:36:11 [iNFO] [Minecraft] Preparing start region for level 0 2012-11-27 08:36:11 [iNFO] [Minecraft] Done (0,964s)! For help, type "help" or "?" 2012-11-27 08:36:11 [FINER] [ForgeModLoader] Sending event FMLServerStartingEvent to mod mcp 2012-11-27 08:36:11 [FINER] [ForgeModLoader] Sent event FMLServerStartingEvent to mod mcp 2012-11-27 08:36:11 [FINER] [ForgeModLoader] Sending event FMLServerStartingEvent to mod FML 2012-11-27 08:36:11 [FINER] [ForgeModLoader] Sent event FMLServerStartingEvent to mod FML 2012-11-27 08:36:11 [FINER] [ForgeModLoader] Sending event FMLServerStartingEvent to mod Forge 2012-11-27 08:36:11 [FINER] [ForgeModLoader] Sent event FMLServerStartingEvent to mod Forge 2012-11-27 08:36:11 [FINER] [ForgeModLoader] Sending event FMLServerStartingEvent to mod OMKFREEITEMS 2012-11-27 08:36:11 [FINER] [ForgeModLoader] Sent event FMLServerStartingEvent to mod OMKFREEITEMS 2012-11-27 08:36:11 [FINER] [ForgeModLoader] Sending event FMLServerStartedEvent to mod mcp 2012-11-27 08:36:11 [FINER] [ForgeModLoader] Sent event FMLServerStartedEvent to mod mcp 2012-11-27 08:36:11 [FINER] [ForgeModLoader] Sending event FMLServerStartedEvent to mod FML 2012-11-27 08:36:11 [FINER] [ForgeModLoader] Sent event FMLServerStartedEvent to mod FML 2012-11-27 08:36:11 [FINER] [ForgeModLoader] Sending event FMLServerStartedEvent to mod Forge 2012-11-27 08:36:11 [FINER] [ForgeModLoader] Sent event FMLServerStartedEvent to mod Forge 2012-11-27 08:36:11 [FINER] [ForgeModLoader] Sending event FMLServerStartedEvent to mod OMKFREEITEMS 2012-11-27 08:36:11 [FINER] [ForgeModLoader] Sent event FMLServerStartedEvent to mod OMKFREEITEMS 2012-11-27 08:37:22 [iNFO] [Minecraft] /10.40.92.74:58436 lost connection 2012-11-27 08:37:25 [FINEST] [ForgeModLoader] Received valid FML login packet from /10.40.92.74:58437 2012-11-27 08:37:26 [iNFO] [Minecraft] User kohmann connecting with mods [OMKFREEITEMS] 2012-11-27 08:37:26 [iNFO] [ForgeModLoader] User kohmann connecting with mods [OMKFREEITEMS] 2012-11-27 08:37:26 [iNFO] [Minecraft] kohmann[/10.40.92.74:58437] logged in with entity id 365 at (213.5, 64.02739540713331, 268.5) 2012-11-27 08:38:07 [iNFO] [sTDERR] java.net.SocketTimeoutException: Read timed out 2012-11-27 08:38:07 [iNFO] [sTDERR] at java.net.SocketInputStream.socketRead0(Native Method) 2012-11-27 08:38:07 [iNFO] [sTDERR] at java.net.SocketInputStream.read(Unknown Source) 2012-11-27 08:38:07 [iNFO] [sTDERR] at java.net.SocketInputStream.read(Unknown Source) 2012-11-27 08:38:07 [iNFO] [sTDERR] at java.io.FilterInputStream.read(Unknown Source) 2012-11-27 08:38:07 [iNFO] [sTDERR] at aov.a(Unknown Source) 2012-11-27 08:38:07 [iNFO] [sTDERR] at aov.read(Unknown Source) 2012-11-27 08:38:07 [iNFO] [sTDERR] at java.io.FilterInputStream.read(Unknown Source) 2012-11-27 08:38:07 [iNFO] [sTDERR] at eg.a(Packet.java:138) 2012-11-27 08:38:07 [iNFO] [sTDERR] at cg.i(TcpConnection.java:317) 2012-11-27 08:38:07 [iNFO] [sTDERR] at cg.c(TcpConnection.java:537) 2012-11-27 08:38:07 [iNFO] [sTDERR] at ch.run(SourceFile:93) 2012-11-27 08:38:07 [iNFO] [Minecraft] kohmann lost connection: disconnect.genericReason Quote
keepcalm Posted November 27, 2012 Posted November 27, 2012 Something's null that shouldn't be in your PlayerInteractEvent handler Quote Protip: try and find answers yourself before asking on the forum. It's pretty likely that there is an answer. Was I helpful? Give me a thank you! http://bit.ly/HZ03zy[/img] Tired of waiting for mods to port to bukkit? use BukkitForge! (now with a working version of WorldEdit!)
omk Posted November 27, 2012 Author Posted November 27, 2012 Hmmm, does player exist on server?(EntityPlayer) Just to make sure: With PlayerInteractEvent handler, you are refering to my getBlockUse method right? Quote
omk Posted November 27, 2012 Author Posted November 27, 2012 I fixed it For anyone who was wondering: It works indeed in SMP, it was just idiot me testing a value that can be null, so I just wrapped the if statement in a try & check if the variable was null. the try was probably not needed(didnt get any exceptions in the log atleast), but good to have anyways It was abit strange that it happened nonetheless, because it crashed even if the variable would have a value. I guess its a safety measure somewhere. Quote
Recommended Posts
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.