Split Server Projects?

09/09/2019 18:40 .Guru#1
.
09/09/2019 20:12 Santa#2
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.
09/09/2019 21:22 .Guru#3
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.
09/09/2019 22:05 Spirited#4
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.

[Only registered and activated users can see links. Click Here To Register...] 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.
09/09/2019 22:19 .Guru#5
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.

[Only registered and activated users can see links. Click Here To Register...] 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.