At first, I thought I would have had to rewrite a large portion of the server code in order to fix these issues, and I even began to do so until I realized the full extent of how difficult that would have been (hard to explain). Then I rediscovered that I had already accounted for these issues while I was creating the foundation of the server way back (phew!), and so after that it only took me a couple of hours to fix.
The good news is, I thoroughly tested everything again and it all works wonderfully without errors. The bad news is, I lost a few days of development doing so. Such are the ways of software development.
This time, there are lots of pictures to demonstrate the multithreading working. Fortieth step complete:
Notice how both clients are logging in at the same time (both clients connect and version match before being logged in).
Both clients registering and logging in at the same time:
Both clients building and selecting each others' blocks and chatting to each other at the same time:







No comments:
Post a Comment