Posted January 3, 201411 yr Back in the days I've used Modloaders simple mechanism like this: ModLoader.registerPacketChannel(this, "XXX"); public void clientCustomPayload(NetClientHandler clientHandler, Packet250CustomPayload packet250custompayload) { if (packet250custompayload.channel.equalsIgnoreCase("XXX")) { handleMCMessage(new String(packet250custompayload.data)); } } I've also seen people using @NetworkMod in their plugins which I've found in the FML 1.6 code and seems to be removed in FML @ 1.7.x. So how do I read/decode the message of this plugin channel in the recent beta version? Any idea? PS: The formatting buttons in this editor don't seem to work on Safari/Mac. Hope the basic code formatting above is ok. Thanks in advance DerFlash
January 3, 201411 yr Unfortunatley Mojang wwrote out the packet Client-Server commnication system, and replaced it with the Netty system. I was told to look at ForgeNetworkHandler. So, look there. [shadow=gray,left][glow=red,2,300]KEEGAN[/glow][/shadow]
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.