16 Mar, 2015, Sorressean wrote in the 1st comment:
Votes: 0
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.

Thanks,
https://github.com/sorressean/Aspen/blob...
17 Mar, 2015, alteraeon wrote in the 2nd comment:
Votes: 0
Wow, other people's socket code is so weird to me now. That's pretty well organized though, I can at least make sense of it unlike the older socket code from the pre-2000 era.
17 Mar, 2015, Sorressean wrote in the 3rd comment:
Votes: 0
Quick note: I got it cleaned up.
And it does sort of make sense, but things just feel so messy. I'm getting kind of OCD about the code at this point. :)
17 Mar, 2015, alteraeon wrote in the 4th comment:
Votes: 0
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.

Alter Aeon MUD
http://www.alteraeon.com
17 Mar, 2015, Sorressean wrote in the 5th comment:
Votes: 0
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.
0.0/5