Register for your free account! | Forgot your password?

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

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

Advertisement



[HELP] 5017 RUNNING TWO SERVERS, look here.

Discussion on [HELP] 5017 RUNNING TWO SERVERS, look here. within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 03/16/2010, 18:53   #16
 
ImmuneOne's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 754
Received Thanks: 544
I don't really see the difference now, from loading the character's server from ini nor mysql.
ImmuneOne is offline  
Old 03/17/2010, 02:24   #17


 
CptSky's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,434
Received Thanks: 1,147
Quote:
Originally Posted by Korvacs View Post
[...]3) Have your game servers lookup their ip and port from a database and have the auth server send the client to the correct game server (this is how i do mine), i can run as many game servers as i like using the same source and it grabs the correct port from the database, this reduces human error dramatically as the server will not start if the server is already running somewhere.[...]
Already use this method before, but if the port doesn't match (I know one of the situation), you can't log in the game server. I use AccountId and Token. The AccountId is the account hashed with FNV and the token is a value always incremented after a connection. I just make a check for them and if they match... The first game packet contains the two elements, why don't use them.
CptSky is offline  
Old 03/17/2010, 03:15   #18
 
elite*gold: 0
Join Date: May 2006
Posts: 127
Received Thanks: 91
Quote:
Originally Posted by CompacticCo View Post
I was wondering how I'd be able to RUN two server's of the same source on the same IP without it crashing, also how would the server.dat look like? I've tried a few times and the server.dat didn't work out.
all you need to do is change the port # of the AUTH/Login server and also with the game server... it should be set differently with each other...
kamote is offline  
Old 03/17/2010, 22:46   #19


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
Quote:
Originally Posted by CptSky View Post
Already use this method before, but if the port doesn't match (I know one of the situation), you can't log in the game server. I use AccountId and Token. The AccountId is the account hashed with FNV and the token is a value always incremented after a connection. I just make a check for them and if they match... The first game packet contains the two elements, why don't use them.
If which port dont match out of interest? I dont really get what your saying.

For people who are considering using the client to move the accountID and remove the need to comminicate between auth and game servers, your auth packet and game packet can be exploited to login to which ever character they like if you dont have neccassery protection on the accountID in the packet, this means that encryption is a must.
Korvacs is offline  
Old 03/18/2010, 02:49   #20


 
CptSky's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,434
Received Thanks: 1,147
Quote:
Originally Posted by Korvacs View Post
If which port dont match out of interest? I dont really get what your saying.

For people who are considering using the client to move the accountID and remove the need to comminicate between auth and game servers, your auth packet and game packet can be exploited to login to which ever character they like if you dont have neccassery protection on the accountID in the packet, this means that encryption is a must.
You check the ip address and the port in database? It's not the same for the auth connection and the game connection, but I am sure that you already know. In general, the game connection use the auth port incremented, but not always. It's what I try to say if I understand the way you compare.

I understand your point for the AccountID, but I think it can be hard. Yes, you can manipulate your packet, but you will probably fail at login because the account you try to use doesn't have the same Token in the DataBase.

Code:
--- Auth Response ---
Generate AccID (FNV Hash)
Generate Token (LastToken++)
Save Token (Acc File)

--- Game Request ---
Generate AccID (FNV Hash)
Check Token (Check for the Acc with Token)
Check AccID (Check if the Acc and the Packet match)
CptSky is offline  
Old 03/18/2010, 09:55   #21


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
The Auth port for Conquer is 9958 usually, and the game ports start at around 5160, its been like that since the beginning of time i think lol.

It depends how you use the token and accountid, i dont store the token anywhere, so my lookup is based soley on the accountid.
Korvacs is offline  
Reply


Similar Threads Similar Threads
Need 5017 Partner Servers for [CoN] ISMA
07/25/2010 - CO2 Private Server - 10 Replies
ISMA ISMA Means: Inter Server Meeting Area For the ISMA, We connect Our Leveling and PVP Server Together Also we will Connect other Partner Servers to it So Basicly its a Server wich Puts Servers together... Example: CoNorth Servers + SomeServerCo + NoobsCo + TrinityCo All players of every server will meet in the ISMA And fight for the Community
5017 servers
06/23/2010 - CO2 Private Server - 13 Replies
Herro this mabe a stupid question but is there any 5017 servers these days? all i see is 5065 >.> gheyy also i have searched around :) on a couple of sites thanx leigh :mofo:
Any 5017 LOTF servers arround?
01/14/2010 - CO2 Private Server - 18 Replies
Are there any 5017 or 4267 or even a 4351 server i wanna play on one D: I been going threw the advertised section but i found nothing....



All times are GMT +2. The time now is 03:26.


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.