|
You last visited: Today at 11:34
Advertisement
How do you put a server's source together?
Discussion on How do you put a server's source together? within the CO2 Programming forum part of the Conquer Online 2 category.
08/22/2011, 02:56
|
#1
|
elite*gold: 0
Join Date: Jan 2011
Posts: 286
Received Thanks: 71
|
How do you put a server's source together?
So there are tons of different classes. Classes for networking, classes for packets. A lot of classes there. I no longer have anyone to help me with coding other then a few good friends on MSN and InfamousNoone's tutorials. I can probably bust my *** and throw a server together but there's a problem.
Where do I start!?
It wouldn't be in program.cs, I'm almost sure of it. And if I'm wrong, that means I need more help than I thought, because that's where you load everything, right? So there's character.cs, cryptography.cs, etc. Where do I start? The more advice you could give me for putting together a 5017 - 5160 server, the more I will love you. Don't get me wrong, any advice is fantastic advice, but I'm not sure a 5400+ patch server has the same shizz as a 5017 or 5124 server.
Beggers can't be choosers, so go ahead and give me whatever you have as long as it's not flamed and coming out of your ***. Thanks!
|
|
|
08/22/2011, 11:57
|
#2
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
|
Sockets and surrounding classes
Basic Client Object (Enough info to login)
Cryptography and surrounding classes
Basic PacketHandler (Consisting of basic login handling)
From that you should be able to login, after this you have a few paths you can take depending on what you would like to do first, i tend to do things in this order from here:
Movement
Items
Database
NPCs
Monsters
And then its just a case of adding in the various features to the game, i leave the database untill i actually need it, no sense is adding it if your not going to use it untill say Item/Equipment loading, unless your doing some form of open development server where people can login whenever in whichcase Database should be after the basic setup and before any additions are made.
Theres plenty of source code released in the pserver guide section, ive released 2/3 different server sources in there myself you from this list and those sources you should be able to figure out a decent development path.
|
|
|
08/22/2011, 12:04
|
#3
|
elite*gold: 0
Join Date: Jul 2010
Posts: 1,532
Received Thanks: 575
|
Werent you coding one from scratch?
|
|
|
08/22/2011, 17:14
|
#4
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
|
*cough*
*cough*
|
|
|
08/22/2011, 18:20
|
#5
|
elite*gold: 0
Join Date: Jan 2011
Posts: 286
Received Thanks: 71
|
Thank you Korvacs, and lol Pro4Never, I seriously never noticed that until now xD... or maybe I did and figured it was some joke... or maybe I looked at it once and didn't understand it. Well either way, thanks Pro4never.
And I actually just started coding my own server together. Basically all I have right now is the "beginning" of sockets. I'm still learning how to do socket programming which is a major pain in my ***. So far this is all I know how to do...
Quote:
public event Action<AsyncWrapper> ClientConnect
public event Action<AsyncWrapper, byte[]> ClientReceive
public event Action<object> ClientDisconnect
private Socket _connection = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp)
|
As you can see that's not near enough to even start on my sockets. There would be more but I just can't seem to understand it!
|
|
|
08/23/2011, 01:41
|
#6
|
elite*gold: 0
Join Date: Dec 2010
Posts: 341
Received Thanks: 255
|
In the base source I released, it has a KinSocket.dll file I made.
It has sockets, encryption, and a bunch of useful things.
If you want the source for the dll let me know.
|
|
|
08/25/2011, 11:28
|
#7
|
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
|
Quote:
Originally Posted by xBlackPlagu3x
Thank you Korvacs, and lol Pro4Never, I seriously never noticed that until now xD... or maybe I did and figured it was some joke... or maybe I looked at it once and didn't understand it. Well either way, thanks Pro4never.
And I actually just started coding my own server together. Basically all I have right now is the "beginning" of sockets. I'm still learning how to do socket programming which is a major pain in my ***. So far this is all I know how to do...
As you can see that's not near enough to even start on my sockets. There would be more but I just can't seem to understand it!
|
|
|
|
08/25/2011, 13:29
|
#8
|
elite*gold: 28
Join Date: Jun 2010
Posts: 2,223
Received Thanks: 867
|
Sockets are not the first thing you should be learning to code. Methods, class's, objects, operators and ****.
|
|
|
08/25/2011, 14:54
|
#9
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
|
Its not that hes new to coding, hes just new to server development.
|
|
|
08/26/2011, 18:28
|
#10
|
elite*gold: 28
Join Date: Jun 2010
Posts: 2,223
Received Thanks: 867
|
Gotcha.
|
|
|
Similar Threads
|
Any New private server's?
08/09/2011 - Last Chaos - 1 Replies
Hi, Well im looking for a new private server that has rates around 30-40x that has the new 2011 files (new juno, new skills) I am willing to donate if the server stays up and if good. I will be making youtube video's of the server with my friends (3 of them) and can get the server popular.
:3
In german
Hallo, Also im der Suche nach einem neuen privaten Server, dass die Preise rund 30-40x, dass die neuen 2011-Dateien (neue juno, neue Fähigkeiten) Ich...
|
SERVER'S UP!!
05/17/2011 - Grand Chase Philippines - 2 Replies
yeah Servers's UP but I don't know if hacks still works,:p:D
|
Server's in Check again ><
08/08/2009 - SRO Private Server - 2 Replies
Maybe it's an update this time? =D
|
NEW Kamael Server's
04/16/2008 - Lin2 Private Server - 0 Replies
Bartz
Rates:
XP x1
SP x1
Spoil x1
Drop x1
Adena x2 for now
Party x1
|
All times are GMT +2. The time now is 11:34.
|
|