|
You last visited: Today at 16:47
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.
06/01/2012, 08:59
|
#31
|
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.
|
|
|
06/01/2012, 20:32
|
#32
|
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,143
|
Quote:
Originally Posted by Korvacs
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
|
|
|
06/01/2012, 23:56
|
#33
|
elite*gold: 0
Join Date: Sep 2010
Posts: 291
Received Thanks: 95
|
Quote:
Originally Posted by Korvacs
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.
|
|
|
06/02/2012, 00:21
|
#34
|
elite*gold: 0
Join Date: Dec 2010
Posts: 341
Received Thanks: 255
|
Why not F#?
|
|
|
06/22/2012, 05:55
|
#35
|
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.
|
|
|
06/22/2012, 06:04
|
#36
|
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,143
|
Quote:
Originally Posted by tkblackbelt
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!
|
|
|
06/22/2012, 17:29
|
#37
|
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
|
|
|
06/23/2012, 01:46
|
#38
|
elite*gold: 0
Join Date: Sep 2010
Posts: 291
Received Thanks: 95
|
Quote:
Originally Posted by Zeroxelli
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
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
|
|
|
06/23/2012, 02:01
|
#39
|
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,143
|
Quote:
Originally Posted by tkblackbelt
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.
|
|
|
07/01/2012, 22:30
|
#40
|
elite*gold: 0
Join Date: Sep 2010
Posts: 291
Received Thanks: 95
|
Quote:
Originally Posted by Zeroxelli
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.
|
|
|
07/01/2012, 22:34
|
#41
|
elite*gold: 0
Join Date: May 2008
Posts: 1,769
Received Thanks: 1,143
|
Quote:
Originally Posted by tkblackbelt
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.
|
|
|
07/02/2012, 02:03
|
#42
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,283
Received Thanks: 4,192
|
 Awesome development so far.
|
|
|
07/04/2012, 06:52
|
#43
|
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!
|
|
|
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.
|
|