Svein Ove Aas
Svein Ove Aas
At a minimum, PRs need to build. :X I've been thinking about automated testing of the game mechanics, as well. Looks like it'd come in handy.
This PR currently exists only as a backup. It won't compile. While I'm making fairly rapid progress at the moment, I'm absolutely accepting help. (From any decent Java coders.)
This should be far more efficient, performing a logarithmic-time operation on every mob spawn -- once. Instead of having each and every lamp search for mobs. It's also more likely...
E.g. as in https://i.imgur.com/L0gM6oA.png Are we leaking sound objects?
Fixes #546, among others. This contains two distinct models for T2 poles, both capable of 50kV but one having half the resistance (and taking twice the cable) as the other....
For instance, the timer may display itself as having finished running while the server is still counting down. The best solution is probably to introduce a global sync packet, then...
At https://github.com/Electrical-Age/ElectricalAge/blob/3e7db53eac084b4f2770139949630d01f72a8767/src/main/java/mods/eln/node/NodeBase.java#L464, and probably other places, dimension IDs are treated as bytes. This manifests as blocks being invisible client-side in any dimension with ID above 127, which can happen fairly...
See #797 for context. All of these should be converted to crashes (if necessary) or handled properly (if reasonable).
This happens whenever the server is stopped through SIGTERM: ``` java.lang.NullPointerException: Exception ticking world at codechicken.lib.world.WorldExtension.unloadChunk(WorldExtension.java:52) at codechicken.lib.world.WorldExtensionManager$WorldExtensionEventHandler.onChunkUnLoad(WorldExtensionManager.java:67) at cpw.mods.fml.common.eventhandler.ASMEventHandler_553_WorldExtensionEventHandler_onChunkUnLoad_Unload.invoke(.dynamic) at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) at net.minecraft.world.chunk.Chunk.func_76623_d(Chunk.java:941) at net.minecraft.world.gen.ChunkProviderServer.func_73156_b(ChunkProviderServer.java:342) at net.minecraft.world.WorldServer.func_72835_b(WorldServer.java:165)...
It's that time of year. I saw issue #220, but I don't think it's the problem here. $runDir/mods is empty, after all. Same error, though: http://sprunge.us/OHbJ Can't say I get...