Jump to content

Problem upgrading server


Recommended Posts

Hi Folks,

I'm trying to update my world from version 2 to the latest 3.0.4.

I never added any custom mods to the server.

So far I've followed the instructions for MIDas gold no problem.

The tekkitfix failed with the following, despite Python 3 and the yaml for python 3 being loaded...

michelle@michelle-desktop:~/Downloads/hib/tekkit3fix$ ./tekkit3fix.py ~/world

Traceback (most recent call last):

File "./tekkit3fix.py", line 18, in <module>

import mclevel

File "./pymclevel/mclevel.py", line 173, in <module>

from indev import MCIndevLevel

File "./pymclevel/indev.py", line 65, in <module>

from level import MCLevel

File "./pymclevel/level.py", line 7, in <module>

import blockrotation

File "./pymclevel/blockrotation.py", line 1, in <module>

from materials import alphaMaterials

File "./pymclevel/materials.py", line 13, in <module>

import yaml

ImportError: No module named yaml

However, the server starts but when I spawn in a very busy area, I get the following...

2012-06-04 22:36:25 [iNFO] Skipping TileEntity with id ChunkLoader

2012-06-04 22:36:25 [iNFO] Attempted to place a tile entity (ee.TileTransTablet@1363c8e) at 488,79,602 (AIR) where there was no entity tile!

2012-06-04 22:36:25 [iNFO] Chunk coordinates: 480,592

2012-06-04 22:36:25 [sEVERE] java.lang.Exception

2012-06-04 22:36:25 [sEVERE] at net.minecraft.server.Chunk.a(Chunk.java:675)

2012-06-04 22:36:25 [sEVERE] at net.minecraft.server.Chunk.a(Chunk.java:649)

2012-06-04 22:36:25 [sEVERE] at net.minecraft.server.ChunkRegionLoader.a(ChunkRegionLoader.java:297)

2012-06-04 22:36:25 [sEVERE] at net.minecraft.server.ChunkRegionLoader.a(ChunkRegionLoader.java:65)

2012-06-04 22:36:25 [sEVERE] at net.minecraft.server.ChunkRegionLoader.a(ChunkRegionLoader.java:54)

Done some reading and some searching, but I can't find a solution. Can anyone help please?

Link to comment
Share on other sites

There are more errors, but I didn't want to flood the post, but thinking about it, it might be best if I post the whole of the tail end of the log file...

2012-06-04 22:36:25 [iNFO] Skipping TileEntity with id ChunkLoader

2012-06-04 22:36:25 [iNFO] Attempted to place a tile entity (ee.TileTransTablet@1363c8e) at 488,79,602 (AIR) where there was no entity tile!

2012-06-04 22:36:25 [iNFO] Chunk coordinates: 480,592

2012-06-04 22:36:25 [sEVERE] java.lang.Exception

2012-06-04 22:36:25 [sEVERE] at net.minecraft.server.Chunk.a(Chunk.java:675)

2012-06-04 22:36:25 [sEVERE] at net.minecraft.server.Chunk.a(Chunk.java:649)

2012-06-04 22:36:25 [sEVERE] at net.minecraft.server.ChunkRegionLoader.a(ChunkRegionLoader.java:297)

2012-06-04 22:36:25 [sEVERE] at net.minecraft.server.ChunkRegionLoader.a(ChunkRegionLoader.java:65)

2012-06-04 22:36:25 [sEVERE] at net.minecraft.server.ChunkRegionLoader.a(ChunkRegionLoader.java:54)

2012-06-04 22:36:25 [sEVERE] at net.minecraft.server.ChunkProviderServer.loadChunk(ChunkProviderServer.java:143)

2012-06-04 22:36:25 [sEVERE] at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:86)

2012-06-04 22:36:25 [sEVERE] at net.minecraft.server.PlayerInstance.<init>(PlayerInstance.java:26)

2012-06-04 22:36:25 [sEVERE] at net.minecraft.server.PlayerManager.a(PlayerManager.java:60)

2012-06-04 22:36:25 [sEVERE] at net.minecraft.server.PlayerManager.addPlayer(PlayerManager.java:99)

2012-06-04 22:36:25 [sEVERE] at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:143)

2012-06-04 22:36:25 [sEVERE] at forge.PacketHandlerServer.finishLogin(PacketHandlerServer.java:153)

2012-06-04 22:36:25 [sEVERE] at forge.PacketHandlerServer.onModListResponse(PacketHandlerServer.java:98)

2012-06-04 22:36:25 [sEVERE] at forge.PacketHandlerServer.onPacketData(PacketHandlerServer.java:37)

2012-06-04 22:36:25 [sEVERE] at forge.MessageManager.dispatchIncomingMessage(MessageManager.java:419)

2012-06-04 22:36:25 [sEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1469)

2012-06-04 22:36:25 [sEVERE] at net.minecraft.server.Packet250CustomPayload.handle(SourceFile:46)

2012-06-04 22:36:25 [sEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.java:234)

2012-06-04 22:36:25 [sEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:121)

2012-06-04 22:36:25 [sEVERE] at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)

2012-06-04 22:36:25 [sEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:556)

2012-06-04 22:36:25 [sEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:453)

2012-06-04 22:36:25 [sEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

2012-06-04 22:36:25 [iNFO] Skipping TileEntity with id ChunkLoader

2012-06-04 22:36:25 [iNFO] Skipping TileEntity with id ChunkLoader

2012-06-04 22:36:25 [iNFO] Sending serverside check to: msknight5

2012-06-04 22:36:25 [sEVERE] java.lang.ClassCastException: codechicken.wirelessredstone.redpower.TileRPReceiver cannot be cast to ee.TilePedestal

2012-06-04 22:36:25 [sEVERE] at ee.BlockEEPedestal.doPhysics(BlockEEPedestal.java:167)

2012-06-04 22:36:25 [sEVERE] at net.minecraft.server.World.k(World.java:532)

2012-06-04 22:36:25 [sEVERE] at net.minecraft.server.World.applyPhysics(World.java:508)

2012-06-04 22:36:25 [sEVERE] at net.minecraft.server.World.update(World.java:473)

2012-06-04 22:36:25 [sEVERE] at net.minecraft.server.World.setTypeId(World.java:445)

2012-06-04 22:36:25 [sEVERE] at eloraam.core.BlockMultipart.removeMultipartWithNotify(BlockMultipart.java:256)

2012-06-04 22:36:25 [sEVERE] at eloraam.core.TileMultipart.deleteBlock(TileMultipart.java:70)

2012-06-04 22:36:25 [sEVERE] at eloraam.core.TileMultipart.harvestMultipart(TileMultipart.java:27)

2012-06-04 22:36:25 [sEVERE] at eloraam.core.TileMultipart.breakBlock(TileMultipart.java:59)

2012-06-04 22:36:25 [sEVERE] at eloraam.logic.TileLogic.replaceWithCovers(TileLogic.java:205)

2012-06-04 22:36:25 [sEVERE] at eloraam.logic.TileLogic.tryDropBlock(TileLogic.java:218)

2012-06-04 22:36:25 [sEVERE] at eloraam.logic.TileLogicPointer.onBlockNeighborChange(TileLogicPointer.java:330)

2012-06-04 22:36:25 [sEVERE] at eloraam.core.BlockMultipart.doPhysics(BlockMultipart.java:29)

2012-06-04 22:36:25 [sEVERE] at eloraam.core.RedPowerLib.notifyBlock(RedPowerLib.java:25)

2012-06-04 22:36:25 [sEVERE] at eloraam.core.RedPowerLib.updateIndirectNeighbors(RedPowerLib.java:48)

2012-06-04 22:36:25 [sEVERE] at eloraam.core.TileExtended.updateBlockChange(TileExtended.java:98)

2012-06-04 22:36:25 [sEVERE] at codechicken.wirelessredstone.redpower.TileRPWireless.onTileTick(TileRPWireless.java:101)

2012-06-04 22:36:25 [sEVERE] at eloraam.core.TileExtended.q_(TileExtended.java:146)

2012-06-04 22:36:25 [sEVERE] at net.minecraft.server.World.tickEntities(World.java:1191)

2012-06-04 22:36:25 [sEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:547)

2012-06-04 22:36:25 [sEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:453)

2012-06-04 22:36:25 [sEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

2012-06-04 22:36:25 [sEVERE] Unexpected exception

java.lang.ClassCastException: codechicken.wirelessredstone.redpower.TileRPReceiver cannot be cast to ee.TilePedestal

at ee.BlockEEPedestal.doPhysics(BlockEEPedestal.java:167)

at net.minecraft.server.World.k(World.java:532)

at net.minecraft.server.World.applyPhysics(World.java:508)

at net.minecraft.server.World.update(World.java:473)

at net.minecraft.server.World.setTypeId(World.java:445)

at eloraam.core.BlockMultipart.removeMultipartWithNotify(BlockMultipart.java:256)

at eloraam.core.TileMultipart.deleteBlock(TileMultipart.java:70)

at eloraam.core.TileMultipart.harvestMultipart(TileMultipart.java:27)

at eloraam.core.TileMultipart.breakBlock(TileMultipart.java:59)

at eloraam.logic.TileLogic.replaceWithCovers(TileLogic.java:205)

at eloraam.logic.TileLogic.tryDropBlock(TileLogic.java:218)

at eloraam.logic.TileLogicPointer.onBlockNeighborChange(TileLogicPointer.java:330)

at eloraam.core.BlockMultipart.doPhysics(BlockMultipart.java:29)

at eloraam.core.RedPowerLib.notifyBlock(RedPowerLib.java:25)

at eloraam.core.RedPowerLib.updateIndirectNeighbors(RedPowerLib.java:48)

at eloraam.core.TileExtended.updateBlockChange(TileExtended.java:98)

at codechicken.wirelessredstone.redpower.TileRPWireless.onTileTick(TileRPWireless.java:101)

at eloraam.core.TileExtended.q_(TileExtended.java:146)

at net.minecraft.server.World.tickEntities(World.java:1191)

at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:547)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:453)

at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

Link to comment
Share on other sites

I've read a few things a bit more closely. I'm winding back, will remove the wireless redstone modules and also the transmutation tablets and see if that will upgrade.

If anyone can give me more advice, I'd be grateful.

Link to comment
Share on other sites

Tried to roll back; destroyed entire contents of old server directory and replaced with a whole-directory backup, also destroyed my .technic directory and re-downloaded the version 2 client and odd things are happening.

All solar panels have vanished.

Alchemy chests look like version 1 collectors but still function as alchemy chests

Interdiction torches have been turned in to another graphic.

transmutation tablets have been turned in to alchemy chests but still function as transmutation tablets

the relay mark 3 and some of the collectors are now wireless transmitters.

So ... it looks like I can't go forward and I can't go back.

Help! Please!

Link to comment
Share on other sites

Right ....

... ok ...

... it looks like I might have dragged and dropped the updated worlds to the backup folder instead of the live folder.

Forward is going to be my only way.

I presume if I can use the mIDas Gold utility to change the ID's of the wireless transmitters and receivers, and possibly also the transmutation tablets, then that should get me around the errors and I can get back in to the worlds.

Do I have that right please?

Link to comment
Share on other sites

OK - I'm not sure about this, because according to the patch.txt, the wireless redstone units have been changed to 0 already.

So now I'm not sure what those error messages actually mean.

I'm stuck until someone can help.

Link to comment
Share on other sites

Did you happen to run mIDas Gold against the same copy of the world more than once? If so, that'll mess up some of the EE block IDs as they'll get converted more than once and wind up the wrong value.

I haven't tested the tekkit3fix script against Python 3, but if you have Python 2.7 installed, you could try forcing it to run against that with something like "/usr/bin/python2.7 tekkit3fix.py ..."

Edit: The errors about wireless redstone are actually expected since the blocks get removed, but the EE ones are still strange.

Link to comment
Share on other sites

mIDas gold was only run the once against each world.

Thanks to your advice, I got the tekkitfix script running and applied to the worlds.

however, the error log still says the same the moment I log in, and the server halts.

EDIT - Could it be a problem that the redstone transmitters/receivers were powered on when the world was converted? Is that what the error means?

Link to comment
Share on other sites

My wireless transmitters/receivers were simply erased by the conversion process - there seem to be a bunch more wireless goodies in this version.

We're going to need to know exactly where you're up to in the process - I'm not 100% on where you became unstuck.

Link to comment
Share on other sites

There was a lot going on in this world, but all of it standard tekkit.

Some machinery was controlled by wireless redstone whereas a switch would go through a not gate, then to the transmitter, then the receiver would retard a timer; hence in the off position, the wireless is on.

This world has been through the mIDas Gold once and then through the tekkitfix.

If someone logs in another chunk then they can play. In my chunk with everything that is going on, I don't see any chunks, I just freefall and the server stops.

Here's the last log from when I join, to the server death...

2012-06-05 00:01:17 [iNFO] msknight5 [/192.168.0.100:39694] logged in with entity id 233 at ([world] 513.75, 78.0, 519.75)

2012-06-05 00:01:17 [iNFO] msknight5 joined with: [CodeChickenCore 0.5.2, MinecraftForge 3.1.3.107, NotEnoughItems 1.2.2, ComputerCraft 1.33, CCTurtle 1.33, CraftingTableIII (Beta1.8, MC1.2.5), EE 1.4.5.1, EnderStorage 1.1.1, IC2NuclearControl v1.1.6, InvTweaks 1.41b (1.2.4), MAtmos_forModLoader r12 for 1.1.x, Railcraft 5.2.4, RedPowerControl 2.0pr5b2, RedPowerCore 2.0pr5b2, RedPowerLighting 2.0pr5b2, RedPowerLogic 2.0pr5b2, RedPowerMachine 2.0pr5b2, RedPowerWiring 2.0pr5b2, RedPowerWorld 2.0pr5b2, WirelessRedstoneCore 1.2.1, WirelessRedstoneRedPower 1.2.1.1, WirelessRedstoneAddons 1.2.1, ReiMinimap v3.0_04 [1.2.5], BuildCraftCore 2.2.14, BuildCraftBuilders 2.2.14, BuildCraftEnergy 2.2.14, BuildCraftFactory 2.2.14, BuildCraftTransport 2.2.14, AdditionalPipes 2.1.3 (Minecraft 1.2.5, Buildcraft 2.2.14, Forge 3.0.1.75), ImmibisCore 48.2.1, IC2 v1.95, PowerConverters 1.2.5R1.3.4, NetherOres 1.2.5R1.2.2, IC2AdvancedMachines v4.0, IC2_ChargingBench 1.95b, CompactSolars 2.2, IronChest 3.3, TubeStuff 48.2.1]

2012-06-05 00:01:17 [iNFO] Skipping TileEntity with id ChunkLoader

2012-06-05 00:01:17 [iNFO] Skipping TileEntity with id ChunkLoader

2012-06-05 00:01:17 [iNFO] Attempted to place a tile entity (ee.TileTransTablet@165c71b) at 488,79,602 (AIR) where there was no entity tile!

2012-06-05 00:01:17 [iNFO] Chunk coordinates: 480,592

2012-06-05 00:01:17 [sEVERE] java.lang.Exception

2012-06-05 00:01:17 [sEVERE] at net.minecraft.server.Chunk.a(Chunk.java:675)

2012-06-05 00:01:17 [sEVERE] at net.minecraft.server.Chunk.a(Chunk.java:649)

2012-06-05 00:01:17 [sEVERE] at net.minecraft.server.ChunkRegionLoader.a(ChunkRegionLoader.java:297)

2012-06-05 00:01:17 [sEVERE] at net.minecraft.server.ChunkRegionLoader.a(ChunkRegionLoader.java:65)

2012-06-05 00:01:17 [sEVERE] at net.minecraft.server.ChunkRegionLoader.a(ChunkRegionLoader.java:54)

2012-06-05 00:01:17 [sEVERE] at net.minecraft.server.ChunkProviderServer.loadChunk(ChunkProviderServer.java:143)

2012-06-05 00:01:17 [sEVERE] at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:86)

2012-06-05 00:01:17 [sEVERE] at net.minecraft.server.PlayerInstance.<init>(PlayerInstance.java:26)

2012-06-05 00:01:17 [sEVERE] at net.minecraft.server.PlayerManager.a(PlayerManager.java:60)

2012-06-05 00:01:17 [sEVERE] at net.minecraft.server.PlayerManager.addPlayer(PlayerManager.java:99)

2012-06-05 00:01:17 [sEVERE] at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:143)

2012-06-05 00:01:17 [sEVERE] at forge.PacketHandlerServer.finishLogin(PacketHandlerServer.java:153)

2012-06-05 00:01:17 [sEVERE] at forge.PacketHandlerServer.onModListResponse(PacketHandlerServer.java:98)

2012-06-05 00:01:17 [sEVERE] at forge.PacketHandlerServer.onPacketData(PacketHandlerServer.java:37)

2012-06-05 00:01:17 [sEVERE] at forge.MessageManager.dispatchIncomingMessage(MessageManager.java:419)

2012-06-05 00:01:17 [sEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1469)

2012-06-05 00:01:17 [sEVERE] at net.minecraft.server.Packet250CustomPayload.handle(SourceFile:46)

2012-06-05 00:01:17 [sEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.java:234)

2012-06-05 00:01:17 [sEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:121)

2012-06-05 00:01:17 [sEVERE] at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)

2012-06-05 00:01:17 [sEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:556)

2012-06-05 00:01:17 [sEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:453)

2012-06-05 00:01:17 [sEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

2012-06-05 00:01:18 [iNFO] Skipping TileEntity with id ChunkLoader

2012-06-05 00:01:18 [iNFO] Sending serverside check to: msknight5

2012-06-05 00:01:18 [sEVERE] java.lang.ClassCastException: codechicken.wirelessredstone.redpower.TileRPReceiver cannot be cast to ee.TilePedestal

2012-06-05 00:01:18 [sEVERE] at ee.BlockEEPedestal.doPhysics(BlockEEPedestal.java:167)

2012-06-05 00:01:18 [sEVERE] at eloraam.core.RedPowerLib.notifyBlock(RedPowerLib.java:25)

2012-06-05 00:01:18 [sEVERE] at eloraam.core.RedPowerLib.updateIndirectNeighbors(RedPowerLib.java:48)

2012-06-05 00:01:18 [sEVERE] at eloraam.core.TileExtended.updateBlockChange(TileExtended.java:98)

2012-06-05 00:01:18 [sEVERE] at codechicken.wirelessredstone.redpower.TileRPWireless.onTileTick(TileRPWireless.java:101)

2012-06-05 00:01:18 [sEVERE] at eloraam.core.TileExtended.q_(TileExtended.java:146)

2012-06-05 00:01:18 [sEVERE] at net.minecraft.server.World.tickEntities(World.java:1191)

2012-06-05 00:01:18 [sEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:547)

2012-06-05 00:01:18 [sEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:453)

2012-06-05 00:01:18 [sEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

2012-06-05 00:01:18 [sEVERE] Unexpected exception

java.lang.ClassCastException: codechicken.wirelessredstone.redpower.TileRPReceiver cannot be cast to ee.TilePedestal

at ee.BlockEEPedestal.doPhysics(BlockEEPedestal.java:167)

at eloraam.core.RedPowerLib.notifyBlock(RedPowerLib.java:25)

at eloraam.core.RedPowerLib.updateIndirectNeighbors(RedPowerLib.java:48)

at eloraam.core.TileExtended.updateBlockChange(TileExtended.java:98)

at codechicken.wirelessredstone.redpower.TileRPWireless.onTileTick(TileRPWireless.java:101)

at eloraam.core.TileExtended.q_(TileExtended.java:146)

at net.minecraft.server.World.tickEntities(World.java:1191)

at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:547)

at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:453)

at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)

Link to comment
Share on other sites

In the mean time, I took a previous backup world, went in and destroyed all the wireless redstone and took up the transmutation tablets from their places.

It then went through the same processes of mIDas gold and tekkitfix.

As expected, the chunk loaders became pipes so I've made some anchors and I think I'm having issues with them and the F9 function, but I'll make a separate post about that.

All in all, I've lost 24 hours of a few peoples work, but it is perhaps better to do that than to cause minor mayhem and heartache trying to recover that lost time.

If my experiences can help, however, then I have a backup of the borked world and I'm happy to spend some time debugging it, if it will help to make things better for the community.

You'll have to PM me as I'll not be watching this post too closely after this.

Many thanks for the help so far.

Link to comment
Share on other sites

This is a long shot, but I did see one case of it recently: if you go back to the 2.1.1 world files, and look in the 'region' directory, are there any .mca files? If the world was ever loaded in Minecraft 1.2.5, even as a brief test, stray .mca files can be left behind that interfere with the conversion; the server will use the existing .mca files instead of converting the old world, and the data in those will be old and have the wrong block IDs. If there are, delete them and redo the conversion.

That's what I'm seeing in the messages: it thinks there's an EE pedestal there but gets confused because the associated tile entity is for a wireless receiver. Wireless receivers are ID 127 in 2.1.1 and pedestals are ID 127 in 3.0, so it's like the world didn't actually get converted in mIDas, and that could happen if it's loading an old .mca file instead of the converted .mcr.

Link to comment
Share on other sites

That's part of the problem. I don't have the original files for the latest backup as I accidentally overwrote them during a file copy - a case of too many windows open.

I'm not seeing a wireless receiver at 127 in the new system, the closest I can find from the IDs given by the item search in the new client, is 177, and they look wildly different. Are those the new wireless tranceiver pair? 177 and 177:256

Link to comment
Share on other sites

If you have the files after the mIDas or tekkit3fix steps, that's good enough, look for any .mca files and delete them before copying them to the 3.0 server.

And right, the wireless receiver isn't at 127 in 3.0 anymore, but there's a block in your world with value 127, and the only reason it would have that value after the conversion is if it was an EE pedestal before, but then the tile entity for that block is for a wireless receiver, which implies that it was one before, so its value hasn't changed from 127, which implies that it didn't get converted.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...