|
You last visited: Today at 15:14
Advertisement
ConquerServer_Basic (5071)
Discussion on ConquerServer_Basic (5071) within the CO2 Private Server forum part of the Conquer Online 2 category.
03/02/2013, 01:23
|
#1
|
elite*gold: 0
Join Date: Mar 2013
Posts: 58
Received Thanks: 7
|
ConquerServer_Basic (5071)
#request close
Problem solved thanks to Justin(lostsolder05), & everyone else who posted!
|
|
|
03/02/2013, 01:34
|
#2
|
elite*gold: 0
Join Date: May 2005
Posts: 1,892
Received Thanks: 918
|
Set a breakpoint and trace through the source from login.
|
|
|
03/02/2013, 01:51
|
#3
|
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
|
That error literally means it never connected to the server.
Ensure that the login port matches up between the loader and source. Login ports changed between old clients and new and is likely the cause.
Step 1: Ensure that ports match
Step 2: Ensure that ip+port combo is accessible (hamachi/internal or properly forwarded external)
Step 3: Breakpoint the initial connection routine (the msg you are getting means there was no server to accept the connection request but breakpoints are always nice to have)
|
|
|
03/02/2013, 02:00
|
#4
|
elite*gold: 0
Join Date: Mar 2013
Posts: 58
Received Thanks: 7
|
Quote:
Originally Posted by Lateralus
Set a breakpoint and trace through the source from login.
|
I did and my problem is coming from around here..
Code:
Kernel.AuthPool.Add(Hero.Identifier, Hero);
Hero.AuthPhase = AuthPhases.AuthComplete;
if (Sender.Connection.RemoteEndPoint.ToString().Split(':')[0] != "127.0.0.1")
Sender.Send(PacketBuilder.AuthResponse(Database.IP, Hero.Identifier, 255, 5816));
else
Sender.Send(PacketBuilder.AuthResponse("192.168.1.1", Hero.Identifier, 255, 5816));
@Pro4Never
My ports in loader setting/server setting are targeted at 9958 and 127.0.0.1, and the incoming connection is logged to 9958 127.0.0.1 .. What could I possibly be doing wrong.
#EDIT My problem is coming from here.
Code:
Sender.Send(PacketBuilder.AuthResponse(Database.IP, Hero.Identifier, 255, 5816));
|
|
|
03/02/2013, 04:01
|
#5
|
elite*gold: 28
Join Date: Jun 2010
Posts: 2,223
Received Thanks: 867
|
127.0.0.1 Can very often cause problems.
Download hamachi and use that IP.
|
|
|
03/02/2013, 04:04
|
#6
|
elite*gold: 0
Join Date: Mar 2013
Posts: 58
Received Thanks: 7
|
Quote:
Originally Posted by _DreadNought_
127.0.0.1 Can very often cause problems.
Download hamachi and use that IP.
|
Thanks for your reply! Although I already port forwarded and tried my IP.. Still the same problem. So I tried hamachi, AGAIN. Still nothing :/ Is the md5 hash encryption required for client login at 5065->5071
|
|
|
03/02/2013, 04:18
|
#7
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
|
Honestly, I would just keep the MD5 hash. Although it might not be necessary if you host the database on a vps that has closed ports for the service, it's a nice security to have for the members (staff members can't see their passwords). MD5 isn't required for login on those patches. Basically, the result of the decryption for the password is hashed using MD5, and if it matches the MD5 hash in the database (the password hash for the account), then it's correct.
|
|
|
03/02/2013, 04:19
|
#8
|
elite*gold: 0
Join Date: Mar 2013
Posts: 58
Received Thanks: 7
|
Quote:
Originally Posted by Fаng
Honestly, I would just keep the MD5 hash. Although it might not be necessary if you host the database on a vps that has closed ports for the service, it's a nice security to have for the members (staff members can't see their passwords). MD5 isn't required for login on those patches. Basically, the result of the decryption for the password is hashed using MD5, and if it matches the MD5 hash in the database (the password hash for the account), then it's correct.
|
Thanks for your input Fang! Any clue what my problem could be?
|
|
|
03/02/2013, 04:25
|
#9
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
|
Quote:
Originally Posted by .Xori^
Thanks for your input Fang! Any clue what my problem could be?
|
I didn't really read into your current issue. It seems like it's connecting to the server but not making it past the password check to the server transfer (to the game server). Check your account server methods and step through it using breakpoints as Lateralus suggested.
|
|
|
03/02/2013, 04:51
|
#10
|
elite*gold: 0
Join Date: Mar 2013
Posts: 58
Received Thanks: 7
|
Quote:
Originally Posted by Fаng
I didn't really read into your current issue. It seems like it's connecting to the server but not making it past the password check to the server transfer (to the game server). Check your account server methods and step through it using breakpoints as Lateralus suggested.
|
Your right, its completing the auth check but then failing at
Code:
Sender.Send(PacketBuilder.AuthResponse(Database.IP, Hero.Identifier, 255, 5816));
Any help? I'm not to great with breakpoints but I've gotten this far :/
|
|
|
03/02/2013, 05:37
|
#11
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
|
If it fails after that packet is sent, then most likely the world server isn't configured correctly (because the ip address or port from the database is incorrect), or the packet is incorrect (which is doubtful if this is a public source). I recommend you google how to breakpoint in Visual Studio. It's a key component in debugging a project.
|
|
|
03/02/2013, 05:45
|
#12
|
elite*gold: 0
Join Date: Mar 2013
Posts: 58
Received Thanks: 7
|
Quote:
Originally Posted by Fаng
If it fails after that packet is sent, then most likely the world server isn't configured correctly (because the ip address or port from the database is incorrect), or the packet is incorrect (which is doubtful if this is a public source). I recommend you google how to breakpoint in Visual Studio. It's a key component in debugging a project.
|
Yea its Arcos 5071.
#Edit Found that the problem is coming from here. Seems that Arco didn't setup character creation to well when he converted from flat->sql. Check this out and let me know what you think is wrong Fang.
Code:
public static bool LoadEntity(GameClient Hero)
{
bool res = false;
MysqlCommand cmd = new MysqlCommand(CommandType.SELECT);
cmd.Select("Characters").Where("EntityID", Hero.Identifier).Done();
if (cmd.DataReader.Read())
[COLOR="SeaGreen"]//Connection ends after this line if it doesn't find a character.[/COLOR]
{
[COLOR="SeaGreen"]//Connection is successful and client logs in completely if character is found[/COLOR]
res = true;
Hero.Entity.UID = Convert.ToUInt32(cmd.DataReader["EntityID"]);
Hero.Entity.Name = Convert.ToString(cmd.DataReader["Name"]);
[COLOR="SeaGreen"] //Below I assume is where it checks if user was found and opens character creation. BUT it don't make it this far.. Why? I'm so lost.[/COLOR]
if (Hero.Entity.Name == "")
{
Hero.Send(new MessagePacket("NEW_ROLE", "ALLUSERS", 0xFFFFFF, MessagePacket.Dialog));
}
|
|
|
03/02/2013, 17:28
|
#13
|
elite*gold: 28
Join Date: Jun 2010
Posts: 2,223
Received Thanks: 867
|
What line in that code is throwing an error? Put a breakpoint on "bool res = false" and then use the "Step over" button until something weird happens.
I bet its the cmd.DataRead.Read()) :P
|
|
|
03/02/2013, 21:22
|
#14
|
elite*gold: 0
Join Date: Mar 2013
Posts: 58
Received Thanks: 7
|
Quote:
Originally Posted by _DreadNought_
What line in that code is throwing an error? Put a breakpoint on "bool res = false" and then use the "Step over" button until something weird happens.
I bet its the cmd.DataRead.Read()) :P
|
Managed to solve my problem. Lets just say this source needs a lot of work to even get started. Requires a couple checks in the auth -> game to determine if the user has created a character or not. Along with a couple of packets that needed to be updated;Mob;Name. And the screening had to be redone for mobs aswell. I managed to get these parts done with help from Justin.
& to everyone who was helping me thank you.
I will keep this thread open and post my progress on the source along with posting errors that need to be fixed for those who decide to use it.
|
|
|
03/02/2013, 22:42
|
#15
|
elite*gold: 0
Join Date: Feb 2011
Posts: 335
Received Thanks: 170
|
Depending on where you got that source, it might not even be my 5071. I've seen people post my 5071 source and end up just being my 5017 or 5018 source.
|
|
|
|
|
Similar Threads
|
5071 Source
10/17/2010 - CO2 PServer Guides & Releases - 106 Replies
Well I quit the project, as I am back in the HellmouthCo project. I'm not going to waste my time telling everything that is in the source, if you want you can look into it yourself. Not a setup and play source, you need to work on it a good bit. Its hybrids source, with blowfish and dhkeyexchange. Also I have converted most of it to MySQL. Passwords are to be in md5 hash when in the db. The source takes care of it from there.
Credits to a few peoples.
Nullable for all the help, which was...
|
[Development]5071 C# Source
09/13/2010 - CO2 Private Server - 36 Replies
Well as some of you know, I have been working on Hybrid's Bugless/Basic source and with the help of Kinshi, I have upgraded it to +5018. The patch I am going for it 5065. Thought it was about time to post a development thread so all of you looking forward to the server can stay updated.
I've successfully structured the 5065 character information packet (HUGE thanks to Nullable for teaching me about packets, if it wasn't for him, I wouldn't have been able to structure all the packets I...
|
UCO NonDC Speed Hack ~ 5071+
11/17/2009 - CO2 Exploits, Hacks & Tools - 1469 Replies
Hey Guys,
Allot of people only use the speedhack in my multihack so im releasing this simple Standalone Speed hack.
After many requests for my speedhack to be NonDC, here it is a successful NonDC Speedhack!
For best results use Future's Cracked Conquer.exe
Conquer Patch: 5071+
Requirements:
|
ItemType patch 5071
09/27/2009 - CO2 Exploits, Hacks & Tools - 1 Replies
:bandit:Alright well this is my first itemtype dat and I think my first contribution, You scan if you like since i never did realese my stuff on here theres no reason you should trust me But if you do cool if you dont then scan :bandit:Find any errors let me know
Yea I know that gems and tactics arn't shown but Im working on it
Instructions:
Save it in Conquer folder
Open it up
Copy itemtype and paste it into the ini file
Press the thanks button :D
|
Is this bot safe for new patch 5071?
11/10/2008 - Conquer Online 2 - 6 Replies
Is this "ELSE - multi-class bot" safe for version 5071? As in will it not botjail me or anything and does it work for version 5071. anyone that uses it or has can you let me know?
Here's the link the the main post for it. It's a elitepvpers post:
http://www.elitepvpers.com/forum/co2-bots-macros/1 03894-else-multi-class-controlclick-bot.html
|
All times are GMT +2. The time now is 15:14.
|
|