|
You last visited: Today at 10:42
Advertisement
[Development] Java Conquer Server
Discussion on [Development] Java Conquer Server within the CO2 Private Server forum part of the Conquer Online 2 category.
04/12/2014, 17:22
|
#16
|
elite*gold: 0
Join Date: Jan 2008
Posts: 1,443
Received Thanks: 1,175
|
Please stay on-topic.
#Cleaned
|
|
|
04/15/2014, 20:04
|
#17
|
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
|
Quote:
Originally Posted by Spirited
No, he has a very valuable point. The point might be from the advice we gave him in his thread asking about programming languages and why we don't use Java, but it's still a good point. Java's socket layer is much slower than C#. There are uses for Java, and making a massive multiplayer server isn't one of them. Is it a useless project though? Well, the original programmer didn't know about NIO before posting here, and now he has something to research into and learn from. He learned Java in class and now he's going above and beyond what was taught by studying on his own, and I have no problem with that. Will the server be stable? Probably. Will the server be efficient? Probably not. Does that make the project useless? Not in my opinion.
|
Just so you know, there are commercial MMORPGs running their servers written in Java. Although I have to agree, the performance-critical parts are probably written with C and JNI. Still, Java is perfectly capable for this.
|
|
|
04/16/2014, 02:21
|
#18
|
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
|
Quote:
Originally Posted by KraHen
Just so you know, there are commercial MMORPGs running their servers written in Java. Although I have to agree, the performance-critical parts are probably written with C and JNI. Still, Java is perfectly capable for this.
|
I am pretty sure Runescape ran on Java and most likely still does.
|
|
|
04/16/2014, 05:13
|
#19
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
|
Quote:
Originally Posted by turk55
It shouldn't matter if the source is one of the greatest around or not, it is about the fact that he programming and learning new things which will increase his knowledge and experience. I am pretty sure your first C# source wasn't great either, what I am simply trying to say is: one will only learn by doing and experiencing.
|
I'm not saying Java is useless or this project is useless. In fact, I did my best to clarify that. I also wasn't commenting on his code - Java is inefficient, that's all I was commenting on. I didn't say mine was better, I didn't say any source was better. I didn't say he should stop working on his source, I didn't say he wouldn't learn anything valuable from the project.
Quote:
Originally Posted by Super Aids
I am pretty sure Runescape ran on Java and most likely still does.
|
Runscape: 4 January 2001
C# .NET: 13 February 2002
Java was the only stable managed language back in the days. I don't judge them or anyone for making a server in Java. Would I use Java for a server? Probably not. That's just me though, and we have other options now.
|
|
|
04/16/2014, 16:36
|
#20
|
elite*gold: 0
Join Date: Feb 2014
Posts: 3
Received Thanks: 5
|
As with all Java posts in this forum we see a lot of discussion about wether or not Java is capable for this kind of load. We see a lot of preference for C#. Spirted has given use a slight substanstation for this: Java's socket layer is slow. However, Netty, a common used NIO library for Java, is said to handle even up to 1m connections. A common example of a game server programmed in Java is RS - as SuperAids already pointed out. We see Java usage in the RS pserv community as well. They do not take C# even in concideration, so I have a feeling that things are a bit biased for both communities.
So far I have not been able to find a real good comparison/benchmark for the socket layers of Java and C#. I would really like to see such an comparison (preferably with equal workload) and I would encourage to develop such a benchmark together. But even if the socket layer of Java has less throughput, I still think that it's only part of the deal.
Obviously code quality does matter, so you will need to think about the data structures, persistency latencies, handling of the packets. There are C# sources which have problems dealing only with a few clients. With only a few (mostly immature - as this thread) Java private servers going on, this is still a hard thing to measure.
|
|
|
04/17/2014, 09:58
|
#21
|
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
|
Quote:
Originally Posted by ganndlas
As with all Java posts in this forum we see a lot of discussion about wether or not Java is capable for this kind of load. We see a lot of preference for C#. Spirted has given use a slight substanstation for this: Java's socket layer is slow. However, Netty, a common used NIO library for Java, is said to handle even up to 1m connections. A common example of a game server programmed in Java is RS - as SuperAids already pointed out. We see Java usage in the RS pserv community as well. They do not take C# even in concideration, so I have a feeling that things are a bit biased for both communities.
So far I have not been able to find a real good comparison/benchmark for the socket layers of Java and C#. I would really like to see such an comparison (preferably with equal workload) and I would engage to develop such a benchmark together. But even if the socket layer of Java has less throughput, I still think that it's only part of the deal.
Obviously code quality does matter, so you will need to think about the data structures, persistency latencies, handling of the packets. There are C# sources which have problems dealing only with a few clients. With only a few (mostly immature - as this thread) Java private servers going on, this is still a hard thing to measure.
|
Actually the RS Pserver community has kinda mixed languages between Java, C# and C++. Although Java is the most used one.
Also I don't think the size of a pserver would really get to the point of showing the difference between each language's socket performance.
|
|
|
04/17/2014, 12:54
|
#22
|
elite*gold: 0
Join Date: Sep 2013
Posts: 197
Received Thanks: 141
|
Let's be honest, the only real reason not to use Java is probably the lack of unsigned integers and even that isn't really a big deal, but apparently Java 8 will have support for this, and there are still 3rd party libraries for unsigned support even if you use Java 7 or lower.
|
|
|
04/17/2014, 17:12
|
#23
|
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
|
If that is the reason not to use Java, then there is no reason not to use Java. That`s the smallest concern.
|
|
|
04/17/2014, 20:12
|
#24
|
elite*gold: 0
Join Date: Sep 2013
Posts: 197
Received Thanks: 141
|
Quote:
Originally Posted by KraHen
If that is the reason not to use Java, then there is no reason not to use Java. That`s the smallest concern.
|
I still haven't seen any other good reasons not to use Java.
|
|
|
04/17/2014, 20:50
|
#25
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
|
I would say the reasons not to use Java are bad IDE's, being handcuffed by the JVM, poor sockets, lack of support for basic types.
I've said this in the past, just because a language is used for a specific task, doesn't mean its suited to it.
|
|
|
04/17/2014, 21:55
|
#27
|
elite*gold: 0
Join Date: Sep 2013
Posts: 197
Received Thanks: 141
|
Quote:
Originally Posted by Korvacs
I would say the reasons not to use Java are bad IDE's, being handcuffed by the JVM, poor sockets, lack of support for basic types.
I've said this in the past, just because a language is used for a specific task, doesn't mean its suited to it.
|
I'm sure there's at least one "high performance" 3rd party socket library for Java. I agree with the IDE part, although I never tried IntelliJ IDEA, NetBeans, or any of the other Java IDE alternatives, I just tried the horrible Eclipse IDE.
Quote:
Originally Posted by Super Aids
|
Those are just comparisons of different languages, it doesn't really say a lot about why you shouldn't use Java for CO pserver development.
|
|
|
06/15/2014, 14:00
|
#28
|
elite*gold: 0
Join Date: May 2011
Posts: 648
Received Thanks: 413
|
Qonquer ran pretty fine. Any updates on that proj?
|
|
|
06/15/2014, 14:25
|
#29
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
|
Quote:
Originally Posted by Y u k i
Qonquer ran pretty fine. Any updates on that proj?
|
Qonquer had a fairly consistent freeze which I don't recall being fixed, certainly in the time I played.
|
|
|
 |
|
Similar Threads
|
Server Development Help [Request Java help] and Base Shop Deutsch/English
04/17/2012 - Runescape Private Server - 1 Replies
German:
Hallo Elitepvpers!
Mir ist aufgefallen das hier einige Hilfe mit dem programmieren oder dem entwickeln von einem RuneScape Server benötigen.
Ich seit einigen Jahren mit dem Programmieren von RuneScape beschäftigt und kann eigentlich fast alles.
Schreibt mir hier oder per PN wobei ihr hilfe benötigt oder kontaktiert mich in Skype oder schreibt mir eine E-mail.
|
Development of conquer p server
01/06/2012 - CO2 Private Server - 17 Replies
Did it just go all the way down after hybrid and ulti? The only server I see doing good is Project X by Bauss
just wondering if there is any decent server out there
|
[Development] 4267 conquer server.
06/16/2010 - CO2 Private Server - 408 Replies
Heya,
I've started a new development for a classic co server as I never saw one succesfull build up with a from scratch written and not leeched source.
We're currently aiming to add-in bot protection, proxy detection and various protections to prevent hacking.
So let's talk more about the source itsself, It's made from scratch and self written socket system, database handling is currently flatfile based. The loginserver is done but we're working on the gameserver now.
(Will be...
|
Java in server development
03/31/2010 - CO2 Private Server - 34 Replies
Why? It seems that a select few have a contingency to hold Java code in contempt. To keep this topic in alignment with this forum, please answer my question with regards to a CO2 PServer.
I would like to hear anyone's thoughts or ideas either way about this.
|
New Conquer Server Project [Java]
02/18/2010 - CO2 Private Server - 63 Replies
Here Hybris, Project CoLeader from CoEurope team if you guys remember the old staff ;)
Wishing to build a new source code for a Conquer Private Server, but in Java this time and all brand new ^^
Need to find one or two coders that knows Java very well and who can understand UML Diagrams that i'll make. I'll help coding (much) and giving infos.
Need an expert in Socket connections ^^ and someone who can use a little Sniffer with some decryption and disassembling knowledge ;) Well a bit of...
|
All times are GMT +1. The time now is 10:44.
|
|