Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Private Server > SRO PServer Guides & Releases
You last visited: Today at 08:20

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[JaveQ]: Open-source java emulator development.

Discussion on [JaveQ]: Open-source java emulator development. within the SRO PServer Guides & Releases forum part of the SRO Private Server category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2009
Posts: 16
Received Thanks: 21
[JaveQ]: Open-source java emulator development.

JaveQ

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
  • gameserver

Emulator

In this section I will list all links of the current SVN, Trac and post the current revision.

Revision: 8
:
:

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 .
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,

Perfect1994 (William.D on SRF)
Perfect1994 is offline  
Thanks
19 Users
Old 10/12/2009, 20:41   #2
 
elite*gold: 20
Join Date: Aug 2007
Posts: 1,710
Received Thanks: 1,612
Gratz. Nice start.
Even tho making open source is not a good idea. Only leechers will use it (well not everyone are leechers..). There aren't much developers in silkroad. Anyway.. Good luck
Windrius is offline  
Old 10/12/2009, 20:42   #3
 
elite*gold: 20
Join Date: Jan 2009
Posts: 3,560
Received Thanks: 2,814
Looks great, if it would have been c# I would have continue on it
Dropdead* is offline  
Old 10/12/2009, 21:15   #4
 
elite*gold: 20
Join Date: Aug 2008
Posts: 2,196
Received Thanks: 910
Good luck ;]
nansif2 is offline  
Old 10/12/2009, 21:20   #5
 
elite*gold: 20
Join Date: Apr 2008
Posts: 1,340
Received Thanks: 686
I will try to join you. I'm learning Java realy hard atm so I might help you. I only need packets info and You will have the code I tought of starting a java emu miself soon but I'm not much of a hard worker xD
Davincibg is offline  
Old 10/12/2009, 21:22   #6
 
elite*gold: 0
Join Date: Sep 2009
Posts: 16
Received Thanks: 21
Quote:
Originally Posted by Davincibg View Post
I will try to join you. I'm learning Java realy hard atm so I might help you. I only need packets info and You will have the code I tought of starting a java emu miself soon but I'm not much of a hard worker xD
You can just contribute by reporting bugs/making tickets and such on Trac, it's very useful. Thanks .
Perfect1994 is offline  
Old 10/12/2009, 21:26   #7
 
elite*gold: 20
Join Date: Apr 2008
Posts: 1,340
Received Thanks: 686
I will try to help as much as I can. Btw are you using NetBeans to code it or smth else ?
Davincibg is offline  
Old 10/12/2009, 21:26   #8
 
keizar20's Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 439
Received Thanks: 122
So basicaly is this a 50/50 working emulator?
keizar20 is offline  
Old 10/12/2009, 21:30   #9
 
elite*gold: 0
Join Date: Sep 2009
Posts: 16
Received Thanks: 21
Quote:
Originally Posted by keizar20 View Post
So basicaly is this a 50/50 working emulator?
No, everything works fully until login. I just started on it yesterday, if you have any bugs report them.

Quote:
Originally Posted by Davincibg View Post
I will try to help as much as I can. Btw are you using NetBeans to code it or smth else ?
I'm using Eclipse, and thanks for helping.
Perfect1994 is offline  
Thanks
1 User
Old 10/12/2009, 21:44   #10
 
keizar20's Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 439
Received Thanks: 122
Hmm...so what do I download and witch SRO version do I use to test for bugs and stuff?
keizar20 is offline  
Old 10/13/2009, 01:54   #11
 
xxbrentonxx's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 277
Received Thanks: 103
This is based on the latest CSRO version, in the SVN only the login server is up. You should join DavinciBG, just download Eclipse and start adding stuff.

If you have csro it would be greatly appreciated if you could sniff and attempt to document packets. Additionally i dont know if this is still the aim, but originally this server was going to be a 70 cap server.
xxbrentonxx is offline  
Old 10/13/2009, 02:41   #12
 
elite*gold: 0
Join Date: Sep 2006
Posts: 520
Received Thanks: 95
drew are u in the this project too ?
I can help
I can collect packets altho I can't code
shamir is offline  
Old 10/13/2009, 03:29   #13
 
xxbrentonxx's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 277
Received Thanks: 103
Quote:
Originally Posted by shamir View Post
drew are u in the this project too ?
I can help
I can collect packets altho I can't code
Lol presuming your confusing me with Drew_Benton, no drew isn't in this project.

Drew (pushedx) has helped William with a few things and has also told me a lot of good information about server emulation and ofcourse his documentation made sro development possible. So even though he is not in this project as such, he is still a person who has contributed to this project a lot (indirectly).

Drew has been known to occasionally contribute to open source server emulation projects in the past so who knows, maybe he will get involved later.

Also collecting packets is one of the most important jobs in a server emulation project, your help will be greatly appreciated.
xxbrentonxx is offline  
Old 10/13/2009, 04:41   #14
 
elite*gold: 0
Join Date: Sep 2006
Posts: 520
Received Thanks: 95
ah right drew is pushedx XD
I dont know why I confused you with him :P
Im still intended to help just pm me with a way to contact you and tell me what kind of help do you need.
shamir is offline  
Old 10/13/2009, 06:59   #15
 
_HouseMusicx3's Avatar
 
elite*gold: 200
Join Date: Dec 2007
Posts: 12,396
Received Thanks: 5,363
nice GL
_HouseMusicx3 is offline  
Closed Thread


Similar Threads Similar Threads
Open Source Aion Emulator [JAVA]
02/15/2013 - Aion Hacks, Bots, Cheats & Exploits - 2 Replies
SVN: aion-emu - Revision 572: / Trac: aion-emu - Trac Have Fun :) Aion-Emu development forum - Index - main page with forum, for aion-emu project
Open Source Aion Emu Development
09/12/2009 - Private Server - 7 Replies
Hello Everyone! We welcome you to participate in the open source Aion emulator development project that offers a unique approach to the emulator development process. The main element is that anyone, contributor or not, will be able to gain from the result. The first stage is to start the discussion to get a picture where everyone stands on our proposition. Read "Project Information" at crystalhorn.com, any feedback will be appreciated. Thank you, Dmitri



All times are GMT +1. The time now is 08:20.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.