Posted January 5, 201411 yr In 1.7.2 Mojang switched to the netty system. How would I setup a channel? Thanks! [shadow=gray,left][glow=red,2,300]KEEGAN[/glow][/shadow]
January 5, 201411 yr I too am interested in this. Guess it's time to study http://netty.io/wiki/user-guide-for-4.x.html
January 5, 201411 yr My client side needs to periodically report which block each player is currently selecting, and which direction he's facing. In 1.6.4 I used a network mod channel. Now I am contemplating sending a packet through a netty channel. I did the the time server tutorial, so I get the basics of netty now. What I'm wondering is how to discover the address of the server the game is connected to.
January 6, 201411 yr Im still learning netty as well, cpw seems to have a grasp on it. And he's written a nice layer on top of the MC protocol that'll let you pass custom information back and forth using standard netty procedures. https://github.com/MinecraftForge/MinecraftForge/blob/95c12b6c20a456de7c24707388d4cb9cedc1cc44/src/main/java/net/minecraftforge/common/network/ForgeNetworkHandler.java It would be nice if someone wrote a comprehensive tutorial on the net system cuz god knows I suck at tutorials. I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
January 11, 201411 yr Author I will do that in the tutorials wiki section, but till then Ill try to make maybe my own network handler. [shadow=gray,left][glow=red,2,300]KEEGAN[/glow][/shadow]
January 14, 201411 yr Im still learning netty as well, cpw seems to have a grasp on it. And he's written a nice layer on top of the MC protocol that'll let you pass custom information back and forth using standard netty procedures. https://github.com/MinecraftForge/MinecraftForge/blob/95c12b6c20a456de7c24707388d4cb9cedc1cc44/src/main/java/net/minecraftforge/common/network/ForgeNetworkHandler.java It would be nice if someone wrote a comprehensive tutorial on the net system cuz god knows I suck at tutorials. See my reply here: http://www.minecraftforge.net/forum/index.php/topic,15403.msg78805.html#msg78805
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.