Coder Social home page Coder Social logo

asiekierka / foamfix Goto Github PK

View Code? Open in Web Editor NEW
150.0 150.0 23.0 869 KB

Minecraft memory usage optimization mod. Please note that code contained herein is not a suggestion for Minecraft unless explicitly declared elsewhere, in writing, by the rightsholder(s).

Home Page: http://asie.pl/foamfix

Java 100.00%

foamfix's People

Contributors

asiekierka avatar barteks2x avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

foamfix's Issues

Look into reducing memory usage of FMLDeobfuscatingRemapper?

This is just a suggestion, apologies if this is not the right place for those.

One of the things I saw to be using a reasonable amount of memory in heap dumps is the FMLDeobfuscatingRemapper class (80-90 MB heap retained). This stores all the mapping data for deobfuscation, but the only thing that I saw using it at runtime (after loading is complete) is ObfuscationReflectionHelper, which, on inspection, doesn't appear to do anything that ReflectionHelper wouldn't work for (everywhere that Forge uses it passes both MCP+SRG names anyway).

I think it may be possible, after loading is finished, to reflectively empty the various collections stored by FMLDeobfuscatingRemapper and then just redirect calls from ObfuscationReflectionHelper to equivalent ReflectionHelper methods. However, I'm not sure, so I'd appreciate your views on this suggestion.

Potential inter-mod conflict with Botania

First of all, thanks alot for making FoamFix!
The issue I ran into is that, after installing FoamFix into Skyexchange 1.2.3, all of my floating flowers from Botania have weird model, which, I swear, that has never seen before until today I install FoamFix (last time I opened this pack was weeks ago), as shown by following screenshots:

A munchdew:
2016-11-24_10 37 12
A hopperhock:
2016-11-24_10 37 27
Another hopperhock:
2016-11-24_10 37 39
Yet another hopperhock:
2016-11-24_10 38 29

The version of botania I am using is r1.9-333. MinecraftForge version is 12.18.2.2121.
@TartaricAcid can replicate the same issue within Botania r1-.9-339, which is the latest version of Botania.

Since I am not sure abuot the cause of this issue, I figure that I need also ping @Vazkii

Casting exception with ender crystal?

After adding the latest release to the MMD pack I get this exception. The log doesn't give anything to suggest that it is your mod, however I can only reproduce it by adding your mod lol. For context, there is an ender crystal in my base.

parallelModelBaking & Better Foliage Rounded Logs

Forge 13.20.0.2264
foamfix-0.6.2-beta4-anarchy
BetterFoliage-MC1.11.2-2.1.3

Expected behaviour:
Foamfix increases performance without altering the game visually - Better Foliage Rounded trees can be turned on, and nicely rounded logs present themselves.

Actual behaviour:
Foamfix hampers the way BetterFoliage renders the rounded logs, when parallelModelBaking is enabled, AND rounded logs is enabled all logs that have been altered by BetterFoliage are no longer rendered, and present as invisible block.

How to replicate:

  1. Use foamfix with parallelModelBaking set to true in foamfix.cfg.
  2. Use BetterFoliage (default settings is fine)
  3. See that parallelModelBaking removes rounded logs.
  4. Disable rounded logs in BetterFoliage, and see logs turn visible again. (Leave parallelModelBaking on)
  5. Disable parallelModelBaking in foamfix.cfg, and enable rounded logs, and see logs visible and rounded.
  6. Be grateful of Foamfix, as it makes modded minecraft playable.

Issues with Bibliocraft models losing position/facing when unloading/loading chunks. (Anarchy 0.5.4)

I noticed that when using Foamfix Anarchy 0.5.4 that sometimes when I roam away from my base and return that all of my Bibliocraft blocks have changed facings, appear to have lost their contents, and returned to individual blocks if they were multiblocks. Heres some before and after pics to more clearly demonstrate what I mean...

http://imgur.com/a/5zpkV

Not sure if this is truly a Foamfix issue or if it is an issue with Bibliocraft, but I can say that using Foamfix Anarchy 0.5.3 this does not occur. Also this is all using forge 12.18.3.2221. Thanks!

0.4.0 crash

Pretty sure Foamfix 0.4.0 caused this as I reverted back to 0.3.2 and waited in game for over 2 hrs with no similar crash - http://pastebin.ubuntu.com/23606296/

Pretty unusual error if it's not yours then feel free to close.

Dense ores & Foamfix deduplication Failure to load

versions

denseores-1.11-alpha-1.0.1
foamfix-0.6.2-beta4-anarchy

Expected behavior

  • Foamfix is allowed to deduplicate block models as it does per default, with dense ores installed.

Actual behaviour

  • When DenseOres is installed, Foamfix' deduplication has to be set to false, else minecraft will fail to load properly.

Steps to reproduce the problem

  1. install foamfix, and leave on default settings
  2. install dense ores
  3. observe failure to load

foam fix failed to load

This is a log from my server console:

26.11 17:02:16 [Server] main/ERROR [FML]: Unable to read the jar file foamfix-0.3.2a-law.jar - ignoring

26.11 17:02:30 [Server] Server thread/WARN [FML]: Zip file foamfix-0.3.2a-law.jar failed to read properly, it will be ignored

What's happening?

Crash w/ Pandora's Box

Forge 2215
Foamfix v0.5.1 Anarchy
Pandora's Box v2.1.5
Ivtoolkit v1.2.9
I got this crash after picking up a pandora's box.
Crash Log

java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Cannot set property PropertyDirection{name=facing, clazz=class net.minecraft.util.EnumFacing, values=[down, up, north, south, west, east]} to null on block minecraft:sticky_piston, it is not an allowed value

Forge 1.10.2 - 12.18.3.2202
BOP 1.10.2-5.0.0.2109
FoamFix 0.5

Using Optifine, but doesn't looks like it's involved.

[Server thread/FATAL]: Error executing task
java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Cannot set property PropertyDirection{name=facing, clazz=class net.minecraft.util.EnumFacing, values=[down, up, north, south, west, east]} to null on block minecraft:sticky_piston, it is not an allowed value
	at java.util.concurrent.FutureTask.report(Unknown Source) ~[?:1.8.0_111]
	at java.util.concurrent.FutureTask.get(Unknown Source) ~[?:1.8.0_111]
	at net.minecraft.util.Util.func_181617_a(SourceFile:46) [h.class:?]
	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:668) [MinecraftServer.class:?]
	at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
	at java.lang.Thread.run(Unknown Source) [?:1.8.0_111]
Caused by: java.lang.IllegalArgumentException: Cannot set property PropertyDirection{name=facing, clazz=class net.minecraft.util.EnumFacing, values=[down, up, north, south, west, east]} to null on block minecraft:sticky_piston, it is not an allowed value
	at pl.asie.foamfix.common.FoamyBlockState.func_177226_a(FoamyBlockState.java:34) ~[foamfix-0.5.0-anarchy.jar:?]
	at net.minecraft.block.BlockPistonBase.func_176203_a(BlockPistonBase.java:424) ~[arj.class:?]
	at biomesoplenty.common.handler.AchievementEventHandler.onBlockPlaced(AchievementEventHandler.java:191) ~[AchievementEventHandler.class:?]
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_236_AchievementEventHandler_onBlockPlaced_PlaceEvent.invoke(.dynamic) ~[?:?]
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90) ~[ASMEventHandler.class:?]
	at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:185) ~[EventBus.class:?]
	at net.minecraftforge.event.ForgeEventFactory.onPlayerBlockPlace(ForgeEventFactory.java:151) ~[ForgeEventFactory.class:?]
	at net.minecraftforge.common.ForgeHooks.onPlaceItemIntoWorld(ForgeHooks.java:811) ~[ForgeHooks.class:?]
	at net.minecraft.item.ItemStack.func_179546_a(ItemStack.java:144) ~[adz.class:?]
	at net.minecraft.server.management.PlayerInteractionManager.func_187251_a(PlayerInteractionManager.java:493) ~[lv.class:?]
	at net.minecraft.network.NetHandlerPlayServer.func_184337_a(NetHandlerPlayServer.java:679) ~[me.class:?]
	at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.func_148833_a(SourceFile:55) ~[jj.class:?]
	at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.func_148833_a(SourceFile:11) ~[jj.class:?]
	at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) ~[fl$1.class:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_111]
	at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_111]
	at net.minecraft.util.Util.func_181617_a(SourceFile:45) ~[h.class:?]
	... 5 more

Behaviour:

https://gfycat.com/SevereRequiredIbadanmalimbe

Sorry for the low quality gif.

If you right click a sticky/normal piston after placing it, you place another one. If you break one, you get two.

Also if on server, other players cannot see the placed piston. They can only see after activating it for the first time.

Modpack Support

Sorry if I missed something, but I was wondering if you allow your mod to be included in modpacks? If so, can you either upload it to Curse or at least put somewhere that we have the permission to include the file in our modpacks so I can add it to Curse's allowed mod list? Thanks :)

Possible issue with this and mowzie's mobs

I won't be able to verify this for certain as of writing this (will do so tomorrow), but seeing some of the changes to your mod, I think this mod might be screwing with some of the custom models for Mowzie's Mobs. For instance, the axe and the helmet that drop from the Ferrous Wroughtnaught do not render properly.

I am using the Anarchy edition, since that matters.

FoamFix crashes if packageManifests field is not in LaunchClassLoader

When B:dummyPackageManifestMap=false, foamfix still tries to get the packageManifests field, as this line isn't in the if.

		Field packageManifestsField = ReflectionHelper.findField(LaunchClassLoader.class, "packageManifests");
// snip
		if (FoamFixShared.config.lwDummyPackageManifestMap) {

packageManifests will be removed in a future version of launchwrapper, so ideally this should not crash even if the config option is turned on.

Caused by: java.lang.NoSuchFieldException: packageManifests
        at java.lang.Class.getDeclaredField(Unknown Source) ~[?:1.8.0_121]
        at net.minecraftforge.fml.relauncher.ReflectionHelper.findField(ReflectionHelper.java:87) ~[FTBserver-1.10.2-12.18.3.2202-universal.jar:?]
        at pl.asie.foamfix.ProxyCommon.optimizeLaunchWrapper(ProxyCommon.java:51) ~[foamfix-0.5.0-BETA2-anarchy.jar:?]
        at pl.asie.foamfix.ProxyCommon.postInit(ProxyCommon.java:119) ~[foamfix-0.5.0-BETA2-anarchy.jar:?]
        at pl.asie.foamfix.FoamFix.postInit(FoamFix.java:73) ~[foamfix-0.5.0-BETA2-anarchy.jar:?]

Survivalist isn't compatible with Foamfix

---- Minecraft Crash Report ----

WARNING: coremods are present:
Do not report to Forge! Remove FoamFixAPI (or replace with FoamFixAPI-Lawful) and try again. (foamfix-0.5.3-anarchy.jar)
LoadingPlugin (Quark-r1.2-77.jar)
offlineskins (OfflineSkins-1.11.2-v1.jar)
TANLoadingPlugin (ToughAsNails-1.11-2.0.4.jar)
LoadingPlugin (HardcoreDarkness-MC1.11-1.8.1.jar)
IvToolkit (IvToolkit-1.3.1.jar)
BetterFoliageLoader (BetterFoliage-MC1.11.2-2.1.3.jar)
Contact their authors BEFORE contacting forge

// Why did you do that?

Time: 1/29/17 5:04 PM
Description: There was a severe problem during mod loading that has caused the game to fail

net.minecraftforge.fml.common.LoaderExceptionModCrash: Caught exception from Survivalist (survivalist)
Caused by: java.lang.NoClassDefFoundError: gigaherz/survivalist/shadow/common/BlockRegistered
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at net.minecraftforge.fml.common.FMLModContainer.constructMod(FMLModContainer.java:546)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at net.minecraftforge.fml.common.LoadController.sendEventToModContainer(LoadController.java:246)
at net.minecraftforge.fml.common.LoadController.propogateStateMessage(LoadController.java:224)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at net.minecraftforge.fml.common.LoadController.distributeStateMessage(LoadController.java:147)
at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:563)
at net.minecraftforge.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:229)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:440)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:352)
at net.minecraft.client.main.Main.main(SourceFile:124)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:236)
at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:297)
at org.multimc.EntryPoint.listen(EntryPoint.java:162)
at org.multimc.EntryPoint.main(EntryPoint.java:53)
Caused by: java.lang.ClassNotFoundException: gigaherz.survivalist.shadow.common.BlockRegistered
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:191)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 42 more
Caused by: net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerException: Exception in class transformer pl.asie.foamfix.coremod.FoamFixTransformer@30cf17 from coremod Do not report to Forge! Remove FoamFixAPI (or replace with FoamFixAPI-Lawful) and try again.
at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:257)
at net.minecraft.launchwrapper.LaunchClassLoader.runTransformers(LaunchClassLoader.java:279)
at net.minecraft.launchwrapper.LaunchClassLoader.findClass(LaunchClassLoader.java:176)
... 44 more
Caused by: java.lang.NullPointerException
at org.objectweb.asm.ClassReader.(Unknown Source)
at pl.asie.foamfix.coremod.BlockPosPatch.patchOtherClass(BlockPosPatch.java:135)
at pl.asie.foamfix.coremod.FoamFixTransformer.transform(FoamFixTransformer.java:105)
at net.minecraftforge.fml.common.asm.ASMTransformerWrapper$TransformerWrapper.transform(ASMTransformerWrapper.java:253)
... 46 more

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

-- System Details --
Details:
Minecraft Version: 1.11.2
Operating System: Windows 10 (x86) version 10.0
Java Version: 1.8.0_121, Oracle Corporation
Java VM Version: Java HotSpot(TM) Client VM (mixed mode), Oracle Corporation
Memory: 521222648 bytes (497 MB) / 722468864 bytes (689 MB) up to 1073741824 bytes (1024 MB)
JVM Flags: 7 total; -XX:+UseG1GC -XX:+DisableExplicitGC -XX:MaxGCPauseMillis=10 -XX:SoftRefLRUPolicyMSPerMB=10000 -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xms512m -Xmx1024m
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.38 Powered by Forge 13.20.0.2226 Optifine OptiFine_1.11.2_HD_U_B7_pre 30 mods loaded, 30 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UC minecraft{1.11.2} [Minecraft] (minecraft.jar)
UC mcp{9.19} [Minecraft Coder Pack] (minecraft.jar)
UC FML{8.0.99.99} [Forge Mod Loader] (forge-1.11.2-13.20.0.2226-universal.jar)
UC forge{13.20.0.2226} [Minecraft Forge] (forge-1.11.2-13.20.0.2226-universal.jar)
UC ivtoolkit{1.3.1} [IvToolkit] (minecraft.jar)
UC foamfixcore{7.7.4} [FoamFixCore] (minecraft.jar)
UC ambience{GRADLE:VERSION-GRADLE:BUILD} [Ambience] (Ambience 1.1-8.jar)
UC jei{4.2.4.226} [Just Enough Items] (jei_1.11.2-4.2.4.226.jar)
UC appleskin{1.0.6} [AppleSkin] (AppleSkin-mc1.11-1.0.6.jar)
UC quark{r1.2-77} [Quark] (Quark-r1.2-77.jar)
UC autoreglib{1.1-4} [AutoRegLib] (AutoRegLib-1.1-4.jar)
UC babyanimals{1.11} [Baby Animals Model Swapper] (BabyAnimals-1.11.jar)
UC betterfoliage{2.1.3} [Better Foliage] (BetterFoliage-MC1.11.2-2.1.3.jar)
UC biomesoplenty{6.0.1.2145} [Biomes O' Plenty] (BiomesOPlenty-1.11.2-6.0.1.2145-universal.jar)
UC claybucket{1.1} [Clay Bucket] (ClayBucket-1.11-1.0.jar)
UC embers{0.107} [Embers] (embers-0.107.jar)
UC fastleavedecay{1.2.3} [Fast Leave Decay] (FastLeaveDecay-MC1.11-1.2.3.jar)
UC foamfix{@Version@} [FoamFix] (foamfix-0.5.3-anarchy.jar)
UC friendlyfire{1.4.0} [Friendly Fire] (FriendlyFire-1.11-1.4.0.jar)
UC grapplemod{1.11-v9} [Grappling hook mod] (grapplemod-1.11-v9.jar)
UC hardcoredarkness{1.8.1} [Hardcore Darkness] (HardcoreDarkness-MC1.11-1.8.1.jar)
UC levels{r1.0.0} [Levels] (Levels 2-1.11.2-r1.0.0.jar)
UC levelup{${version}} [Level Up!] (LevelUp!-0.13.1-1.11.jar)
UC offlineskins{1.11.2-v1} [OfflineSkins] (OfflineSkins-1.11.2-v1.jar)
UC reccomplex{1.2.7} [Recurrent Complex] (RecurrentComplex-1.2.7.jar)
UC simulatednights{1.11.2-1.1.2} [Simulated Nights] (simulatednights-1.11.2-1.1.2.jar)
UC sophisticatedwolves{3.6.4} [Sophisticated Wolves] (SophisticatedWolves-3.6.4.jar)
UC soundfilters{0.9_for_1.9} [Sound Filters] (SoundFilters-0.9_for_1.11.jar)
UE survivalist{1.8.0} [Survivalist] (Survivalist-1.11.0-1.8.0.jar)
UC toughasnails{@MOD_VERSION@} [Tough As Nails] (ToughAsNails-1.11-2.0.4.jar)
Loaded coremods (and transformers):
Do not report to Forge! Remove FoamFixAPI (or replace with FoamFixAPI-Lawful) and try again. (foamfix-0.5.3-anarchy.jar)
pl.asie.foamfix.coremod.FoamFixTransformer
LoadingPlugin (Quark-r1.2-77.jar)
vazkii.quark.base.asm.ClassTransformer
offlineskins (OfflineSkins-1.11.2-v1.jar)
lain.mods.skins.asm.ASMTransformer
TANLoadingPlugin (ToughAsNails-1.11-2.0.4.jar)
toughasnails.asm.transformer.BlockCropsTransformer
toughasnails.asm.transformer.EntityRendererTransformer
toughasnails.asm.transformer.WorldTransformer
LoadingPlugin (HardcoreDarkness-MC1.11-1.8.1.jar)
lumien.hardcoredarkness.asm.ClassTransformer
IvToolkit (IvToolkit-1.3.1.jar)

BetterFoliageLoader (BetterFoliage-MC1.11.2-2.1.3.jar)
mods.betterfoliage.loader.BetterFoliageTransformer
GL info: ' Vendor: 'NVIDIA Corporation' Version: '2.1.2' Renderer: 'GeForce 7025 / nForce 630a/integrated/SSE2/3DNOW!'
OptiFine Version: OptiFine_1.11.2_HD_U_B7_pre
Render Distance Chunks: 5
Mipmaps: 0
Anisotropic Filtering: 1
Antialiasing: 0
Multitexture: false
Shaders: null
OpenGlVersion: 2.1.2
OpenGlRenderer: GeForce 7025 / nForce 630a/integrated/SSE2/3DNOW!
OpenGlVendor: NVIDIA Corporation
CpuCount: 2

[1.10.2] Log gets spammed with things regarding foamfix?

Log gets spammed with stuff regarding foamfix: https://paste.ee/p/v9jUg
such as:
[14:09:20] [Thread-26/INFO] [STDERR]: [pl.asie.classcachetweaker.ClassCache:save:337]: java.util.ConcurrentModificationException
[14:09:20] [Thread-26/INFO] [STDERR]: [pl.asie.classcachetweaker.ClassCache:save:337]: at java.util.HashMap$HashIterator.nextNode(Unknown Source)
[14:09:20] [Thread-26/INFO] [STDERR]: [pl.asie.classcachetweaker.ClassCache:save:337]: at java.util.HashMap$ValueIterator.next(Unknown Source)
[14:09:20] [Thread-26/INFO] [STDERR]: [pl.asie.classcachetweaker.ClassCache:save:337]: at pl.asie.classcachetweaker.ClassCache.save(ClassCache.java:280)
[14:09:20] [Thread-26/INFO] [STDERR]: [pl.asie.classcachetweaker.ClassCache:save:337]: at pl.asie.classcachetweaker.ClassCache.access$100(ClassCache.java:31)
[14:09:20] [Thread-26/INFO] [STDERR]: [pl.asie.classcachetweaker.ClassCache:save:337]: at pl.asie.classcachetweaker.ClassCache$1.run(ClassCache.java:217)
[14:09:20] [Thread-26/INFO] [STDERR]: [pl.asie.classcachetweaker.ClassCache:save:337]: at java.lang.Thread.run(Unknown Source)

Not enough totally scientific graphs! ┻━┻ ︵ヽ(`Д´)ノ︵ ┻━┻

Your website undersells ⬇️ 💵 the mod! Your totally scientific 🔬 and extremely precise 🎯 bar graph is for RAM 🗄 usage 👌, but this mod also affects the CPU usage 😱!!! This must be fixed 🔨 by adding another even more scientific 🔬 and precise 🎯 graph!

(Mostly sarcastic, partially notifying you of something, and quite curious about what other ridiculous and hilarious thing you can come up with if you add it)

Side note: When I saw that I had informed your fix of the lighting it gave me a nice warm fuzzy feeling inside. Thank you :D

Various BlockState Issues Involving Immersive Engineering For foamfix-0.5.0-BETA-anarchy

Metadata blocks seem to be goofing up.

Itemblocks for them carry the same local names and place the same blocks as their defualts

Wooden post for example, which is a member of the water wheel family
2016-12-31_09 56 21
Places a water wheel instead of the wooden post
2016-12-31_09 56 33

Some of them will even crash the game like with the balloon block.
http://paste.ee/p/ImKqZ

For versions: 1.10.2
ImmersiveEngineering-0.10-54
foamfix-0.5.0-BETA-anarchy

java.lang.Error in FML's ASMEventHandler

MC 1.10.2
Forge 2254
Foamfix 0.6.1 Anarchy

A user of my modpack Age of Engineering setup a server and it crashed on startup:
https://pastebin.com/v4tfz0ff

As you can see, it crashes at a "random" time, the MT script line is fine, and it has nothing to do with Tinkers. This bug reminded another user of an error he got with another pack and removing Foamfix fixed it for him. The first user removed Foamfix and indeed this fixed it for him as well. He also tried using Lawful version which worked fine as well. Not sure if this log helps you, I just want to let you know.

FoamFixCore references DummyModContainer

The coremod class FoamFixCore extends DummyModContainer, which causes the latter class to be classloaded extremely early. As detailed here, this causes problems with SpongeForge, which needs to be able to transform DummyModContainer to function properly.

I'd be very grateful if you could split up the mod container from the coremod itself, in order to make your mod compatible with SpongeForge.

Blueprints from Harvest Festival and FoamFix

Hello

Its a issue that is very hard to recreate. Not everyone have the issue. But some people are reporting that sometimes using the Blueprints from Harvest Festival in my pack Farming Valley (On Curse), they cant use them. Most of the time they dissappear. One user even made a video of it. https://www.dropbox.com/s/3s9g73trg2af4v4/javaw%202017-01-21%2016-06-31-862.mp4?dl=0

When pointing on the ground, a "structure" of the blueprint should be shown. But for some users it does not. I asked one of them to remove FoamFix (Currently it uses the 0.5.0 version of the lawfull edition) and the issue was gone for him. We then tryed to update to 0.5.3-lawfull, and the issue was still there.
The issue is not on my system, and many does not have it, but for some it seems to be a common issue.
I have reported the issue to Joshie the dev of Harvest Festival, but he does not know what causes it, besides its a issue between Foamfix and Harvest Festival.

  • Kehaan

[1.11.2] Crash at pl.asie.foamfix.common.FoamyBlockState.func_177226_a(FoamyBlockState.java:34)

When this happened i was walking around at night, and was about to shoot an arrow at a witch

Installed was foamfix-0.6.2-beta2-anarchy.jar

Full log

http://pastebin.com/TDTPe0Fw

In that log file around line 1482 it says

java.lang.IllegalArgumentException: Cannot set property PropertyDirection{name=facing, clazz=class net.minecraft.util.EnumFacing, values=[north, south, west, east]} to down on block plants:cataplant, it is not an allowed value
at pl.asie.foamfix.common.FoamyBlockState.func_177226_a(FoamyBlockState.java:34) ~[foamfix-0.6.2-beta2-anarchy.jar:?]
at shadows.plants.util.Util.getStateByChance(Util.java:321) ~[Util.class:?]
at shadows.plants.util.Decorator.onWorldDecoration(Decorator.java:35) ~[Decorator.class:?]
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_524_Decorator_onWorldDecoration_Decorate.invoke(.dynamic) ~[?:?]

So it might be a mod conflict with this plants mod
https://mods.curse.com/mc-mods/minecraft/257229-plants

Ill cross post the issue to that mods issue tracker as well , no idea which mod needs the fix Shadows-of-Fire/Plants#17

Commit or Date indication

Hey, just thought I would suggest adding to the release change log on the foam fix website a commit id or date beside each release number just so it makes it easier to see where that release is in comparison to the repository.

Thanks. 😄

High CPU Usage with chunkedBlockInfo enabled

I just tested foamfix-0.6.0-beta3-anarchy.jar on my Server and ran into an issue.

CPU usage goes up quite quickly, also chunks seem to not load properly.
System is using 16GB RAM and an i7 6700k @ 4.6GHz.

Compromise CPU usage for less memory? :p

The RAM usage seems odd anyway, I tried finding out wether one of the mods leaks memory, but no success so far (8-12GB avg usage is a lot...)

With foamfix-0.6.0-beta3-anarchy.jar

cpu_mem

With foamfix-0.5.4-anarchy.jar:

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.