[Open Source] private server project

05/14/2012 02:35 tkblackbelt#1
Hi everyone,

I've been working on a 4274 private server in Java for the past couple days and have so far partially gotten the authentication server(except for the password encryption)working and redirected the client to the game server. I still have a long way to go, but it's a start.

This project is mostly for personnel learning purposes, but I'm thinking about very descriptively commenting my code and documenting certain information in order to release it as a learning source. I'm hoping that this will get some more people in the community to learn about programming and CO in general (I known this is unlikely lol).

As for the project it can be found on my GitHub profile at the following link. [Only registered and activated users can see links. Click Here To Register...]. Feel free to fork me :)

As always I would appreciate any constructive criticism on my source

Thanks,

Tkblackbelt


Updates:
May 12, 2012

Just got the client to log into the game server successfully :)

[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]

May13, 2012
Added basic DMap loader

May 19, 2012
Added npc spawning, and chat handling

May 20, 2012
Added map travel and npc interaction

May 23, 2012
Can now buy and drop items.
05/14/2012 03:58 U2_Caparzo#2
+ thanks not because i will use it(i'm stickied with impulse 5165) but it is a really original source (i've never seen this before), hope u finish this succesfully, good luck with your project :)
05/14/2012 05:37 tkblackbelt#3
Quote:
Originally Posted by U2_Caparzo View Post
+ thanks not because i will use it(i'm stickied with impulse 5165) but it is a really original source (i've never seen this before), hope u finish this succesfully, good luck with your project :)
Thanks man, I will work hard on it xD
05/14/2012 06:03 liddojose97#4
GOOD WORK! keep it up hope it comes out good :D
05/14/2012 07:29 Zeroxelli#5
Hmm, I never really picked up too much Java (Since back when I tried, it seemed so slow to compile/run compared to C) but I may be able to help you out.
05/14/2012 07:31 dego4ever#6
good luck, bro
05/14/2012 07:41 Spirited#7
You've made some impressive progress. Good luck.
05/14/2012 12:41 BioHazarxPaul#8
oooh java source thats kinda cool..
05/14/2012 13:21 ×Holo#9
You've made such good progress, if you just change Suckerberg's face.. you're safe.
05/15/2012 00:12 tkblackbelt#10
Quote:
Originally Posted by Zeroxelli View Post
Hmm, I never really picked up too much Java (Since back when I tried, it seemed so slow to compile/run compared to C) but I may be able to help you out.
While I agree C is faster than Java, Java is no slouch as once a section has been jit compiled during it's next execution it will run at native speed. I've played around with C before and while I enjoy the speed and efficiency, I prefer Java due to it's massive built in std library and speed of development. This is also my first source so I figured I would make it in the language I'm most comfortable with.

Sure thing, I'd love to have someone else to work on this with. I'll PM you my msn in a bit.

Quote:
Originally Posted by Fаng View Post
You've made some impressive progress. Good luck.
Thanks. I've been using your resource wiki for some of the packet structs and other resources. :)
05/15/2012 06:04 InfamousNoone#11
I don't get how people rag on Java for its performance, but don't rag on C#?
If you're going to criticize Java while endorsing .NET at least do it right...
05/15/2012 07:30 Zeroxelli#12
Quote:
Originally Posted by tkblackbelt View Post
While I agree C is faster than Java, Java is no slouch as once a section has been jit compiled during it's next execution it will run at native speed. I've played around with C before and while I enjoy the speed and efficiency, I prefer Java due to it's massive built in std library and speed of development. This is also my first source so I figured I would make it in the language I'm most comfortable with.

Sure thing, I'd love to have someone else to work on this with. I'll PM you my msn in a bit.
That's true. And yeah, it really is a good idea to start in the language you're most comfortable in at the moment. Then you can spend your time building knowledge of Conquer servers instead of a new language.

Quote:
Originally Posted by InfamousNoone View Post
I don't get how people rag on Java for its performance, but don't rag on C#?
If you're going to criticize Java while endorsing .NET at least do it right...
Basically, most high-level or interpreted languages will be slower than a low-level language. It's practically common sense. I will agree that .NET can be terribly slow, especially in compiling (in my experience.)
05/15/2012 09:58 Korvacs#13
Shouldnt really criticise a language for being slow based on its speed at compiling, its the least critical part of the whole process, and you can pin that down to a bad compiler...
05/15/2012 12:00 Mr_Hitch#14
keep going mate but am waiting for haydz project cause am gonna transfer my efforts towards c++ :)

and yeah i would say it doesnt matter really if its gonna be with java or c#

since you are better at java

and yeah conquer online doesnt really need that big works and job like other games Wow aion etc

so yeah wanna my advice?

take the easier lang you can do things with cause it wont matter:)
05/16/2012 10:53 I don't have a username#15
Quote:
Originally Posted by Mr_Hitch View Post
keep going mate but am waiting for haydz project cause am gonna transfer my efforts towards c++ :)

and yeah i would say it doesnt matter really if its gonna be with java or c#

since you are better at java

and yeah conquer online doesnt really need that big works and job like other games Wow aion etc

so yeah wanna my advice?

take the easier lang you can do things with cause it wont matter:)
And you should take my advice. Be quite.

@C being faster than Java, well yeah, it's also faster than C#. Does it make it better to work in? It all comes down to which tasks you want to execute in this situation a High Level language will perform the task just as fine and the speed difference will be minimal. C is not really comf. when working with such things, because it's relative low-level and it would take much longer to develop your work in C than in a high-level language eg. Java.
C is also not really an OOP language and it's all bound by structs, since it does not support classes, however if we go up to C++ it does. C++ is getting closer to high-level languages and even more with the new standard C++0x (Or C++11), but well...