Posted February 14, 201411 yr Hello, new to Netty here. I'm making something like a bot that connect to server and receive/send messages from in-game chat, but i having trouble here. I parsed the FML and Forge source code, but haven't found something that make Client-Server connection. Is there any documentation on that? I have found only how to make new packets for mods. As i understand, for every command exist its own IPacket (IMessage?). Thanks. Kool coder
February 14, 201411 yr http://wiki.vg/Protocol I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
February 14, 201411 yr Author Yes, i used this protocol for bukkit/vanilla servers, but i can't connect to Forge server with this. What have you changed? Kool coder
February 14, 201411 yr We havent changed anything, we've added it so that you have to identify yourself as modded so we can do mod negotiation. So take a look https://github.com/MinecraftForge/FML/tree/master/src/main/java/cpw/mods/fml/common/network I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
February 14, 201411 yr Author Thanks. It works now, but i get there weird Unexpected packets, which are only on vanilla clients. Troubles with handling vanilla clients? I didn't see that in Forge clients. Maybe i can use Forge-Client protocol for connection or something like that? I don't want to spam in server output with Unexpected packet during modded negotiation - assuming vanilla or keepalives Kool coder
February 14, 201411 yr Support for vanilla clients on Forge servers is a work in progress, Not done yet. It'll happen eventually once things settle down and we can test everything clearly. I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
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.