Jump to content

Luigi Wollknäuel

Members
  • Posts

    2
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Luigi Wollknäuel's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Well, yes, I have a PacketHandler, of course. As I said before, when I have a singleplayer world, everything works fine. But if I use Server and Client seperatly, things are getting weird. And no, I use two different packet channels, one for Server and one for Client Side. That's fine, too. Greets
  2. Hayho! I'm about to make my mod, Industrial Farming, Server-compatible. Therefore, I have to convert every Packet Handling stuff to something the Server is able to deal with - And here comes my problem. The Gui of one of my blocks contains a Slider. The value set by this slider is supposed to go to the Block TileEntity on both sides, Server and Client. Since the Gui is ClientSide only, I have to get the MinecraftServer-instance to send the corresponding packet. But if I use the common methods to send Packets from Client to Server, neither "PacketDispatcher.sendPacketToServer([Packet])" nor "FMLClientHandler.instance().sendPacket([Packet])" work - Do you know any possibility to get a variable set in the Client be sent to the Server? note, that this works completely fine in SinglePlayer. Thanks, Luigi
×
×
  • Create New...

Important Information

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