AbrarSyed / SecretRoomsMod-forge

The official SecretRoomsMod repo
GNU Lesser General Public License v3.0
39 stars 35 forks source link

Errors transporting around worlds #49

Closed xaldin closed 11 years ago

xaldin commented 11 years ago

Using the Mystcraft mod I get the following message regularly trying to change worlds. It errors once, then will work the next time I attempt. I'm also getting notification that a world is leaking with message "2013-02-17 14:10:52 [SEVERE] [ForgeModLoader] Detected leaking worlds in memory. There are 5 worlds that appear to be persisting. A mod is likely caching the world incorrectly

2013-02-17 14:10:52 [SEVERE] [ForgeModLoader] The world 79b20fec (Arcan) has leaked."

2013-02-17 14:20:47 [INFO] [STDERR] java.lang.ClassCastException: com.github.AbrarSyed.SecretRooms.common.FakeWorld cannot be cast to in 2013-02-17 14:20:47 [INFO] [STDERR] at com.xcompwiz.mystcraft.world.WorldProviderMyst.updateWeather(WorldProviderMyst.java:350) 2013-02-17 14:20:47 [INFO] [STDERR] at com.xcompwiz.mystcraft.world.WorldProviderMyst.calculateInitialWeather(WorldProviderMyst.java:328) 2013-02-17 14:20:47 [INFO] [STDERR] at yc.a(World.java:2961) 2013-02-17 14:20:47 [INFO] [STDERR] at yc.(World.java:331) 2013-02-17 14:20:47 [INFO] [STDERR] at com.github.AbrarSyed.SecretRooms.common.FakeWorld.(FakeWorld.java:31) 2013-02-17 14:20:47 [INFO] [STDERR] at com.github.AbrarSyed.SecretRooms.common.FakeWorld.getFakeWorldFor(FakeWorld.java:40) 2013-02-17 14:20:47 [INFO] [STDERR] at com.github.AbrarSyed.SecretRooms.client.SecretRooms_client.onWorldLoad(SecretRooms_client.java:80) 2013-02-17 14:20:47 [INFO] [STDERR] at net.minecraftforge.event.ASMEventHandler_15_SecretRooms_client_onWorldLoad_Load.invoke(.dynamic) 2013-02-17 14:20:47 [INFO] [STDERR] at net.minecraftforge.event.ASMEventHandler.invoke(ASMEventHandler.java:35) 2013-02-17 14:20:47 [INFO] [STDERR] at net.minecraftforge.event.EventBus.post(EventBus.java:103) 2013-02-17 14:20:47 [INFO] [STDERR] at net.minecraftforge.common.DimensionManager.initDimension(DimensionManager.java:244) 2013-02-17 14:20:47 [INFO] [STDERR] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:758) 2013-02-17 14:20:47 [INFO] [STDERR] at com.xcompwiz.mystcraft.linking.LinkController.travelEntity(LinkController.java:42) 2013-02-17 14:20:47 [INFO] [STDERR] at com.xcompwiz.mystcraft.item.ItemLinking.activate(ItemLinking.java:72) 2013-02-17 14:20:47 [INFO] [STDERR] at com.xcompwiz.mystcraft.inventory.ContainerBook.processMessage(ContainerBook.java:232) 2013-02-17 14:20:47 [INFO] [STDERR] at com.xcompwiz.mystcraft.network.MPacketGUIMessage.handle(MPacketGUIMessage.java:36) 2013-02-17 14:20:47 [INFO] [STDERR] at com.xcompwiz.mystcraft.network.MystcraftPacketHandler.onPacketData(MystcraftPacketHandler.java:45) 2013-02-17 14:20:47 [INFO] [STDERR] at cpw.mods.fml.common.network.NetworkRegistry.handlePacket(NetworkRegistry.java:243) 2013-02-17 14:20:47 [INFO] [STDERR] at cpw.mods.fml.common.network.NetworkRegistry.handleCustomPacket(NetworkRegistry.java:233) 2013-02-17 14:20:47 [INFO] [STDERR] at cpw.mods.fml.common.network.FMLNetworkHandler.handlePacket250Packet(FMLNetworkHandler.java:71) 2013-02-17 14:20:47 [INFO] [STDERR] at iv.a(NetServerHandler.java:1109) 2013-02-17 14:20:47 [INFO] [STDERR] at di.a(SourceFile:59) 2013-02-17 14:20:47 [INFO] [STDERR] at cf.b(MemoryConnection.java:80) 2013-02-17 14:20:47 [INFO] [STDERR] at iv.d(NetServerHandler.java:136) 2013-02-17 14:20:47 [INFO] [STDERR] at iw.b(NetworkListenThread.java:57) 2013-02-17 14:20:47 [INFO] [STDERR] at bec.b(IntegratedServerListenThread.java:108) 2013-02-17 14:20:47 [INFO] [STDERR] at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:703) 2013-02-17 14:20:47 [INFO] [STDERR] at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:599) 2013-02-17 14:20:47 [INFO] [STDERR] at bdz.q(IntegratedServer.java:170) 2013-02-17 14:20:47 [INFO] [STDERR] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:497) 2013-02-17 14:20:47 [INFO] [STDERR] at fy.run(SourceFile:849)

Both go away if I disable the secret rooms mod. Seems that there may be a problem in how the fakeworld is being handled.

AbrarSyed commented 11 years ago

yup.... need some more work on that....

AbrarSyed commented 11 years ago

fixed.