Register for your free account! | Forgot your password?

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

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

Advertisement



Split Server Projects?

Discussion on Split Server Projects? within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2009
Posts: 923
Received Thanks: 444
Split Server Projects?

It's been some time.. but curiosity strikes. If someone could explain this to me, I'd appreciate.

I have been meddling with a 5517 version of Roy's Conquer Server v2, this source using split game/authentication servers. I know this is a fairly common practice with Co development but could someone explain how they communicate? I have had success communicating with the authentication server, but after valid handshaking there - I cannot figure out why I am not receiving a connection to the game server.

I have walked through the auth server, everything works. I cannot follow code into the game server as they are separate projects. The gameserver is never even receiving a connection. I understand there are other threads that offer a few ideas - change architecture build, the 64 bit libeay32 library, etc. While I'm interested in fixing the issue of not being able to login.. I am also interested in how they regularly communicate.

Do I set them as dependencies of each other? I am just a bit lost atm.

ps. ports are forwarded, there should not be a fault with that.

Thanks.



.Guru is offline  
Old 09/09/2019, 20:12   #2
 
elite*gold: 0
Join Date: Sep 2007
Posts: 580
Received Thanks: 112
So the client will attempt to connect to the IP that the auth server sends to it. I’m verify you are sending the correct ip and port in that packet. If you are, are you using nullables conquer loader? There was a “force” setting that would basically override the connection to the game server, effectively ignoring the ip/port from the game server.

As far as how they communicate to each other. Each server project handles it a little different. Some servers will share a common database, where the auth server inserts a record that the game server used to prove authenticity. Other will use sockets to connect the two so that they can directly communicate which clients are authorized. Some IPC of some form is used and it is very minimal, only to tell the game server that the client is good to connect.

I think. Been out of the scene a while.


StarBucks is offline  
Thanks
1 User
Old 09/09/2019, 21:22   #3
 
elite*gold: 0
Join Date: Aug 2009
Posts: 923
Received Thanks: 444
So, I had been using Khaled's v2 loader (which did not have the force setting implemented), I installed v5 and it logged in. I assume that the gameserver's IP/port was causing an issue.

Thank you.

Between using a split structure, or just a singular one.. Are their pros/cons to it? I definitely like the organization using split servers.. I know this is all old news, just interested to hear peoples' preferences.
.Guru is offline  
Old 09/09/2019, 22:05   #4
 
elite*gold: 12
Join Date: Jul 2011
Posts: 7,356
Received Thanks: 3,594
Quote:
Originally Posted by .Guru View Post
So, I had been using Khaled's v2 loader (which did not have the force setting implemented), I installed v5 and it logged in. I assume that the gameserver's IP/port was causing an issue.

Thank you.

Between using a split structure, or just a singular one.. Are their pros/cons to it? I definitely like the organization using split servers.. I know this is all old news, just interested to hear peoples' preferences.
Conquer Online is a split structure no matter what. You can have both servers run in a single executable and share memory, but the client has to disconnect and reconnect and will always see it as two separate servers.

The pro of having both servers in a single executable is that you can share memory, and don't have to worry about how the account and game servers communicate with each other or pass authentication. The disadvantage is that it couples the two servers together and prevents you from easily spinning up a second game server for another region.

is also a split project structure and has documentation on that stuff, if you want to take a look. The two servers communicate with each other over RPC.


Spirited is offline  
Thanks
1 User
Old 09/09/2019, 22:19   #5
 
elite*gold: 0
Join Date: Aug 2009
Posts: 923
Received Thanks: 444
Quote:
Originally Posted by Spirited View Post
Conquer Online is a split structure no matter what. You can have both servers run in a single executable and share memory, but the client has to disconnect and reconnect and will always see it as two separate servers.

The pro of having both servers in a single executable is that you can share memory, and don't have to worry about how the account and game servers communicate with each other or pass authentication. The disadvantage is that it couples the two servers together and prevents you from easily spinning up a second game server for another region.

is also a split project structure and has documentation on that stuff, if you want to take a look. The two servers communicate with each other over RPC.
Right, that's what I was meaning - the single exe vs dual exes. Appreciate your insight. And I will check it out, thanks.


.Guru is offline  
Reply



« Magic loading issue | Chi System »

Similar Threads
SWTOR Server Emulator/Private Server Projects
01/14/2012 - Star Wars: The Old Republic - 6 Replies
Hey guys! Been a long time since my last post, but I've been following the development, and now, the (almost) release of SWTOR. I've been following a few open threads on different forums, but haven't heard anything concrete about any projects for a SWTOR server emulator/private server, and I was hoping that someone here would have more info (possibly with links) on any such projects... any info/details would be much appreciated, and while I understand that it may take time (especially since the...
Turquoise Server Will Split On November 13, 2006
11/09/2006 - Conquer Online 2 - 1 Replies
Turquoise Server Will Split On November 13, 2006 Source:Official Posted on:2006-11-7 0:10:27 ------------------------------------------------- ------------------------------- We are happy to announce that the Turquoise server will be split into two servers on November 13, 2006. We name the new server "Sagittarius" in Constellation group.
Server Split
06/14/2006 - Conquer Online 2 - 5 Replies
Hey guys, Sunshine server is splitting and Just wondering what people think/know about splits, is it worth changing servers and how many people usually go in the split. The main reason I made this thread was to tell you guys what im doing, I have 24 miner accounts, 2 friend accounts, and my main. Well I submitted them all to goto the new server and I'm just seeing how many of them make it. Just looking for some comments about this, tell me what you think in somewhat of a civilized manner....



All times are GMT +2. The time now is 23:24.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

BTC: 33E6kMtxYa7dApCFzrS3Jb7U3NrVvo8nsK
ETH: 0xc6ec801B7563A4376751F33b0573308aDa611E05

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2019 elitepvpers All Rights Reserved.