Register for your free account! | Forgot your password?

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

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

Advertisement



Question about coding knowledge

Discussion on Question about coding knowledge within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2012
Posts: 7
Received Thanks: 1
Question about coding knowledge

Hey,

So I am really excited to make a conquer online server, but I believe coding knowledge is something really important to have, and as well can come in very handy when your good in it.
But anyways, I am working with Java from time to time (rsps) and I am reading this book called "Heads First Java" which is very helpful.

But I was wondering is it okay to just jump right into C# or is it truly a recommendation to learn Java first?
Thanks for reading.

Rawr.
Rawr.co is offline  
Old 12/19/2012, 23:56   #2
 
Danial Eugen's Avatar
 
elite*gold: 0
Join Date: Sep 2012
Posts: 171
Received Thanks: 68
C# IS REALLY CLOSE TO JAVA so you will not find a difficulty migrating to C#... ;However, it still possible to create your custom source in java!.
Danial Eugen is offline  
Old 12/20/2012, 00:19   #3
 
elite*gold: 0
Join Date: Dec 2012
Posts: 7
Received Thanks: 1
Quote:
Originally Posted by Danial Eugen View Post
C# IS REALLY CLOSE TO JAVA so you will not find a difficulty migrating to C#... ;However, it still possible to create your custom source in java!.
Oh, never knew that was possible, are there any CO-PS's who have made a custom source in Java?
Rawr.co is offline  
Old 12/20/2012, 02:08   #4
 
elite*gold: 0
Join Date: Jun 2009
Posts: 787
Received Thanks: 314
One of the original servers (Qonquer) was programmed in Java at one point. It's been done.
_tao4229_ is offline  
Old 12/20/2012, 04:24   #5
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
most of the tools created by the qonquer staff were in java including qoproxy (many versions of it released around here. It was the first proxy/bot that people went wild with the source code of) as well as the actual qonquer server source (which has never gone public)

As already mentioned, the syntax is quite similar between the languages so moving towards C# would be easy but so would using the public sources as an example to write your own java source. Really boils down to your personal preference and what your goals are.
pro4never is offline  
Old 12/20/2012, 07:26   #6
 
elite*gold: 0
Join Date: Dec 2012
Posts: 7
Received Thanks: 1
So I guess it would be recommended to start from scratch.
But what then is the benefit of creating a Java-based source instead of a C# one, and what would be the disadvantage for using Java?
Rawr.co is offline  
Old 12/20/2012, 09:00   #7
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
Knowledge of the language.

Java (as far as I'm aware, I've not used it) does not support unsafe memory handling which can be viewed as either a pro or con. Personally I'm comfortable with basic pointer usage and it can make writing packets simpler but honestly conquer private servers are never going to really boil down to efficiency (assuming you code them properly). It's simply not a large enough environment or complex enough game to worry about saving a few cpu cycles.


TL: DR

Language you program in makes virtually no difference, HOW you program is what matters. Be more concerned with writing efficient and bug free code that is scalable and well documented.
pro4never is offline  
Old 12/20/2012, 09:07   #8


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 793
There`s an open source java project floating around, honestly I don`t know how mature it is, but I`m sure you can get something from it.

KraHen is offline  
Old 12/20/2012, 11:33   #9
 
elite*gold: 0
Join Date: Dec 2012
Posts: 7
Received Thanks: 1
Hmm..it will take a while to make a source from scratch with Java, but I will get there .
Rawr.co is offline  
Old 12/20/2012, 14:25   #10
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 946
Learning the Conquer Protocol would be a good idea at first ^~^

You could even use existing sources from C# as a reference when coding your source in Java.
Super Aids is offline  
Old 12/20/2012, 14:35   #11
 
elite*gold: 0
Join Date: Dec 2012
Posts: 7
Received Thanks: 1
True . Maybe a little bit off-topic, but when I have a client and it is a little bit like Conquer 2.0 in the beginning, and I would want to have Arena in it (which was introduced after New Dynasty) would that be possible considering the client version?
Rawr.co is offline  
Old 12/20/2012, 18:05   #12
 
Silent-Death's Avatar
 
elite*gold: 0
Join Date: Jan 2006
Posts: 1,055
Received Thanks: 296
Quote:
Originally Posted by Rawr.co View Post
I am reading this book called "Heads First Java" which is very helpful.
i browsed that book actually... The idea of it is that it gives you the info in a catchy way, but i find it boring. Also the pictures that they put in to help you focus are actually ******* your focus up. epic fail that book imo.

check attached files. The Java Cookbook is really really good.
Quote:
Originally Posted by Rawr.co View Post
But I was wondering is it okay to just jump right into C# or is it truly a recommendation to learn Java first?
Thanks for reading.

Rawr.
if you understand OOP you will have no issues with c#. In fact i started with java in order to get the oop knowledge but found myself diving into c# rather fast. Probably because of the java limitations on what i`m aiming for.
For a server tho, java should work great.
Attached Files
File Type: pdf TCPIPSocketInJava.pdf (635.9 KB, 3 views)
File Type: pdf Beginning.Programming.With.Java.For.Dummies.2nd.Edition.pdf (5.87 MB, 4 views)
File Type: rar Java Cookbook, 2004.rar (3.29 MB, 2 views)
Silent-Death is offline  
Thanks
1 User
Old 12/20/2012, 19:15   #13
 
elite*gold: 0
Join Date: Dec 2012
Posts: 7
Received Thanks: 1
Thanks I appreciate the help your offering me .
Rawr.co is offline  
Reply


Similar Threads Similar Threads
Coding Discussion/Question - Moreso of a question
07/31/2011 - CO2 Private Server - 17 Replies
I know this is relatively off-topic but CO Programmers are the smartest programmers I know of so PLEASE don't delete this thread for being off-topic not until I get an answer at least. Alright so obviously the first person to write a C# source had to create his/her own packet sniffers and use them in the real Conquer right? And they probably did this because the loved the game enough to make their own version OR they hated the game enough to try and do better. Well I LOVE this game called...
[Question] Coding Syntax
12/15/2010 - CO2 Programming - 29 Replies
Hey everyone! Is this good syntax? #region Example if (Statement1 == 1) if (Statement2 == 2) switch (Statement3) { case 1:
Coding npc(last question)
06/17/2010 - CO2 Private Server - 20 Replies
hi, i have conquer pserver, i need a video who show me all the steps of changing the price of an npc( breeder for exemple) pelase guys, i know it's a lot but i'm so needding it thanks
Question About Coding...
07/03/2008 - Conquer Online 2 - 12 Replies
Ok I Need Sum Help With A PvP Server It Has infinity Stamina taths noth the probleem but HERC is (they spam it like hell ) How Could Our Team Delet Skill "Herc" or make the command admin Thx For Help If u Wanne Join Us go TO DragonCO :P



All times are GMT +2. The time now is 13:39.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.