Jump to content

blooditor

Members
  • Posts

    35
  • Joined

  • Last visited

Everything posted by blooditor

  1. I am pretty sure this is not possible. But you could do that with a Socket Sending and receiving strings is pretty simple.
  2. Oh wow that actually worked. That method was empty anyways. Thanks
  3. Using MC 1.8. EntityInteractEventworks fine. Nope it isn't. I'm not creating my own server mod for others copying stuff from it.
  4. But that wouldn't cause an Exception on the other two registrations, right?
  5. Sorry I had to remove the method content for security reasons.
  6. Hey, I got a weird java.lang.InstantiationException whenever I register my EventHandler class in the preInit method. The events still get called so everything works fine - there is just the error message in the console every time: Also important: I do have an empty constructor for the event handler class. So since everything works that problem is not that bad - it's just annoying having the same error messages every time. Thanks for the help.
  7. That seems to work. Thank you very much
  8. Hey, when I run MinecraftServer.getServer().stopServer() it crashes the server after saving so it won't completely shut down and stay online without letting anyone join. Crash report: Do you know why this happens and is there a way to fix? Thanks a lot
  9. I finally found the problem. ID's above 127 become negative when converting from the byte array (I guess because byte goes from -128 to 127). Somehow the bytes are stored correctly in the .schematic file so the problem occurs on conversion from byte to int. Well I solved that now just by calculating 256-id if the ID is negative but it's still strange.
  10. Well but how does worldedit solve that then? I was able to copy a structure from one server to another with worldedit and one schematic file. Then I tried to load that schematic file with my mod and the IDs got mixed up. So there must be a way to solve that. The NBT file of the worldedit schematic looks like the file attached. Obviously nothing that looks like some kind of mapping.
  11. Hey guys, I'm working with schematics and went into the lovely block id conflict problem that block ID's can be different on another installation. I could find out that world edit uses some kind of mapping of the block ID's but in contrast to what I read somewhere there is no NBT tag for this in my (worldedit) schematic files. So how exactly can you solve this problem? Thanks a lot for your reply blooditor
  12. Thanks for that reply...
  13. Thanks for the reply. Okay, but shouldn't there be some kind of unofficial hacky method?^^ I'm currently working on 1.8 and sponge is no longer supporting 1.8
  14. Hey guys, I would like to know if its possible to modify the NetHandlerPlayServer class. Since there is no cheat protection I would like to play around with some things that class offers like changing the time a player can fly until he gets kicked. Is there a way to de- and recompile that file and change values? Thanks for your reply blooditor
  15. Nah that doesn't work... but with (byte) 2^^
  16. Haha it worked and I was too lazy to remember how to do that normally^^ And yes I knew someone would kill me for that
  17. Okay I got it! Thanks a lot for the help! If someone needs: S02PacketChat packet = new S02PacketChat(new ChatComponentText(message), Byte.parseByte("2")); player.playerNetServerHandler.sendPacket(packet);
  18. Thanks for the quick reply... unfortunately I'm not into packets in Forge and I can only find stuff about creating new ones... Can you give me some more hints?
  19. Hey, I'm creating a serverside mod and I want to change the action bar text (like it was asked here:) But the problem is that I am working serverside only, so I need a method that does that like a server plugin would do it. Is there any way to handle that? (Maybe with packets?) Greetings, blooditor
  20. Of course I understand... why should it be developed...it works mostly fine
  21. no shit sherlock... thats why I use 1.7.10
  22. tell that cauldron...
  23. I'm sorry... I did it exactly your way... still didn't work And I'm using cauldron 1.7.10... could that be the problem?
  24. Any Idea? I'm so done...
×
×
  • Create New...

Important Information

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