Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 16:47

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

Advertisement



[Open Source] private server project

Discussion on [Open Source] private server project within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 06/01/2012, 08:59   #31


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Erlang is designed almost entirely for web based applications (its similar to php in this regard) and has horrific syntax....best of luck to you.
Korvacs is offline  
Old 06/01/2012, 20:32   #32
 
Zeroxelli's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,143
Quote:
Originally Posted by Korvacs View Post
Erlang is designed almost entirely for web based applications (its similar to php in this regard) and has horrific syntax....best of luck to you.
That's true, but I've written full featured bots in PHP (back when I was first learning to program, I learned the basics of sockets (not very well) from PHP by making IRC and **** bots. I don't recommend it for anything practical outside of web scripting, but hey, it's a challenge and challenges are never a bad thing
Zeroxelli is offline  
Old 06/01/2012, 23:56   #33
 
tkblackbelt's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 291
Received Thanks: 95
Quote:
Originally Posted by Korvacs View Post
Erlang is designed almost entirely for web based applications (its similar to php in this regard) and has horrific syntax....best of luck to you.
I'm mostly learning it because I want to have a stab at a functional language and see if I like it. I've also read a bit about Erlang and it's supposedly very good for distributed concurrent fault tolerant applications. Obviously any language can use concurrency but wouldn't a language specifically designed to be concurrent from the start be beneficial for a server? Ya the syntax is well.. interesting xD.

If you have anyone has any input for other functional languages that I should learn instead of Erlang please let me know.

I probably won't put this project on complete hold, just progress will be slower.
tkblackbelt is offline  
Old 06/02/2012, 00:21   #34
 
.Kinshi's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 341
Received Thanks: 255
Why not F#?
.Kinshi is offline  
Old 06/22/2012, 05:55   #35
 
tkblackbelt's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 291
Received Thanks: 95
Quick update:

So I've been learning Erlang for the little over a month and I feel I'm ready to make the server in it. I'm gonna post the source on Github just as before, for anyone that's interested.

Would a mod be able to remove "Java" from the thread title and just call it "[Open Source] private server project". If it's not possible I'll recreate the thread once I have some decent progress made.

Another thing is I'm going to be running/debugging the code off of my RaspberryPI in order to make the server as efficient as possible on lower end machines.
tkblackbelt is offline  
Thanks
1 User
Old 06/22/2012, 06:04   #36
 
Zeroxelli's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,143
Quote:
Originally Posted by tkblackbelt View Post
Quick update:

So I've been learning Erlang for the little over a month and I feel I'm ready to make the server in it. I'm gonna post the source on Github just as before, for anyone that's interested.

Would a mod be able to remove "Java" from the thread title and just call it "[Open Source] private server project". If it's not possible I'll recreate the thread once I have some decent progress made.

Another thing is I'm going to be running/debugging the code off of my RaspberryPI in order to make the server as efficient as possible on lower end machines.
Yep, mods can change thread titles.

Also, I've been meaning to look into Erlang, so that'd be great!
Zeroxelli is offline  
Old 06/22/2012, 17:29   #37
 
badguy4you's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 477
Received Thanks: 178
Very Very Nice work man go on i hope u finish you source successfully and hope me good work on my C# source too
badguy4you is offline  
Thanks
1 User
Old 06/23/2012, 01:46   #38
 
tkblackbelt's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 291
Received Thanks: 95
Quote:
Originally Posted by Zeroxelli View Post
Yep, mods can change thread titles.

Also, I've been meaning to look into Erlang, so that'd be great!
It's a pretty interesting language, way different then Java xD. Erlang is not the fastest so I may write the enryption code in C as it's fast and easily interfaces with Erlang.

Quote:
Originally Posted by badguy4you View Post
Very Very Nice work man go on i hope u finish you source successfully and hope me good work on my C# source too
Thanks! Goodluck on your source
tkblackbelt is offline  
Old 06/23/2012, 02:01   #39
 
Zeroxelli's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,143
Quote:
Originally Posted by tkblackbelt View Post
It's a pretty interesting language, way different then Java xD. Erlang is not the fastest so I may write the enryption code in C as it's fast and easily interfaces with Erlang.



Thanks! Goodluck on your source
Yeah, maybe do all the encryption and packet parsing (not handling, that's optional.) in C or C++, since it would be loads faster for anything like that. But overall, it should prove interesting to see it done in Erlang.
Zeroxelli is offline  
Old 07/01/2012, 22:30   #40
 
tkblackbelt's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 291
Received Thanks: 95
Quote:
Originally Posted by Zeroxelli View Post
Yeah, maybe do all the encryption and packet parsing (not handling, that's optional.) in C or C++, since it would be loads faster for anything like that. But overall, it should prove interesting to see it done in Erlang.
Erlang is pretty awesome. I was just experimenting with some stuff. And you can basically define the encryption in C for speed and use it with Erlang very easily. Then if for whatever reason the C library crashes you can define a backup function in Erlang code that is executed instead of the C one.

Also packet handling is sexy. Instead of writing a packet reader you can pattern match against binary data to execute the correct function for the packet, and as a result AccLen will be the value of next 8 bits, emailLen the next 8 bits after that, and so on.

event(<<?SIGNUP,
AccLen:8/integer, Account:AccLen/binary,
EmailLen:8/integer, Email:EmailLen/binary,
_PassLen:8/integer, Pass/binary>>,
State) ->
sign_up_code.
tkblackbelt is offline  
Old 07/01/2012, 22:34   #41
 
Zeroxelli's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,143
Quote:
Originally Posted by tkblackbelt View Post
Erlang is pretty awesome. I was just experimenting with some stuff. And you can basically define the encryption in C for speed and use it with Erlang very easily. Then if for whatever reason the C library crashes you can define a backup function in Erlang code that is executed instead of the C one.

Also packet handling is sexy. Instead of writing a packet reader you can pattern match against binary data to execute the correct function for the packet, and as a result AccLen will be the value of next 8 bits, emailLen the next 8 bits after that, and so on.

event(<<?SIGNUP,
AccLen:8/integer, Account:AccLen/binary,
EmailLen:8/integer, Email:EmailLen/binary,
_PassLen:8/integer, Pass/binary>>,
State) ->
sign_up_code.
Well ****, that's pretty freakin' useful. I love languages that let you call functions by strings/constants/regex. And the backup ability is a super nice thing to have.
Zeroxelli is offline  
Old 07/02/2012, 02:03   #42
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,283
Received Thanks: 4,192
Awesome development so far.
Spirited is offline  
Old 07/04/2012, 06:52   #43
 
xBlackPlagu3x's Avatar
 
elite*gold: 0
Join Date: Jan 2011
Posts: 286
Received Thanks: 71
Omfg @ The Java...

I came.

Great job on this development project, I'm very excited to see something new!
xBlackPlagu3x is offline  
Reply


Similar Threads Similar Threads
Open Source C++ Project
01/07/2011 - SRO Coding Corner - 23 Replies
Hello, Currently I am working, on an Emulator written in C++. My goal is to make a strong group of programmer, who are interested to make a "free 2 use" emulator. You donīt have to be "professional" or "24/7" programmer, everyone is welcome. If you see things on the Code or you know how to do it faster / better you can apply a Patch via SVN. If you do this you will be automatically a "Team Member". Here are some Tips to Submit / Edit an existing Code.
Private Server Project open for Registration
01/06/2006 - Conquer Online 2 - 207 Replies
As you might already be aware, the apparent closure of the Qonquer project was a white lie. It had to be done for reasons I won't go into right now but we have decided to allow registrations so people can come and see how we are progressing. www.qonquer.com



All times are GMT +1. The time now is 16:48.


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.