Working towards being feature complete!
I implemented some more play packets. While they are not 100% functional the server can recognize them and forward it to the world to be handled/implemented later when the times comes.
The client is now a subclass of the entity class, making things a bit easier.
As mentioned above, the client, when receiving a packet response from handling a packet, it could be of a server packet response type, which then the client routes it’s responses directly to the server/world for handling.
Also now on startup we print out the completeness of the server. It just measures how many of the server bound packets we have implemented.
I will work on making a client bound completeness print after finishing (mostly) the server bound ones, but I assume by time i get there many will be implemented already due to the handling of server bound packets
Up next
I want to continue implementing more play packets to become more feature complete, also for one of the packets I wrote a write method that took in parameters and returned a fully completed packet, I might need to do that w/ some other packets like the login and player joining ones to make my code smaller on the world.py end and more appropriate on the packets.py end
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.