Jump to content


  • Posts

  • Joined

  • Last visited

Everything posted by danners68

  1. having stopped and re-read everything I've had a play, and fixed it, you're very correct diesieben, for some reason or another it seemed like a good idea to import the textures folder into the block class, which I'm sure you know.... will cause the compiler to fail.... Thank you for your reply, and please feel free to call me an idiot....
  2. So I finally get through the class files with a little bit of help from the internet, and hopefully this is the last silly question from me, I'm at a stage where I feel ready to finish and compile my first ever mod, and gradle starts complaining, can anyone spot what I've done wrong and set me straight? [spoiler=console with stacktrace] E:\Forge>gradlew build --stacktrace **************************** Powered By MCP: http://mcp.ocean-labs.de/ Searge, ProfMobius, Fesh0r, R4wk, ZeuX, IngisKahn, bspkrs MCP Data version : unknown **************************** :compileApiJava UP-TO-DATE :processApiResources UP-TO-DATE :apiClasses UP-TO-DATE :sourceMainJava UP-TO-DATE :compileJava warning: [options] bootstrap class path not set in conjunction with -source 1.6 E:\Forge\build\sources\java\mg\Labyrinth\LabyrinthiumBlock.java:7: error: packag e assets.mg.textures.blocks does not exist import assets.mg.textures.blocks.*; ^ Note: E:\Forge\build\sources\java\mg\Labyrinth\Base.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. 1 error 1 warning :compileJava FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':compileJava'. > Compilation failed; see the compiler error output for details. * Try: Run with --info or --debug option to get more log output. * Exception is: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':compileJava'. at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46) at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35) at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64) at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58) at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:42) at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52) at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53) at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43) at org.gradle.api.internal.AbstractTask.executeWithoutThrowingTaskFailure(AbstractTask.java:296) at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.executeTask(AbstractTaskPlanExecutor.java:79) at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:63) at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:51) at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:23) at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:86) at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:29) at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:61) at org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExecuter.java:23) at org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:67) at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32) at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:61) at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:54) at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:148) at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:105) at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:85) at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:81) at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33) at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24) at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:39) at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:29) at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:50) at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:171) at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237) at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210) at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35) at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24) at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206) at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169) at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33) at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22) at org.gradle.launcher.Main.doAction(Main.java:33) at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45) at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:54) at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35) at org.gradle.launcher.GradleMain.main(GradleMain.java:23) at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30) at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127) at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:56) Caused by: org.gradle.api.internal.tasks.compile.CompilationFailedException: Compilation failed; see the compiler error output for details. at org.gradle.api.internal.tasks.compile.jdk6.Jdk6JavaCompiler.execute(Jdk6JavaCompiler.java:47) at org.gradle.api.internal.tasks.compile.jdk6.Jdk6JavaCompiler.execute(Jdk6JavaCompiler.java:38) at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:96) at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:49) at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:35) at org.gradle.api.internal.tasks.compile.DelegatingJavaCompiler.execute(DelegatingJavaCompiler.java:29) at org.gradle.api.internal.tasks.compile.DelegatingJavaCompiler.execute(DelegatingJavaCompiler.java:20) at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:33) at org.gradle.api.internal.tasks.compile.CleaningJavaCompilerSupport.execute(CleaningJavaCompilerSupport.java:24) at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:87) at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:65) at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:53) at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:63) at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.doExecute(AnnotationProcessingTaskFactory.java:235) at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:211) at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$IncrementalTaskAction.execute(AnnotationProcessingTaskFactory.java:222) at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:200) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61) ... 47 more BUILD FAILED Total time: 8.669 secs [spoiler=base.class] package mg.Labyrinth; import net.minecraft.block.Block; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.EventHandler; import cpw.mods.fml.common.SidedProxy; import cpw.mods.fml.common.event.FMLPreInitializationEvent; import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.common.registry.LanguageRegistry; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; @Mod(modid="mg.Labyrinth", name="Labyrinth", version="0.0.01A") public class Base { // Blocks public static Block minoriumOre; public static Block labyrinthiumOre; public static Block minoriumBlock; public static Block labyrinthiumBlock; // Items public static Item amethystItem; public static Item minoriumIngot; public static Item labyrinthiumChunk; public static Item labyrinthiumIngot; // Creative Tabs public static CreativeTabs tabLabyrinth = new CreativeTabs("Labyrinth") { @Override @SideOnly(Side.CLIENT) public Item getTabIconItem() { return amethystItem; } }; @EventHandler public void preinit(FMLPreInitializationEvent event) { // BLocks minoriumOre = new MinoriumOre(); labyrinthiumOre = new LabyrinthiumOre(); minoriumBlock = new MinoriumBlock(); labyrinthiumBlock = new LabyrinthiumBlock(); GameRegistry.registerBlock(minoriumOre, "Minorium Ore"); GameRegistry.registerBlock(labyrinthiumOre, "Labyrinthium Ore"); GameRegistry.registerBlock(minoriumBlock,"Minorium Block"); GameRegistry.registerBlock(labyrinthiumBlock, "Labyrinthium Block"); LanguageRegistry.addName(minoriumOre, "Minorium Ore"); LanguageRegistry.addName(labyrinthiumOre, "Labyrinthium Ore"); LanguageRegistry.addName(minoriumBlock, "Minorium Block"); LanguageRegistry.addName(labyrinthiumBlock, "Labyrinthium Block"); // Items amethystItem = new AmethystItem(); minoriumIngot = new MinoriumIngot(); labyrinthiumChunk = new LabyrinthiumChunk(); labyrinthiumIngot = new LabyrinthiumIngot(); GameRegistry.registerItem(amethystItem, "amethystItem"); GameRegistry.registerItem(minoriumIngot, "minoriumIngot"); GameRegistry.registerItem(labyrinthiumChunk, "labyrinthiumChunk"); GameRegistry.registerItem(labyrinthiumIngot, "labyrinthiumIngot"); LanguageRegistry.addName(amethystItem, "Amethyst"); LanguageRegistry.addName(minoriumIngot, "Minorium Ingot"); LanguageRegistry.addName(labyrinthiumChunk, "Labyrinthium Chunk"); LanguageRegistry.addName(labyrinthiumIngot, "Labyrinthium Ingot"); // Crafting Recipes GameRegistry.addRecipe(new ItemStack(minoriumBlock), new Object[]{ "AAA", "AAA", "AAA", 'A', minoriumIngot }); GameRegistry.addRecipe(new ItemStack(labyrinthiumIngot, 2), new Object[]{ "AAA", "AAA", "AAA", 'A', labyrinthiumChunk }); GameRegistry.addRecipe(new ItemStack(labyrinthiumBlock), new Object[]{ "AAA", "AAA", "AAA", 'A', labyrinthiumIngot }); // Smelting Recipes GameRegistry.addSmelting(new ItemStack(minoriumOre), new ItemStack(minoriumIngot), 0.75F); GameRegistry.addSmelting(new ItemStack(labyrinthiumOre), new ItemStack(labyrinthiumChunk), 1.2F); // World Generation WorldGen ore_Gen = new WorldGen(); GameRegistry.registerWorldGenerator(new WorldGen(), 0); // Creative Tabs LanguageRegistry.instance().addStringLocalization("itemGroup.Labyrinth", "en_US", "Labyrinth"); } } part of me wants to believe its something silly that I've done in following tutorials for 1.7.2 while trying to adapt for 1.7.10 and that its easy to fix, forge version is
  3. Thank you both for your help There were actually 2 faults which between you, you helped me see, The Static Thing was piggybacked because i was telling world gen to look at the class folder where theres no init details, what i've done to rectify this is point them to the base class Where i had MinoriumOre.MinoriumOre it should have been Base.MinoriumOre, it would also help if I had thethe important "Oregen ore_gen = new Oregen();" style line in there, Thank you both for putting up with me and showing me the light
  4. i take out the static and eclipse gives me error flags in the worldgen class asking me to create a field or constant in MinoriumOre on the following lines [spoiler=error lines] this.addOreSpawn(MinoriumOre.minoriumOre, world, random, x, z, 16, 16, 4 + random.nextInt(3), 5, 15, 50); [...] (new WorldGenMinable(MinoriumOre.minoriumOre, 1, 15, Blocks.stone)).generate(world, random, Xcoord, Ycoord, Zcoord); when I make either they create static fields in the block class
  5. that's happening in the base class file at line 44 [spoiler=base] [...] @EventHandler public void preinit(FMLPreInitializationEvent event) { // Blocks minoriumOre = new MinoriumOre(); labyrinthiumOre = new LabyrinthiumOre(); minoriumBlock = new MinoriumBlock(); labyrinthiumBlock = new LabyrinthiumBlock(); GameRegistry.registerBlock(minoriumOre, "Minorium Ore"); GameRegistry.registerBlock(labyrinthiumOre, "Labyrinthium Ore"); GameRegistry.registerBlock(minoriumBlock,"Minorium Block"); GameRegistry.registerBlock(labyrinthiumBlock, "Labyrinthium Block"); [...] the pessimist in me is now saying "You're going to tell me i need to do this in the ore class somewhere"
  6. I'm not 100% sure what's meant by so heres the class, thanks for the pointer with the class files, I'll get to work on changing them [spoiler=minorium ore class] package mg.Labyrinth; import cpw.mods.fml.common.registry.LanguageRegistry; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.creativetab.CreativeTabs; public class minoriumOre extends Block { public static final Block minoriumOre = null; protected minoriumOre() { super(Material.rock); setHardness(4.0F); setStepSound(Block.soundTypeStone); // sounds got renamed, look in Block class for what blocks have what sounds setBlockName("Minorium Ore"); // changed in 1.7 setBlockTextureName("mg:minoriumOre"); setHarvestLevel("pickaxe",2); setCreativeTab(base.tabLabyrinth); } }
  7. I've recently started coding java, following tutorials and renaming things, piecing together the puzzle of modding, however i've stumbled upon a flaw that no amount of tutorials seem to help me with (maybe I'm not reading them properly), Eclipse Tells Me Everything is fine and there's no little error marks anywhere that says class referencing is incorrect, the debug minecraft environment runs properly right up until it try's to generate the terrain with my new ore Just to clarify this is using 1.7.10 with forge: [spoiler=code]package mg.Labyrinth; import java.util.Random; import net.minecraft.block.Block; import net.minecraft.init.Blocks; import net.minecraft.world.World; import net.minecraft.world.chunk.IChunkProvider; import net.minecraft.world.gen.feature.WorldGenMinable; import cpw.mods.fml.common.IWorldGenerator; public class worldGen implements IWorldGenerator { public void generate(Random random, int chunkX, int chunkZ, World world, IChunkProvider chunkGenerator, IChunkProvider chunkProvider) { switch (world.provider.dimensionId) { case -1: generateNether(world, random, chunkX * 16, chunkZ * 16); case 0: generateSurface(world, random, chunkX * 16, chunkZ * 16); case 1: generateEnd(world, random, chunkX * 16, chunkZ * 16); break; } } private void generateEnd(World world, Random random, int x, int z) { } private void generateSurface(World world, Random random, int x, int z) { this.addOreSpawn(minoriumOre.minoriumOre, world, random, x, z, 16, 16, 4 + random.nextInt(3), 5, 15, 50); int Xcoord = x + random.nextInt(16); int Ycoord = 10 + random.nextInt(128); int Zcoord = z + random.nextInt(16); (new WorldGenMinable(minoriumOre.minoriumOre, 1, 15, Blocks.stone)).generate(world, random, Xcoord, Ycoord, Zcoord); } private void generateNether(World world, Random random, int x, int z) { } /** * Adds an Ore Spawn to Minecraft. Simply register all Ores to spawn with this method in your Generation method in your IWorldGeneration extending Class * * @param The Block to spawn * @param The World to spawn in * @param A Random object for retrieving random positions within the world to spawn the Block * @param An int for passing the X-Coordinate for the Generation method * @param An int for passing the Z-Coordinate for the Generation method * @param An int for setting the maximum X-Coordinate values for spawning on the X-Axis on a Per-Chunk basis * @param An int for setting the maximum Z-Coordinate values for spawning on the Z-Axis on a Per-Chunk basis * @param An int for setting the maximum size of a vein * @param An int for the Number of chances available for the Block to spawn per-chunk * @param An int for the minimum Y-Coordinate height at which this block may spawn * @param An int for the maximum Y-Coordinate height at which this block may spawn **/ public void addOreSpawn(Block block, World world, Random random, int blockXPos, int blockZPos, int maxX, int maxZ, int maxVeinSize, int chancesToSpawn, int minY, int maxY) { assert maxY > minY : "The maximum Y must be greater than the Minimum Y"; assert maxX > 0 && maxX <= 16 : "addOreSpawn: The Maximum X must be greater than 0 and less than 16"; assert minY > 0 : "addOreSpawn: The Minimum Y must be greater than 0"; assert maxY < 256 && maxY > 0 : "addOreSpawn: The Maximum Y must be less than 256 but greater than 0"; assert maxZ > 0 && maxZ <= 16 : "addOreSpawn: The Maximum Z must be greater than 0 and less than 16"; int diffBtwnMinMaxY = maxY - minY; for (int x = 5; x < chancesToSpawn; x++) { int posX = blockXPos + random.nextInt(maxX); int posY = minY + random.nextInt(diffBtwnMinMaxY); int posZ = blockZPos + random.nextInt(maxZ); (new WorldGenMinable(block, maxVeinSize)).generate(world, random, posX, posY, posZ); break; } } } I like to think I understand what the most of this is doing and that in theory with everything I've Googled says that this should work, however, minecraft says otherwise and gives me the following crash report: [spoiler=crash] ---- Minecraft Crash Report ---- // Daisy, daisy... Time: 15/01/15 18:05 Description: Exception in server tick loop java.lang.NullPointerException: Exception in server tick loop at net.minecraft.world.chunk.storage.ExtendedBlockStorage.func_150818_a(SourceFile:57) at net.minecraft.world.chunk.Chunk.func_150807_a(Chunk.java:595) at net.minecraft.world.World.setBlock(World.java:451) at net.minecraft.world.gen.feature.WorldGenMinable.generate(WorldGenMinable.java:78) at mg.Labyrinth.worldGen.generateSurface(worldGen.java:39) at mg.Labyrinth.worldGen.generate(worldGen.java:21) at cpw.mods.fml.common.registry.GameRegistry.generateWorld(GameRegistry.java:106) at net.minecraft.world.gen.ChunkProviderServer.populate(ChunkProviderServer.java:280) at net.minecraft.world.chunk.Chunk.populateChunk(Chunk.java:1055) at net.minecraft.world.gen.ChunkProviderServer.originalLoadChunk(ChunkProviderServer.java:190) at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:131) at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:101) at net.minecraft.server.MinecraftServer.initialWorldChunkLoad(MinecraftServer.java:265) at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:78) at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:92) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:387) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.8.0_25, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 923312960 bytes (880 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95 FML: MCP v9.05 FML v7.10.85.1230 Minecraft Forge 7 mods loaded, 7 mods active mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available FML{} [Forge Mod Loader] (forgeBin-1.7.10- Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available Forge{} [Minecraft Forge] (forgeBin-1.7.10- Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available CodeChickenCore{} [CodeChicken Core] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available NotEnoughItems{} [Not Enough Items] (NotEnoughItems-1.7.10- Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available mg.Labyrinth{0.0.01A} [Labyrinth] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available ComputerCraft{1.64} [ComputerCraft] (ComputerCraft1.64.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Player Count: 0 / 8; [] Type: Integrated Server (map_client.txt) Is Modded: Definitely; Client brand changed to 'fml,forge' what i pull from this is that lines 39 & 21 are erroring on world load. [spoiler=line 21] generateSurface(world, random, chunkX * 16, chunkZ * 16); [spoiler=line 39] (new WorldGenMinable(minoriumOre.minoriumOre, 1, 15, Blocks.stone)).generate(world, random, Xcoord, Ycoord, Zcoord); The Above Code is borrowed from Wuppy's tutorial for upgrading 1.6 code to 1.7 and has been slightly rejigged, a link to the original can be gathered on request, Again, please don't hurt me
  8. That's amazing, Thanks, I'll have a study with that class and see what I can't learn, And on that note block I suppose this topic is actually solved. thank you both for your responses, i don't doubt that i'll be back in the future with some other issue of somekind,
  9. Basically I'm trying to create a radius based anti-build/break protection hopefully that helps somewhat Just in case I'm still too obscure, you place down this magic block and your base is protected within the x amount of blocks (for arguments sake we'll say 7)
  10. Let me start by saying I'm totally new to Java coding, but I have a willingness to learn I'm currently working on an area protection mod I have the block details mostly in place in the sense that its a block that I can place in the development world but I want to add functionality similar to that of how precious stones used to work in bucket (back when there was only the sponge preventing block break/place/interact) I am basically wondering if: 1) It is possible to replicate this effect in forge? 2) If Yes could somebody explain in dummy terms how this is done? or alternatively provide an excerpt of code that I could borrow to learn the basics of what I need, I understand this isn't a forum for babysitting Java babies, I just hope I'm not asking too much, please don't hurt me
  11. Thank you for all your help, I will now make good on my vow and hide my face until such a time as i can bear to look at myself
  12. all recent tests (tonights) point to be hosted only, but it did lagg last night on my local (i swear!!!) though with all these repeat tests that's beginning to look like a hiccup rather than an actual lag spike, which couple with all the assistance points to this being a redundant thread cause by a lack of testing on my part if you could point me to a profiler I can provide that, but as above...it looks more like this is a GSP issue rather than a forge problem...
  13. the world was wiped prior to that log being acquired, i apologise for any confusion, i dont actually control how much ram is assigned, the 4 of 16 was for the initial comments of local host to remove the first responce i saw coming of "How much ram are you trying to run the system with?" I pay for 4gig from my dedicated host so i replicated on my local machine and figured that since the dedicated would benefit from the tests that i would utilise the files and what not from there, as for why they're on windows.... I never asked them, Never had a reason to... suppose then now would be a good time to apologise for any and all false accusations, actual, implied or otherwise, my head is hung in shame and I will begin my queries of the GSP and see what they can't decipher, Thank you for your time and putting up with me, I don't think there are enough sorry's in the world to make up for me
  14. mod free on the host DOES cause this issue, acquireing Pastebins of logs Now!! FML Latest: http://pastebin.com/2KTJvq4q Not overly sure what can be pulled from that so heres the vanilla accompanying latest log: http://pastebin.com/jpkCm5Tb unfortunatly on the local host i was relying on the vanilla debug command and learnt my lesson from that, if forge is not actually at fault i will of course appologise and hide my face from these forums untill i can cleanse my guilt of false accusations and will instead focus on my host provider thank you so much for sticking with me this far despite my apparent lack of knowledge of what I'm doing... i assure you its not true......much
  15. Sorry for the newby question, Profiler? Unfortunatly the FML log from the server is just a little bit too big for pastebin, Server Latest Log: http://pastebin.com/9X2iYcBn As I've been going i've been playing about trying to see if its me doing something wrong........apparently the /debug command isn't a reliable measure in 1.7 as it spams its profile stuff in vanilla so it looks like i may have been wrong to blame forge and its could actually be a mod update that had hidden itself away, the log is also from 1236 on the dedicated as i figured i'd also try a newer version just to see what might happen, sorry if i've wasted important time, i've just never come across this issue with cauldron and i misinterpreted the debug bumpf, at the same time it might be something forge can rectify.... EDIT: Seeing What Happens When I Remove The 4 main updated mods since dropping cauldron - watch it be one of them for the record the mods are: Thaumcraft (and thaumic tinkerer due to dependancy), Applied Energistics2 RV1 S 1, Spawn Commands and Server Tools (The Last 2 added to provide some degree of bukkit in forge) EDIT2: Having Removed All Changed Files (Save Forge) it still seems to struggle which as i've already said cauldron never made a fuss about, an avenue i havent yet looked at is possibly the host doing something different on the back end, For peice of mind on my part i've just removed all mods from the server and am attempting to rule out forge as the cause
  16. on 1230 i tried without any mods, the server struggles to run on 4 gb, i assign 4.5 of 16gb to client and 4 to server running on the same machine, until i try to join the world everything is fine, SSP seems to work normally (in that i haven't seen any significant issues come up) as soon as i join the MP world the TPS drops to peak at 5 and the console is spammed with "[server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 6502ms behind, skipping 130 tick(s)" if you need logs to back this up lemmie know which ones you need, untill recently i was running an old version of Cauldron without any issues, since running default forge removes the spigot/bukkit additions i figured if anything i'd get more power, from it, just to clarify, Can't Keep Up Message Comes From 4 of 16gig local host MOD FREE server, the main issue with 1230 that made me look at mod free was an 80 mod 4 gig dedicated modpack server (links for witnessing can be provided) Again, if logs are needed please tell me which you want and ill get them for you This Issue is similar to http://www.minecraftforge.net/forum/index.php/topic,24296.0.html
  • Create New...

Important Information

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