fastmc icon indicating copy to clipboard operation
fastmc copied to clipboard

Which files will need to be updated?

Open ali6836 opened this issue 8 years ago • 9 comments

Which files will need to be updated for this project? I am planning on possibly updating it myself, but which files will need to be updated/contain protocols

ali6836 avatar May 31 '17 22:05 ali6836

That would be proto.py. Updating would require you to include all changes made since 1.8 according to the protocol documentation at http://wiki.vg/Protocol_History. It would probably also require that your write custom decoders for new primitives (maybe? I didn't check to see if there is anything new). It's quite fiddly and no easy task.

dividuum avatar May 31 '17 22:05 dividuum

Seems quite complex, would it even be possible for an absolute noob at coding like me? Also, what is a primitive?

ali6836 avatar May 31 '17 23:05 ali6836

To be honest: Probably not. It requires quite a bit of bit-fiddling (in case there are new data types) and a solid sense of how network protocols work and how to debug them in case the decoding goes wrong somewhere. If you have no experience with that, you're in for a rough ride.

dividuum avatar May 31 '17 23:05 dividuum

Ah right. Well I probably won't do anything then. Sorry for wasting your time, and hopefully you will possibly update it in the near future.

ali6836 avatar May 31 '17 23:05 ali6836

Don't worry. No time wasted :-)

I hope to find the time to update it at some point. But I haven't touched Minecraft in a while (:sadface:), so motivation is a bit low at the moment.

dividuum avatar May 31 '17 23:05 dividuum

I have found this, and am wondering whether or not this is similar to what needs to be updated. It is on the latest version of minecraft, I am just wondering whether it will be compatible, or is similar. https://github.com/ammaraskar/pyCraft/tree/master/minecraft

ali6836 avatar Jun 01 '17 09:06 ali6836

Not compatible. The API seems fairly different. But it's looks like it is able to parse newer version of the protocol. Nice find.

dividuum avatar Jun 01 '17 10:06 dividuum

Well, since it does include all of the newer protocols, would it be possible to change the format of protocol that fastmc reads?

ali6836 avatar Jun 01 '17 11:06 ali6836

Not really. It might help if things differ from the documentation on wiki.vg, but that's all. I can't use it directly. Its approach to parsing it quite a bit different.

dividuum avatar Jun 01 '17 12:06 dividuum