|
Introduction
Hahaha, that was like two years ago. I actually thought I was able to create my own framework back then. Knowing not even the basics of Object Orientation and Concurrency. I've come a long way from then, and lately I've been re-creating and re-creating and re-creating shit attempts at a framework and now IO networking is embedded in my head. It may not seem like much to some but this is a big day for meI'm going to create my own FrameWork
Design
The design was not really planned before I started this, I kind of just thought of design concepts as I was doing it. So some parts of this are really redundant and aren't needed at all.
More in-depth: How this works is there's basically a bunch of different tasks carried out by the Network, that put the GameServer online. Then once the GameServer is online it waits for a connection. Once an incoming session request has been read by the server, the HostList will either accept or reject the session request (based on the conditions). If rejected, the connection is closed and the GameServer continues listening for connections. Otherwise, a new session is created and started (Notice! The player isn't created when a connection is accepted! The player is created once the session is complete! This stops the "Client null disconnected" problem much winterLove servers have). Then, during the session the client is taken through the login protocol (Split up into four stages: HANDSHAKE, LOGIN_READ, LOGIN_READ_2, LOGGED_IN), and then that's all I've done so far I'll be continuing this in my free time.
This also comes with its own custom Logger and Calendar class.
Pictures
And the result...
What's next?
Gonna move on and try and master NIO , then after that its Netty. Then even after that I'll move on to learning about entity updating and even more about rsps. This is just the beginning.
Download
If you want to learn a thing or two, I suggest you download this. It's heavily documented so you'll understand everything. Do not delete the logs folder. It's part of the custom Logging system!
#317.zip
Mirror #1
Thanks
AtomicInt_
Graham
wL
Rash
Not needed for me but good job,
I'll check it out and give you some feed back.
Sounds interesting I too will test it out in a bit and provide some feedback for you .
dude so many of these released... no point of making new ones and new ones all over and over again
Very nice, good work!
I downloaded and It looks nice.
Keep working on your skills and good luck!
Good luck with your next work.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |