Introduction
This will be the open-source development thread of JaveQ. Most of you saw my closed-source development also in this section. After getting tons of request about how I did everything, I decided to stop my closed-source project and make a proper source for a community to work on. It will be accessable for everyone, and also everyone can report bugs.
The private server will be written in Java, using Apache MINA for the networking. I'm using java because I'm the most experienced with that language and I feel like not being the 100th private server written in either C++, C or C#. This development will most likely give you guys a basic emulator, and I'd still have to see how far I want to go with this.
Networking
In this section I will tell you a bit more about the networking I'm using for my emulator, since this is very important. I'm using Apache MINA for my networking, it's a NIO package. It uses it own ThreadPoolExecutor depending on the amount threads and depending on the amount of cores you got on your computer. This will maximize the power of this networking API.
Packet hierachiry
Folders are italic, packages are bold.
- loginserver
- src
- com
- williaminc
- loginserver
- GameEngine
- LoginServer
- net
- ConnectionHandler
- PacketSender
- sql
- QueryHandler
- codec
- SilkroadCodecFactory
- SilkroadPacketEncoder
- SilkroadPacketDecoder
- packet
- Packet
- PacketBuilder
- PacketHandler
- PacketManager
- impl
- LoginHandler
- loginserver
- williaminc
- com
- src
- gameserver
Emulator
In this section I will list all links of the current SVN, Trac and post the current revision.
Revision: 8
SVN: http://my-svn.assembla.com/svn/JaveQ
Trac: http://my-trac.assembla.com/JaveQ
Setting up the emulator
This guide will be using the Eclipse IDE to setup our server and get it running.
1) First download Eclipse at http://www.eclipse.org.
2) Download the source using SVN update/download it via Trac.
3) Open up Eclipse
4) Make a new project > Create project from existing source (> Navigate to the folder where you loginserver/, gameserver/ folders are and select it.
5) Right-click the project > Proprties > Java build path > Libaries > Add jars. Add all jars folder contained in the libs/ folder.
6) Click on the run-symbol and it should run now.
Thanks,
William.D





