Register for your free account! | Forgot your password?

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

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

Advertisement



[HELP]Game server port

Discussion on [HELP]Game server port within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2007
Posts: 226
Received Thanks: 55
[HELP]Game server port

hi,
i've been setting up 2 servers. i'm trying to merge them on one server so i don't have to put 2 pc online. the porblem is that i don't know where i change the game server port in the client so that i can connect on it.
if anyone knows this could you please let me know?

thanks in advance

sorry for bad english
yuko is offline  
Old 01/12/2009, 15:32   #2
 
sherwin9's Avatar
 
elite*gold: 0
Join Date: Oct 2006
Posts: 222
Received Thanks: 27
Well you can use these ports : 9958 - 9960, instead of changning the gamserver port...
sherwin9 is offline  
Old 01/12/2009, 15:49   #3
 
elite*gold: 0
Join Date: Dec 2007
Posts: 226
Received Thanks: 55
that won't work, the problem is this
Server 1 uses
auth port 9958
game port 5816

server 2 can't be setup with the same ports so if i change them i have to change the clients ports aswel. but i can't find where to change the Clients game server port.
when i change the login it works fine, i get the login message on the server but since i cannot change the game server port i get the message unable to connect to game server.
the only thing i need is to be able to change game server ports.
i just don't know where.

btw changing the ports 9958 and 9960 didn't work out thanks anyway for trying to help
yuko is offline  
Old 01/12/2009, 19:27   #4
 
elite*gold: 20
Join Date: Aug 2005
Posts: 1,734
Received Thanks: 1,000
The gameport is send back to client in the 0x41F packet, Auth information or however you might call it. It's two bytes starting from position 28.
tanelipe is offline  
Old 01/12/2009, 20:40   #5
 
elite*gold: 0
Join Date: Dec 2007
Posts: 226
Received Thanks: 55
thanks tanelipe, i will check it when i put my backup server online :-)

friendly greetings
yuko is offline  
Old 01/13/2009, 06:33   #6
 
lostsolder05's Avatar
 
elite*gold: 20
Join Date: Jan 2006
Posts: 890
Received Thanks: 240
Quote:
Originally Posted by tanelipe View Post
The gameport is send back to client in the 0x41F packet, Auth information or however you might call it. It's two bytes starting from position 28.
Quote:
Originally Posted by yuko View Post
thanks tanelipe, i will check it when i put my backup server online :-)

friendly greetings
somehow i doubt u even understood 2 words of what he said, lol
lostsolder05 is offline  
Old 01/13/2009, 14:19   #7
 
elite*gold: 0
Join Date: Dec 2007
Posts: 226
Received Thanks: 55
Quote:
Originally Posted by lostsolder05 View Post
somehow i doubt u even understood 2 words of what he said, lol
its not becaus i don't post much niether giving thanks that i won't understand what said

in packets.cs whole under you'll find this
public byte[] AuthResponse(string ip, byte[] key1, byte[] key2)
{
ushort PacketType = 0x41f;
byte[] Packet = new byte[32];
fixed (byte* p = Packet)
{
*((ushort*)p) = (ushort)Packet.Length;
*((ushort*)(p + 2)) = (ushort)PacketType;
*(p + 4) = key2[3];
*(p + 5) = key2[2];
*(p + 6) = key2[1];
*(p + 7) = key2[0];
*(p + 8) = key1[3];
*(p + 9) = key1[2];
*(p + 10) = key1[1];
*(p + 11) = key1[0];
for (int i = 0; i < ip.Length; i++)
{
*(p + 12 + i) = Convert.ToByte(ip[i]);
}
*(p + 28) = 0xb8;
*(p + 29) = 0x16;

}
return Packet;


thats what she/he ment
yuko is offline  
Old 01/13/2009, 15:35   #8
 
elite*gold: 20
Join Date: Aug 2005
Posts: 1,734
Received Thanks: 1,000
Yah that's what I mean, you could just do

Code:
*((ushort*)(p + 28)) = 5816;
Much easier to change in my opinion ^^
tanelipe is offline  
Old 01/13/2009, 16:03   #9
 
elite*gold: 0
Join Date: Dec 2007
Posts: 226
Received Thanks: 55
thanks tanelipe :-)

thats a way easyer way to fix it i was seeing it to complex :-) but it works fine now

greetings
yuko
yuko is offline  
Old 01/13/2009, 17:04   #10
 
elite*gold: 0
Join Date: Dec 2007
Posts: 226
Received Thanks: 55
this might be stupid and most of you will suggest to use CIDloader but i'm not interested the gate jumps and other CID hacks. so i'm working with the play.exe and Server.dat

[Header]
GroupAmount=10
Group1=GroupPic10

[Group1]
ServerAmount=1

Server1=Server1
Ip1=x.***.***.***
Port1=9958
ServerName1=Server1
HintWord1=Server1
Pic1=servericon35

when i add a 2nd server like this
[Header]
GroupAmount=10
Group1=GroupPic10

[Group1]
ServerAmount=2

Server1=Server1
Ip1=x.***.***.***
Port1=9958
ServerName1=Server1
HintWord1=Server1
Pic1=servericon35

Server2=Server2
Ip2=x.***.***.***
Port2=9959
ServerName2=Server2
HintWord2=Server2
Pic2=servericon35

then he will stil work on the 1st server but not the 2nd server. he sais server.dat damaged. i was reading by hex workshop how he reads the server.dat and it seems evrything is filled in correctly.

any ideas whats wrong?

thanks in advance
#edit

nvm found out to make it work
yuko is offline  
Reply


Similar Threads Similar Threads
Rappelz Server IP+ Port
07/31/2010 - Rappelz - 5 Replies
Hello E*pvp users, I need someone to give me the Ip and port to all Rappelz Server i didnt have I got US, DE, FR, PL, Turkyie I need PH, KR, KTS, JP, Chinese, Russia
Login server port..
06/17/2010 - Silkroad Online - 1 Replies
Hey guys any know how you set port 30 for explain? cause with phbot you can choose login server but with sbot you dont, so hope anybody have idea to set this, and so yes : How?
ICH brauche port map für p server
12/25/2009 - Metin2 Private Server - 1 Replies
Hi wie ihr wisst suhce ich portmap wer vllt eine hat oder so kan den mir mapls schiken link oder das wär net gebe au thanks MFG ASSEMDINHO10
Server IP + Port
09/01/2009 - Metin2 Private Server - 3 Replies
*weg Edit* Thx geben für den Text nicht vergessen ;)



All times are GMT +2. The time now is 05:11.


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.