Jump to content

laifsjo

Members
  • Posts

    50
  • Joined

  • Last visited

Everything posted by laifsjo

  1. Thank you, that helped. Problem solved, thank you guys for helping me
  2. okay, i did everything the tutorial did, but now i just dont know one thing, how would i spawn the entity, the only thing that i do, is send the packet to the server through that queu or something, but how do i spawn the entity then? EDIT: i can't spawn the entity because i don't have a world instance. I checked, and i AM on the server side, but when i get an instance of World by typing this: ModLoader.getMinecraftInstance().theWorld; that world instance is still client sided.
  3. thanks for responding, but i read that tutorial, and all i came up with was checking if i'm server side or client side. i was client side, so i have no idea how i would do it
  4. comon guys, can nobody help me out with this? please?
  5. okay, everybody tells me i have to send packets, i already read the tutorial of packets, but i still don't know how to send a packet from client to the server to spawn an entity, could somebody just tell that?
  6. i already read that tutorial, but what i understood of that was that i can check if i'm client or server side. i'm trying to do this in SSP, but i really have no idea how to do it
  7. i tried that, but how do i send that packet, and what do i type to send the packet? i didnt find any tutorials for it
  8. Hello, i got a problem with my mod, i am trying to spawn an entity (like an arrow) by hitting a key. I understand this is client sided, but how can i spawn that entity and get it functioning like it's on the server, because how i'm doing it now, it will spawn the entity, but it cant damage mobs. Can someone help me out?
  9. bump, i really need help with this
  10. But as i said, thats not working, then i will see the block, but when i reload the world it will be disappeared... Thats (i think) caused by the fact that it only places the block server side, because world.isRemote gives me "true" twice
  11. I dont know why that should work? Ill try it
  12. The Methyr Dimension Minecraft Forge Current version: Alpha 0.0.4 (MC 1.4.6 || Forge 6.5.0.471) We finally did it guys, after a lot of time, hard work and frustrating errors, we have finished the methyr dimension in alpha version. This is just the alpha version, so we will be updating a lot, and also fixing a lot of bugs. The Methyr Dimension mod is a mod that adds one new dimension, it's a new world, where you have to start over again, you can't use your old tools anymore. It's harder, and of course more epic. You will find stories on your way, that teach you about the blocks and items in game, also some stories will tell you about mobs, and how to create magic. You start off with very small kinds of magic, but that will improve to very cool magic to play with. There are a lot of cool dungeons in the mod, that you can explore, discover and get the weapons in there, that you can't craft. There are ridiculous mobs in the Methyr, all made by KarryBird, thank's for that . Please give it a try, you won't regret it. Information about crafting recipes and more:</p> If you want to play this mod in survival mode, i suggest you don't open this spoiler, it will tell you information about all the recipes and blocks, normally you should find that out while playing the mod. That's where the methyr tome is actually for. Mobs Screenshots: Please Donate to us, we will maybe make a website or something, if we get enough money for it: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7RW6YV82F6XM4 Changes: Here's a video of the changes in this version: [media]http://www.youtube.com/watch?v=t3ZwGRjOVk4[/media] Download Methyr Alpha 0.0.4: And then finally, here is the download for the alpha version: http://adf.ly/2856072/methyr-alpha-004 If that link doesn't work, try this one: In the Methyr download, there will be install instructions, and what forge version you need to use. How to install the mod: [media]http://www.youtube.com/watch?v=A6tEeIB818o[/media] A mod spotlight of Atlantic Craft: [media] [/media] A mod spotlight of IpodMail: [media] [/media] Some more videos that are made: MrSlimer made some videos about the mobs: I hope everyone likes the mod, please tell us what we should add or change, and if you got any ideas, post them down here. Also special thanks to this people for helping me out with the mod: And please use one of this banners as your signature: Enjoy the mod, The Methyr Team ;P
  13. Hey, i am trying to place a block when interacting with a mob. But when i just spawn it using this code: world.setBlockWithNotify((int)this.posX, (int)this.posY + 5, (int)this.posZ, MyBlock.block.blockID); it places it, and when i reload the world, it's gone. when i try this: if(!world.isRemote) world.setBlockWithNotify((int)this.posX, (int)this.posY + 5, (int)this.posZ, MethyrBlocks.methyrFarmSide.blockID); nothing happens (it wont even place the block) and when i try when the world IS remote, the same happens as doing nothing. when i type: System.out.println(world.isRemote); i get two true messages. Can somebody please help me with this, it's really annoying
  14. I want to make a NBT Tag Compound in my own class, is that possible, without editing base classes?
  15. and here's the error if i run it just in minecraft: Minecraft has stopped running because it encountered a problem; Exception in world tick A full error report has been saved to C:\Users\Mart\AppData\Roaming\.minecraft\crash-reports\crash-2012-11-25_09.25.22-client.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash --- BEGIN ERROR REPORT 4feefbc5 -------- Full report at: C:\Users\Mart\AppData\Roaming\.minecraft\crash-reports\crash-2012-11-25_09.25.22-client.txt Please show that file to Mojang, NOT just this screen! Generated 11/25/12 9:25 AM -- Head -- Stacktrace: at axz.a(NetClientHandler.java:763) at cp.a(SourceFile:87) at cf.b(MemoryConnection.java:79) at axz.d(NetClientHandler.java:104) -- Affected level -- Details: Level name: MpServer All players: 1 total; [ayk['laifsjo'/184, l='MpServer', x=18.00, y=61.62, z=4.00]] Chunk stats: MultiplayerChunkCache: 35 Level seed: 0 Level generator: ID 00 - default, ver 1. Features enabled: false Level generator options: Level spawn location: World: (8,64,, Chunk: (at 8,4,8 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 269 game time, 269 day time Level dimension: 0 Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false Forced entities: 5 total; [ow['Bat'/5130, l='MpServer', x=19.50, y=33.00, z=29.50], MethyrEvilTree['entity.EvilTree.name'/4971, l='MpServer', x=56.50, y=99.00, z=32.50], ayk['laifsjo'/184, l='MpServer', x=18.00, y=61.62, z=4.00], ow['Bat'/5041, l='MpServer', x=7.04, y=55.08, z=-20.25], ow['Bat'/5124, l='MpServer', x=-9.29, y=57.00, z=-3.29]] Retry entities: 0 total; [] Stacktrace: at ayh.a(WorldClient.java:425) at net.minecraft.client.Minecraft.l(Minecraft.java:1889) at net.minecraft.client.Minecraft.J(Minecraft.java:858) at net.minecraft.client.Minecraft.run(Minecraft.java:783) at java.lang.Thread.run(Unknown Source) -- Affected level -- Details: Level name: MpServer All players: 1 total; [ayk['laifsjo'/184, l='MpServer', x=18.00, y=61.62, z=4.00]] Chunk stats: MultiplayerChunkCache: 35 Level seed: 0 Level generator: ID 00 - default, ver 1. Features enabled: false Level generator options: Level spawn location: World: (8,64,, Chunk: (at 8,4,8 in 0,0; contains blocks 0,0,0 to 15,255,15), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511) Level time: 269 game time, 269 day time Level dimension: 0 Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false Forced entities: 5 total; [ow['Bat'/5130, l='MpServer', x=19.50, y=33.00, z=29.50], MethyrEvilTree['entity.EvilTree.name'/4971, l='MpServer', x=56.50, y=99.00, z=32.50], ayk['laifsjo'/184, l='MpServer', x=18.00, y=61.62, z=4.00], ow['Bat'/5041, l='MpServer', x=7.04, y=55.08, z=-20.25], ow['Bat'/5124, l='MpServer', x=-9.29, y=57.00, z=-3.29]] Retry entities: 0 total; [] -- System Details -- Details: Minecraft Version: 1.4.5 Operating System: Windows 8 (amd64) version 6.2 Java Version: 1.7.0_09, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 223986416 bytes (213 MB) / 507576320 bytes (484 MB) up to 954466304 bytes (910 MB) JVM Flags: 2 total; -Xms512m -Xmx1024m AABB Pool Size: 7112 (398272 bytes; 0 MB) allocated, 66 (3696 bytes; 0 MB) used Suspicious classes: FML and Forge are installed IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63 FML: MCP v7.23 FML v4.5.14.455 Minecraft Forge 6.4.0.393 4 mods loaded, 4 mods active mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available Methyr [The Methyr Dimension] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available LWJGL: 2.4.2 OpenGL: GeForce GTS 450/PCIe/SSE2 GL version 4.2.0, NVIDIA Corporation Is Modded: Definitely; Client brand changed to 'forge,fml' Type: Client (map_client.txt) Texture Pack: Default Profiler Position: N/A (disabled) Vec3 Pool Size: 195 (10920 bytes; 0 MB) allocated, 22 (1232 bytes; 0 MB) used java.lang.NullPointerException at axz.a(NetClientHandler.java:763) at cp.a(SourceFile:87) at cf.b(MemoryConnection.java:79) at axz.d(NetClientHandler.java:104) at ayh.b(WorldClient.java:72) at net.minecraft.client.Minecraft.l(Minecraft.java:1876) at net.minecraft.client.Minecraft.J(Minecraft.java:858) at net.minecraft.client.Minecraft.run(Minecraft.java:783) at java.lang.Thread.run(Unknown Source) --- END ERROR REPORT 4a9243f6 ----------
  16. here's the full error: 2012-11-25 09:06:30 [iNFO] [ForgeModLoader] Forge Mod Loader version 4.5.14.455 for Minecraft 1.4.5 loading 2012-11-25 09:06:33 [iNFO] [sTDOUT] 27 achievements 2012-11-25 09:06:33 [iNFO] [sTDOUT] 208 recipes 2012-11-25 09:06:33 [iNFO] [sTDOUT] Setting user: Player133, - 2012-11-25 09:06:33 [iNFO] [sTDERR] Client asked for parameter: server 2012-11-25 09:06:33 [iNFO] [sTDOUT] LWJGL Version: 2.4.2 2012-11-25 09:06:34 [iNFO] [ForgeModLoader] Attempting early MinecraftForge initialization 2012-11-25 09:06:34 [iNFO] [sTDOUT] MinecraftForge v6.4.0.393 Initialized 2012-11-25 09:06:34 [iNFO] [ForgeModLoader] MinecraftForge v6.4.0.393 Initialized 2012-11-25 09:06:34 [iNFO] [sTDOUT] Replaced 84 ore recipies 2012-11-25 09:06:34 [iNFO] [ForgeModLoader] Completed early MinecraftForge initialization 2012-11-25 09:06:35 [iNFO] [ForgeModLoader] Searching C:\Users\Mart\Desktop\Minecraft\Modding\Methyr393F\jars\mods for mods 2012-11-25 09:06:39 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load 2012-11-25 09:06:40 [iNFO] [ForgeModLoader] Configured a dormant chunk cache size of 0 2012-11-25 09:06:40 [iNFO] [sTDOUT] Starting up SoundSystem... 2012-11-25 09:06:40 [iNFO] [sTDOUT] Initializing LWJGL OpenAL 2012-11-25 09:06:40 [iNFO] [sTDOUT] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) 2012-11-25 09:06:40 [iNFO] [sTDOUT] OpenAL initialized. 2012-11-25 09:06:41 [iNFO] [ForgeModLoader] Forge Mod Loader has successfully loaded 4 mods 2012-11-25 09:07:04 [iNFO] [sTDOUT] Deleting level New World 2012-11-25 09:07:04 [iNFO] [sTDOUT] Attempt 1... 2012-11-25 09:07:04 [iNFO] [sTDOUT] Deleting .\saves\New World\data 2012-11-25 09:07:04 [iNFO] [sTDOUT] Deleting .\saves\New World\data\villages.dat 2012-11-25 09:07:04 [iNFO] [sTDOUT] Deleting .\saves\New World\DIM-1 2012-11-25 09:07:04 [iNFO] [sTDOUT] Deleting .\saves\New World\DIM-1\data 2012-11-25 09:07:04 [iNFO] [sTDOUT] Deleting .\saves\New World\DIM-1\forcedchunks.dat 2012-11-25 09:07:04 [iNFO] [sTDOUT] Deleting .\saves\New World\DIM1 2012-11-25 09:07:04 [iNFO] [sTDOUT] Deleting .\saves\New World\DIM1\data 2012-11-25 09:07:04 [iNFO] [sTDOUT] Deleting .\saves\New World\DIM1\forcedchunks.dat 2012-11-25 09:07:04 [iNFO] [sTDOUT] Deleting .\saves\New World\DIM_METHYR 2012-11-25 09:07:04 [iNFO] [sTDOUT] Deleting .\saves\New World\DIM_METHYR\data 2012-11-25 09:07:04 [iNFO] [sTDOUT] Deleting .\saves\New World\DIM_METHYR\forcedchunks.dat 2012-11-25 09:07:04 [iNFO] [sTDOUT] Deleting .\saves\New World\DIM_METHYR\region 2012-11-25 09:07:04 [iNFO] [sTDOUT] Deleting .\saves\New World\DIM_METHYR\region\r.-1.-1.mca 2012-11-25 09:07:04 [iNFO] [sTDOUT] Deleting .\saves\New World\DIM_METHYR\region\r.-1.0.mca 2012-11-25 09:07:04 [iNFO] [sTDOUT] Deleting .\saves\New World\DIM_METHYR\region\r.0.-1.mca 2012-11-25 09:07:04 [iNFO] [sTDOUT] Deleting .\saves\New World\DIM_METHYR\region\r.0.0.mca 2012-11-25 09:07:04 [iNFO] [sTDOUT] Deleting .\saves\New World\forcedchunks.dat 2012-11-25 09:07:04 [iNFO] [sTDOUT] Deleting .\saves\New World\level.dat 2012-11-25 09:07:04 [iNFO] [sTDOUT] Deleting .\saves\New World\level.dat_mcr 2012-11-25 09:07:04 [iNFO] [sTDOUT] Deleting .\saves\New World\level.dat_old 2012-11-25 09:07:04 [iNFO] [sTDOUT] Deleting .\saves\New World\players 2012-11-25 09:07:04 [iNFO] [sTDOUT] Deleting .\saves\New World\players\Player446.dat 2012-11-25 09:07:04 [iNFO] [sTDOUT] Deleting .\saves\New World\region 2012-11-25 09:07:04 [iNFO] [sTDOUT] Deleting .\saves\New World\region\r.-1.0.mca 2012-11-25 09:07:04 [iNFO] [sTDOUT] Deleting .\saves\New World\region\r.0.0.mca 2012-11-25 09:07:04 [iNFO] [sTDOUT] Deleting .\saves\New World\session.lock 2012-11-25 09:07:06 [iNFO] [sTDOUT] Scanning folders... 2012-11-25 09:07:06 [iNFO] [sTDOUT] Total conversion count is 0 2012-11-25 09:07:06 [iNFO] [sTDOUT] Unable to find spawn biome 2012-11-25 09:07:06 [iNFO] [ForgeModLoader] Loading dimension 0 (New World) (net.minecraft.src.IntegratedServer@7fa21479) 2012-11-25 09:07:06 [iNFO] [ForgeModLoader] Loading dimension 7 (New World) (net.minecraft.src.IntegratedServer@7fa21479) 2012-11-25 09:07:06 [iNFO] [ForgeModLoader] Loading dimension 1 (New World) (net.minecraft.src.IntegratedServer@7fa21479) 2012-11-25 09:07:06 [iNFO] [ForgeModLoader] Loading dimension -1 (New World) (net.minecraft.src.IntegratedServer@7fa21479) 2012-11-25 09:07:45 [iNFO] [sTDOUT] Skipping Entity with id 0 2012-11-25 09:07:47 [iNFO] [ForgeModLoader] Unloading dimension 0 2012-11-25 09:07:47 [iNFO] [ForgeModLoader] Unloading dimension 1 2012-11-25 09:07:47 [iNFO] [sTDERR] net.minecraft.src.ReportedException: Exception in world tick 2012-11-25 09:07:47 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1892) 2012-11-25 09:07:47 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:858) 2012-11-25 09:07:47 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:783) 2012-11-25 09:07:47 [iNFO] [sTDERR] at java.lang.Thread.run(Unknown Source) 2012-11-25 09:07:47 [iNFO] [sTDERR] Caused by: java.lang.NullPointerException 2012-11-25 09:07:47 [iNFO] [sTDERR] at net.minecraft.src.NetClientHandler.handleMobSpawn(NetClientHandler.java:763) 2012-11-25 09:07:47 [iNFO] [sTDERR] at net.minecraft.src.Packet24MobSpawn.processPacket(Packet24MobSpawn.java:139) 2012-11-25 09:07:47 [iNFO] [sTDERR] at net.minecraft.src.MemoryConnection.processReadPackets(MemoryConnection.java:79) 2012-11-25 09:07:47 [iNFO] [sTDERR] at net.minecraft.src.NetClientHandler.processReadPackets(NetClientHandler.java:104) 2012-11-25 09:07:47 [iNFO] [sTDERR] at net.minecraft.src.WorldClient.tick(WorldClient.java:72) 2012-11-25 09:07:47 [iNFO] [sTDERR] at net.minecraft.client.Minecraft.runTick(Minecraft.java:1876) 2012-11-25 09:07:47 [iNFO] [sTDERR] ... 3 more if this helps anything
  17. I dunno what to send, cuz i dont know where the problem is...
  18. Hey guys, i'm having a problem with my dimension, when i start a world and make a portal, everything works fine. But when i enter the portal, the game crashes. I can restart the world and just play in my dimension, but sometimes on a random tick the game crashes again, with the same error. Here's the error that i always get: Please help me with this guys... thanks in advance!
  19. Hey guys, i'm using forge, and i have a problem when generating a few blocks. The way i want it is that if you put specific items in an altars inventory, then the portal will build. This is all working, but the portal actually "isn't" there. I can see them, but the portal block is not working, and also, if i place a block next to the portal block or the portal frame block, it disappears. i am spawning everything from onRandomDisplayTick() maybe that's the problem? here is the code: The Block Altar: The TileEntity: Please help me out!!!
  20. does nobody know how to fix this? please i need this!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.