magahet / peon

A minecraft bot written in python.
MIT License
46 stars 7 forks source link

Update to 1.9/1.10/1.11? #9

Open ali6836 opened 7 years ago

magahet commented 7 years ago

Oh how I'd love to. Unfortunately, the hardest part is keeping the protocol definition up to date, which is why I used fastmc. That hasn't been updated since 1.8 and I haven't seen a fully implemented alternative.

dividuum commented 7 years ago

Offtopic, but thanks to @ali6836 I realized that fastmc was actually used by anyone else other than myself. Seems like a really neat project.

ali6836 commented 7 years ago

@magahet I believe this is fairly similar to fastmc https://github.com/ammaraskar/pyCraft/tree/master/minecraft

magahet commented 7 years ago

I did look at pycraft once. However, they implement only a fraction of the full set of packets. So it's good for making chat bots, but not enough to do everything peon does.

I've plugged away a little at adding 1.11.2 packets to fastmc, but it would take a fair amount of work to get them all.

ali6836 commented 7 years ago

@magahet (This is a quote from dividuum) "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."

Just to help you if you do try and add the packets :)