[Help] Connecting to Hybrid's source.

04/13/2009 05:51 flaMe~#1
Hey guys, me again.

I downloaded Hybrid's source, set it all up and ran the server.
When I connect it comes up with "Unable to connect to the game server", now this usually happens when I.P's are wrong, i think, but I only found 1 I.P I had to set, and that was in the client's server.dat

I am supposed to be using a 5017 client, right?

Thanks :mofo:
04/13/2009 06:02 andyd123#2
Correct,

I've never used or seen Hybrid's source, but the account server must also have the I.P. Address of your game server, unless Hybrid's source determines that automatically, though I doubt it.

-Andy
04/13/2009 06:05 pjkasper42#3
you have to go to database.cs and change the ip address there i believe.
04/13/2009 06:11 flaMe~#4
Quote:
Originally Posted by pjkasper42 View Post
you have to go to database.cs and change the ip address there i believe.
There is nothing to do with I.P's in the database.cs :/

Why would it be in there anyway? It doesn't need to connect to an external database, so it wouldn't need an I.P address in there.

And Andy, I couldn't find anything to do with I.P's anywhere in the source.
04/13/2009 06:34 andyd123#5
Search the entire solution for
Code:
Sender.Send(PacketBuilder.AuthResponse
You might find a line that looks like
Code:
Sender.Send(PacketBuilder.AuthResponse("127.0.0.1" , Client.Identifier, 255, 5816));
Just change the IP there
04/13/2009 06:46 flaMe~#6
Got it, thanks Andy :)

Just to clarify for future people who have this problem...

Code:
Sender.Send(PacketBuilder.AuthResponse("99.245.125.250", Client.Identifier, 255, 5816));
That's the line. It's in Program.cs on Line 45.
04/13/2009 07:03 andyd123#7
No problem!


Glad to have helped, thanks for the thanks :)
04/13/2009 10:31 KraHen#8
Uh, I like these :D

Thanks for the thanks for the thanks for the thanks for the answer XD
04/13/2009 14:48 flaMe~#9
Uh.. yeah.
05/01/2009 20:59 auraboreal#10
my Hybrid's Source not open!!!

ConquerServer_Basic has stopped working!!

I using Win7