This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Cragrim's profile picture

Attempting to place a forge multipart block causes a server crash.

Started by Cragrim, 02 November 2013 - 03:21 PM
Cragrim #1
Posted 02 November 2013 - 04:21 PM
Hello! New forum member here and as such I am unable to make new posts it appears. :)/>
Instead of just making 3 random posts somewhere I hope its OK to post my complete message here instead. I wanted to report a crash with the latest forge, latest computercraft and latest forge multipart.

Attempting to place a forge multipart block causes a server crash.

Tested and replicated with the following minimal amount of mods:
minecraftforge-installer-1.6.4-9.11.1.942.jar - client
ForgeMultipart-universal-1.6.4-1.0.0.193.jar
ComputerCraft1.57.zip

Love this mod :)/>
Keep up the great work

Best Regards
Cragrim

Attempting the following will cause a server crash and/or client crash:

Spoiler—- Minecraft Crash Report —-
// Oh - I know what I did wrong!

Time: 2013-11-02 21:53
Description: Ticking tile entity

java.lang.ClassCastException: dan200.turtle.shared.TurtlePlayer cannot be cast to net.minecraft.entity.player.EntityPlayerMP
at codechicken.lib.raytracer.RayTracer.retraceBlock(RayTracer.java:194)
at codechicken.microblock.ItemMicroPart.func_77648_a(ItemMicroPart.scala:65)
at dan200.turtle.shared.TileEntityTurtle.tryPlaceOnBlock(TileEntityTurtle.java:1846)
at dan200.turtle.shared.TileEntityTurtle.useStack(TileEntityTurtle.java:2061)
at dan200.turtle.shared.TileEntityTurtle.place(TileEntityTurtle.java:1659)
at dan200.turtle.shared.TileEntityTurtle.updateCommands(TileEntityTurtle.java:2705)
at dan200.turtle.shared.TileEntityTurtle.func_70316_g(TileEntityTurtle.java:2465)
at net.minecraft.world.World.func_72939_s(World.java:2209)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:550)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:668)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:587)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:129)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484)
at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:583)


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

– Head –
Stacktrace:
at codechicken.lib.raytracer.RayTracer.retraceBlock(RayTracer.java:194)
at codechicken.microblock.ItemMicroPart.func_77648_a(ItemMicroPart.scala:65)
at dan200.turtle.shared.TileEntityTurtle.tryPlaceOnBlock(TileEntityTurtle.java:1846)
at dan200.turtle.shared.TileEntityTurtle.useStack(TileEntityTurtle.java:2061)
at dan200.turtle.shared.TileEntityTurtle.place(TileEntityTurtle.java:1659)
at dan200.turtle.shared.TileEntityTurtle.updateCommands(TileEntityTurtle.java:2705)
at dan200.turtle.shared.TileEntityTurtle.func_70316_g(TileEntityTurtle.java:2465)

– Tile entity being ticked –
Details:
Name: turtle // dan200.turtle.shared.TileEntityTurtle
Block type: ID #1227 (tile.ccturtle // dan200.turtle.shared.BlockTurtle)
Block data value: 8 / 0x8 / 0b1000
Block location: World: (230,65,263), Chunk: (at 6,4,7 in 14,16; contains blocks 224,0,256 to 239,255,271), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Actual block type: ID #1227 (tile.ccturtle // dan200.turtle.shared.BlockTurtle)
Actual block data value: 8 / 0x8 / 0b1000
Stacktrace:
at net.minecraft.world.World.func_72939_s(World.java:2209)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:550)

– Affected level –
Details:
Level name: Test
All players: 1 total; [EntityPlayerMP['Cragrim'/169, l='Test', x=232,14, y=64,00, z=261,61]]
Chunk stats: ServerChunkCache: 670 Drop: 0
Level seed: -6252457517440142217
Level generator: ID 00 - default, ver 1. Features enabled: true
Level generator options:
Level spawn location: World: (228,64,252), Chunk: (at 4,4,12 in 14,15; contains blocks 224,0,240 to 239,255,255), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Level time: 6065 game time, 6065 day time
Level dimension: 0
Level storage version: 0x04ABD - Anvil
Level weather: Rain time: 162812 (now: false), thunder time: 14862 (now: false)
Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: true
Stacktrace:
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:668)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:587)
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:129)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:484)
at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:583)

– System Details –
Details:
Minecraft Version: 1.6.4
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_40, Oracle Corporation
Java VM Version: Java HotSpotâ„¢ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 759850640 bytes (724 MB) / 1139277824 bytes (1086 MB) up to 11453595648 bytes (10923 MB)
JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx12G
AABB Pool Size: 4118 (230608 bytes; 0 MB) allocated, 3696 (206976 bytes; 0 MB) used
Suspicious classes: FML and Forge are installed
IntCache: cache: 2, tcache: 0, allocated: 1, tallocated: 63
FML: MCP v8.11 FML v6.4.38.942 Minecraft Forge 9.11.1.942 8 mods loaded, 8 mods active
mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
FML{6.4.38.942} [Forge Mod Loader] (minecraftforge-9.11.1.942.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Forge{9.11.1.942} [Minecraft Forge] (minecraftforge-9.11.1.942.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ComputerCraft{1.57} [ComputerCraft] (ComputerCraft1.57.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
CCTurtle{1.57} [ComputerCraft Turtles] (ComputerCraft1.57.zip) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ForgeMultipart{1.0.0.193} [Forge Multipart] (ForgeMultipart-universal-1.6.4-1.0.0.193.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
McMultipart{1.0.0.193} [Minecraft Multipart Plugin] (ForgeMultipart-universal-1.6.4-1.0.0.193.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
ForgeMicroblock{1.0.0.193} [Forge Microblocks] (ForgeMultipart-universal-1.6.4-1.0.0.193.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available
Profiler Position: N/A (disabled)
Vec3 Pool Size: 2065 (115640 bytes; 0 MB) allocated, 1940 (108640 bytes; 0 MB) used
Player Count: 1 / 8; [EntityPlayerMP['Cragrim'/169, l='Test', x=232,14, y=64,00, z=261,61]]
Type: Integrated Server (map_client.txt)
Is Modded: Definitely; Client brand changed to 'fml,forge'

Lyqyd #2
Posted 02 November 2013 - 08:55 PM
Split into new topic. Moved to Bugs. Locked.

Next time, please read some of the sticky topics before you go off all half-cocked and post where you shouldn't. There are several places (including the first post in the topic you posted in) pointing you toward the Forum Guidelines announcement, which should have been the first thing you read regardless.

Anyway, this isn't a ComputerCraft bug, it's a bug on Chickenbones' end, and he's aware of it. He may well have fixed it already. Thanks for the report though.