16 Mar, 2015, Sorressean wrote in the 1st comment:
Hello all: I realize this code is a mess. I plan to go through it and rework a lot of it, but I wanted MCCP to work before I began. I'm having an interesting time getting this to work; would someone mind taking a peak at it? The MCCP code is in write and flush. Again, sorry for the messy code. I want to rework the socket stuff, but wanted MCCP working so I can get to other things as well.
One thing that I'll just throw out there for better or for worse, is that the new character creation and login code really doesn't make sense to me as part of a socket class. Login and creation seem more like 'users' of the socket.
17 Mar, 2015, Sorressean wrote in the 5th comment:
I actually plan on cleaning a lot of this up. The server and socket class are actually based on socketmud and I just sort of piled on them.
My goal is to rework the networking code to use libevent (which elimenates a lot of logic where I can just set mob updates to every x seconds, etc). With that revamp, I plan to clean up the socket code and handle a lot of some of what's in there in a Client class.