Aragas Posted February 14, 2014 Posted February 14, 2014 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. Quote Kool coder
LexManos Posted February 14, 2014 Posted February 14, 2014 http://wiki.vg/Protocol Quote I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
Aragas Posted February 14, 2014 Author Posted February 14, 2014 Yes, i used this protocol for bukkit/vanilla servers, but i can't connect to Forge server with this. What have you changed? Quote Kool coder
LexManos Posted February 14, 2014 Posted February 14, 2014 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 Quote I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
Aragas Posted February 14, 2014 Author Posted February 14, 2014 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 Quote Kool coder
LexManos Posted February 14, 2014 Posted February 14, 2014 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. Quote I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
Recommended Posts
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.