
Looke81
Members-
Posts
250 -
Joined
-
Last visited
Everything posted by Looke81
-
So I am, like a lot of other people, having difficulty updating my mod to 1.8 regarding textures because of the new model system. What i wanted to know is is there a video tutorial for this? Because i don't understand the correct file layout and i just need a detailed explanation of the new system. Or if there isn't one could someone make on because I am sure its not just me who would greatly appreciate it! p.s sorry if this post is in the wrong place its more of a request
-
[1.7.10]NOT SOLVEDMy mod is crashing on servers?
Looke81 replied to Looke81's topic in Modder Support
line 87 was: mc.entityRenderer.theShaderGroup.createBindFramebuffers(mc.displayWidth, mc.displayHeight); i removed it and it is working now both on a server and on single player. hopefully you wont see this at the top of the list ever again! -
[1.7.10]NOT SOLVEDMy mod is crashing on servers?
Looke81 replied to Looke81's topic in Modder Support
ok so i managed to get the packet to be recived but not i'm getting this crash log: http://pastebin.com/5NnxjMBS -
[1.7.10]NOT SOLVEDMy mod is crashing on servers?
Looke81 replied to Looke81's topic in Modder Support
oh well that was why it was crashing but now its not clearing the shader. Obviously you can tell i don't really understand packets but something tells me that this might not be the right way to do it. if it helps i found a mod that could change the shaders on demand so this is possible but i am probably doing it the wrong way. Decompiled code from that mod: http://pastebin.com/ywkqVDt4 -
[1.7.10]NOT SOLVEDMy mod is crashing on servers?
Looke81 replied to Looke81's topic in Modder Support
ok so you can register the message and send it either client side or server side i think?But I've tried as many combinations with not any success but i assume this is ment to be the right combination. network.registerMessage(MyMessage.Handler.class, MyMessage.class, 0, Side.CLIENT); + BioWarfare.network.sendTo(new MyMessage("ShaderOff"), (EntityPlayerMP) entity); This crashes here is the log: http://pastebin.com/jJCPNRgh -
[1.7.10]NOT SOLVEDMy mod is crashing on servers?
Looke81 replied to Looke81's topic in Modder Support
bump -
[1.7.10]NOT SOLVEDMy mod is crashing on servers?
Looke81 replied to Looke81's topic in Modder Support
Message Class: http://pastebin.com/Y6Bj7AsJ When sending the message: http://pastebin.com/EDAxhTSd And main mod class bit: public static SimpleNetworkWrapper network; @EventHandler public void preInit(FMLPreInitializationEvent event){ network = NetworkRegistry.INSTANCE.newSimpleChannel("MyChannel"); network.registerMessage(MyMessage.Handler.class, MyMessage.class, 0, Side.SERVER); -
[1.7.10]NOT SOLVEDMy mod is crashing on servers?
Looke81 replied to Looke81's topic in Modder Support
Umm i think i did it right but apparently not because when i go on a server now it doesn't clear the shader and it crashes when you try to clear the shader on single player. Crass log: http://pastebin.com/K0CscUBQ -
[1.7.10]NOT SOLVEDMy mod is crashing on servers?
Looke81 replied to Looke81's topic in Modder Support
Could you either explain them to me or just point me in the direction of someone else's explanation of using packets? -
[1.7.10]NOT SOLVEDMy mod is crashing on servers?
Looke81 replied to Looke81's topic in Modder Support
bump -
[1.7.10]NOT SOLVEDMy mod is crashing on servers?
Looke81 replied to Looke81's topic in Modder Support
so is this not possible?Or do i do somthing like see if the potion effects are active and then call another method which can work on the client? -
[1.7.10]NOT SOLVEDMy mod is crashing on servers?
Looke81 replied to Looke81's topic in Modder Support
updated event handler: http://pastebin.com/n0R6ewzZ Client Proxy: http://pastebin.com/upmbmThB Common Proxy: http://pastebin.com/Kh4iUbw4 -
[1.7.10]NOT SOLVEDMy mod is crashing on servers?
Looke81 replied to Looke81's topic in Modder Support
Oh i thought that this had solved the problem but unfortunately everything worked apart from the shaders wouldn't get cleared in single player. I'm not sure why this is. -
[1.7.10]NOT SOLVEDMy mod is crashing on servers?
Looke81 replied to Looke81's topic in Modder Support
right so i've undone what i did and am back to having a shaderchange class. Obviously that wont fix the problem so how should i Redirect any calls to the shaders class through your proxy? -
[1.7.10]NOT SOLVEDMy mod is crashing on servers?
Looke81 replied to Looke81's topic in Modder Support
oh mabye i didn't do it right what i did was i put the methods in the client proxy and removed the shader change class. Event handler bit: http://pastebin.com/wFcqmdJy -
[1.7.10]NOT SOLVEDMy mod is crashing on servers?
Looke81 replied to Looke81's topic in Modder Support
Ok so yes i know this is a very old post but i gave up on this and now i'm coming back to it. I think i did what you said to do but it still crashes when the shaders are activated on servers. This is the error message. http://pastebin.com/9X9R6tN2 -
[1.7.10] Using NBT to store items in a tileentity ?
Looke81 replied to Looke81's topic in Modder Support
Wow i really thought i had woops. But the data still isn't saving! I'm gonna give you my whole class. http://pastebin.com/V6zxySR6 -
[1.7.10] Using NBT to store items in a tileentity ?
Looke81 replied to Looke81's topic in Modder Support
Ok i have implemented everything but now when i use the inventory this happens: [21:17:19] [server thread/INFO]: Player238 joined the game [21:17:21] [server thread/ERROR]: Encountered an unexpected exception net.minecraft.util.ReportedException: Exception ticking world at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:708) ~[MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:624) ~[MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) ~[integratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:495) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:762) [MinecraftServer$2.class:?] Caused by: java.lang.RuntimeException: class com.Looke81.BioWarfare.tileentity.TileEntityAgarPlate is missing a mapping! This is a bug! at net.minecraft.tileentity.TileEntity.writeToNBT(TileEntity.java:100) ~[TileEntity.class:?] at com.Looke81.BioWarfare.tileentity.TileEntityAgarPlate.writeToNBT(TileEntityAgarPlate.java:61) ~[TileEntityAgarPlate.class:?] at com.Looke81.BioWarfare.tileentity.TileEntityAgarPlate.getDescriptionPacket(TileEntityAgarPlate.java:97) ~[TileEntityAgarPlate.class:?] at net.minecraft.server.management.PlayerManager$PlayerInstance.sendTileToAllPlayersWatchingChunk(PlayerManager.java:638) ~[PlayerManager$PlayerInstance.class:?] at net.minecraft.server.management.PlayerManager$PlayerInstance.sendChunkUpdate(PlayerManager.java:580) ~[PlayerManager$PlayerInstance.class:?] at net.minecraft.server.management.PlayerManager.updatePlayerInstances(PlayerManager.java:84) ~[PlayerManager.class:?] at net.minecraft.world.WorldServer.tick(WorldServer.java:195) ~[WorldServer.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:702) ~[MinecraftServer.class:?] ... 4 more [21:17:21] [server thread/ERROR]: This crash report has been saved to: C:\Users\Daniel\Desktop\MineCraft Java Script\Minecraft Mods\eclipse\.\crash-reports\crash-2014-11-24_21.17.21-server.txt [21:17:21] [server thread/INFO]: Stopping server [21:17:21] [server thread/INFO]: Saving players ---- Minecraft Crash Report ---- // I feel sad now Time: 24/11/14 21:17 Description: Exception ticking world java.lang.RuntimeException: class com.Looke81.BioWarfare.tileentity.TileEntityAgarPlate is missing a mapping! This is a bug! at net.minecraft.tileentity.TileEntity.writeToNBT(TileEntity.java:100) at com.Looke81.BioWarfare.tileentity.TileEntityAgarPlate.writeToNBT(TileEntityAgarPlate.java:61) at com.Looke81.BioWarfare.tileentity.TileEntityAgarPlate.getDescriptionPacket(TileEntityAgarPlate.java:97) at net.minecraft.server.management.PlayerManager$PlayerInstance.sendTileToAllPlayersWatchingChunk(PlayerManager.java:638) at net.minecraft.server.management.PlayerManager$PlayerInstance.sendChunkUpdate(PlayerManager.java:580) at net.minecraft.server.management.PlayerManager.updatePlayerInstances(PlayerManager.java:84) at net.minecraft.world.WorldServer.tick(WorldServer.java:195) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:702) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:624) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:495) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:762) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at net.minecraft.tileentity.TileEntity.writeToNBT(TileEntity.java:100) at com.Looke81.BioWarfare.tileentity.TileEntityAgarPlate.writeToNBT(TileEntityAgarPlate.java:61) at com.Looke81.BioWarfare.tileentity.TileEntityAgarPlate.getDescriptionPacket(TileEntityAgarPlate.java:97) at net.minecraft.server.management.PlayerManager$PlayerInstance.sendTileToAllPlayersWatchingChunk(PlayerManager.java:638) at net.minecraft.server.management.PlayerManager$PlayerInstance.sendChunkUpdate(PlayerManager.java:580) at net.minecraft.server.management.PlayerManager.updatePlayerInstances(PlayerManager.java:84) at net.minecraft.world.WorldServer.tick(WorldServer.java:195) -- Affected level -- Details: Level name: just another test All players: 1 total; [EntityPlayerMP['Player238'/394, l='just another test', x=30.36, y=71.25, z=167.88]] Chunk stats: ServerChunkCache: 625 Drop: 0 Level seed: -5804106722026325298 Level generator: ID 00 - default, ver 1. Features enabled: true Level generator options: Level spawn location: World: (32,64,180), Chunk: (at 0,4,4 in 2,11; contains blocks 32,0,176 to 47,255,191), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 92388 game time, 12854 day time Level dimension: 0 Level storage version: 0x04ABD - Anvil Level weather: Rain time: 78930 (now: false), thunder time: 20926 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true Stacktrace: at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:702) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:624) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:495) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:762) -- System Details -- Details: Minecraft Version: 1.7.10 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.7.0_21, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 772486952 bytes (736 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used IntCache: cache: 0, tcache: 0, allocated: 13, tallocated: 95 FML: MCP v9.05 FML v7.10.24.1187 Minecraft Forge 10.13.0.1187 4 mods loaded, 4 mods active mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available FML{7.10.24.1187} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.0.1187.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Forge{10.13.0.1187} [Minecraft Forge] (forgeSrc-1.7.10-10.13.0.1187.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available BioWarfare{0.0.1 Alpha} [bioWarfare] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available Profiler Position: N/A (disabled) Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Player Count: 1 / 8; [EntityPlayerMP['Player238'/394, l='just another test', x=30.36, y=71.25, z=167.88]] Type: Integrated Server (map_client.txt) Is Modded: Definitely; Client brand changed to 'fml,forge' #@!@# Game crashed! Crash report saved to: #@!@# .\crash-reports\crash-2014-11-24_21.17.21-server.txt [21:17:21] [Client thread/INFO] [FML]: Waiting for the server to terminate/save. [21:17:21] [server thread/INFO]: Saving worlds [21:17:21] [server thread/INFO]: Saving chunks for level 'just another test'/Overworld [21:17:21] [server thread/ERROR] [FML]: A TileEntity type com.Looke81.BioWarfare.tileentity.TileEntityAgarPlate has throw an exception trying to write state. It will not persist. Report this to the mod author java.lang.RuntimeException: class com.Looke81.BioWarfare.tileentity.TileEntityAgarPlate is missing a mapping! This is a bug! at net.minecraft.tileentity.TileEntity.writeToNBT(TileEntity.java:100) ~[TileEntity.class:?] at com.Looke81.BioWarfare.tileentity.TileEntityAgarPlate.writeToNBT(TileEntityAgarPlate.java:61) ~[TileEntityAgarPlate.class:?] at net.minecraft.world.chunk.storage.AnvilChunkLoader.writeChunkToNBT(AnvilChunkLoader.java:395) [AnvilChunkLoader.class:?] at net.minecraft.world.chunk.storage.AnvilChunkLoader.saveChunk(AnvilChunkLoader.java:204) [AnvilChunkLoader.class:?] at net.minecraft.world.gen.ChunkProviderServer.safeSaveChunk(ChunkProviderServer.java:289) [ChunkProviderServer.class:?] at net.minecraft.world.gen.ChunkProviderServer.saveChunks(ChunkProviderServer.java:342) [ChunkProviderServer.class:?] at net.minecraft.world.WorldServer.saveAllChunks(WorldServer.java:876) [WorldServer.class:?] at net.minecraft.server.MinecraftServer.saveAllWorlds(MinecraftServer.java:380) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.stopServer(MinecraftServer.java:415) [MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.stopServer(IntegratedServer.java:266) [integratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:548) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:762) [MinecraftServer$2.class:?] [21:17:21] [server thread/INFO]: Saving chunks for level 'just another test'/Nether [21:17:21] [server thread/INFO]: Saving chunks for level 'just another test'/The End [21:17:21] [server thread/INFO] [FML]: Unloading dimension 0 [21:17:21] [server thread/INFO] [FML]: Unloading dimension -1 [21:17:21] [server thread/INFO] [FML]: Unloading dimension 1 [21:17:21] [server thread/INFO] [FML]: Applying holder lookups [21:17:21] [server thread/INFO] [FML]: Holder lookups applied [21:17:21] [server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded. [21:17:21] [Client thread/INFO] [FML]: Server terminated. AL lib: (EE) alc_cleanup: 1 device not closed -
[1.7.10] Using NBT to store items in a tileentity ?
Looke81 replied to Looke81's topic in Modder Support
well is hasn't solved the problem and i was more looking for a definition on how nbt works because i dont have a clue. -
[1.7.10] Using NBT to store items in a tileentity ?
Looke81 replied to Looke81's topic in Modder Support
This doesn't seemed to have solved the problem i took the code from the chest class so i don't think it could be missing something like that. -
hello all, I have made a tile entity that can store items but when i unload the world the items are gone. I know you have to use read to and write to NBT but im not sure how. As of right now i just took the tileentitychest code but it doesn't seem to work.I really don't have a great understanding of nbt so please be patient with me. My Code: public void writeToNBT(NBTTagCompound tag) { super.writeToNBT(tag); NBTTagList nbttaglist = new NBTTagList(); for (int i = 0; i < this.inv.length; ++i) { if (this.inv != null) { NBTTagCompound nbttagcompound1 = new NBTTagCompound(); nbttagcompound1.setByte("slot", (byte)i); this.inv.writeToNBT(nbttagcompound1); nbttaglist.appendTag(nbttagcompound1); } } } public void readFromNBT(NBTTagCompound p_145839_1_) { super.readFromNBT(p_145839_1_); NBTTagList nbttaglist = p_145839_1_.getTagList("Items", 10); this.inv = new ItemStack[this.getSizeInventory()]; for (int i = 0; i < nbttaglist.tagCount(); ++i) { NBTTagCompound nbttagcompound1 = nbttaglist.getCompoundTagAt(i); int j = nbttagcompound1.getByte("slot") & 255; if (j >= 0 && j < this.inv.length) { this.inv[j] = ItemStack.loadItemStackFromNBT(nbttagcompound1); } } }
-
[1.7.10][SOLVED]Using multiple Guis with the IGuiHandler?
Looke81 replied to Looke81's topic in Modder Support
wow i was always bad at those games as a kid. It actually took me a while to see what you were getting at but now i see Guis for client Containers for server Its all working now thank you for you help even when i was being incompetent. -
[1.7.10][SOLVED]Using multiple Guis with the IGuiHandler?
Looke81 replied to Looke81's topic in Modder Support
It does? i have seen everyone else return there container in this situation. I just tired to return the gui screens and it crashed with. com.Looke81.BioWarfare.gui.GuiMicrobeExtractor cannot be cast to net.minecraft.inventory.Container at cpw.mods.fml.common.network.NetworkRegistry.getRemoteGuiContainer(NetworkRegistry.java:241) at cpw.mods.fml.common.network.internal.FMLNetworkHandler.openGui(FMLNetworkHandler.java:75) at com.Looke81.BioWarfare.blocks.MicrobeExtractor.onBlockActivated(MicrobeExtractor.java:100) at net.minecraft.server.management.ItemInWorldManager.activateBlockOrUseItem(ItemInWorldManager.java:409) at net.minecraft.network.NetHandlerPlayServer.processPlayerBlockPlacement(NetHandlerPlayServer.java:591) at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:74) at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:122) at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:247) at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:182) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:736) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:624) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:118) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:495) at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:762) -
[1.7.10][SOLVED]Using multiple Guis with the IGuiHandler?
Looke81 replied to Looke81's topic in Modder Support
Hmm i took you code and swapped out the relative parts and changed my gui ids to the same as yours but i still get a crash this is what my gui handler looks like now http://pastebin.com/KPq9jUMe and here is the console log: http://pastebin.com/6E1Dh8Zx Im really stuck now... -
[1.7.10][SOLVED]Using multiple Guis with the IGuiHandler?
Looke81 replied to Looke81's topic in Modder Support
I tryed mutiple cases with one gui handler but they both crashed when i did i take it you want some kind of crash report or the code from that?